HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   General (http://www.howtoforge.com/forums/forumdisplay.php?f=15)
-   -   ispconfig not generating log file (http://www.howtoforge.com/forums/showthread.php?t=55506)

psychop 23rd December 2011 10:49

ispconfig not generating log file
 
Have a lot of sites in my ispconfig, but only one is not working with awstats. Awstats conf file for site is created, but ISPC is not generating web.log file for this site.

Checked Vhosts_ispconfig.conf and in here all is written same as for other sites. Are there any other conf files, or where can I check why is web.log not generated for this site?

falko 24th December 2011 12:33

The log is written only if the site is accessed. When you visit the site, the log should be created.

psychop 26th December 2011 16:28

This site is online now for almost 2 months and still no log file. Double checked all other sites and all working ok. So only one site does not have web.log only error.log file. Is there any other log file I could check and find error why this is not generated?

Tnx all.

falko 27th December 2011 21:08

What's in the error log? What are the permissions of the log directory?

psychop 6th January 2012 09:43

Error.log is empty. Permission are set to 775.

falko 7th January 2012 12:21

Can you post the output of
Code:

ls -la
from inside the log directory?

psychop 7th January 2012 13:41

drwxr-xr-x 2 web19_aljosa root 4096 Dec 5 17:07 .
drwxr-xr-x 8 web19_aljosa root 4096 Dec 21 19:09 ..
-r-------- 1 root root 0 Nov 10 22:06 .no_delete
-rwxrwxrwx 1 web19_aljosa web19 5899 Jan 6 08:51 error.log

this is it.

falko 8th January 2012 14:08

There's no access log... :confused:

What's the output of
Code:

ls -la /var/log/
?

psychop 13th January 2012 12:20

total 496944
drwxr-xr-x 14 root root 20480 Jan 13 11:14 .
drwxr-xr-x 16 root root 4096 Mar 29 2010 ..
drwxr-xr-x 2 root root 4096 Mar 29 2010 ConsoleKit
-rw-r----- 1 root root 0 Nov 2 2009 NetworkManager
drwx------ 2 root root 4096 Jul 8 2010 YaST2
-rw-r----- 1 root root 3647 Dec 2 17:02 acpid
drwxr-x--- 2 root root 4096 Dec 30 15:00 apache2
drwx------ 5 root root 4096 Nov 2 2009 apparmor
drwx------ 2 root root 4096 Mar 29 2010 audit
-rw-r----- 1 root root 0 Nov 2 2009 boot.log
-rw-r--r-- 1 root root 35087 Dec 2 17:02 boot.msg
-rw-r--r-- 1 root root 43924 Dec 2 17:01 boot.omsg
drwxr-xr-x 2 lp lp 4096 Dec 25 2010 cups
-rw------- 1 root root 480072 Oct 15 2010 faillog
-rw-r----- 1 root root 0 Nov 2 2009 firewall
drwxr-xr-x 2 root root 4096 Jan 13 00:30 httpd
-rw-r--r-- 1 root root 25587 May 18 2010 ispconfig_install.log
drwx------ 2 root root 4096 Mar 24 2010 krb5
-rw-r--r-- 1 root tty 5840876 Jan 13 11:12 lastlog
-rw-r--r-- 1 root root 2212 Mar 29 2010 localmessages
-rw-r----- 1 root root 475888 Jan 13 11:07 mail
-rw-r----- 1 root root 348558 Jan 13 11:07 mail.info
-rw-r----- 1 root root 128964 Dec 16 15:00 mail.info-20111216.bz2
-rw-r----- 1 root root 101104 Dec 26 15:00 mail.info-20111226.bz2
-rw-r----- 1 root root 66593 Dec 29 15:00 mail.info-20111229.bz2
drw-rw---- 2 root root 4096 Dec 3 15:00 mysql
drwxr-x--- 2 news news 4096 Nov 2 2009 news
-rw-rw-rw- 1 root root 477343914 Jan 13 11:14 nscd.log
-rw-r--r-- 1 root root 0 Nov 2 2009 ntp
drwxr-x--- 3 root root 4096 Nov 2 15:00 samba
-rw-r--r-- 1 root root 14560 Nov 12 14:37 scpm
-rw-rw-r-- 1 root tty 203136 Jan 13 11:12 wtmp
-rw-rw-r-- 1 root tty 9085 May 23 2011 wtmp-20110523.bz2
-rw-rw-r-- 1 root tty 10495 Nov 28 15:00 wtmp-20111128.bz2
-rw-r--r-- 1 root root 27780232 Jan 13 11:11 xferlog
drwxr-xr-x 2 root root 4096 Dec 28 2010 zypp
-rw-r----- 1 root root 2072657 Jan 2 20:26 zypper.log

falko 14th January 2012 16:24

Can you post the outputs of
Code:

ls -la /var/log/apache2/
and
Code:

ls -la /var/log/httpd/
?


All times are GMT +2. The time now is 09:27.

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