Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 12th December 2010, 11:44
autogun autogun is offline
Member
 
Join Date: Sep 2009
Posts: 69
Thanks: 9
Thanked 5 Times in 5 Posts
Default error.log files are empty

Hello,

I've 2 websites im hosing on my ISPConfig setup which I followed "The Perfect Server - Debian Lenny".

While working on a website, I noticed my error.log file is empty.
Code:
(/var/www/xxx.com/log)-(3 files, 12Kb)--> ls -la
total 12
drwxr-x--x 2 root root    4096 2010-12-12 12:02 .
drwxr-xr-x 5 root root    4096 2010-12-09 12:46 ..
-rw-r--r-- 1 root root    2624 2010-12-12 12:33 20101212-access.log
lrwxrwxrwx 1 root root      19 2010-12-12 12:02 access.log -> 20101212-access.log
-rw-r--r-- 1 web1 client1    0 2010-12-09 01:55 error.log
I've checked the xxx.com.vhost file and it has the following entry
ErrorLog /var/log/ispconfig/httpd/xxx.com/error.log

So I followed this path and the file seems to be empty
Code:
(/var/log/ispconfig/httpd/xxx.com)-(3 files, 12Kb)--> ls -la
total 12
drwxr-x--x 2 root root    4096 2010-12-12 12:02 .
drwxr-xr-x 5 root root    4096 2010-12-09 12:46 ..
-rw-r--r-- 1 root root    2624 2010-12-12 12:33 20101212-access.log
lrwxrwxrwx 1 root root      19 2010-12-12 12:02 access.log -> 20101212-access.log
-rw-r--r-- 1 web1 client1    0 2010-12-09 01:55 error.log
I'd like to have error.log file for debugging, can you please suggest how to proceed?
Reply With Quote
Sponsored Links
  #2  
Old 13th December 2010, 14:31
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,739 Times in 2,574 Posts
Default

If the file is empty, it means everything's ok (no errors).
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 13th December 2010, 16:05
autogun autogun is offline
Member
 
Join Date: Sep 2009
Posts: 69
Thanks: 9
Thanked 5 Times in 5 Posts
 
Default

Hi falko,

Thank you very much for answering.

In my case, I wanted PHP errors to be printed into error.log.

Had to set log_errors = On in php.ini and reload Apache configurations.

Did the trick!
Reply With Quote
The Following User Says Thank You to autogun For This Useful Post:
falko (14th December 2010)
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Vhosts...conf not synced to changes crypted General 50 24th April 2010 00:54
Ubuntu Hardy chrooted bind9 fails to start Djamu Server Operation 35 21st April 2010 08:28
ffmpeg Video support for ubuntu 7.10 [suphp-ispconfig] amaurib Installation/Configuration 13 16th February 2010 17:26
Debian 5.0 'hangs' GHz Installation/Configuration 5 1st October 2009 12:57
The system is currently updating the configuration files. warlock General 8 21st February 2009 18:15


All times are GMT +2. The time now is 20:25.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.