Login
Remember
Register
Questions
Unanswered
Categories
Ask a Question
Quiz
Ask a Question
Apache has stopped writing to access log and error log
+3
votes
asked
Jul 29, 2017
in
Web & Google
by
phpuser
(
60.0k
points)
My access_log and error_log files were too big, so I deleted them and recreated. Now apache has stopped writing to these files. Nothing has been written in last 12 hours, though the website is getting traffic. How can I fix it?
apache
error log
access log
vps
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
1
Answer
+1
vote
answered
Jul 29, 2017
by
pkumar81
(
354k
points)
selected
Sep 30, 2022
by
phpuser
Best answer
Did you restart Apache after deleting these files? If not, restart Apache and it will solve the problem. Every time you do any such adventure, make sure you restart Apache.
Please
log in
or
register
to add a comment.
Related questions
+3
votes
1
answer
How can I delete the contents of log files (access_log, error_log) of Apache without deleting them
asked
Aug 2, 2017
in
Web & Google
by
phpuser
(
60.0k
points)
apache
error log
access log
file
+2
votes
1
answer
Apache proxy_fcgi: The timeout specified has expired - Error dispatching request
asked
Oct 1, 2019
in
Web & Google
by
praveen
(
72.0k
points)
apache
nginx
error log
+3
votes
1
answer
VestaCP (Debian) - how to disable access logging on Apache with Nginx reverse proxy server
asked
Dec 27, 2019
in
Web & Google
by
phpuser
(
60.0k
points)
vestacp
access_log
apache
nginx
reverse proxy
+3
votes
1
answer
How to start and stop apache server on Ubuntu 14.04?
asked
Jan 10, 2016
in
Web & Google
by
praveen
(
72.0k
points)
apache
server
ubuntu
+3
votes
1
answer
[Apache] How to allow or disallow every pages to all bots using robots.txt
asked
Jun 19, 2022
in
Web & Google
by
kush
(
40.5k
points)
robots.txt
apache
Categories
All categories
Programming Languages
(731)
Machine Learning
(34)
Operating Systems
(128)
Databases
(96)
Web & Google
(90)
CMS Tips
(34)
General IT Tips
(89)
GK Quiz QA
(81)
...