Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
postfix problem.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
pyxel
n00b
n00b


Joined: 04 Nov 2005
Posts: 44
Location: Bratislava/brussels

PostPosted: Thu Feb 16, 2006 6:49 pm    Post subject: postfix problem. Reply with quote

hello,
I have a problem with postfix, with other boxs I emerge postfix and it's work, but one of my box don't receive mails. google sais nothing...
here is /var/log/mail.err:
Code:

Feb 16 19:36:31 localhost postfix/smtpd[16608]: fatal: open lock file pid/inet.s
mtp: cannot create file exclusively: No such file or directory
Feb 16 19:37:32 localhost postfix/smtpd[16757]: fatal: open lock file pid/inet.s
mtp: cannot create file exclusively: No such file or directory
Feb 16 19:38:33 localhost postfix/smtpd[9487]: fatal: open lock file pid/inet.sm
tp: cannot create file exclusively: No such file or directory
Feb 16 19:39:34 localhost postfix/smtpd[2134]: fatal: open lock file pid/inet.sm
tp: cannot create file exclusively: No such file or directory
Feb 16 19:40:35 localhost postfix/smtpd[30356]: fatal: open lock file pid/inet.s
mtp: cannot create file exclusively: No such file or directory
Feb 16 19:41:36 localhost postfix/smtpd[1953]: fatal: open lock file pid/inet.sm
tp: cannot create file exclusively: No such file or directory
Feb 16 19:42:37 localhost postfix/smtpd[13624]: fatal: open lock file pid/inet.s
mtp: cannot create file exclusively: No such file or directory
Feb 16 19:43:38 localhost postfix/smtpd[16589]: fatal: open lock file pid/inet.s
mtp: cannot create file exclusively: No such file or directory
Feb 16 19:44:39 localhost postfix/smtpd[21539]: fatal: open lock file pid/inet.s
mtp: cannot create file exclusively: No such file or directory
Feb 16 19:45:40 localhost postfix/smtpd[29306]: fatal: open lock file pid/inet.s
mtp: cannot create file exclusively: No such file or directory


any ideas?
please help me.
Back to top
View user's profile Send private message
xoomix
Guru
Guru


Joined: 02 Jan 2003
Posts: 489

PostPosted: Thu Feb 16, 2006 7:01 pm    Post subject: Reply with quote

Do you have a /var/spool/postfix/pid/inet.smtp file? Is it owned by root:root and chmod'd to 600 ? You can try deleting the file and touching it, then setting permissions and ownership if it is already there, then restarting postfix. Post your results.
Back to top
View user's profile Send private message
pyxel
n00b
n00b


Joined: 04 Nov 2005
Posts: 44
Location: Bratislava/brussels

PostPosted: Thu Feb 16, 2006 7:14 pm    Post subject: Reply with quote

hello, thanks for your reply.

I created new file, and changing perms... :
Code:
darken:~# ls -Fasilh /var/spool/postfix/pid/inet.smtp
16824954 0 -rw-------  1 root root 0 2006-02-16 20:10 /var/spool/postfix/pid/inet.smtp

and restart postfix.
but same error:

Code:
Feb 16 20:11:05 localhost postfix/smtpd[20820]: fatal: open lock file pid/inet.smtp: cannot create file exclusively: No such file or directory
Feb 16 20:12:06 localhost postfix/smtpd[6631]: fatal: open lock file pid/inet.smtp: cannot create file exclusively: No such file or directory
Feb 16 20:13:07 localhost postfix/smtpd[31417]: fatal: open lock file pid/inet.smtp: cannot create file exclusively: No such file or directory
Back to top
View user's profile Send private message
pyxel
n00b
n00b


Joined: 04 Nov 2005
Posts: 44
Location: Bratislava/brussels

PostPosted: Thu Feb 16, 2006 7:24 pm    Post subject: Reply with quote

hmm.. i think that I find solution of my problem:
http://www.irbs.net/internet/postfix/0502/0178.html
but I can't reboot this box now, any idea how to fix this error without reboot?
Back to top
View user's profile Send private message
xoomix
Guru
Guru


Joined: 02 Jan 2003
Posts: 489

PostPosted: Thu Feb 16, 2006 7:53 pm    Post subject: Reply with quote

Can you not reboot because of a process that is running, or because of a kernel-level function like networking etc.? I ask because you can always try changing runlevels instead of actually rebooting.
Back to top
View user's profile Send private message
pyxel
n00b
n00b


Joined: 04 Nov 2005
Posts: 44
Location: Bratislava/brussels

PostPosted: Thu Feb 16, 2006 8:41 pm    Post subject: Reply with quote

kiosk wrote:
Can you not reboot because of a process that is running, or because of a kernel-level function like networking etc.? I ask because you can always try changing runlevels instead of actually rebooting.


I can't reboot because of a process. :(
but thank you a lot!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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