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.


Messages - ibl1nk

Pages: [1]
1
Apache / Re: Wrong Apache installation used by CWP
« on: December 24, 2016, 06:27:22 PM »
SOLUTION FOUND
How to fix:
Change chkconfig httpd startup script found in /etc/rc.d/init.d
Point apachectl to /usr/local/apache/bin/apachectl
and httpd to /usr/local/apache/bin/httpd

Problem 2 then arises: apachectl command on console and cwp showing "httpd dead but subsys locked" remain
This problem is fixed by going back to the startup script found in /etc/rc.d/init.d and then pointing
pidfile to /usr/local/apache/logs/httpd.pid

Restart apache and it should all work!!

2
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]