Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
a twist of samba pid plz
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
pinnockio
Apprentice
Apprentice


Joined: 08 Jun 2002
Posts: 162

PostPosted: Sun Apr 18, 2004 7:18 pm    Post subject: a twist of samba pid plz Reply with quote

Hello,

I'm experiencing a really odd thing with samba. When I do ps -C smbd I get process id (random example) 1703 (and this is also the pid shown in /var/run/samba/smbd.pid); but I can't use samba! If I start to restart it through /etc/init/samba restart, I get: start-stop-daemon: warning: failed to kill 1705: No such process.

The strange thing is that (even when I delete the file /var/run/samba/smbd.pid), there always seems to bee a difference of 2 between the pid shown by the command ps -C smbd and the pid shown by /etc/init.d/samba restart,... .

The weird thing is that this error only seems to happen at initial startup (but when I kill the daemon, do /etc/init.d/samba zap and restart, it works fine, but I don't wan't to restart it manually everytime).

Kind regards,

A belgian Gentoo user
Back to top
View user's profile Send private message
ezman
n00b
n00b


Joined: 22 Jan 2004
Posts: 9
Location: NorthWestern U.S.

PostPosted: Wed Apr 21, 2004 5:00 pm    Post subject: Reply with quote

Same situation here, I think mine has mostly to do that sometimes I am on dhcp lease when using samba server from my machine.
_________________
Happy Gentoo Convert :)
Back to top
View user's profile Send private message
pinnockio
Apprentice
Apprentice


Joined: 08 Jun 2002
Posts: 162

PostPosted: Fri May 14, 2004 7:54 am    Post subject: Reply with quote

Problem solved when moving to kernel 2.6.5
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