Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: Pumpino on August 17, 2006, 03:57:36 AM

Title: phpsysinfo error
Post by: Pumpino on August 17, 2006, 03:57:36 AM
I've copied phpsysinfo onto my newly installaed SME 7 server, but nonoe of the readings are displayed, and I get the following message:

'/proc/net/dev' not readable

The permissions for /proc/net/dev are r-r-r.

How can I fix this?  Thanks. :)
Title: phpsysinfo error
Post by: Janm on August 17, 2006, 04:09:35 AM
Install this RPM

http://mirror.contribs.org/smeserver/contribs/dmay/smeserver/7.x/smeserver-phpsysinfo-2.5-0dmay.noarch.rpm

in one line


rpm -Uvh *.rpm

Janm
Title: phpsysinfo error
Post by: Pumpino on August 17, 2006, 04:45:41 AM
Thanks.  It installed ok, but when I visit mydomain.com/phpsysinfo, I get "You don't have permission to access /phpsysinfo on this server."

How can I fix this, and where exactly did the RPM install phpsysinfo's program and config files?  Thanks. :)
Title: phpsysinfo error
Post by: Janm on August 17, 2006, 06:20:49 AM
Use
https://
in front

it is installed in
/opt/phpsysinfo/


Janm :hammer:
Title: phpsysinfo error
Post by: Pumpino on August 17, 2006, 08:58:46 AM
Thanks, but that requires me to enter a usename and password.  I'd like it to be accessible without a username and password.
Title: phpsysinfo error
Post by: Janm on August 17, 2006, 02:01:36 PM
Sorry then you should have used

http://mirror.contribs.org/smeserver/contribs/nightspirit/e-smith-phpsysinfo-public/e-smith-phpsysinfo-public-2.3-1.noarch.rpm

Janm
Title: phpsysinfo error
Post by: Pumpino on August 17, 2006, 02:22:29 PM
That one doesn't work once installed, so I guess I'll have to stick with the rpm.  It's a shame the tarball doesn't work properly, as it would allow me to use the most recent release and copy it to a directory that I wanted.
Title: phpsysinfo error
Post by: Janm on August 17, 2006, 02:29:18 PM
Yes thats right
Dont know how to make it public
In a ibay i think
Janm
Title: Re: phpsysinfo error
Post by: CharlieBrady on August 19, 2006, 03:18:24 AM
Quote from: "Pumpino"
I've copied phpsysinfo onto my newly installaed SME 7 server...


Your question rightfully belongs on the Contribs forum.
Title: phpsysinfo error
Post by: cool34000 on August 20, 2006, 12:12:14 PM
I've downloaded phpsysinfo v2.5.1 on the original site and simply done those few things : (lazyadmintools must be installed)

Code: [Select]
lat-ibays -a -c "phpsysinfo | PhpSysInfo i-bay | admin | wr-group-rd-everyone | local | | enabled"
This creates the i-bay with those settings : admin owns the phpsysinfo i-bay and only LAN can see it (without password). Only the admin can write... Php is activated (and must have to !)
If you want everyone seeing over the web, just replace 'local' by 'global'

Code: [Select]
mv /root/addons/phpsysinfo/* /home/e-smith/files/ibays/phpsysinfo/html
Copy, move or whatever you want, but put the extracted files of phpsysinfo in the i-bay's html folder...

Code: [Select]
cd /home/e-smith/files/ibays/phpsysinfo/html
mv config.php.new config.php
rm index.html

renames the config.php file and removes the index.html to work better !

Code: [Select]
/sbin/e-smith/db accounts setprop phpsysinfo PHPBaseDir /home/e-smith/files/ibays/phpsysinfo/:/proc:/bin
/sbin/e-smith/signal-event ibay-modify phpsysinfo

At last, modify permissions for the i-bay to access /proc and /bin folders...
Apply modifications as usual...



And done ! It should work...
As phpsysinfo is installed in an ebay, you can easily modify access to it to meet your needs !



I've encoutered another problem... SME is not recognized and says it's unknown and it has no icon (a "?" in fact...)
I know, it's just an icon, but still !!! Anyway, all is ok exept that...
Nevertheless, it sees that : 2.6.9-34.0.2.ELsmp
I tried the lastest version (2.5.2 rc3) and it's the same, SME is still not recognized... But I get another bug with some scsi in the phpsysinfo page and I don't have any scsi hardware... Hope it will be fixed in next releases !


Hope it helped