Apache2 Error Log Unable To Open Logs
Contents |
communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of apache2 error log format this site About Us Learn more about Stack Overflow the company Business Learn apache2 error log path more about hiring developers or posting ads with us Ask Ubuntu Questions Tags Users Badges Unanswered Ask Question _ Ask apache unable to open logs Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can
Apache Unable To Open Logs Windows
answer The best answers are voted up and rise to the top “Unable to open logs” error when I try to restart Apache up vote 1 down vote favorite 1 When I try to start apache I get the following error root@server11362:~# sudo /etc/init.d/apache2 restart Restarting web server apache2 (98)Address already in use: make_sock: could not bind to address 111.90.150.93:80 no listening sockets available, shutting apache service unable to open logs down Unable to open logs Action 'start' failed. The Apache error log may have more information. In fact the apache log contains no more information. netstat -tulpn returns the following Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 1098/mysqld tcp 0 0 127.0.0.1:6379 0.0.0.0:* LISTEN 1414/redis-server tcp 0 0 111.90.150.93:53 0.0.0.0:* LISTEN 1068/named tcp 0 0 111.90.150.92:53 0.0.0.0:* LISTEN 1068/named tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 1068/named tcp 0 0 127.0.0.1:5432 0.0.0.0:* LISTEN 1194/postgres tcp 0 0 0.0.0.0:44888 0.0.0.0:* LISTEN 845/sshd tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 1395/master tcp 0 0 127.0.0.1:953 0.0.0.0:* LISTEN 1068/named tcp 0 0 0.0.0.0:6081 0.0.0.0:* LISTEN 1435/varnishd tcp 0 0 127.0.0.1:6082 0.0.0.0:* LISTEN 1434/varnishd tcp6 0 0 :::53 :::* LISTEN 1068/named tcp6 0 0 :::44888 :::* LISTEN 845/sshd tcp6 0 0 :::25 :::* LISTEN 1395/master tcp6 0 0 ::1:953 :::* LISTEN 1068/named tcp6 0 0 :::6081 :::* LISTEN 1435/varnishd udp 0 0 111.90.150.93:53 0.0.0.0:* 1068/named udp 0 0 111.90.150.92:53 0.0.0.0:* 1068/named udp 0 0 127.0.0.1:53 0.0.0.0:* 1068/named udp6 0 0 :::53 There is nothing on port 80 but I still cannot restart networking apache2 log share|impr
Start here for a quick overview of the site Help Center Detailed answers to any questions apache ah00015 unable to open logs you might have Meta Discuss the workings and policies of this
Linux Apache Error Log
site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers
Unable To Open Logs Httpd Start
or posting ads with us Server Fault Questions Tags Users Badges Unanswered Ask Question _ Server Fault is a question and answer site for system and network http://askubuntu.com/questions/438209/unable-to-open-logs-error-when-i-try-to-restart-apache administrators. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top “Unable to open logs” in apache error log debian up vote 1 down vote favorite [SOLVED] Higher file descriptor limit solved http://serverfault.com/questions/597641/unable-to-open-logs-in-apache-error-log-debian the issue APACHE_ULIMIT_MAX_FILES='ulimit -n 65536' I'm unable to start apache2 service: [root@myhost ~]# service apache2 start [....] Starting web server: apache2[Thu May 22 00:32:41 2014] [warn] NameVirtualHost *:443 has no VirtualHosts Action 'start' failed. The Apache error log may have more information. failed! [root@myhost ~]# /var/log/apache2/error.log [root@myhost ~]# tail -200 /var/log/apache2/error.log (...) Unable to open logs Unable to open logs Unable to open logs Unable to open logs Unable to open logs Unable to open logs Unable to open logs Unable to open logs [root@myhost ~]# Permissions: [root@myhost /var/log/apache2]# ls -l total 14892 -rw-r----- 1 root adm 379215 May 21 23:34 access.log -rw-r----- 1 root adm 1583118 May 18 07:35 access.log.1 -rwxrwxrwx 1 root root 163 May 22 00:32 error.log -rw-r----- 1 root adm 13096039 May 18 07:35 error.log.1 -rw-r----- 1 root adm 3423 May 21 22:27 other_vhosts_access.log -rw-r--r-- 1 root root 153149 May 18 04:46 other_vhosts_access.log.1 -rw-r----- 1 root adm 0 May 18 07:35 suexec.log -rw-r--r-- 1 root www
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and http://stackoverflow.com/questions/15294999/how-can-i-disable-apache2-error-logging policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes unable to a minute: Sign up How can I disable apache2 error logging? up vote 0 down vote favorite In /etc/apache2/apache2.conf I have uncommented the following line: # ErrorLog ${APACHE_LOG_DIR}/error.log Which resulted in the following: serv:/var/log/apache2# /etc/init.d/apache2 restart Restarting web server: apache2 ... waiting (2)No such file or directory: apache2: could not open error log file /etc/apache2/logs/error_log. Unable to open logs Action 'start' unable to open failed. The Apache error log may have more information. failed! How can I disable error logging of virtual hosts that contain no ErrorLog/CustomLog directive? apache2 share|improve this question asked Mar 8 '13 at 13:25 Richard Rodriguez 3,32983872 Sounds like a question for serverfault.com –JJJ Mar 8 '13 at 13:26 Simply touch /etc/apache2/logs/error_log and you should be fine. Why did you uncomment the ErrorLog directive in apache.conf in the first place if you don't want the logging? –Simon Mar 8 '13 at 13:31 add a comment| 2 Answers 2 active oldest votes up vote 0 down vote accepted As you can see apache can not open log file. In this case you must change /etc/apache2/apache2.conf with /etc/apache2/${APACHE_LOG_DIR}/error.log This resolution it can be see in stating apache ubuntu forum. share|improve this answer answered Mar 8 '13 at 13:32 user1929959 2,2161815 add a comment| up vote 0 down vote Try starting apache using the following command service apache2 start share|improve this answer answered Nov 12 '13 at 6:31 Moontails 6128 add a comment| Your Answer draft saved draft dis