View previous topic :: View next topic |
Author |
Message |
mellofone Apprentice
Joined: 13 Apr 2002 Posts: 287
|
Posted: Sun May 26, 2002 4:23 pm Post subject: Samba problems |
|
|
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 |
|
|
zagarna n00b
Joined: 13 Apr 2002 Posts: 34 Location: Vicenza - Italy
|
Posted: Sun May 26, 2002 6:06 pm Post subject: Re: Samba problems |
|
|
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 |
|
|
mellofone Apprentice
Joined: 13 Apr 2002 Posts: 287
|
Posted: Sun May 26, 2002 6:10 pm Post subject: Re: Samba problems |
|
|
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 |
|
|
ElCondor Guru
Joined: 10 Apr 2002 Posts: 520 Location: Vienna, Austria, Europe
|
Posted: Sun May 26, 2002 6:17 pm Post subject: Re: Samba problems |
|
|
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 |
|
|
mellofone Apprentice
Joined: 13 Apr 2002 Posts: 287
|
Posted: Sun May 26, 2002 6:20 pm Post subject: Re: Samba problems |
|
|
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 |
|
|
ElCondor Guru
Joined: 10 Apr 2002 Posts: 520 Location: Vienna, Austria, Europe
|
Posted: Sun May 26, 2002 7:52 pm Post subject: |
|
|
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 |
|
|
mellofone Apprentice
Joined: 13 Apr 2002 Posts: 287
|
Posted: Sun May 26, 2002 7:58 pm Post subject: |
|
|
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 |
|
|
tgnb Apprentice
Joined: 16 Apr 2002 Posts: 208 Location: New York, NY
|
Posted: Mon May 27, 2002 6:55 pm Post subject: same |
|
|
i am also seeing this. after updating my system today |
|
Back to top |
|
|
|