Hi all,
How stupid I am!!! I also know the "urgent" and "please help" doesn't help to go faster but since it is a production server the time is against me.
Well, my server hanged so I tried many things that didn't work. After a while, being quite angry already I decided to go to the server-manager and go to the service page (
http://www.e-smith.org/contrib/rpm-index/RPM-e-smith-service-control-1.1.0-01.src.html) to enable/disble services and in a madness move, I disabled everything (but specially php, mysql, imap, ...) and of course now, my machine is down and since php is disabled, it is impossible to go back to the server-manager to re-enable it.
Config:
# rpm -qa | grep Server
SMEServer-5.1.2_Update3-01
Problem:
I tried manually to re-enable php but probably the dirty way but still not working:
# /sbin/e-smith/config show php
php=service
UploadMaxFilesize=50M
status=disabled
# /sbin/e-smith/config setprop php status enable
# /sbin/e-smith/config show php
php=service
UploadMaxFilesize=50M
status=enable
# /etc/e-smith/events/actions/conf-php
# /etc/rc.d/init.d/httpd-e-smith graceful
Starting httpd: Syntax error on line 2618 of /etc/httpd/conf/httpd.conf:
Invalid command 'php_flag', perhaps mis-spelled or defined by a module not included in the server configuration
[ FAILED ]
Just for info:
# grep php4_module /etc/httpd/conf/httpd.conf
(nothing)
# ls /usr/lib/apache/libphp4.so
/usr/lib/apache/libphp4.so
# grep php /etc/httpd/conf/httpd.conf
#LoadModule php_module modules/mod_php.so
#LoadModule php3_module modules/libphp3.so
#AddModule mod_php.c
#AddModule mod_php3.c
#AddType application/x-httpd-php3 .php3
#AddType application/x-httpd-php3-source .phps
#AddType application/x-httpd-php .phtml
AddType application/x-httpd-php .php .php3
php_flag magic_quotes_gpc on
php_flag track_vars on
AddType application/x-httpd-php .php
php_flag magic_quotes_gpc off
php_flag track_vars on
AddType application/x-httpd-php .php .php3
php_flag magic_quotes_gpc on
php_flag track_vars on
AddType application/x-httpd-php .php .php3 .phtml
# rpm -q e-smith-php
e-smith-php-1.5.0-03
Before breaking down more things, I would apreciate a little help from guru.
Thanks in advance
--
Larry