Find the answer to your Linux question:
Results 1 to 7 of 7
Hi Folks Am trying to configure samba in rhel5 I installed rpms and i shared a directory in smb.conf, but am not able to start the samba service #service smb ...
  1. #1
    Linux Newbie
    Join Date
    Aug 2008
    Posts
    119

    SAMBA not working in RHEL5

    Hi Folks

    Am trying to configure samba in rhel5

    I installed rpms and i shared a directory in smb.conf, but am not able to start the samba service

    #service smb start
    smb: unrecognized service

    I come to know that there is no smb script in /etc/init.d/

    What should I do now

    waiting for replay, Thanks in Advance.

  2. #2
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    are you sure you installed the right RPM's? why not just use yum to install samba?

  3. #3
    Linux Newbie ursusca's Avatar
    Join Date
    Dec 2008
    Location
    Toronto
    Posts
    112
    Hi,

    It means you didn't install a samba package
    You have to install these packages:
    samba
    samba-client
    samba-common

    You can check it out:
    Code:
    rpm -qa | grep samba

  4. #4
    Linux Newbie
    Join Date
    Aug 2008
    Posts
    119
    Hi Frnds

    Thanks for replay

    I installed samba rpm's and its showing when I fire this command
    #rpm -qa|grep samba
    samba-client-3.0.23c-2
    samba-common-3.0.23c-2


    and am able to view "/etc/samba/smb.conf" file also but samba service is not getting started.
    [root@localhost ~]# service smb start
    smb: unrecognized service
    [root@localhost ~]# service smb restat
    smb: unrecognized service


    Help me frnds

  5. #5
    Just Joined! vishesh's Avatar
    Join Date
    Jul 2009
    Location
    Delhi
    Posts
    33
    try to execute following
    root# smbd -D
    root# nmbd -D
    If successful that mean your samba server is installed and only script file /etc/init.d/samba is missing.
    But if it fails that mean samba daemon is not installed.

    Thanks

  6. #6
    Linux Newbie ursusca's Avatar
    Join Date
    Dec 2008
    Location
    Toronto
    Posts
    112
    Quote Originally Posted by raji10k View Post
    I installed samba rpm's and its showing when I fire this command
    #rpm -qa|grep samba
    samba-client-3.0.23c-2
    samba-common-3.0.23c-2
    Hi Buddy,

    I told you, you didn't install a samba package. You didn't install a samba server so you can't start it.

    samba - The Samba SMB server.
    samba-client - Samba (SMB) client programs.
    samba-common - Files used by both Samba servers and clients.

  7. #7
    Linux Newbie
    Join Date
    Aug 2008
    Posts
    119
    Hi and Sori Frnds

    I had done a mad thing without installing Samba server rpm,
    Thanks for replay and sorry for ruining ur time frnds

    Thanks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...