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
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
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
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