Solved

smb services

Posted on 1998-11-25
7
387 Views
Last Modified: 2012-05-04
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
Comment
Question by:kjteng
[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
  • 4
  • 3
7 Comments
 
LVL 51

Accepted Solution

by:
ahoffmann earned 50 total points
ID: 1638596
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
 
LVL 2

Author Comment

by:kjteng
ID: 1638597
Please elaborate your answer.
I am a beginner and do not have any experience in Linux  or Unix.
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 1638598
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
Containers and Docker for Everyone

Containers are an incredibly powerful technology that can provide you and/or your engineering team with huge productivity gains. Using containers, you can deploy, back up, replicate, and move apps and their dependencies quickly and easily.

 
LVL 51

Expert Comment

by:ahoffmann
ID: 1638599
BTW, linux should startup anyway, even if it didn't find any network
takes time ...
0
 
LVL 2

Author Comment

by:kjteng
ID: 1638600
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
 
LVL 51

Expert Comment

by:ahoffmann
ID: 1638601
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
 
LVL 2

Author Comment

by:kjteng
ID: 1638602
Your are right.
I am going to reinstall when my Redhat 5.2 cd arrives.

0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

728 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