Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: Mizou on November 01, 2003, 09:46:48 AM
-
Hi,
Need some help please.
I have recently installed PhpSysInfo contributed by Martin Elhøj and I don't seem to have the proper authority to log on. I have browsed the forum regarding this subject and didn't find anything that could fix my problem.
Every time I log in to my PhpSysInfo ibay (either via http:// or https://) I get the username/passowrd and after trying out my e-smith admin password. I have also tried root or root and admin without password but no luck...Authorisation Required.
This is the message I get after a few trials of username/password
Authorization Required
This server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required.
and
This are the original install instructions I followed...
________________________________________________________________
How to install PhpSysInfo in an IBay - contributed by Martin Elhøj
1) create a ibay using the server-manager
2) download the latest PhpSysInfo version from http://sourceforge.net/projects/phpsysinfo/ into the newly created ibay. If you are using version 2.1 then issue the following commands:
[root@e-smith ]# cd /home/e-smith/files/ibay//html
[root@e-smith ]# wget http://belnet.dl.sourceforge.net/sourceforge/phpsysinfo/phpSysInfo-2.1.tar.gz
[root@e-smith ]# tar -zxvf phpSysInfo-2.1.tar.gz
A new directory will be created (phpsysinfo-2.1) where an index.php is located.
3) enable the PHP script to access the /proc directory (where all the fun is...)
[root@e-smith ]# /sbin/e-smith/db accounts setprop PHPBaseDir /home/e-smith/files/ibays//:/proc
[root@e-smith ]# /sbin/e-smith/signal-event ibay-modify
4) try it out... (http://your.domain.com//phpsysinfo-2.1/index.php)
An example of PhpSysInfo can be seen here:
http://swerts-knudsen.dk/admin_bay/phpsysinfo/index.php
-
I used this rpm
dmc-mitel-phpsysinfo-2.1-1.noarch.rpm
from D Mays contrib area at contribs.org & it works OK, access via https using the admin login & password
Regs
Ray
-
Thanks Ray, It worked out straightaway.
Thanks
Mizou
-
It doesn't work fine with sme 6.0:
Result of Ray'sinstruction:
http://pieterlucas.homelinux.org/phpSysInfo-2.1/index.php
Annyone suggestions on this one?
thnx
-
Pieter
I have just looked at Darrell Mays contrib site
It appears there are 2 versions of phpsysinfo
dmc-mitel-phpsysinfo-2.1-1.noarch.rpm
for e-smith 4.x, SME 5.x
and
e-smith-phpSysInfo-0.0.1-1.noarch.rpm
phpSysInfo-2.1-01es6.noarch.rpm
for v6 final ?
I assume the later 2 rpms are for v6.0 final releae and I note that it is accessed using
https://pieterlucas.homelinux.org/phpSysInfo
NOT
http://pieterlucas.homelinux.org/phpSysInfo-2.1/index.php
Which version did you instal ?
You could try uninstalling the rpms and then reinstall them
rpm -e e-smith-phpSysInfo
rpm -e phpSysInfo
rpm -Uvh e-smith-phpSysInfo-0.0.1-1.noarch.rpm
rom -Uvh phpSysInfo-2.1-01es6.noarch.rpm
Regs
Ray
-
Pieter
I just installed the 2 new rpms on a test v6b3 box.
I copied both rpms to a folder and did
rpm -Uvh *.rpm
then got a message saying that
phpSysInfo-2.1-01es6.noarch.rpm
is already installed, then returned to the comman prompt.
Note that the second rpm
e-smith-phpSysInfo-0.0.1-1.noarch.rpm
DID NOT instal.
So I then did
rpm -Uvh e-smith-phpSysInfo-0.0.1-1.noarch.rpm
and it installed OK and received a message saying gracefully restarted httpd
Then when I tried to browse to the site
https://www.mydomain.com/phpSysInfo
it did not initially work.
Then I emptied the browsers temporary files and history (close the browser first)
Then
https://www.mydomain.com/phpSysInfo
worked OK using admin login and password
Perhaps the second rpm was not installed, that's why your system is not working ??
Regs
Ray