Probleme mit Postfix und Cyrus

daimyo

daimyo

Grünschnabel
Ich habe bei mir Postfix und cyrus installiert leider der postfix zeigt mir einen Fehler Permission denied und vor kurzen habe noch dazu den User cyrus gelöscht aber dann wieder ihn angelegt.
Alles läuft auf einen Debian Sarge.


mail.log

May 19 18:27:01 localhost cyrus/master[10218]: about to exec /usr/sbin/ctl_cyrusdb
May 19 18:27:01 localhost cyrus/ctl_cyrusdb[10218]: recovering cyrus databases
May 19 18:27:01 localhost cyrus/ctl_cyrusdb[10218]: skiplist: recovered /var/lib/cyrus/mailboxes.db (3 records, 552 bytes) in 0 seconds
May 19 18:27:01 localhost cyrus/ctl_cyrusdb[10218]: done recovering cyrus databases
May 19 18:27:01 localhost cyrus/master[10219]: about to exec /usr/sbin/ctl_deliver
May 19 18:27:01 localhost cyrus/ctl_deliver[10219]: duplicate_prune: pruning back 3 days
May 19 18:27:01 localhost cyrus/ctl_deliver[10219]: duplicate_prune: purged 0 out of 0 entries
May 19 18:27:01 localhost cyrus/master[10220]: about to exec /usr/sbin/tls_prune
May 19 18:27:01 localhost cyrus/tls_prune[10220]: tls_prune: purged 0 out of 0 entries
May 19 18:27:01 localhost cyrus/master[10217]: WARNING: cannot find executable for service 'lmtpunix' -- ignored
May 19 18:27:01 localhost cyrus/master[10217]: unable to create imap listener socket: Address already in use
May 19 18:27:01 localhost cyrus/master[10217]: unable to create pop3 listener socket: Address already in use
May 19 18:27:01 localhost cyrus/master[10217]: ready for work
May 19 18:27:01 localhost cyrus/master[10221]: about to exec /usr/sbin/ctl_cyrusdb
May 19 18:27:01 localhost cyrus/ctl_cyrusdb[10221]: checkpointing cyrus databases
May 19 18:27:01 localhost cyrus/master[10222]: about to exec /usr/lib/cyrus/bin/notifyd
May 19 18:27:01 localhost cyrus/notify[10222]: executed
May 19 18:27:01 localhost cyrus/ctl_cyrusdb[10221]: archiving log file: /var/lib/cyrus/db/log.0000000001
May 19 18:27:01 localhost cyrus/ctl_cyrusdb[10221]: archiving database file: /var/lib/cyrus/mailboxes.db
May 19 18:27:01 localhost cyrus/ctl_cyrusdb[10221]: done checkpointing cyrus databases
May 19 18:27:01 localhost cyrus/master[10217]: process 10221 exited, status 0
May 19 18:27:09 localhost master[10224]: fatal: master_spawn: exec /usr/lib/postfix/lmtp: Permission denied
May 19 18:27:10 localhost postfix/master[10127]: warning: process /usr/lib/postfix/lmtp pid 10224 exit status 1
May 19 18:27:10 localhost postfix/master[10127]: warning: /usr/lib/postfix/lmtp: bad command startup -- throttling
May 19 18:28:10 localhost master[10225]: fatal: master_spawn: exec /usr/lib/postfix/lmtp: Permission denied
May 19 18:28:11 localhost postfix/master[10127]: warning: process /usr/lib/postfix/lmtp pid 10225 exit status 1
May 19 18:28:11 localhost postfix/master[10127]: warning: /usr/lib/postfix/lmtp: bad command startup -- throttling
May 19 18:29:11 localhost master[10226]: fatal: master_spawn: exec /usr/lib/postfix/lmtp: Permission denied
May 19 18:29:12 localhost postfix/master[10127]: warning: process /usr/lib/postfix/lmtp pid 10226 exit status 1
May 19 18:29:12 localhost postfix/master[10127]: warning: /usr/lib/postfix/lmtp: bad command startup -- throttling
May 19 18:30:12 localhost master[10229]: fatal: master_spawn: exec /usr/lib/postfix/lmtp: Permission denied
May 19 18:30:13 localhost postfix/master[10127]: warning: process /usr/lib/postfix/lmtp pid 10229 exit status 1
May 19 18:30:13 localhost postfix/master[10127]: warning: /usr/lib/postfix/lmtp: bad command startup -- throttling
May 19 18:31:13 localhost master[10230]: fatal: master_spawn: exec /usr/lib/postfix/lmtp: Permission denied
May 19 18:31:14 localhost postfix/master[10127]: warning: process /usr/lib/postfix/lmtp pid 10230 exit status 1
May 19 18:31:14 localhost postfix/master[10127]: warning: /usr/lib/postfix/lmtp: bad command startup -- throttling





mail.err

May 19 18:21:03 localhost master[10150]: fatal: master_spawn: exec /usr/lib/postfix/lmtp: Permission denied
May 19 18:21:03 localhost cyrus/master[10154]: unable to create imap listener socket: Address already in use
May 19 18:21:03 localhost cyrus/master[10154]: unable to create pop3 listener socket: Address already in use
May 19 18:22:04 localhost master[10167]: fatal: master_spawn: exec /usr/lib/postfix/lmtp: Permission denied
May 19 18:23:05 localhost master[10168]: fatal: master_spawn: exec /usr/lib/postfix/lmtp: Permission denied
May 19 18:24:06 localhost master[10169]: fatal: master_spawn: exec /usr/lib/postfix/lmtp: Permission denied
May 19 18:25:07 localhost master[10171]: fatal: master_spawn: exec /usr/lib/postfix/lmtp: Permission denied
May 19 18:26:08 localhost master[10178]: fatal: master_spawn: exec /usr/lib/postfix/lmtp: Permission denied
May 19 18:27:01 localhost cyrus/master[10217]: unable to create imap listener socket: Address already in use
May 19 18:27:01 localhost cyrus/master[10217]: unable to create pop3 listener socket: Address already in use
May 19 18:27:09 localhost master[10224]: fatal: master_spawn: exec /usr/lib/postfix/lmtp: Permission denied
May 19 18:28:10 localhost master[10225]: fatal: master_spawn: exec /usr/lib/postfix/lmtp: Permission denied
May 19 18:29:11 localhost master[10226]: fatal: master_spawn: exec /usr/lib/postfix/lmtp: Permission denied
May 19 18:30:12 localhost master[10229]: fatal: master_spawn: exec /usr/lib/postfix/lmtp: Permission denied
May 19 18:31:13 localhost master[10230]: fatal: master_spawn: exec /usr/lib/postfix/lmtp: Permission denied
May 19 18:32:14 localhost master[10232]: fatal: master_spawn: exec /usr/lib/postfix/lmtp: Permission denied


/usr/lib/postfix/
drwxr-xr-x 2 root root 4096 2006-03-17 21:34 .
drwxr-xr-x 58 root root 12288 2006-03-13 10:49 ..
-rwxr-xr-x 1 root root 23676 2005-03-01 02:05 bounce
-rwxr-xr-x 1 root root 31308 2005-03-01 02:05 cleanup
-rw-r--r-- 1 root root 11236 2005-03-01 02:05 dict_mysql.so
-rw-r--r-- 1 root root 15144 2005-03-01 02:05 dict_sdbm.so
-rw-r--r-- 1 root root 6508 2005-03-01 02:05 dict_tcp.so
-rwxr-xr-x 1 root root 4580 2005-03-01 02:05 error
-rwxr-xr-x 1 root root 11336 2005-03-01 02:05 flush
srwxrwxrwx 1 root root 0 2006-03-17 21:34 lmtp
-rwxr-xr-x 1 root root 27340 2005-03-01 02:05 lmtp.postfix
-rwxr-xr-x 1 root root 39492 2005-03-01 02:05 local
-rwxr-xr-x 1 root root 25092 2005-03-01 02:05 master
-rwxr-xr-x 1 root root 35096 2005-03-01 02:05 oqmgr
-rwxr-xr-x 1 root root 8640 2005-03-01 02:05 pickup
-rwxr-xr-x 1 root root 12768 2005-03-01 02:05 pipe
-rwxr-xr-x 1 root root 7796 2005-03-01 02:05 proxymap
-rwxr-xr-x 1 root root 41344 2005-03-01 02:05 qmgr
-rwxr-xr-x 1 root root 14792 2005-03-01 02:05 qmqpd
-rwxr-xr-x 1 root root 8536 2005-03-01 02:05 showq
-rwxr-xr-x 1 root root 73608 2005-03-01 02:05 smtp
-rwxr-xr-x 1 root root 117880 2005-03-01 02:05 smtpd
-rwxr-xr-x 1 root root 79512 2005-03-01 02:05 smtpd.postfix
-rwxr-xr-x 1 root root 35624 2005-03-01 02:05 smtp.postfix
-rwxr-xr-x 1 root root 6024 2005-03-01 02:05 spawn
-rwxr-xr-x 1 root root 36680 2005-03-01 02:05 tlsmgr
-rwxr-xr-x 1 root root 16348 2005-03-01 02:05 trivial-rewrite
-rwxr-xr-x 1 root root 8224 2005-03-01 02:05 verify
-rwxr-xr-x 1 root root 12400 2005-03-01 02:05 virtual

Könnte mir jemand helfen?

Mfg
Daimyo
 
hattest Du mal einen anderen Imap Server installiert ?

May 19 18:27:01 localhost cyrus/master[10217]: unable to create imap listener socket: Address already in use
May 19 18:27:01 localhost cyrus/master[10217]: unable to create pop3 listener socket: Address already in use
 
hi

welche rechte hat die datei: /usr/lib/postfix/lmtp

ich glaube mich zu errinnern das diese datei spezielle rechte brauchte. kann dir aber nicht genau sagen welche das jetzt sind. solltest mal google füttern.

mfg frank
 
schau dir einfach mal an was so schönes auf deinem Server alles horcht:

netstat -lNep

l = was horcht
N = Namen auflösen in IPs ( sieht man was Netzwerkverbindung annimmt und was nur lokale verbindungen nimmt)
e = erweitere die Ausgabe
p = welches Programm


das sollte helfen der Sache auf den Grund zu gehen.

Gruß
p
 
Ich würde auch vermuten, dass ein anderer Dienst auf den entsprechenden Ports horcht. Wegen dem bad command fehler würd ich mal die master.cf überprüfen ob da ein Fehler drin ist.
 
Ich habe keinen anderen Imap Server instaliert.

Wenn ich denn Befehl netstat eintippe kommt so was
netstat -lNep


Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State User Inode PID/Program name
tcp 0 0 127.0.0.1:60000 0.0.0.0:* LISTEN root 1685 1736/postgrey.pid -
tcp 0 0 127.0.0.1:mysql 0.0.0.0:* LISTEN root 1872 1866/mysqld
tcp 0 0 0.0.0.0:pop3 0.0.0.0:* LISTEN root 2799848 4061/pop3d
tcp 0 0 0.0.0.0:imap2 0.0.0.0:* LISTEN root 2742275 17890/imapd
tcp 0 0 0.0.0.0:sunrpc 0.0.0.0:* LISTEN root 1353 1377/portmap
tcp 0 0 127.0.0.1:sieve 0.0.0.0:* LISTEN root 2911865 17563/cyrmaster
tcp 0 0 0.0.0.0:www 0.0.0.0:* LISTEN root 2684510 19071/apache2
tcp 0 0 0.0.0.0:ftp 0.0.0.0:* LISTEN root 2877419 21761/xinetd
tcp 0 0 0.0.0.0:ssh 0.0.0.0:* LISTEN root 2127 1938/sshd
tcp 0 0 0.0.0.0:smtp 0.0.0.0:* LISTEN root 2901952 10127/master
tcp 0 0 0.0.0.0:8025 0.0.0.0:* LISTEN root 2119 1932/python2.3
tcp 0 0 127.0.0.1:2905 0.0.0.0:* LISTEN bld 1694 1741/bld
tcp 0 0 127.0.0.1:8026 0.0.0.0:* LISTEN root 2120 1932/python2.3
udp 0 0 0.0.0.0:sunrpc 0.0.0.0:* root 1352 1377/portmap
raw 0 0 0.0.0.0:tcp 0.0.0.0:* 7 root 535080 16012/scanlogd
raw 0 0 0.0.0.0:tcp 0.0.0.0:* 7 root 535077 16010/scanlogd
raw 0 0 0.0.0.0:tcp 0.0.0.0:* 7 root 488371 26951/scanlogd
raw 0 0 0.0.0.0:tcp 0.0.0.0:* 7 root 463968 24212/scanlogd
raw 0 0 0.0.0.0:tcp 0.0.0.0:* 7 root 463965 24210/scanlogd
raw 0 0 0.0.0.0:tcp 0.0.0.0:* 7 root 463962 24208/scanlogd
raw 0 0 0.0.0.0:tcp 0.0.0.0:* 7 root 463959 24206/scanlogd
raw 0 0 0.0.0.0:tcp 0.0.0.0:* 7 root 463923 24183/scanlogd
raw 0 0 0.0.0.0:tcp 0.0.0.0:* 7 root 463905 24163/scanlogd
raw 0 0 0.0.0.0:tcp 0.0.0.0:* 7 root 463184 23383/scanlogd
Active UNIX domain sockets (only servers)
Proto RefCnt Flags Type State I-Node PID/Program name Path
unix 2 [ ACC ] STREAM LISTENING 1729 1749/clamd /var/run/clamav/clamd.ctl
unix 2 [ ACC ] STREAM LISTENING 1874 1866/mysqld /var/run/mysqld/mysqld.sock
unix 2 [ ACC ] STREAM LISTENING 2901958 10127/master public/cleanup
unix 2 [ ACC ] STREAM LISTENING 2901965 10127/master private/rewrite
unix 2 [ ACC ] STREAM LISTENING 2901969 10127/master private/bounce
unix 2 [ ACC ] STREAM LISTENING 2901973 10127/master private/defer
unix 2 [ ACC ] STREAM LISTENING 2901977 10127/master private/trace
unix 2 [ ACC ] STREAM LISTENING 2901981 10127/master private/verify
unix 2 [ ACC ] STREAM LISTENING 2901985 10127/master public/flush
unix 2 [ ACC ] STREAM LISTENING 2901989 10127/master private/proxymap
unix 2 [ ACC ] STREAM LISTENING 2901993 10127/master private/smtp
unix 2 [ ACC ] STREAM LISTENING 2901997 10127/master private/relay
unix 2 [ ACC ] STREAM LISTENING 2902001 10127/master public/showq
unix 2 [ ACC ] STREAM LISTENING 2902005 10127/master private/error
unix 2 [ ACC ] STREAM LISTENING 2902009 10127/master private/local
unix 2 [ ACC ] STREAM LISTENING 2902013 10127/master private/virtual
unix 2 [ ACC ] STREAM LISTENING 2902017 10127/master private/lmtp
unix 2 [ ACC ] STREAM LISTENING 2902021 10127/master private/anvil
unix 2 [ ACC ] STREAM LISTENING 2902025 10127/master private/cyrus
unix 2 [ ACC ] STREAM LISTENING 2902029 10127/master private/maildrop
unix 2 [ ACC ] STREAM LISTENING 2902033 10127/master private/uucp
unix 2 [ ACC ] STREAM LISTENING 2902037 10127/master private/ifmail
unix 2 [ ACC ] STREAM LISTENING 2902041 10127/master private/bsmtp
unix 2 [ ACC ] STREAM LISTENING 2902045 10127/master private/scalemail-backend



Mfg
daimyo
 
und wie erklärst du dir dann das hier:

tcp 0 0 0.0.0.0:pop3 0.0.0.0:* LISTEN root 2799848 4061/pop3d
tcp 0 0 0.0.0.0:imap2 0.0.0.0:* LISTEN root 2742275 17890/imapd

da ist ein pop3 und ein imap der da läuft ;)

mfg frank
 
Supi es funktioniert danke viel mals :)

Mfg
Daimyo
 
Zuletzt bearbeitet:

Ähnliche Themen

postfix migirieren von 2.5. nach 2.10

grub-pc Probleme bei upgrade

postfix/dovecot/cyrus sasl: basic conf

Broadcom 5715 verursacht grosse Probleme mit POE-Switch

Autostart von X mit google-chrome durch systemd

Zurück
Oben