Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - ibl1nk

Pages: [1]
1
Apache / Wrong Apache installation used by CWP
« on: December 20, 2016, 11:26:30 PM »
After using the "Update Server Packages" feature on CWP and restarting the server, I discover that all my domains point to the default test page.

Upon further investigation, I discover that the apache installation located in /usr/sbin/httpd is used instead of the default installation in /usr/local/apache/bin/httpd.

This caused a different httpd.conf file to be used instead of the correct one. Server working as intended when manually running /usr/local/apache/bin/httpd but not when starting httpd from CWP.

Where do I go from here?

EDIT: Just figured out I can change which apachectl is used by cwp by changing chkconfig httpd startup script found in /etc/rc.d/init.d, but the problem of the apachectl command on console and cwp showing "httpd dead but subsys locked" remain

Pages: [1]