Current time: 05-17-2024, 01:17 PM Hello There, Guest! (LoginRegister)


Post Reply 
Keine Logs mehr?
Author Message
Jebus Offline
Junior Member
*

Posts: 15
Joined: Dec 2008
Reputation: 0
Post: #1
Keine Logs mehr?
Servus,

irgendwie werden seit Wochen meine Log Dateien nicht mehr beschrieben?!
Keine Ahnung wieso, weshalb und warum, hab' am System nichts verändert.

Quote:-rw-rw-rw- 1 www-data www-data 0 Mar 9 17:10 ixx.de-access.log
-rw-rw-rw- 1 www-data www-data 0 Mar 9 17:09 ixx.de-error.log
-rw-rw-rw- 1 www-data www-data 0 Mar 9 17:11 img.ixx.de-access.log
-rw-rw-rw- 1 www-data www-data 0 Mar 13 21:30 mp3.ixx.de-access.log
-rw-rw-rw- 1 www-data www-data 0 Mar 13 21:30 xxx.ixx.de-access.log
-rw-rw-rw- 1 www-data www-data 0 Mar 9 17:12 test.ixx.de-access.log


Jemand vllt. eine Idee?
03-31-2009 01:56 AM
Find all posts by this user Quote this message in a reply
Jebus Offline
Junior Member
*

Posts: 15
Joined: Dec 2008
Reputation: 0
Post: #2
RE: Keine Logs mehr?
Keiner eine Idee?
04-03-2009 02:21 AM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #3
RE: Keine Logs mehr?
Naja, mehr Info wäre ganz nützlich.
Welches OS, welche ispCP Version.
Nur die ApacheConfig oder alles ?
Logrotate OK ?

Greez BeNe
04-03-2009 05:20 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Jebus Offline
Junior Member
*

Posts: 15
Joined: Dec 2008
Reputation: 0
Post: #4
RE: Keine Logs mehr?
Debian Lenny - ISPCP 1.0.0 STABLE - Allgemein keine Logs mehr bei den Webspace Accounts - Apache2 Log Ordner enthält aktuelle Logs


Was meinst du mit Log Rotate?
04-07-2009 02:04 AM
Find all posts by this user Quote this message in a reply
FISA4 Offline
Member
***

Posts: 668
Joined: Feb 2008
Reputation: 15
Post: #5
RE: Keine Logs mehr?
(04-07-2009 02:04 AM)Jebus Wrote:  Was meinst du mit Log Rotate?

Aufbewahrungszeit der Logdateien.

/etc/logrotate.d/

da drin liegen alle Infos wie lange welche Logdatei aufbewahrt wird.
04-07-2009 02:42 AM
Find all posts by this user Quote this message in a reply
Jebus Offline
Junior Member
*

Posts: 15
Joined: Dec 2008
Reputation: 0
Post: #6
RE: Keine Logs mehr?
/etc/logrotate.d/apache2
Code:
root:/etc/logrotate.d# cat apache2
/var/log/apache2/*.log {
        weekly
        missingok
        rotate 52
        compress
        delaycompress
        notifempty
        create 640 root adm
        sharedscripts
        prerotate
                /var/www/ispcp/engine/awstats/awstats_updateall.pl now -awstatsprog=/usr/lib/cgi-bin/awstats.pl &> /dev/null
        endscript
        postrotate
                if [ -f /var/run/apache2.pid ]; then
                        /etc/init.d/apache2 restart > /dev/null
                fi
        endscript
}


/etc/logrotate.d/ispcp
Code:
root:/etc/logrotate.d# cat ispcp
/var/log/apache2/users/*.log {
  weekly
  missingok
  rotate 52
  compress
  delaycompress
  notifempty
  create 640 root adm
  sharedscripts
  prerotate
    /var/www/ispcp/engine/traffic/ispcp-vrl-traff > /var/log/ispcp/ispcp-vrl-traff.log
  endscript
  postrotate
    /etc/init.d/apache2 reload > /dev/null
  endscript
}

/var/log/apache2/backup/*.log.perv {
  size 5M
  missingok
  rotate 5
  compress
  delaycompress
  notifempty
  create 640 root adm
}

/var/log/proftpd/xferlog {
  daily
  rotate 7
  missingok
  compress
  delaycompress
  postrotate
    if [ -e /var/run/syslogd.pid ]; then
      /usr/bin/killall -HUP syslogd
    elif [ -e /var/run/rsyslogd.pid ]; then
      /usr/bin/killall -HUP rsyslogd
    fi
  endscript
}

/var/log/proftpd/ftp_traff.log {
  daily
  rotate 7
  missingok
  compress
  delaycompress
  prerotate
    /var/www/ispcp/engine/traffic/ispcp-vrl-traff > /var/log/ispcp/ispcp-vrl-traff.log
  endscript
  postrotate
    if [ -e /var/run/syslogd.pid ]; then
      /usr/bin/killall -HUP syslogd
    elif [ -e /var/run/rsyslogd.pid ]; then
      /usr/bin/killall -HUP rsyslogd
    fi
  endscript
}
04-08-2009 01:23 AM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #7
RE: Keine Logs mehr?
Das sieht soweit gut aus.
Wenn Du Dir mal die ApacheConfig anschaust, stehen da Logdateien drin ?
-> /etc/apache2/sites-enabled/ispcp.conf

Fehler wenn Du Apache neustartet ?

Greez BeNe
04-09-2009 08:03 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Jebus Offline
Junior Member
*

Posts: 15
Joined: Dec 2008
Reputation: 0
Post: #8
RE: Keine Logs mehr?
Quote:Forcing reload of web server (apache2)...[Sat Apr 11 16:04:32 2009] [warn] NameVirtualHost 87.118.xx.xx:80 has no VirtualHosts


Was ich mir aber nicht erklären kann, da vorher auch nichts geändert wurde.
04-12-2009 12:05 AM
Find all posts by this user Quote this message in a reply
Lucan Offline
Member
*
Beta Team

Posts: 982
Joined: Jul 2008
Reputation: 12
Post: #9
RE: Keine Logs mehr?
Quote:Forcing reload of web server (apache2)...[Sat Apr 11 16:04:32 2009] [warn] NameVirtualHost 87.118.xx.xx:80 has no VirtualHosts

Das kriegste recht einfach beseitigt:

in der /etc/apache2/ports.conf die eine Zeile löschen.



Grüße
04-12-2009 12:10 AM
Find all posts by this user Quote this message in a reply
Jebus Offline
Junior Member
*

Posts: 15
Joined: Dec 2008
Reputation: 0
Post: #10
RE: Keine Logs mehr?
Ich denke ich weiß jetzt wo der Fehler liegt, die Logs sind im Apache Log Ordner, werden aber nicht verschoben. Die komplette Cron Datei war nach dem Update auf die Full leer -.-
04-20-2009 06:07 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)