[SAMBA] No start-up
Ok, I installed Linux Red Hat 9.0 BLANK, with only KDE and developers tools (gcc etc etc). I now try to build my own server. Starting with Samba. I downloaded the file, installed it into /usr/local/samba/, wrote a smb.conf file and tested it, it worked! I got login, read and write form my Win2k Pro workstation. But..
Starting up Samba as Daemon keeps failing. RH9 uses Xinetd, so i wrote two files, ------netbios-ssn:----- service netbios-ssn { socket_type = stream protocol = tcp wait = no user = root server = /usr/local/samba/bin/smbd disable = no } ------netbios-ns:----- service netbios-ns { socket_type = dgram protocol = udp wait = yes user = root server = /usr/local/samba/bin/nmbd disable = no } and dumped them in the /etc/xinit.d/ dir. So they should start up now. They don't but when i look at the services window in KDE, xinetd is up and running, but netbios-ssn and -ns say "you have to enable xinetd to run". What the hell is wrong and how do i get samba to automaticly startup? |
Since you have redhat 9, please run:
ntsysv as root. Scroll down until you see "smb" and check it off using the space bar. Use the tab key to move the cursor and hit "OKAY". This will set up the xinetd correctly for running at start up. If you are getting a "file not found" error, try: find / -name ntsysv to get the whole path. Then run from the whole path, example: /usr/sbin/ntsysv Good luck. |
?
That's doesnt work, but isn't that logical, because now i prevent it from starting up and only disable = on will be changed in the two samba startup files |
I am sorry. I do not understand your response. One thing I forgot to mention is you have to restart xinetd:
/etc/rc.d/init.d/xinetd restart |
All times are GMT -5. The time now is 05:49 AM. |