![]() |
|
httpd will not start after adding custom cammand in admin - Printable Version +- Sentora Support Forums (https://senforums.mach-hosting.com) +-- Forum: Sentora Forum Archives (https://senforums.mach-hosting.com/forumdisplay.php?fid=5) +--- Forum: Sentora Public Support Forums v1.0.x (https://senforums.mach-hosting.com/forumdisplay.php?fid=32) +---- Forum: General Support Forum v1.0.x (https://senforums.mach-hosting.com/forumdisplay.php?fid=36) +---- Thread: httpd will not start after adding custom cammand in admin (/showthread.php?tid=4177) |
httpd will not start after adding custom cammand in admin - showery - 11-04-2017 I was following this guide http://forums.sentora.org/showthread.php?tid=495 trying to figure out how to add a direct way to get to webmail without having to login to the admin panel. It was not working so I thought I would try a reboot and test it. Well after the reboot I had an error saying the last line of the vhost.conf had a bad line. I removed the line and now get this error # service httpd start Starting httpd: no listening sockets available, shutting down Unable to open logs everything was working perfectly, I actually had 4 domains up and working with email. I am very new to this so please speak (layman) to me. I have CentOS 6.9 with the newest Sentora The only other changes made today prior to the reboot was an upgrade to php using YUM using this guid https://www.zerostopbits.com/how-to-upgrade-php-5-3-to-php-5-6-on-centos-6-7/ My Log [Fri Nov 03 14:00:39 2017] [notice] caught SIGTERM, shutting down [Fri Nov 03 14:01:28 2017] [notice] Digest: generating secret for digest authentication ... [Fri Nov 03 14:01:28 2017] [notice] Digest: done PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/suhosin.so' - /usr/lib64/php/modules/suhosin.so: undefined symbol: php_checkuid in Unkno$ [Fri Nov 03 14:01:29 2017] [notice] Apache/2.2.15 (Unix) PHP/5.6.32 configured -- resuming normal operations [Fri Nov 03 14:50:01 2017] [notice] SIGHUP received. Attempting to restart [Fri Nov 03 14:50:01 2017] [notice] Digest: generating secret for digest authentication ... [Fri Nov 03 14:50:01 2017] [notice] Digest: done PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/suhosin.so' - /usr/lib64/php/modules/suhosin.so: undefined symbol: php_checkuid in Unkno$ [Fri Nov 03 14:50:01 2017] [notice] Apache/2.2.15 (Unix) PHP/5.6.32 configured -- resuming normal operations [Fri Nov 03 15:01:18 2017] [notice] caught SIGTERM, shutting down Thanks for your help.... Steve RE: httpd will not start after adding custom cammand in admin - TGates - 11-04-2017 First off, what was the line you removed from httpd.conf? Secondly, you should have used one of the guides on our forums to upgrade php since you also have to install Suhosin or your server will be vulnerable. There are also a few configurations that need to be modified so that you do not break your server. But, let's start with what you removed and what that error was. RE: httpd will not start after adding custom cammand in admin - showery - 11-04-2017 (11-04-2017, 10:36 AM)TGates Wrote: First off, what was the line you removed from httpd.conf? syntax error line 1011 of httpd.conf. I removed line 1011 RE: httpd will not start after adding custom cammand in admin - TGates - 11-05-2017 ![]() What was line 1011? Also, this line is telling you suhosin is not installed properly: Quote:PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/suhosin.so' - /usr/lib64/php/modules/suhosin.so: undefined symbol: php_checkuid in Unkno$ RE: httpd will not start after adding custom cammand in admin - Me.B - 11-20-2017 I'm sure you updated your php. But you miss suhosin to fix suhosin install this script. https://raw.githubusercontent.com/MBlagui/Sentora-tools/master/suhosin_0.9.37.1.sh That will setup suhosin back M B |