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
-
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. :)
-
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
-
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. :)
-
Use
https://
in front
it is installed in
/opt/phpsysinfo/
Janm :hammer:
-
Thanks, but that requires me to enter a usename and password. I'd like it to be accessible without a username and password.
-
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
-
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.
-
Yes thats right
Dont know how to make it public
In a ibay i think
Janm
-
I've copied phpsysinfo onto my newly installaed SME 7 server...
Your question rightfully belongs on the Contribs forum.
-
I've downloaded phpsysinfo v2.5.1 on the original site and simply done those few things : (lazyadmintools must be installed)
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'
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...
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 !
/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