when issuing the start command to the samba daemon, I get the following error: [jared_root:/home/jdf]# /etc/init.d/smb start /etc/init.d/smb: line 93: chkconfig: command not found Starting Samba classic SMB daemon/etc/init.d/smb: line 102: checkproc: command not found /etc/init.d/smb: line 106: startproc: command not found failed [jared_root:/home/jdf]# I have configured this using SWAT. Any advice? -- "Turd Ferguson. Yeah, he's a funny guy." ~Burt Reynolds (As portrayed by Norm McDonald of SNL)
Hi, You need to install the 'sysvinit' rpm package. That package contains the checkproc binary. Regards, Alin. Turd Ferguson wrote:
when issuing the start command to the samba daemon, I get the following error:
[jared_root:/home/jdf]# /etc/init.d/smb start /etc/init.d/smb: line 93: chkconfig: command not found Starting Samba classic SMB daemon/etc/init.d/smb: line 102: checkproc: command not found /etc/init.d/smb: line 106: startproc: command not found failed [jared_root:/home/jdf]#
I have configured this using SWAT. Any advice?
-- Alin DOBRE Technical Support Engineer - RAV Division mailto:alin.dobre@ravantivirus.com http://www.ravantivirus.com --------------------------- This message is confidential. It may also be privileged or otherwise protected by work product immunity or other legal rules. If you have received it by mistake please let us know by reply and then delete it from your system; you should not copy the message or disclose its contents to anyone.
...and the 'aaa_base' rpm package. The answer is relative to SuSE81.I'm not sure if they are still the same in the newer/older versions. Maybe someone using other versions can check this using: rpm -qf `which chkconfig` rpm -qf `which checkproc` and send you the result. Regards, Alin. Alin Dobre wrote:
Hi,
You need to install the 'sysvinit' rpm package. That package contains the checkproc binary.
Regards, Alin.
Turd Ferguson wrote:
when issuing the start command to the samba daemon, I get the following error:
[jared_root:/home/jdf]# /etc/init.d/smb start /etc/init.d/smb: line 93: chkconfig: command not found Starting Samba classic SMB daemon/etc/init.d/smb: line 102: checkproc: command not found /etc/init.d/smb: line 106: startproc: command not found
failed [jared_root:/home/jdf]#
I have configured this using SWAT. Any advice?
-- Alin DOBRE Technical Support Engineer - RAV Division mailto:alin.dobre@ravantivirus.com http://www.ravantivirus.com --------------------------- This message is confidential. It may also be privileged or otherwise protected by work product immunity or other legal rules. If you have received it by mistake please let us know by reply and then delete it from your system; you should not copy the message or disclose its contents to anyone.
Unfortunately I have both packages installed. I symlined chkconfig, startproc, chkproc to the /bin directory from /sbin. Now I get: [jared_root:/bin]# /etc/init.d/smb start Samba SMB: Waiting for cupsd to get ready done Starting Samba classic SMB daemon failed [jared_root:/bin]# More thoughts? </Jared> On Fri, 2003-07-04 at 12:45, Alin Dobre wrote:
...and the 'aaa_base' rpm package. The answer is relative to SuSE81.I'm not sure if they are still the same in the newer/older versions. Maybe someone using other versions can check this using: rpm -qf `which chkconfig` rpm -qf `which checkproc` and send you the result.
Regards, Alin.
Alin Dobre wrote:
Hi,
You need to install the 'sysvinit' rpm package. That package contains the checkproc binary.
Regards, Alin.
Turd Ferguson wrote:
when issuing the start command to the samba daemon, I get the following error:
[jared_root:/home/jdf]# /etc/init.d/smb start /etc/init.d/smb: line 93: chkconfig: command not found Starting Samba classic SMB daemon/etc/init.d/smb: line 102: checkproc: command not found /etc/init.d/smb: line 106: startproc: command not found
failed [jared_root:/home/jdf]#
I have configured this using SWAT. Any advice?
-- Alin DOBRE Technical Support Engineer - RAV Division mailto:alin.dobre@ravantivirus.com http://www.ravantivirus.com --------------------------- This message is confidential. It may also be privileged or otherwise protected by work product immunity or other legal rules. If you have received it by mistake please let us know by reply and then delete it from your system; you should not copy the message or disclose its contents to anyone. -- "Turd Ferguson. Yeah, he's a funny guy." ~Burt Reynolds (As portrayed by Norm McDonald of SNL)
Hi, Then, this is a samba error. Which versions of SuSE & samba are you using? Which is the output of: sh -x /etc/init.d/smb start Regards, Alin. Turd Ferguson wrote:
Unfortunately I have both packages installed.
I symlined chkconfig, startproc, chkproc to the /bin directory from /sbin. Now I get:
[jared_root:/bin]# /etc/init.d/smb start Samba SMB: Waiting for cupsd to get ready done Starting Samba classic SMB daemon failed [jared_root:/bin]#
More thoughts?
</Jared>
On Fri, 2003-07-04 at 12:45, Alin Dobre wrote:
...and the 'aaa_base' rpm package. The answer is relative to SuSE81.I'm not sure if they are still the same in the newer/older versions. Maybe someone using other versions can check this using: rpm -qf `which chkconfig` rpm -qf `which checkproc` and send you the result.
Regards, Alin.
Alin Dobre wrote:
Hi,
You need to install the 'sysvinit' rpm package. That package contains the checkproc binary.
Regards, Alin.
Turd Ferguson wrote:
when issuing the start command to the samba daemon, I get the following error:
[jared_root:/home/jdf]# /etc/init.d/smb start /etc/init.d/smb: line 93: chkconfig: command not found Starting Samba classic SMB daemon/etc/init.d/smb: line 102: checkproc: command not found /etc/init.d/smb: line 106: startproc: command not found
failed [jared_root:/home/jdf]#
I have configured this using SWAT. Any advice?
-- Alin DOBRE Technical Support Engineer - RAV Division mailto:alin.dobre@ravantivirus.com http://www.ravantivirus.com --------------------------- This message is confidential. It may also be privileged or otherwise protected by work product immunity or other legal rules. If you have received it by mistake please let us know by reply and then delete it from your system; you should not copy the message or disclose its contents to anyone.
-- Alin DOBRE Technical Support Engineer - RAV Division mailto:alin.dobre@ravantivirus.com http://www.ravantivirus.com --------------------------- This message is confidential. It may also be privileged or otherwise protected by work product immunity or other legal rules. If you have received it by mistake please let us know by reply and then delete it from your system; you should not copy the message or disclose its contents to anyone.
SuSE 8.2 with Samba 2.2.7a Here is my output: [jared_root:/bin]# sh -x /etc/init.d/smb start + DAEMON_DIR=/usr/lib/samba/ + SMBD_BIN=smbd + SMB_CONF=/etc/samba/smb.conf + SYSCONFIG_FILE=/etc/sysconfig/samba + PID_FILE=/var/run/samba/smbd.pid + SAM_STATE_FILE=/var/run/samba/samsmbd.state + . /etc/rc.status ++ _rc_splash=0 ++ test -f /etc/sysconfig/bootsplash ++ . /etc/sysconfig/bootsplash +++ THEME=SuSE +++ SPLASH=yes ++ test -x /sbin/splash ++ _rc_splash=1 ++ test -z '' -o -z '' +++ stty size +++ read L C +++ echo LINES=27 COLUMNS=102 ++ eval LINES=27 COLUMNS=102 +++ LINES=27 +++ COLUMNS=102 ++ test 27 -eq 0 ++ test 102 -eq 0 ++ export LINES COLUMNS ++ test -t 1 -a xterm '!=' raw -a xterm '!=' dumb ++ stty size +++ echo -en '\033' ++ esc= extd= ++ warn= ++ done= ++ attn= +++ echo -en '\017' ++ norm= +++ echo -en '\015 ' ++ stat= ++ rc_done= done ++ rc_running= running ++ rc_failed= failed ++ rc_missed= missing ++ rc_skipped= skipped ++ rc_dead= dead ++ rc_unused= unused ++ rc_unknown= failedn ++ rc_reset=_up= ++ rc_save= ++ rc_restore= ++ _rc_status=0 ++ _rc_status_all=0 ++ _rc_todo=start ++ test start = status ++ test -n start + rc_reset + _rc_status=0 + _rc_status_all=0 + rc_check + _rc_status_ret=0 + test 0 -eq 0 + test 0 -eq 0 + return + return 0 + '[' '!' -f /etc/samba/smb.conf ']' + '[' '!' -f /etc/sysconfig/samba ']' + . /etc/sysconfig/samba ++ SAMBA_SAM=classic ++ echo classic ++ tr '[:upper:]' '[:lower:]' + BIN_SUFFIX=classic + '[' xclassic '!=' xclassic -a xclassic '!=' xldap ']' + test -f /var/run/samba/samsmbd.state ++ cat /var/run/samba/samsmbd.state + curr_sam=classic + '[' '!' -x /usr/lib/samba/classic/smbd ']' + export TMPDIR=/var/tmp + TMPDIR=/var/tmp + grep -qi '^[[:space:]]*printing[[:space:]]*=[[:space:]]*cups' /etc/samba/smb.conf + chkconfig --check cups + wait_for_cupsd + echo -n 'Samba SMB: Waiting for cupsd to get ready' Samba SMB: Waiting for cupsd to get ready+ SAMBA_CUPSD_TIMEOUT=30 + rc_timer_on 30 42 + local n=30 + local c=42 + trap 'exit 0' SIGTERM + test 30 -gt 0 + sleep 1 + _rc_timer_pid=18855 + (( i=0 )) + (( i<30 )) + lpstat -r + continue + (( i++ )) + (( i<30 )) + lpstat -r + continue + (( i++ )) + (( i<30 )) + lpstat -r + continue + (( i++ )) + (( i<30 )) + lpstat -r + continue + (( i++ )) + (( i<30 )) + lpstat -r + continue + (( i++ )) + (( i<30 )) + lpstat -r + continue + (( i++ )) + (( i<30 )) + lpstat -r + continue + (( i++ )) + (( i<30 )) + lpstat -r + continue + (( i++ )) + (( i<30 )) + lpstat -r + continue + (( i++ )) + (( i<30 )) + lpstat -r + continue + (( i++ )) + (( i<30 )) + lpstat -r + continue + (( i++ )) + (( i<30 )) + lpstat -r + continue + (( i++ )) + (( i<30 )) + lpstat -r + continue + (( i++ )) + (( i<30 )) + lpstat -r + continue + (( i++ )) + (( i<30 )) + lpstat -r + continue + (( i++ )) + (( i<30 )) + lpstat -r + continue + (( i++ )) + (( i<30 )) + lpstat -r + continue + (( i++ )) + (( i<30 )) + lpstat -r + continue + (( i++ )) + (( i<30 )) + lpstat -r + continue + (( i++ )) + (( i<30 )) + lpstat -r + continue + (( i++ )) + (( i<30 )) + lpstat -r + continue + (( i++ )) + (( i<30 )) + lpstat -r + continue + (( i++ )) + (( i<30 )) + lpstat -r + continue + (( i++ )) + (( i<30 )) + lpstat -r + continue + (( i++ )) + (( i<30 )) + lpstat -r + continue + (( i++ )) + (( i<30 )) + lpstat -r + continue + (( i++ )) + (( i<30 )) + lpstat -r + continue + (( i++ )) + (( i<30 )) + lpstat -r + continue + (( i++ )) + (( i<30 )) + lpstat -r + continue + (( i++ )) + (( i<30 )) + lpstat -r + continue + (( i++ )) + (( i<30 )) + rc_timer_off + test -n 18855 + kill -SIGTERM 18855 + unset _rc_timer_pid + lpstat -r + rc_status -v + rc_check + _rc_status_ret=0 + test 0 -eq 0 + test 0 -eq 0 + return + test 0 -gt 7 + _rc_status_ret=0 + echo -en $'\E7' + test -n '' + echo -en ' done' done+ echo -en $'\E8' + test -z '' + echo + _rc_status=0 + return 0 + rc_reset + _rc_status=0 + _rc_status_all=0 + rc_check + _rc_status_ret=0 + test 0 -eq 0 + test 0 -eq 0 + return + return 0 + '[' classic '!=' classic ']' + echo -n 'Starting Samba classic SMB daemon' Starting Samba classic SMB daemon+ checkproc -p /var/run/samba/smbd.pid /usr/lib/samba/classic/smbd + check_create_tdb brlock + test -f /var/lib/samba/brlock.tdb + check_create_tdb locking + test -f /var/lib/samba/locking.tdb + startproc -p /var/run/samba/smbd.pid /usr/lib/samba/classic/smbd -D -s /etc/samba/smb.conf + rc_status -v + rc_check + _rc_status_ret=0 + test 0 -eq 0 + test 0 -eq 0 + return + test 0 -gt 7 + _rc_status_ret=0 + echo -en $'\E7' + test -n '' + echo -en ' done' done+ echo -en $'\E8' + test -z '' + echo + _rc_status=0 + return 0 + echo classic + rc_exit + exit 0 [jared_root:/bin]# ++ exit 0 On Fri, 2003-07-04 at 13:19, Alin Dobre wrote:
Hi,
Then, this is a samba error. Which versions of SuSE & samba are you using? Which is the output of: sh -x /etc/init.d/smb start
Regards, Alin.
Turd Ferguson wrote:
Unfortunately I have both packages installed.
I symlined chkconfig, startproc, chkproc to the /bin directory from /sbin. Now I get:
[jared_root:/bin]# /etc/init.d/smb start Samba SMB: Waiting for cupsd to get ready done Starting Samba classic SMB daemon failed [jared_root:/bin]#
More thoughts?
</Jared>
On Fri, 2003-07-04 at 12:45, Alin Dobre wrote:
...and the 'aaa_base' rpm package. The answer is relative to SuSE81.I'm not sure if they are still the same in the newer/older versions. Maybe someone using other versions can check this using: rpm -qf `which chkconfig` rpm -qf `which checkproc` and send you the result.
Regards, Alin.
Alin Dobre wrote:
Hi,
You need to install the 'sysvinit' rpm package. That package contains the checkproc binary.
Regards, Alin.
Turd Ferguson wrote:
when issuing the start command to the samba daemon, I get the following error:
[jared_root:/home/jdf]# /etc/init.d/smb start /etc/init.d/smb: line 93: chkconfig: command not found Starting Samba classic SMB daemon/etc/init.d/smb: line 102: checkproc: command not found /etc/init.d/smb: line 106: startproc: command not found
failed [jared_root:/home/jdf]#
I have configured this using SWAT. Any advice?
-- Alin DOBRE Technical Support Engineer - RAV Division mailto:alin.dobre@ravantivirus.com http://www.ravantivirus.com --------------------------- This message is confidential. It may also be privileged or otherwise protected by work product immunity or other legal rules. If you have received it by mistake please let us know by reply and then delete it from your system; you should not copy the message or disclose its contents to anyone.
-- Alin DOBRE Technical Support Engineer - RAV Division mailto:alin.dobre@ravantivirus.com http://www.ravantivirus.com --------------------------- This message is confidential. It may also be privileged or otherwise protected by work product immunity or other legal rules. If you have received it by mistake please let us know by reply and then delete it from your system; you should not copy the message or disclose its contents to anyone. -- "Turd Ferguson. Yeah, he's a funny guy." ~Burt Reynolds (As portrayed by Norm McDonald of SNL)
Hi, It doesn't output any 'failed', just 'done'. This means that everything is ok. Alin. Turd Ferguson wrote:
SuSE 8.2 with Samba 2.2.7a Here is my output:
[jared_root:/bin]# sh -x /etc/init.d/smb start + DAEMON_DIR=/usr/lib/samba/ + SMBD_BIN=smbd + SMB_CONF=/etc/samba/smb.conf + SYSCONFIG_FILE=/etc/sysconfig/samba + PID_FILE=/var/run/samba/smbd.pid + SAM_STATE_FILE=/var/run/samba/samsmbd.state + . /etc/rc.status ++ _rc_splash=0 ++ test -f /etc/sysconfig/bootsplash ++ . /etc/sysconfig/bootsplash +++ THEME=SuSE +++ SPLASH=yes ++ test -x /sbin/splash ++ _rc_splash=1 ++ test -z '' -o -z '' +++ stty size +++ read L C +++ echo LINES=27 COLUMNS=102 ++ eval LINES=27 COLUMNS=102 +++ LINES=27 +++ COLUMNS=102 ++ test 27 -eq 0 ++ test 102 -eq 0 ++ export LINES COLUMNS ++ test -t 1 -a xterm '!=' raw -a xterm '!=' dumb ++ stty size +++ echo -en '\033' ++ esc= extd= ++ warn= ++ done= ++ attn= +++ echo -en '\017' ++ norm= +++ echo -en '\015 ' ++ stat= ++ rc_done= done ++ rc_running= running ++ rc_failed= failed ++ rc_missed= missing ++ rc_skipped= skipped ++ rc_dead= dead ++ rc_unused= unused ++ rc_unknown= failedn ++ rc_reset=_up= ++ rc_save= ++ rc_restore= ++ _rc_status=0 ++ _rc_status_all=0 ++ _rc_todo=start ++ test start = status ++ test -n start + rc_reset + _rc_status=0 + _rc_status_all=0 + rc_check + _rc_status_ret=0 + test 0 -eq 0 + test 0 -eq 0 + return + return 0 + '[' '!' -f /etc/samba/smb.conf ']' + '[' '!' -f /etc/sysconfig/samba ']' + . /etc/sysconfig/samba ++ SAMBA_SAM=classic ++ echo classic ++ tr '[:upper:]' '[:lower:]' + BIN_SUFFIX=classic + '[' xclassic '!=' xclassic -a xclassic '!=' xldap ']' + test -f /var/run/samba/samsmbd.state ++ cat /var/run/samba/samsmbd.state + curr_sam=classic + '[' '!' -x /usr/lib/samba/classic/smbd ']' + export TMPDIR=/var/tmp + TMPDIR=/var/tmp + grep -qi '^[[:space:]]*printing[[:space:]]*=[[:space:]]*cups' /etc/samba/smb.conf + chkconfig --check cups + wait_for_cupsd + echo -n 'Samba SMB: Waiting for cupsd to get ready' Samba SMB: Waiting for cupsd to get ready+ SAMBA_CUPSD_TIMEOUT=30 + rc_timer_on 30 42 + local n=30 + local c=42 + trap 'exit 0' SIGTERM + test 30 -gt 0 + sleep 1 + _rc_timer_pid=18855 + (( i=0 )) + (( i<30 )) + lpstat -r + continue + (( i++ )) + (( i<30 )) + lpstat -r + continue + (( i++ )) + (( i<30 )) + lpstat -r + continue + (( i++ )) + (( i<30 )) + lpstat -r + continue + (( i++ )) + (( i<30 )) + lpstat -r + continue + (( i++ )) + (( i<30 )) + lpstat -r + continue + (( i++ )) + (( i<30 )) + lpstat -r + continue + (( i++ )) + (( i<30 )) + lpstat -r + continue + (( i++ )) + (( i<30 )) + lpstat -r + continue + (( i++ )) + (( i<30 )) + lpstat -r + continue + (( i++ )) + (( i<30 )) + lpstat -r + continue + (( i++ )) + (( i<30 )) + lpstat -r + continue + (( i++ )) + (( i<30 )) + lpstat -r + continue + (( i++ )) + (( i<30 )) + lpstat -r + continue + (( i++ )) + (( i<30 )) + lpstat -r + continue + (( i++ )) + (( i<30 )) + lpstat -r + continue + (( i++ )) + (( i<30 )) + lpstat -r + continue + (( i++ )) + (( i<30 )) + lpstat -r + continue + (( i++ )) + (( i<30 )) + lpstat -r + continue + (( i++ )) + (( i<30 )) + lpstat -r + continue + (( i++ )) + (( i<30 )) + lpstat -r + continue + (( i++ )) + (( i<30 )) + lpstat -r + continue + (( i++ )) + (( i<30 )) + lpstat -r + continue + (( i++ )) + (( i<30 )) + lpstat -r + continue + (( i++ )) + (( i<30 )) + lpstat -r + continue + (( i++ )) + (( i<30 )) + lpstat -r + continue + (( i++ )) + (( i<30 )) + lpstat -r + continue + (( i++ )) + (( i<30 )) + lpstat -r + continue + (( i++ )) + (( i<30 )) + lpstat -r + continue + (( i++ )) + (( i<30 )) + lpstat -r + continue + (( i++ )) + (( i<30 )) + rc_timer_off + test -n 18855 + kill -SIGTERM 18855 + unset _rc_timer_pid + lpstat -r + rc_status -v + rc_check + _rc_status_ret=0 + test 0 -eq 0 + test 0 -eq 0 + return + test 0 -gt 7 + _rc_status_ret=0 + echo -en $'\E7' + test -n '' + echo -en ' done' done+ echo -en $'\E8' + test -z '' + echo
+ _rc_status=0 + return 0 + rc_reset + _rc_status=0 + _rc_status_all=0 + rc_check + _rc_status_ret=0 + test 0 -eq 0 + test 0 -eq 0 + return + return 0 + '[' classic '!=' classic ']' + echo -n 'Starting Samba classic SMB daemon' Starting Samba classic SMB daemon+ checkproc -p /var/run/samba/smbd.pid /usr/lib/samba/classic/smbd + check_create_tdb brlock + test -f /var/lib/samba/brlock.tdb + check_create_tdb locking + test -f /var/lib/samba/locking.tdb + startproc -p /var/run/samba/smbd.pid /usr/lib/samba/classic/smbd -D -s /etc/samba/smb.conf + rc_status -v + rc_check + _rc_status_ret=0 + test 0 -eq 0 + test 0 -eq 0 + return + test 0 -gt 7 + _rc_status_ret=0 + echo -en $'\E7' + test -n '' + echo -en ' done' done+ echo -en $'\E8' + test -z '' + echo
+ _rc_status=0 + return 0 + echo classic + rc_exit + exit 0 [jared_root:/bin]# ++ exit 0
On Fri, 2003-07-04 at 13:19, Alin Dobre wrote:
Hi,
Then, this is a samba error. Which versions of SuSE & samba are you using? Which is the output of: sh -x /etc/init.d/smb start
Regards, Alin.
Turd Ferguson wrote:
Unfortunately I have both packages installed.
I symlined chkconfig, startproc, chkproc to the /bin directory from /sbin. Now I get:
[jared_root:/bin]# /etc/init.d/smb start Samba SMB: Waiting for cupsd to get ready done Starting Samba classic SMB daemon failed [jared_root:/bin]#
More thoughts?
</Jared>
On Fri, 2003-07-04 at 12:45, Alin Dobre wrote:
...and the 'aaa_base' rpm package. The answer is relative to SuSE81.I'm not sure if they are still the same in the newer/older versions. Maybe someone using other versions can check this using: rpm -qf `which chkconfig` rpm -qf `which checkproc` and send you the result.
Regards, Alin.
Alin Dobre wrote:
Hi,
You need to install the 'sysvinit' rpm package. That package contains the checkproc binary.
Regards, Alin.
Turd Ferguson wrote:
when issuing the start command to the samba daemon, I get the following error:
[jared_root:/home/jdf]# /etc/init.d/smb start /etc/init.d/smb: line 93: chkconfig: command not found Starting Samba classic SMB daemon/etc/init.d/smb: line 102: checkproc: command not found /etc/init.d/smb: line 106: startproc: command not found
failed [jared_root:/home/jdf]#
I have configured this using SWAT. Any advice?
-- Alin DOBRE Technical Support Engineer - RAV Division mailto:alin.dobre@ravantivirus.com http://www.ravantivirus.com --------------------------- This message is confidential. It may also be privileged or otherwise protected by work product immunity or other legal rules. If you have received it by mistake please let us know by reply and then delete it
from your system; you should not copy the message or disclose its
contents to anyone.
-- Alin DOBRE Technical Support Engineer - RAV Division mailto:alin.dobre@ravantivirus.com http://www.ravantivirus.com --------------------------- This message is confidential. It may also be privileged or otherwise protected by work product immunity or other legal rules. If you have received it by mistake please let us know by reply and then delete it from your system; you should not copy the message or disclose its contents to anyone.
-- Alin DOBRE Technical Support Engineer - RAV Division mailto:alin.dobre@ravantivirus.com http://www.ravantivirus.com --------------------------- This message is confidential. It may also be privileged or otherwise protected by work product immunity or other legal rules. If you have received it by mistake please let us know by reply and then delete it from your system; you should not copy the message or disclose its contents to anyone.
Funny enough, it is still not running. I do have samba running for my virtual machine, but none other. [jared_root:/bin]# ps xa | grep smb 1656 ? S 0:00 /usr/bin/vmware-nmbd -D -l /dev/null -s /etc/vmware/vmnet1/smb/smb.conf -f /var/run/vmware-nmbd-vmnet1.pid 1662 ? S 0:00 /usr/bin/vmware-smbd -D -l /dev/null -s /etc/vmware/vmnet1/smb/smb.conf -f /var/run/vmware-smbd-vmnet1.pid 3405 pts/1 S 0:00 grep smb [jared_root:/bin]# On Sat, 2003-07-05 at 10:54, Alin Dobre wrote:
Hi,
It doesn't output any 'failed', just 'done'. This means that everything is ok.
Alin.
Turd Ferguson wrote:
SuSE 8.2 with Samba 2.2.7a Here is my output:
[jared_root:/bin]# sh -x /etc/init.d/smb start + DAEMON_DIR=/usr/lib/samba/ + SMBD_BIN=smbd + SMB_CONF=/etc/samba/smb.conf + SYSCONFIG_FILE=/etc/sysconfig/samba + PID_FILE=/var/run/samba/smbd.pid + SAM_STATE_FILE=/var/run/samba/samsmbd.state + . /etc/rc.status ++ _rc_splash=0 ++ test -f /etc/sysconfig/bootsplash ++ . /etc/sysconfig/bootsplash +++ THEME=SuSE +++ SPLASH=yes ++ test -x /sbin/splash ++ _rc_splash=1 ++ test -z '' -o -z '' +++ stty size +++ read L C +++ echo LINES=27 COLUMNS=102 ++ eval LINES=27 COLUMNS=102 +++ LINES=27 +++ COLUMNS=102 ++ test 27 -eq 0 ++ test 102 -eq 0 ++ export LINES COLUMNS ++ test -t 1 -a xterm '!=' raw -a xterm '!=' dumb ++ stty size +++ echo -en '\033' ++ esc= extd= ++ warn= ++ done= ++ attn= +++ echo -en '\017' ++ norm= +++ echo -en '\015 ' ++ stat= ++ rc_done= done ++ rc_running= running ++ rc_failed= failed ++ rc_missed= missing ++ rc_skipped= skipped ++ rc_dead= dead ++ rc_unused= unused ++ rc_unknown= failedn ++ rc_reset=_up= ++ rc_save= ++ rc_restore= ++ _rc_status=0 ++ _rc_status_all=0 ++ _rc_todo=start ++ test start = status ++ test -n start + rc_reset + _rc_status=0 + _rc_status_all=0 + rc_check + _rc_status_ret=0 + test 0 -eq 0 + test 0 -eq 0 + return + return 0 + '[' '!' -f /etc/samba/smb.conf ']' + '[' '!' -f /etc/sysconfig/samba ']' + . /etc/sysconfig/samba ++ SAMBA_SAM=classic ++ echo classic ++ tr '[:upper:]' '[:lower:]' + BIN_SUFFIX=classic + '[' xclassic '!=' xclassic -a xclassic '!=' xldap ']' + test -f /var/run/samba/samsmbd.state ++ cat /var/run/samba/samsmbd.state + curr_sam=classic + '[' '!' -x /usr/lib/samba/classic/smbd ']' + export TMPDIR=/var/tmp + TMPDIR=/var/tmp + grep -qi '^[[:space:]]*printing[[:space:]]*=[[:space:]]*cups' /etc/samba/smb.conf + chkconfig --check cups + wait_for_cupsd + echo -n 'Samba SMB: Waiting for cupsd to get ready' Samba SMB: Waiting for cupsd to get ready+ SAMBA_CUPSD_TIMEOUT=30 + rc_timer_on 30 42 + local n=30 + local c=42 + trap 'exit 0' SIGTERM + test 30 -gt 0 + sleep 1 + _rc_timer_pid=18855 + (( i=0 )) + (( i<30 )) + lpstat -r + continue + (( i++ )) + (( i<30 )) + lpstat -r + continue + (( i++ )) + (( i<30 )) + lpstat -r + continue + (( i++ )) + (( i<30 )) + lpstat -r + continue + (( i++ )) + (( i<30 )) + lpstat -r + continue + (( i++ )) + (( i<30 )) + lpstat -r + continue + (( i++ )) + (( i<30 )) + lpstat -r + continue + (( i++ )) + (( i<30 )) + lpstat -r + continue + (( i++ )) + (( i<30 )) + lpstat -r + continue + (( i++ )) + (( i<30 )) + lpstat -r + continue + (( i++ )) + (( i<30 )) + lpstat -r + continue + (( i++ )) + (( i<30 )) + lpstat -r + continue + (( i++ )) + (( i<30 )) + lpstat -r + continue + (( i++ )) + (( i<30 )) + lpstat -r + continue + (( i++ )) + (( i<30 )) + lpstat -r + continue + (( i++ )) + (( i<30 )) + lpstat -r + continue + (( i++ )) + (( i<30 )) + lpstat -r + continue + (( i++ )) + (( i<30 )) + lpstat -r + continue + (( i++ )) + (( i<30 )) + lpstat -r + continue + (( i++ )) + (( i<30 )) + lpstat -r + continue + (( i++ )) + (( i<30 )) + lpstat -r + continue + (( i++ )) + (( i<30 )) + lpstat -r + continue + (( i++ )) + (( i<30 )) + lpstat -r + continue + (( i++ )) + (( i<30 )) + lpstat -r + continue + (( i++ )) + (( i<30 )) + lpstat -r + continue + (( i++ )) + (( i<30 )) + lpstat -r + continue + (( i++ )) + (( i<30 )) + lpstat -r + continue + (( i++ )) + (( i<30 )) + lpstat -r + continue + (( i++ )) + (( i<30 )) + lpstat -r + continue + (( i++ )) + (( i<30 )) + lpstat -r + continue + (( i++ )) + (( i<30 )) + rc_timer_off + test -n 18855 + kill -SIGTERM 18855 + unset _rc_timer_pid + lpstat -r + rc_status -v + rc_check + _rc_status_ret=0 + test 0 -eq 0 + test 0 -eq 0 + return + test 0 -gt 7 + _rc_status_ret=0 + echo -en $'\E7' + test -n '' + echo -en ' done' done+ echo -en $'\E8' + test -z '' + echo
+ _rc_status=0 + return 0 + rc_reset + _rc_status=0 + _rc_status_all=0 + rc_check + _rc_status_ret=0 + test 0 -eq 0 + test 0 -eq 0 + return + return 0 + '[' classic '!=' classic ']' + echo -n 'Starting Samba classic SMB daemon' Starting Samba classic SMB daemon+ checkproc -p /var/run/samba/smbd.pid /usr/lib/samba/classic/smbd + check_create_tdb brlock + test -f /var/lib/samba/brlock.tdb + check_create_tdb locking + test -f /var/lib/samba/locking.tdb + startproc -p /var/run/samba/smbd.pid /usr/lib/samba/classic/smbd -D -s /etc/samba/smb.conf + rc_status -v + rc_check + _rc_status_ret=0 + test 0 -eq 0 + test 0 -eq 0 + return + test 0 -gt 7 + _rc_status_ret=0 + echo -en $'\E7' + test -n '' + echo -en ' done' done+ echo -en $'\E8' + test -z '' + echo
+ _rc_status=0 + return 0 + echo classic + rc_exit + exit 0 [jared_root:/bin]# ++ exit 0
On Fri, 2003-07-04 at 13:19, Alin Dobre wrote:
Hi,
Then, this is a samba error. Which versions of SuSE & samba are you using? Which is the output of: sh -x /etc/init.d/smb start
Regards, Alin.
Turd Ferguson wrote:
Unfortunately I have both packages installed.
I symlined chkconfig, startproc, chkproc to the /bin directory from /sbin. Now I get:
[jared_root:/bin]# /etc/init.d/smb start Samba SMB: Waiting for cupsd to get ready done Starting Samba classic SMB daemon failed [jared_root:/bin]#
More thoughts?
</Jared>
On Fri, 2003-07-04 at 12:45, Alin Dobre wrote:
...and the 'aaa_base' rpm package. The answer is relative to SuSE81.I'm not sure if they are still the same in the newer/older versions. Maybe someone using other versions can check this using: rpm -qf `which chkconfig` rpm -qf `which checkproc` and send you the result.
Regards, Alin.
Alin Dobre wrote:
Hi,
You need to install the 'sysvinit' rpm package. That package contains the checkproc binary.
Regards, Alin.
Turd Ferguson wrote:
>when issuing the start command to the samba daemon, I get the following >error: > >[jared_root:/home/jdf]# /etc/init.d/smb start >/etc/init.d/smb: line 93: chkconfig: command not found >Starting Samba classic SMB daemon/etc/init.d/smb: line 102: checkproc: >command not found >/etc/init.d/smb: line 106: startproc: command not found > >failed >[jared_root:/home/jdf]# > >I have configured this using SWAT. Any advice? >
-- Alin DOBRE Technical Support Engineer - RAV Division mailto:alin.dobre@ravantivirus.com http://www.ravantivirus.com --------------------------- This message is confidential. It may also be privileged or otherwise protected by work product immunity or other legal rules. If you have received it by mistake please let us know by reply and then delete it
from your system; you should not copy the message or disclose its
contents to anyone.
-- Alin DOBRE Technical Support Engineer - RAV Division mailto:alin.dobre@ravantivirus.com http://www.ravantivirus.com --------------------------- This message is confidential. It may also be privileged or otherwise protected by work product immunity or other legal rules. If you have received it by mistake please let us know by reply and then delete it from your system; you should not copy the message or disclose its contents to anyone.
-- Alin DOBRE Technical Support Engineer - RAV Division mailto:alin.dobre@ravantivirus.com http://www.ravantivirus.com --------------------------- This message is confidential. It may also be privileged or otherwise protected by work product immunity or other legal rules. If you have received it by mistake please let us know by reply and then delete it from your system; you should not copy the message or disclose its contents to anyone. -- "Turd Ferguson. Yeah, he's a funny guy." ~Burt Reynolds (As portrayed by Norm McDonald of SNL)
participants (2)
-
Alin Dobre
-
Turd Ferguson