?
Solved

Starting up Samba Server @ startup

Posted on 2003-03-18
4
Medium Priority
?
346 Views
Last Modified: 2010-03-18
I just got the Samba server working on my new Linux SuSe 8.1, but there's one little problem.
Can the Samba Server be started when the computer boots?
Is their an option that has to be changed or should I use some kind of script (like a batch-file in Windows) which makes the SambaServer run @startup?

Hoping on a positive response.
0
Comment
Question by:Soultiller
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 

Accepted Solution

by:
NStar1976 earned 75 total points
ID: 8160454
Look in your /etc/inittab, there should be a line like this:

id:3:initdefault

the "3" is the default runlevel (may be 5). then you have to do the following symlink:

ln -s /etc/init.d/smb /etc/rc3.d/S99smb

assuming that your default init level is 3 and you want the smb daemon starting with cardinality 99.

Thomas
0
 

Author Comment

by:Soultiller
ID: 8164986
I think this will get me going, but can you plz explain me what is cardinality, maybe I know what it is but don't know the proper name?

Hoping on a positive response
0
 

Author Comment

by:Soultiller
ID: 8165003
I think this will get me going, but can you plz explain me what is cardinality, maybe I know what it is but don't know the proper name?

Hoping on a positive response
0
 
LVL 17

Expert Comment

by:psimation
ID: 8165252
"cardinality" is the order in which processes are started and stopped.
It doesn't really matter for samba, as samba is not *really* dependant on other processes to be started before it can start.

There is a much easier way to manage your services:

type setup at a prompt, and go to system services.

All the services you want to start at boot must have tick marks next to them.

Usually the daemon names listed there correlate with the package name, but for instane, SAMBA service is started by the smb daemon...
0

Featured Post

Simple, centralized multimedia control

Watch and learn to see how ATEN provided an easy and effective way for three jointly-owned pubs to control the 60 televisions located across their three venues utilizing the ATEN Control System, Modular Matrix Switch and HDBaseT extenders.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Suggested Courses

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question