Link to home
Start Free TrialLog in
Avatar of kjteng
kjteng

asked on

smb services

My linux server cannot startup whenever I pull out the network cable from my pc. The last message on the screen is Starting SMB services ... and the system stop there.
1. How could I solve this problem?
2. How do I disable or remove the Samba server
I am using Redhat 5.0
ASKER CERTIFIED SOLUTION
Avatar of ahoffmann
ahoffmann
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of kjteng
kjteng

ASKER

Please elaborate your answer.
I am a beginner and do not have any experience in Linux  or Unix.
When booting, you get a prompt
LILO:
at this prompt you may hit the TAB key to list the avaialble boot images,
choose one  (usually linux or vmlinux), type at the prompt
           linux single
then linux should boot without network, you get a shell prompt as root:  #
cd /etc
depending on you distribution you must now modify the startup scripts, they are
/etc/rc*  or /etc/init.d/*
 probably you have a /etc/rc.config  (or somthing similar), then you just need to
comment out the appropriate setting for Samba (for example SMB_START= )
Then reboot, either by hitting  Ctrl-D or using:  init 6
BTW, linux should startup anyway, even if it didn't find any network
takes time ...
Avatar of kjteng

ASKER

Thank you very much
Yes Linux startup after I waiting for 15 minutes and then I have problem to startx ... perhaps I have to wait for another 15 minutes :-)

Sounds that that you have configured for a sophisticated network (DNS, mail, etc.)
This causes some processes to do a few retrys 'til they timout.

Veryfy and (re-)configure you network settings.
Avatar of kjteng

ASKER

Your are right.
I am going to reinstall when my Redhat 5.2 cd arrives.