LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-22-2015, 10:50 AM   #1
Aeolustw
Member
 
Registered: Jun 2009
Location: Taiwan
Distribution: Linux Debian (or CentOS)
Posts: 57

Rep: Reputation: 2
No [File does not exist] in Apache 2.4.10 error.log


OSebian Jessie -- Linux 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt11-1+deb8u4 (2015-09-19) x86_64 GNU/Linux

Apache version 2.4.10

IF i test the link http://localhost/123456789 , I can't find the message in /var/log/apache2/error.log

like :
Quote:
[Tue Sep 22 23:30:34 2015] [error] [client 192.168.10.177] File does not exist: /var/www/html/123456789
But there's a message in /var/log/apache2/access.log
Quote:
192.168.10.177 - - [22/Sep/2015:23:36:06 +0800] "GET /123456789 HTTP/1.1" 404 504 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:40.0) Gecko/20100101 Firefox/40.0"
These are all /var/log/apache2/error.log
Quote:
[Tue Sep 22 22:29:49.170568 2015] [mpm_event:notice] [pid 17018:tid 140580212959104] AH00489: Apache/2.4.10 (Debian) configured -- resuming normal operations
[Tue Sep 22 22:29:49.170773 2015] [core:notice] [pid 17018:tid 140580212959104] AH00094: Command line: '/usr/sbin/apache2'
[Tue Sep 22 22:30:13.172336 2015] [mpm_event:notice] [pid 17018:tid 140580212959104] AH00493: SIGUSR1 received. Doing graceful restart
[Tue Sep 22 22:30:13.178573 2015] [mpm_event:notice] [pid 17018:tid 140580212959104] AH00489: Apache/2.4.10 (Debian) configured -- resuming normal operations
[Tue Sep 22 22:30:13.178600 2015] [core:notice] [pid 17018:tid 140580212959104] AH00094: Command line: '/usr/sbin/apache2'
[Tue Sep 22 22:30:18.315636 2015] [mpm_event:notice] [pid 17018:tid 140580212959104] AH00491: caught SIGTERM, shutting down
[Tue Sep 22 22:30:19.396012 2015] [mpm_prefork:notice] [pid 19092] AH00163: Apache/2.4.10 (Debian) configured -- resuming normal operations
[Tue Sep 22 22:30:19.396214 2015] [core:notice] [pid 19092] AH00094: Command line: '/usr/sbin/apache2'
[Tue Sep 22 22:30:20.794067 2015] [mpm_prefork:notice] [pid 19092] AH00169: caught SIGTERM, shutting down
[Tue Sep 22 22:30:21.939981 2015] [mpm_prefork:notice] [pid 19191] AH00163: Apache/2.4.10 (Debian) configured -- resuming normal operations
[Tue Sep 22 22:30:21.940079 2015] [core:notice] [pid 19191] AH00094: Command line: '/usr/sbin/apache2'
[Tue Sep 22 22:30:45.715275 2015] [mpm_prefork:notice] [pid 19191] AH00171: Graceful restart requested, doing restart
[Tue Sep 22 22:30:45.926576 2015] [mpm_prefork:notice] [pid 19191] AH00163: Apache/2.4.10 (Debian) configured -- resuming normal operations
[Tue Sep 22 22:30:45.926601 2015] [core:notice] [pid 19191] AH00094: Command line: '/usr/sbin/apache2'
[Tue Sep 22 22:30:45.992404 2015] [mpm_prefork:notice] [pid 19191] AH00171: Graceful restart requested, doing restart
[Tue Sep 22 22:30:46.084399 2015] [mpm_prefork:notice] [pid 19191] AH00163: Apache/2.4.10 (Debian) configured -- resuming normal operations
[Tue Sep 22 22:30:46.084437 2015] [core:notice] [pid 19191] AH00094: Command line: '/usr/sbin/apache2'
How to check & fixed?
Thanks.
 
Old 09-22-2015, 04:03 PM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Hi,

You need to change the LogLevel to something less significant, e.g.
Code:
LogLevel info
For more details have a look here

Regards

Last edited by bathory; 09-22-2015 at 04:38 PM. Reason: typo
 
1 members found this post helpful.
Old 09-22-2015, 11:25 PM   #3
Aeolustw
Member
 
Registered: Jun 2009
Location: Taiwan
Distribution: Linux Debian (or CentOS)
Posts: 57

Original Poster
Rep: Reputation: 2
Thanks, added it and works now.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Write Apache Error Log to Local File and Syslog Server ddenton Linux - Server 2 10-16-2009 08:32 AM
In Apache server, How to change log file location and log format for access log fil? since1993 Linux - Server 1 08-19-2009 04:14 PM
apache error_log [] file does not exist wanghao Linux - Server 2 11-29-2007 09:27 AM
Apache 2.2 error log stating file doesnt exist, when it clearly does. sarina1975 Linux - General 5 08-20-2006 05:56 PM
Apache problem: file does not exist monicaeb Linux - General 1 12-08-2003 06:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration