• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 411
  • Last Modified:

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
0
kjteng
Asked:
kjteng
  • 4
  • 3
1 Solution
 
ahoffmannCommented:
when you boot, add  single  as parameter to the bootimage at LILO prompt,
then you may disable samba via the rc-scripts, then reboot
0
 
kjtengAuthor Commented:
Please elaborate your answer.
I am a beginner and do not have any experience in Linux  or Unix.
0
 
ahoffmannCommented:
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
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
ahoffmannCommented:
BTW, linux should startup anyway, even if it didn't find any network
takes time ...
0
 
kjtengAuthor Commented:
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 :-)

0
 
ahoffmannCommented:
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.
0
 
kjtengAuthor Commented:
Your are right.
I am going to reinstall when my Redhat 5.2 cd arrives.

0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now