I am trying to configure my samba server, and I am going through the manual, however I am running into a problem. I like to try the swat tool, but when I run http://localhost:901 in the filemanager window, I get this message: An error occured while loading http://localhost:901: Could not connect to host localhost (port 901) Any suggestions? -- Frits Wüthrich Pentaxianado
Frits, Have you added the following line (or commented out) in your inetd.cont (in /etc): swat stream tcp nowait.400 root /usr/sbin/swat swat Change the path to your swat binary if it is not in /usr/sbin. Hope this helps, Ali. On Thursday 28 November 2002 12:30, Frits Wüthrich wrote:
I am trying to configure my samba server, and I am going through the manual, however I am running into a problem. I like to try the swat tool, but when I run http://localhost:901 in the filemanager window, I get this message:
An error occured while loading http://localhost:901: Could not connect to host localhost (port 901)
Any suggestions?
Ali, It was indeed commented out. I never changed that setting, so that must have been the default on my SuSE8.1 system. I removed the # and saved the inetd.conf swat is indeed where you said it was, which is also the line in the inetd.conf file. Now I restarted my PC, but it still doesn't work. I am a newbie after all. Do I need to run some sort of configuration now? Frits On Thursday 28 November 2002 18:43, Ali Naddaf wrote:
Frits, Have you added the following line (or commented out) in your inetd.cont (in /etc):
swat stream tcp nowait.400 root /usr/sbin/swat swat
Change the path to your swat binary if it is not in /usr/sbin. Hope this helps, Ali.
On Thursday 28 November 2002 12:30, Frits Wüthrich wrote:
I am trying to configure my samba server, and I am going through the manual, however I am running into a problem. I like to try the swat tool, but when I run http://localhost:901 in the filemanager window, I get this message:
An error occured while loading http://localhost:901: Could not connect to host localhost (port 901)
Any suggestions?
Frits, Check your /etc/services and add the following line if not already there: swat 901/tcp Also make sure that inetd is running: type the following command: ps -ef|grep inetd and if it is running, you should see something like the following, with possibly different PID: root 966 1 0 Nov24 ? 00:00:00 /usr/sbin/inetd If inetd is not running, then you need to start it. Go to YaST control center, choose System, then choose Run Level Editor, and there, choose "properties" and find the inetd there. Select that and then click on Start button, and finally Finish. Hopefully all should work then. Let me know if it still doesn't work. Ali. On Thursday 28 November 2002 15:44, Frits Wüthrich wrote:
It was indeed commented out. I never changed that setting, so that must have been the default on my SuSE8.1 system. I removed the # and saved the inetd.conf swat is indeed where you said it was, which is also the line in the inetd.conf file.
Now I restarted my PC, but it still doesn't work. I am a newbie after all. Do I need to run some sort of configuration now?
Frits
Ali, /etc/services has this line: swat 901/tcp # CONFLICT, not official assigned! ps -ef|grep inetd has this result: root 4465 4215 0 22:48 pts/1 00:00:00 grep inetd So I followed your instruction for the Run Level Editor, and BINGO! It works. Thank you very much. Should inetd run every time I boot my machine? Frits On Thursday 28 November 2002 22:31, Ali Naddaf wrote:
Frits,
Check your /etc/services and add the following line if not already there:
swat 901/tcp
Also make sure that inetd is running: type the following command:
ps -ef|grep inetd
and if it is running, you should see something like the following, with possibly different PID:
root 966 1 0 Nov24 ? 00:00:00 /usr/sbin/inetd
If inetd is not running, then you need to start it. Go to YaST control center, choose System, then choose Run Level Editor, and there, choose "properties" and find the inetd there. Select that and then click on Start button, and finally Finish. Hopefully all should work then. Let me know if it still doesn't work.
Ali.
On Thursday 28 November 2002 15:44, Frits Wüthrich wrote:
It was indeed commented out. I never changed that setting, so that must have been the default on my SuSE8.1 system. I removed the # and saved the inetd.conf swat is indeed where you said it was, which is also the line in the inetd.conf file.
Now I restarted my PC, but it still doesn't work. I am a newbie after all. Do I need to run some sort of configuration now?
Frits
-- Frits Wüthrich Pentaxianado
Dear Administrator of SuSE Linux, Please remove my email mahesh@decmar.co.uk from mailing list. My inbox seem to be fillingup every day. In-future, will be browsing Archives in http://list.suse.com Thanking you in advance, Kind Regards, Mahesh Pillari Network Administrator Decmar Limited, Falcon House, Central Way, North Feltham Trading Estate, Feltham, Middlesex - TW14 0UQ LONDON (U.K)
* Frits Wüthrich;
Ali,
It was indeed commented out. I never changed that setting, so that must have been the default on my SuSE8.1 system. I removed the # and saved the inetd.conf swat is indeed where you said it was, which is also the line in the inetd.conf file.
Now I restarted my PC, but it still doesn't work. I am a newbie after all. Do I need to run some sort of configuration now?
follow the steps in http://dinamizm.ath.cx/samba.html ps no need to restart PC just to have inetd restart run the command as root rcinetd restart -- Togan Muftuoglu Unofficial SuSE FAQ Maintainer http://dinamizm.ath.cx
participants (4)
-
Ali Naddaf
-
Frits Wüthrich
-
Mahesh Pillari
-
Togan Muftuoglu