Solved

smb services

Posted on 1998-11-25
7
378 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
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 
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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Access_log 17 118
Debug VNC connection on CentOS7 server 22 84
Which is more secure: EAP or machine certificate for IKEv2 VPN? 1 84
Linux Copy Command - All Files inc Directory 1 42
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…
The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
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…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

808 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