|
Home > Archive > Red Hat Installation > January 2005 > How to auto-start smbd & nmbd at boot?
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
How to auto-start smbd & nmbd at boot?
|
|
| Exotic-Scales.com 2005-01-20, 5:57 pm |
| I've just installed RedHat 9.0 & have Samba running & working fine with my
Windows domain. My only problem is that I have to start smbd & nmbd manually
whenever I reboot. In "Sam's Teach Yourself Samba in 24 Hours," they tell
you to put the startup commands in /etc/inetd.conf, but there is no such
file in RedHat 9.0. I understand that it uses xinet.d instead, but this is a
directory, not a file, so I'm not sure how to handle this. The system is
working so well that I'm afraid to inadvertantly break anything.
Thanks.
| |
|
|
Exotic-Scales.com wrote:
> I've just installed RedHat 9.0 & have Samba running & working fine
with my
> Windows domain. My only problem is that I have to start smbd & nmbd
manually
> whenever I reboot. In "Sam's Teach Yourself Samba in 24 Hours," they
tell
> you to put the startup commands in /etc/inetd.conf, but there is no
such
> file in RedHat 9.0. I understand that it uses xinet.d instead, but
this is a
> directory, not a file, so I'm not sure how to handle this. The
system is
> working so well that I'm afraid to inadvertantly break anything.
Not sure where in the start menu RH9 may have placed your (KDE)
SysV-Init Editor or your (Gnome/RH) Service Management (Services). You
can look under Start| System.
If you can't locate them readily, you can open an X terminal and su to
root and load them from command line:
[root]# ksysv
or
[root]# redhat-config-services
Be sure to place an entry in the runlevel you use to run Samba --
runlevel 3 and/or 5.
If the server is not using X (runlevel 5) you can also use:
/sbin/chkconfig
/sbin/nysysv
to edit the startup of Samba. Read the man pages.
If you want to start it up with the _xinet_ super daemon I suggest you
read the RH Reference Guide -- Ch. 15. The book you are using is
useful but sounds very dated -- RH9 uses xinetd.
http://www.redhat.com/docs/manuals/linux/
hth,
prg
email above disabled
| |
| Stan Omoregie 2005-01-21, 5:52 pm |
| On Thu, 20 Jan 2005 09:17:08 -0500, Exotic-Scales.com wrote:
> I've just installed RedHat 9.0 & have Samba running & working fine with my
> Windows domain. My only problem is that I have to start smbd & nmbd manually
> whenever I reboot. In "Sam's Teach Yourself Samba in 24 Hours," they tell
> you to put the startup commands in /etc/inetd.conf, but there is no such
> file in RedHat 9.0. I understand that it uses xinet.d instead, but this is a
> directory, not a file, so I'm not sure how to handle this. The system is
> working so well that I'm afraid to inadvertantly break anything.
>
> Thanks.
Hi!
1. open an x terminal and su to root
2. enter the following on the command line:
i) chkconfig --level 2345 smb on
ii) chkconfig --level 2345 named on
** whereby run levels "2345" is optional
you can either start your servers at all of the levels given above or
omit the levels you don't want.
That's it!
Best regards!
Stan Omoregie
|
|
|
|
|