Alex_Calcan
asked on
Apache server failes to start.
I tried to start the apache webserver on a RedHat Linux 9.0 and the folowing error appears,
Failed to start apache :
Starting httpd: (2)No such file or directory: httpd: could not open error log file /etc/httpd/logs/error_log.
[FAILED]
What files do i need to create or install?
Failed to start apache :
Starting httpd: (2)No such file or directory: httpd: could not open error log file /etc/httpd/logs/error_log.
[FAILED]
What files do i need to create or install?
try to set anothor path for your error log in apache configuration files - httpd.conf
ASKER
This is what i have in httpd.conf
#
# ErrorLog: The location of the error log file.
# If you do not specify an ErrorLog directive within a <VirtualHost>
# container, error messages relating to that virtual host will be
# logged here. If you *do* define an error logfile for a <VirtualHost>
# container, that host's errors will be logged there and not here.
#
ErrorLog logs/error_log
is this what I have to change? What do I change it to?
#
# ErrorLog: The location of the error log file.
# If you do not specify an ErrorLog directive within a <VirtualHost>
# container, error messages relating to that virtual host will be
# logged here. If you *do* define an error logfile for a <VirtualHost>
# container, that host's errors will be logged there and not here.
#
ErrorLog logs/error_log
is this what I have to change? What do I change it to?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.