Portal Home > Knowledgebase > Articles Database > restart apache problem (module php5_module error)


restart apache problem (module php5_module error)




Posted by hbhb, 04-13-2008, 08:14 PM
I am experiencing this problem right now. None of my website is running. But httpd status says running. What's wrong? [root@cent cron]# apachectl restart [Mon Apr 13 20:10:11 2008] [warn] module php5_module is already loaded, skipping [root@cent cron]# service httpd restart Stopping httpd: [ OK ] Starting httpd: [Mon Apr 13 20:10:55 2008] [warn] module php5_module is already loaded, skipping [root@cent cron]# service httpd status httpd (pid 24100 24099 24098 24097 24096 24094) is running...

Posted by Kody, 04-13-2008, 08:19 PM
Simple google search, and came up with a answer: http://lists.freebsd.org/pipermail/f...ch/143768.html Or google search: http://www.google.com/search?q=%5Bwa...ient=firefox-a

Posted by hbhb, 04-13-2008, 08:23 PM
Btw, i'm using DirectAdmin server when i tail /var/log/httpd/error_log, it see conflict between accounts. I actually have the stucture as follows: domain1.com (main account) domain2.com (domain alias - pointer to domain1.com) office.domain1.com (another subdomain account created separately - not a subdomain) [warn] Init: SSL server IP/port conflict: www.office.domain.net:443 (/usr/local/directadmin/data/users/office/httpd.conf:48) vs. www.domain.net (/usr/local/directadmin/data/users/domain/httpd.conf:48)

Posted by hbhb, 04-13-2008, 09:17 PM
i think my apache is listening to port 80 and 443, how can i stop this ssl thing?

Posted by RHS-Chris, 04-13-2008, 09:21 PM
What does line 48 of your httpd.conf state?

Posted by hbhb, 04-13-2008, 09:28 PM
this is on every line 48 how can i just stop the apache to stop listening to 443?

Posted by RHS-Chris, 04-13-2008, 09:36 PM
Remove the entire Virtual Host, or comment it out, and restart apache.

Posted by hbhb, 04-13-2008, 09:44 PM
did that, but website still don't run. #service httpd status httpd (pid 3652 3651 3650 3649 3648 3646) is running... #tail /var/log/httpd/error_log [warn] RSA server certificate CommonName (CN) `localhost' does NOT match server name!? [warn] RSA server certificate CommonName (CN) `localhost' does NOT match server name!? [notice] Apache/2.2.8 (Unix) mod_ssl/2.2.8 OpenSSL/0.9.8b DAV/2 PHP/5.2.5 configured -- resuming normal operations [notice] caught SIGTERM, shutting down [warn] RSA server certificate CommonName (CN) `localhost' does NOT match server name!? [warn] RSA server certificate CommonName (CN) `localhost' does NOT match server name!? [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec) [warn] RSA server certificate CommonName (CN) `localhost' does NOT match server name!? [warn] RSA server certificate CommonName (CN) `localhost' does NOT match server name!? [notice] Apache/2.2.8 (Unix) mod_ssl/2.2.8 OpenSSL/0.9.8b DAV/2 PHP/5.2.5 configured -- resuming normal operations

Posted by RHS-Chris, 04-13-2008, 09:49 PM
Check you httpd.conf file, what is listed for the Listen directive?

Posted by hbhb, 04-13-2008, 09:53 PM
ServerRoot "/etc/httpd" Listen 80 Can't find any 443

Posted by RHS-Chris, 04-13-2008, 09:56 PM
Change your listen directive to : your ip:80 Then restart.

Posted by hbhb, 04-13-2008, 10:06 PM
still no luck i try to rebuild the directadmin again now, hoping everything is back to normal

Posted by hbhb, 04-13-2008, 10:22 PM
anyone mind to give me a hand into my server? i desperately need the site to be up and wish to know why are they happening in a sudden

Posted by tix3, 04-14-2008, 05:57 AM
Is apache running? Can you access website through ip and not through your domain name?



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read