can't connect to 127.0.0.1 from swat

Andrej Borsenkow borsenkow.msk at sni.de
Thu Dec 3 16:56:58 GMT 1998


Dec  3 19:46:49 itsrm2 unix: swat[6151]: [1998/12/03 19:46:49, 1]
lib/util_sock.c:(735)
Dec  3 19:46:49 itsrm2 unix: swat[6151]:   error connecting to 127.0.0.1:139
(Connection refused)

I don't remember it before ... (just looked through syslog) It happens, when
smbd is not running - e.g. you (re)start smbd.

BTW a patch to put swat name in syslog

/andrej


--- /archive/pub/networks/samba/CVS/source/web/swat.c	Wed Dec  2 05:40:00
1998
+++ web/swat.c	Thu Dec  3 19:55:07 1998
@@ -892,6 +892,7 @@
 	extern FILE *dbf;
 	int opt;
 	char *page;
+	char *pname = argv[0];

 	/* just in case it goes wild ... */
 	alarm(300);
@@ -910,6 +911,8 @@
 			break;
 		}
 	}
+
+	setup_logging(pname, False);

 	charset_initialise();
 	load_config();



More information about the samba-technical mailing list