Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: Thomas Ihlebek on July 13, 2002, 04:37:39 PM
-
First i did this:
http://www.helmuth.net/mitel-sme/SunJDK/sunjdk-howto.htm
...and then this:
http://www.helmuth.net/mitel-sme/Tomcat/tomcat-v4.0-howto.htm
...and this:
http://www.helmuth.net/mitel-sme/Tomcat/tomcat-v4.0_Apache-howto.htm
http://myweb.com:8180 works fine and I can se the Tomcat-welcome, but now I can't access http://myweb.com
I guess the Tomcat shouldn't do this or what?
Now I'm really sad...
What should I do?
-
You might want to login as root and issue:
service httpd restart
from the command line. That will re-start you httpd server. (Not Tomcat)
You should get:
Stopping httpd: [ OK ]
Starting httpd: [ OK ]
At that point you should be able to get back to you main page.
If you don't, check the /var/log/httpd/error_log to see if there are any clues as to what is causing the problem.
Thanks!!!
-
The httpd server stopped [ok] and started [ok]
----------------------------------------------------------------------------
This was in the error_log:
Syntax error on line 1775 of /etc/httpd/conf/httpd.conf:
Invalid command 'php_value', perhaps mis-spelled or defined by a module not included in the server configuration
------------------------------------------------------------------------------
Line 1775 of /etc/httpd/conf/httpd.conf looks like this:
php_value include_path '.:/usr/share/pear'
Any idea?
-
Well,
I looked in my
/etc/httpd/conf/httpd.conf - and this was the only thing I found that was close:
php_value include_path '.:/home/httpd/horde-phplib'
It appears to be something related to Horde/WebMail....
why don't you try re-expanding the httpd.conf :
/sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf
and then re-starting the web server.
with:
service httpd restart
I am puzzled as to where that other 'php_value include_path', got set?.
Any changes?
-
Help!!
Now I got a message that httpd failed to stop?
[root@sme httpd]# service httpd restart
Stopping httpd: [ FAILED ]
Starting httpd: [ OK ]
[root@sme httpd]#
----------------------------------------------------------------------------
And still this was in the error_log:
Syntax error on line 1775 of /etc/httpd/conf/httpd.conf:
Invalid command 'php_value', perhaps mis-spelled or defined by a module not included in the server configuration
------------------------------------------------------------------------------
-
Thomas, it looks like there's a problem with PHP on your system. What does 'rpm -qa | grep php' return?
-
Hi, this is what my buddy SME 5.5 is giving me ;)
[root@sme root]# rpm -qa | grep php
dcb-e-smith-phpmychat-0.14.5-1
php-imap-4.1.2-2es3
php-pgsql-4.1.2-2es3
devinfo-mitel-phpprojekt-1.0-01
dmc-mitel-phpmyadmin-2.2.3-1
dmc-mitel-phpsysinfo-2.0-1
dmc-mitel-myphpnuke-1.8.8-1
php-4.1.2-2es3
php-mysql-4.1.2-2es3
e-smith-php-1.6.0-01
php-ldap-4.1.2-2es3
[root@sme root]#
-
OK, how about 'grep mod_php /etc/httpd/conf/httpd.conf'?
-
[root@sme root]# grep mod_php /etc/httpd/conf/httpd.conf
#LoadModule php_module modules/mod_php.so
#AddModule mod_php.c
#AddModule mod_php3.c
AddModule mod_php4.c
[root@sme root]#
-
Dan Brown, David Helmuth, anyone? Help!!
My SME 5.5 is laying on the floor with it's back broken....
-
OK, what about grep libphp4 /etc/httpd/conf/httpd.conf ?
-
[root@sme root]# grep libphp4 /etc/httpd/conf/httpd.conf
LoadModule php4_module /usr/lib/apache/libphp4.so
[root@sme root]#
-
This is sounding very strange. Does /usr/lib/apache/libphp4.so exist?
-
Yes it exists .... and the size is 1212201
... and I really don't know what to do. I hope I don't need to set up the SME from scratch. It's too much job....all the ibay's and all the rpm modules...
-
...and the AddModule and LoadModule lines are before the php_value line, right? I really don't know at this point. The error in your error log would be caused by finding a PHP command in your httpd.conf and not having PHP loaded to process it. In your case, though, it seems that everything's set properly for PHP to load.
-
Yes the AddModule and LoadModule lines are before the php_value line.
OK! Now a suggestion from me.... do you think it is an idea that you SSH to my SME and "treashure hunts" ?
Just an idea....
I can't even access my server-manager locally or by http://sme/server-manager.
-
David Helmuth / Dan Brown / everybody
Do you think I can make my SME up and running again?
Do I realy have to make a fresh 5.5 install?
Please, please, help me!