TIP: Click on subject to list as thread! ANSI
echo: linuxhelp
to: Randall Parker
from: Tim Boyer
date: 2006-07-24 20:33:02
subject: Re: How to figure if I have SAMBA installed?

From: Tim Boyer 

On Sun, 23 Jul 2006 18:16:41 -0700, Randall Parker

wrote:

>Tim Boyer wrote:
>> On Sat, 22 Jul 2006 12:14:36 -0700, Randall Parker
>>

>> wrote:
>>
>>> I selected lots of server stuff to install while installing Fedora. But
>>> I can not remember if I chose SAMBA. Where and how to look for it?
>>>
>>> If it is not there then how to install it from the web? Can a package
>>> manager do it?
>>
>> [root{at}melbourne init.d]# ps -ef|grep smb
>>
>> root      2674     1  0 19:43 ?        00:00:00 smbd -D
>>
>> Check if you've got a file called smb in /etc/init.d.  If so, see if it's
set
>> to start on boot:
>
>Yes, I have:
>    /etc/init.d/smb
>
>I also have what Adam suggested to check:
>    /etc/rc.d/init.d/smb
>
>How come I have both? Does it get put in two places to deal with legacy
>scripts that in different versions of *nix expected to find it in
>different places? Does that happen a lot?
>
>

A lot.  It's AT&T System V vs. BSD.  You'll see that the init.d is a
link, though:

[root{at}melbourne etc]# ls -la /etc/init.d lrwxrwxrwx    1 root     root     
     11 Jul 21 01:28 /etc/init.d
->rc.d/init.d

so they're really the same file.

>> chkconfig --list smb
>
>The chkconfig doesn't work:
>
>[randall{at}localhost ~]$ chkconfig --list smb
>bash: chkconfig: command not found
>
>

That's... bad.  Is it a path problem?  Do a ls -la /sbin/chkconfig, and see
if it's there.

--
tim boyer
tim{at}denmantire.com

--- BBBS/NT v4.01 Flag-5
* Origin: Barktopia BBS Site http://HarborWebs.com:8081 (1:379/45)
SEEN-BY: 633/267 270 5030/786
@PATH: 379/45 1 106/2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.