Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Vacation Problem!
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
sewulba
Guru
Guru


Joined: 09 Feb 2005
Posts: 517
Location: Heidelberg

PostPosted: Sun Jun 26, 2005 5:18 pm    Post subject: Vacation Problem! Reply with quote

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! :cry:
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! :P
Habe ich irgendwo vergessen 'Vacation' zu deaktivieren, aber wo? Wie bekomm ich diese Fehlermeldung wieder los?:roll:

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
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9538
Location: beyond the rim

PostPosted: Sun Jun 26, 2005 8:10 pm    Post subject: Reply with quote

Hört sich nach nem übriggebliebenen cronjob an.
Back to top
View user's profile Send private message
sewulba
Guru
Guru


Joined: 09 Feb 2005
Posts: 517
Location: Heidelberg

PostPosted: Mon Jun 27, 2005 2:11 am    Post subject: Reply with quote

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! :oops:

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
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9538
Location: beyond the rim

PostPosted: Mon Jun 27, 2005 2:25 am    Post subject: Reply with quote

Schon mal in /etc/cron.hourly/ geguckt?
Back to top
View user's profile Send private message
sewulba
Guru
Guru


Joined: 09 Feb 2005
Posts: 517
Location: Heidelberg

PostPosted: Tue Jun 28, 2005 7:39 pm    Post subject: Reply with quote

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 :oops:
_________________
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
View user's profile Send private message
sewulba
Guru
Guru


Joined: 09 Feb 2005
Posts: 517
Location: Heidelberg

PostPosted: Fri Jul 01, 2005 7:27 am    Post subject: Reply with quote

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! :oops:

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
View user's profile Send private message
Carlo
Developer
Developer


Joined: 12 Aug 2002
Posts: 3356

PostPosted: Fri Jul 01, 2005 10:47 am    Post subject: Reply with quote

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
View user's profile Send private message
sewulba
Guru
Guru


Joined: 09 Feb 2005
Posts: 517
Location: Heidelberg

PostPosted: Wed Jul 06, 2005 6:52 am    Post subject: Reply with quote

Hmmm... Das heisst jetzt was für mich? Wie gehe ich weiter vor? :cry:

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
View user's profile Send private message
holiday
n00b
n00b


Joined: 25 Aug 2004
Posts: 14

PostPosted: Wed Jul 06, 2005 2:53 pm    Post subject: Reply with quote

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
View user's profile Send private message
sewulba
Guru
Guru


Joined: 09 Feb 2005
Posts: 517
Location: Heidelberg

PostPosted: Tue Jul 26, 2005 1:21 pm    Post subject: Reply with quote

Hat leider nicht geholfen... Übrigens das Vacation-Problem besteht nur auf dem Benutzer ROOT! :oops:

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
View user's profile Send private message
STiGMaTa_ch
Veteran
Veteran


Joined: 28 Dec 2004
Posts: 1686
Location: Rüti ZH / Schweiz

PostPosted: Tue Jul 26, 2005 1:58 pm    Post subject: Reply with quote

sewulba wrote:
Hat leider nicht geholfen... Übrigens das Vacation-Problem besteht nur auf dem Benutzer ROOT! :oops:


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 :roll:.

Z.B.
Code:
cd /
for a in `find . -type f`;do grep -l vacation $a;done


Lieber Gruss
STiGMaTa
Back to top
View user's profile Send private message
jamapii
l33t
l33t


Joined: 16 Sep 2004
Posts: 637

PostPosted: Tue Jul 26, 2005 10:20 pm    Post subject: Reply with quote

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
View user's profile Send private message
ChrisM87
l33t
l33t


Joined: 07 Aug 2004
Posts: 728
Location: Rheinland-Pfalz (Germany)

PostPosted: Tue Jul 26, 2005 11:08 pm    Post subject: Reply with quote

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
View user's profile Send private message
sewulba
Guru
Guru


Joined: 09 Feb 2005
Posts: 517
Location: Heidelberg

PostPosted: Thu Jul 28, 2005 6:32 pm    Post subject: Reply with quote

Danke an Euch. :wink: 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... :P

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum