Starting Samba Server in Linux

Discussion in 'HTML & Website Design' started by deva.vvel, Jul 11, 2007.

  1. #1
    Hi,

    I am using Red Hat Enterprise Linux. How to start samba server in my system? I used following command, but it does not work. Result is an error message "No such file or directory".

    /etc/rc.d/init.d/samba start

    Thanks,
    deva
     
    deva.vvel, Jul 11, 2007 IP
  2. kk5st

    kk5st Prominent Member

    Messages:
    3,497
    Likes Received:
    376
    Best Answers:
    29
    Trophy Points:
    335
    #2
    It would seem that you either don't have a startup script, samba, or it's not where you think it is. Have you looked at your directories?

    Red Hat is kinda like MSFT, in that they tend to set their own rules. Sometimes things aren't where they should be. In Debian, which does follow the standards, the Samba startup script is at
    /etc/init.d/samba {start|stop|reload|restart|force-reload}

    Usually, too, the rc directories include the run level in their names, thus rc[0-6].d

    I had to administer a Red Hat system for a few months, and it made me crazy, as nothing seemed to be where it should. It ignored both the Filesystem Hierarchal Standard and the Linux Standards Initiative. :shrug:

    //edit: One big thing to check, are you logged in with permission to run that script? A regular user would get a not found error.

    cheers,

    gary
     
    kk5st, Jul 14, 2007 IP
  3. designerz

    designerz Banned

    Messages:
    669
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #3
    use apache its easy and also reliable...
     
    designerz, Jul 19, 2007 IP
  4. kk5st

    kk5st Prominent Member

    Messages:
    3,497
    Likes Received:
    376
    Best Answers:
    29
    Trophy Points:
    335
    #4
    Huh? Apache is a web (httpd) server. Samba is an interface that allows modern operating systems like Unix, Linux, *BSD, OS X, etc. to network with legacy Windows. The two are not related in function.

    gary
     
    kk5st, Jul 21, 2007 IP
  5. deva.vvel

    deva.vvel Guest

    Messages:
    31
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    thanks kk5st.. might be earlier i did not log in as my user, instead i was logged in as root..
    and i tried the following.. it worked..

    /etc/rc.d/init.d/smb start
     
    deva.vvel, Jul 24, 2007 IP