Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Samba problems
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
mellofone
Apprentice
Apprentice


Joined: 13 Apr 2002
Posts: 287

PostPosted: Sun May 26, 2002 4:23 pm    Post subject: Samba problems Reply with quote

It's been a while since I have touched my samba stuff, so I was kind of surprised it didn't work when I tried to restart it. I made a few changes to settings (mainly logging additions).

root@fringe samba # /etc/init.d/samba restart
* Stopping samba...
/sbin/runscript.sh: start-stop-daemon: command not found
/sbin/runscript.sh: start-stop-daemon: command not found
[ !! ]

Any ideas? I didn't change anything in the samba config that should
break it, I just mainly changed where logs are stored.
Back to top
View user's profile Send private message
zagarna
n00b
n00b


Joined: 13 Apr 2002
Posts: 34
Location: Vicenza - Italy

PostPosted: Sun May 26, 2002 6:06 pm    Post subject: Re: Samba problems Reply with quote

Either you've made a typo or something's wrong with your runscript.sh
what happenes if you just do:
# /etc/init.d/samba stop
# /etc/init.d/samba start
Back to top
View user's profile Send private message
mellofone
Apprentice
Apprentice


Joined: 13 Apr 2002
Posts: 287

PostPosted: Sun May 26, 2002 6:10 pm    Post subject: Re: Samba problems Reply with quote

zagarna wrote:
Either you've made a typo or something's wrong with your runscript.sh
what happenes if you just do:
# /etc/init.d/samba stop
# /etc/init.d/samba start


root@fringe mellofone # /etc/init.d/samba stop
* Stopping samba...
/sbin/runscript.sh: start-stop-daemon: command not found
/sbin/runscript.sh: start-stop-daemon: command not found [ !! ]

Same thing. On a side note, this only just started happening. It also seems that it only happens if I use su by itself. If I use su -, then it works. Strange.

Like I said, it used to work just fine, but I haven't had to manually restart anything in a while, so it could be any one of the recent updates I have applied...
Back to top
View user's profile Send private message
ElCondor
Guru
Guru


Joined: 10 Apr 2002
Posts: 520
Location: Vienna, Austria, Europe

PostPosted: Sun May 26, 2002 6:17 pm    Post subject: Re: Samba problems Reply with quote

mellofone wrote:
It also seems that it only happens if I use su by itself. If I use su -, then it works. Strange

Actually .. no :)
if you su you get superuser privileges, but if you su - you perform the full login-procedure for the superuser, meaning getting superusers environment with the special paths including /sbin/

* ElCondor pasa *
_________________
Here I am the victim of my own choices and I'm just starting!
Back to top
View user's profile Send private message
mellofone
Apprentice
Apprentice


Joined: 13 Apr 2002
Posts: 287

PostPosted: Sun May 26, 2002 6:20 pm    Post subject: Re: Samba problems Reply with quote

elcondor wrote:
Actually .. no :)
if you su you get superuser privileges, but if you su - you perform the full login-procedure for the superuser, meaning getting superusers environment with the special paths including /sbin/
* ElCondor pasa *


But this just started happening, only since a recent slew of updates. I never used su - before to restart services in this manner...
Back to top
View user's profile Send private message
ElCondor
Guru
Guru


Joined: 10 Apr 2002
Posts: 520
Location: Vienna, Austria, Europe

PostPosted: Sun May 26, 2002 7:52 pm    Post subject: Reply with quote

hmm .. the other start-scripts in /etc/init.d/ are working? if they so, then I'd check samba for typos or so. if they don't you should start searching where to the start-stop-daemon script vanished. Sorry, no further idea on this.

* ElCondor pasa *
_________________
Here I am the victim of my own choices and I'm just starting!
Back to top
View user's profile Send private message
mellofone
Apprentice
Apprentice


Joined: 13 Apr 2002
Posts: 287

PostPosted: Sun May 26, 2002 7:58 pm    Post subject: Reply with quote

elcondor wrote:
hmm .. the other start-scripts in /etc/init.d/ are working? if they so, then I'd check samba for typos or so. if they don't you should start searching where to the start-stop-daemon script vanished. Sorry, no further idea on this.

* ElCondor pasa *


The other scripts are doing the same thing, but they never used to.

Sorry I am explaining this so poorly...

I never had to use su - before, all the scripts worked just fine. Now, I either have to specifically add /sbin to the $PATH, or I use su -

It still works either way, I was wondering what the change may have been.
Back to top
View user's profile Send private message
tgnb
Apprentice
Apprentice


Joined: 16 Apr 2002
Posts: 208
Location: New York, NY

PostPosted: Mon May 27, 2002 6:55 pm    Post subject: same Reply with quote

i am also seeing this. after updating my system today
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