Solved

smb services

Posted on 1998-11-25
7
368 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
  • 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
Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

 
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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
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 how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

747 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now