Link to home
Start Free TrialLog in
Avatar of Alex_Calcan
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?
Avatar of Tol_cv
Tol_cv

try to set anothor path for your error log in apache  configuration files - httpd.conf
Avatar of Alex_Calcan

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?
ASKER CERTIFIED SOLUTION
Avatar of Tol_cv
Tol_cv

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial