View previous topic :: View next topic |
Author |
Message |
sewulba Guru
Joined: 09 Feb 2005 Posts: 517 Location: Heidelberg
|
Posted: Sun Jun 26, 2005 5:18 pm Post subject: Vacation Problem! |
|
|
Hallo...
Ich habe ein Problem mit Vacation. Ich habe das Programm vor längerer Zeit mal getestet, aber dann wieder mit 'emerge -C' entfernt. Nun bekomm' ich aber von Zeit zur Zeit eine Mail an ROOT die folgender massen aussieht!
Code: | This is the Postfix program at host sepp.dyndns.org.
I'm sorry to have to inform you that your message could not be
be delivered to one or more recipients. It's attached below.
For further assistance, please send mail to <postmaster>
If you do so, please include this problem report. You can
delete your own text from the attached returned message.
The Postfix program
<root@sewulba.homelinux.org>: Command died with status 1: "/usr/bin/vacation
root" | Mein POSTFIX läuft ansonsten einwandfrei!
Habe ich irgendwo vergessen 'Vacation' zu deaktivieren, aber wo? Wie bekomm ich diese Fehlermeldung wieder los?
Sewulba _________________ System1:Apple PowerMac Dual G4 @ 1,83GHz with 2GB Ram. 400GB + 80GB HDD, Gentoo 13.0-ppc32
System2:Apple MacIntosh PowerMac Dual G5 @ 2.7 GHz/1,35GHz FSB... 8GB Ram. 250GB SATA. Gentoo 10.0-PPC64-64ul |
|
Back to top |
|
|
Genone Retired Dev
Joined: 14 Mar 2003 Posts: 9555 Location: beyond the rim
|
Posted: Sun Jun 26, 2005 8:10 pm Post subject: |
|
|
Hört sich nach nem übriggebliebenen cronjob an. |
|
Back to top |
|
|
sewulba Guru
Joined: 09 Feb 2005 Posts: 517 Location: Heidelberg
|
Posted: Mon Jun 27, 2005 2:11 am Post subject: |
|
|
hmmmmm...
Das dachte ich eigentlich auch schon, aber kann nichts finden!
Hier ein Auszug aus meiner CRONTAB:
Code: | SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=
HOME=/
# check scripts in cron.hourly, cron.daily, cron.weekly and cron.monthly
0 * * * * root rm -f /var/spool/cron/lastrun/cron.hourly
1 3 * * * root rm -f /var/spool/cron/lastrun/cron.daily
15 4 * * 6 root rm -f /var/spool/cron/lastrun/cron.weekly
30 5 1 * * root rm -f /var/spool/cron/lastrun/cron.monthly
*/10 * * * * root test -x /usr/sbin/run-crons && /usr/sbin/run-crons
0 18 * * * root /opt/f-prot/tools/check-updates.pl > /dev/tty12
*/5 * * * * root php /var/www/localhost/htdocs/cacti/poller.php > /dev/null 2>&1
| Da ist wohl nichts von Vacation drin.
Auffällig ist auf jeden Fall, dass es immer nur ein paar Sekunden nach einer vollen Stunde, also kurz nach 12Uhr, kurz nach 13Uhr usw. kommt.
Und vor allem immer kurz nachdem diese Mail mit dem Betreff --> Cron <root@sewulba> test -x /usr/sbin/run-crons && /usr/sbin/run-crons <-- auf root geschickt wird!
Hoffe diese Information hilft weiter. Ich sitz auf jeden Fall noch im dunkeln!
Sewulba _________________ System1:Apple PowerMac Dual G4 @ 1,83GHz with 2GB Ram. 400GB + 80GB HDD, Gentoo 13.0-ppc32
System2:Apple MacIntosh PowerMac Dual G5 @ 2.7 GHz/1,35GHz FSB... 8GB Ram. 250GB SATA. Gentoo 10.0-PPC64-64ul |
|
Back to top |
|
|
Genone Retired Dev
Joined: 14 Mar 2003 Posts: 9555 Location: beyond the rim
|
Posted: Mon Jun 27, 2005 2:25 am Post subject: |
|
|
Schon mal in /etc/cron.hourly/ geguckt? |
|
Back to top |
|
|
sewulba Guru
Joined: 09 Feb 2005 Posts: 517 Location: Heidelberg
|
Posted: Tue Jun 28, 2005 7:39 pm Post subject: |
|
|
Auch da habe ich geschaut!!!
Code: | ls -l /etc/cron.hourly/
insgesamt 16
-rwxrwxrwx 1 root root 99 7. Mär 00:53 AV_update.sh
-rwx------ 1 root root 216 12. Apr 17:49 awstats.sh
-rwx------ 1 root root 200 25. Feb 14:23 time.sh
-rwx------ 1 root root 32 26. Feb 02:01 webalizer.sh |
Auch nichts!!!
Sewulba _________________ System1:Apple PowerMac Dual G4 @ 1,83GHz with 2GB Ram. 400GB + 80GB HDD, Gentoo 13.0-ppc32
System2:Apple MacIntosh PowerMac Dual G5 @ 2.7 GHz/1,35GHz FSB... 8GB Ram. 250GB SATA. Gentoo 10.0-PPC64-64ul |
|
Back to top |
|
|
sewulba Guru
Joined: 09 Feb 2005 Posts: 517 Location: Heidelberg
|
Posted: Fri Jul 01, 2005 7:27 am Post subject: |
|
|
Ich habe doch gar kein Vacation mehr drauf. Es war auch nie konfiguriert. Wollte es mal testen, aber wegen Zeitmagels es wieder gelassen!
Woran könnte es noch liegen? Diese Fehlermeldung müllt mir voll den Benutzer ROOT (Mailbox) voll!
Sewulba _________________ System1:Apple PowerMac Dual G4 @ 1,83GHz with 2GB Ram. 400GB + 80GB HDD, Gentoo 13.0-ppc32
System2:Apple MacIntosh PowerMac Dual G5 @ 2.7 GHz/1,35GHz FSB... 8GB Ram. 250GB SATA. Gentoo 10.0-PPC64-64ul |
|
Back to top |
|
|
Carlo Developer
Joined: 12 Aug 2002 Posts: 3356
|
Posted: Fri Jul 01, 2005 10:47 am Post subject: |
|
|
sewulba wrote: | Ich habe doch gar kein Vacation mehr drauf. Es war auch nie konfiguriert. |
Alles was in mittels CONFIG_PROTECT geschützten Verzeichnissen installiert wird, wird von Portage nicht gelöscht. Auch eventuelle Default-Konfigurationen nicht. Wenn man in bugs.g.o nach config sucht, finden sch viele alte Bugs zu dem Thema. _________________ Please make sure that you have searched for an answer to a question after reading all the relevant docs. |
|
Back to top |
|
|
sewulba Guru
Joined: 09 Feb 2005 Posts: 517 Location: Heidelberg
|
Posted: Wed Jul 06, 2005 6:52 am Post subject: |
|
|
Hmmm... Das heisst jetzt was für mich? Wie gehe ich weiter vor?
Sewulba _________________ System1:Apple PowerMac Dual G4 @ 1,83GHz with 2GB Ram. 400GB + 80GB HDD, Gentoo 13.0-ppc32
System2:Apple MacIntosh PowerMac Dual G5 @ 2.7 GHz/1,35GHz FSB... 8GB Ram. 250GB SATA. Gentoo 10.0-PPC64-64ul |
|
Back to top |
|
|
holiday n00b
Joined: 25 Aug 2004 Posts: 14
|
Posted: Wed Jul 06, 2005 2:53 pm Post subject: |
|
|
Eventuell hilft Dir folgendes weiter:
Nochmals emergen von Vaction und anschliessend wieder löschen mit emerge -C Vacation.
Beim Löschen kannst Du sehen, welche Dateien wirklich gelöscht werden und welche nicht gelöscht werden.
Diese dann per Hand löschen.
Ebenso kannst Du eventuell nach dem emerge mit etc-update nachvollziehen, wo conf Einträge gemacht worden sind und diese manuell löschen
Holiday |
|
Back to top |
|
|
sewulba Guru
Joined: 09 Feb 2005 Posts: 517 Location: Heidelberg
|
Posted: Tue Jul 26, 2005 1:21 pm Post subject: |
|
|
Hat leider nicht geholfen... Übrigens das Vacation-Problem besteht nur auf dem Benutzer ROOT!
Sewulba _________________ System1:Apple PowerMac Dual G4 @ 1,83GHz with 2GB Ram. 400GB + 80GB HDD, Gentoo 13.0-ppc32
System2:Apple MacIntosh PowerMac Dual G5 @ 2.7 GHz/1,35GHz FSB... 8GB Ram. 250GB SATA. Gentoo 10.0-PPC64-64ul |
|
Back to top |
|
|
STiGMaTa_ch Veteran
Joined: 28 Dec 2004 Posts: 1686 Location: Rüti ZH / Schweiz
|
Posted: Tue Jul 26, 2005 1:58 pm Post subject: |
|
|
sewulba wrote: | Hat leider nicht geholfen... Übrigens das Vacation-Problem besteht nur auf dem Benutzer ROOT! |
Naja, ist ja auch klar:
sewulba wrote: | I'm sorry to have to inform you that your message could not be be delivered to one or more recipients. |
Falls postfix irgend ein Problem mit dem Zustellen hat, sendet er die Fehlermeldung an Root (oder an den User, welcher als postmaster angegeben ist).
Also wenn es auf "gutmütigem" Weg nicht hinhaut, dann würde ich es halt mal radikal versuchen. Klappere einfach alle Dateien auf deinem Rechner ab und Suche nach Dateien mit dem Inhalt vacation. Das dauert zwar eine Weile, dafür erhältst du dann eine Liste aller Dateien, welche ein vacation enthalten.
Dann überprüfst du jede Datei und kommentierst/entfernst vacation in dieser Datei. Dann einmal den Rechner neu starten und beten .
Z.B.
Code: | cd /
for a in `find . -type f`;do grep -l vacation $a;done |
Lieber Gruss
STiGMaTa |
|
Back to top |
|
|
jamapii l33t
Joined: 16 Sep 2004 Posts: 637
|
Posted: Tue Jul 26, 2005 10:20 pm Post subject: |
|
|
Vielleicht liegt das Problem im Home-Directory von root. (.forward oder .procmailrc) Das versucht, vacation zu starten, was aber nicht geht -> Error. |
|
Back to top |
|
|
ChrisM87 l33t
Joined: 07 Aug 2004 Posts: 728 Location: Rheinland-Pfalz (Germany)
|
Posted: Tue Jul 26, 2005 11:08 pm Post subject: |
|
|
Hi,
du könntest auch mal in den Systemlog schauen, Postfix müsste dort ja vermerken, von wem die Mail kommt (pid) oder etwas ähnliches vielleicht, wenn Apache bei mir eine Mail versendet steht da nämlich z.B.:
Jul 26 12:05:43 [postfix/pickup] 7CB6D3E83F: uid=81 from=<apache> <-- HIER!
Jul 26 12:05:43 [postfix/cleanup] 7CB6D3E83F: message-id=<blabla>
Jul 26 12:05:43 [postfix/qmgr] 7CB6D3E83F: from=<apache@blabla>, size=966, nrcpt=1 (queue active)
Jul 26 12:05:43 [postfix/smtp] 7CB6D3E83F: to=<blabla@web.de>, relay=mx-ha01.web.de[217.72.192.149], delay=0, status=sent (250 OK id=1DxMJj-00057A-00)
Jul 26 12:05:43 [postfix/qmgr] 7CB6D3E83F: removed
ChrisM _________________ born to be root - sorry for my bad English! |
|
Back to top |
|
|
sewulba Guru
Joined: 09 Feb 2005 Posts: 517 Location: Heidelberg
|
Posted: Thu Jul 28, 2005 6:32 pm Post subject: |
|
|
Danke an Euch. Ich denke mit dem Befehl von STiGMaTa_ch werde ich früher oder später den Fehler finden. Bin gerade nicht an meinem Rechner. Halte Euch auf dem laufenden. DANKE Euch recht herzlich...
Sewulba _________________ System1:Apple PowerMac Dual G4 @ 1,83GHz with 2GB Ram. 400GB + 80GB HDD, Gentoo 13.0-ppc32
System2:Apple MacIntosh PowerMac Dual G5 @ 2.7 GHz/1,35GHz FSB... 8GB Ram. 250GB SATA. Gentoo 10.0-PPC64-64ul |
|
Back to top |
|
|
|