On Tue, 2006-01-24 at 23:38 +0000, Francesco Riosa wrote: > Iain Buchanan wrote: > > On Tue, 2006-01-24 at 10:32 -0500, Peter wrote: > > > >> On Tue, 24 Jan 2006 16:12:43 +0930, Iain Buchanan wrote: > >> > >>> Hi All, > >>> > >>> I installed samba, and xinetd, then edited /etc/xinetd.d/swat and set > >>> "disable=no". I restarted xinetd, and when I connect to > >>> > >>> http://localhost:901/ > >>> > >>> with firefox, I get this message: > >>> > >>> 500 Server Error > >>> > >> snip... > >> > >> Have you tried: > >> > >> edit /etc/services and uncomment this line: > >> #swat 901/tcp # Samba configuration tool > > > > yes, it was like this by default. > > > >> Also, make sure you have started the samba service. > > > > also done! > > > > any more hints? > > Not very much, /me never had problems with swat. > Try to start it from the command line (after stopping xinetd) > /usr/sbin/swat --debuglevel=9 > or look for something useful into the logs.
I started it from the command line, and I got the same response. (after typing "GET /"). The logs don't show anything without the debuglevel, but with debugleve=9, this is what I get. Can anyone help me interpret it? [2006/01/27 10:55:01, 3] param/loadparm.c:lp_load(4082) lp_load: refreshing parameters [2006/01/27 10:55:01, 3] param/loadparm.c:init_globals(1366) Initialising global parameters [2006/01/27 10:55:01, 3] param/params.c:pm_process(574) params.c:pm_process() - Processing configuration file "/etc/samba/smb.conf" [2006/01/27 10:55:01, 3] param/loadparm.c:do_section(3542) Processing section "[global]" doing parameter workgroup = WORKGROUP doing parameter server string = orpheus doing parameter wins support = no [2006/01/27 10:55:01, 2] param/loadparm.c:do_section(3559) Processing section "[iain]" [2006/01/27 10:55:01, 8] param/loadparm.c:add_a_service(2393) add_a_service: Creating snum = 0 for iain doing parameter path = /home/iain doing parameter available = yes doing parameter browseable = yes doing parameter public = yes doing parameter writable = yes doing parameter comment = Iain's Home [2006/01/27 10:55:01, 4] param/loadparm.c:lp_load(4113) pm_process() returned Yes [2006/01/27 10:55:01, 7] param/loadparm.c:lp_servicenumber(4226) lp_servicenumber: couldn't find homes [2006/01/27 10:55:01, 5] lib/iconv.c:smb_register_charset(103) Attempting to register new charset UCS-2LE [2006/01/27 10:55:01, 5] lib/iconv.c:smb_register_charset(111) Registered charset UCS-2LE [2006/01/27 10:55:01, 5] lib/iconv.c:smb_register_charset(103) Attempting to register new charset UTF-16LE [2006/01/27 10:55:01, 5] lib/iconv.c:smb_register_charset(111) Registered charset UTF-16LE [2006/01/27 10:55:01, 5] lib/iconv.c:smb_register_charset(103) Attempting to register new charset UCS-2BE [2006/01/27 10:55:01, 5] lib/iconv.c:smb_register_charset(111) Registered charset UCS-2BE [2006/01/27 10:55:01, 5] lib/iconv.c:smb_register_charset(103) Attempting to register new charset UTF-16BE [2006/01/27 10:55:01, 5] lib/iconv.c:smb_register_charset(111) Registered charset UTF-16BE [2006/01/27 10:55:01, 5] lib/iconv.c:smb_register_charset(103) Attempting to register new charset UTF8 [2006/01/27 10:55:01, 5] lib/iconv.c:smb_register_charset(111) Registered charset UTF8 [2006/01/27 10:55:01, 5] lib/iconv.c:smb_register_charset(103) Attempting to register new charset UTF-8 [2006/01/27 10:55:01, 5] lib/iconv.c:smb_register_charset(111) Registered charset UTF-8 [2006/01/27 10:55:01, 5] lib/iconv.c:smb_register_charset(103) Attempting to register new charset ASCII [2006/01/27 10:55:01, 5] lib/iconv.c:smb_register_charset(111) Registered charset ASCII [2006/01/27 10:55:01, 5] lib/iconv.c:smb_register_charset(103) Attempting to register new charset 646 [2006/01/27 10:55:01, 5] lib/iconv.c:smb_register_charset(111) Registered charset 646 [2006/01/27 10:55:01, 5] lib/iconv.c:smb_register_charset(103) Attempting to register new charset ISO-8859-1 [2006/01/27 10:55:01, 5] lib/iconv.c:smb_register_charset(111) Registered charset ISO-8859-1 [2006/01/27 10:55:01, 5] lib/iconv.c:smb_register_charset(103) Attempting to register new charset UCS2-HEX [2006/01/27 10:55:01, 5] lib/iconv.c:smb_register_charset(111) Registered charset UCS2-HEX [2006/01/27 10:55:01, 5] lib/charcnv.c:charset_name(81) Substituting charset 'UTF-8' for LOCALE [2006/01/27 10:55:01, 5] lib/charcnv.c:charset_name(81) Substituting charset 'UTF-8' for LOCALE [2006/01/27 10:55:01, 5] lib/charcnv.c:charset_name(81) Substituting charset 'UTF-8' for LOCALE [2006/01/27 10:55:01, 5] lib/charcnv.c:charset_name(81) Substituting charset 'UTF-8' for LOCALE [2006/01/27 10:55:01, 5] lib/charcnv.c:charset_name(81) Substituting charset 'UTF-8' for LOCALE [2006/01/27 10:55:01, 5] lib/charcnv.c:charset_name(81) Substituting charset 'UTF-8' for LOCALE [2006/01/27 10:55:01, 5] lib/charcnv.c:charset_name(81) Substituting charset 'UTF-8' for LOCALE [2006/01/27 10:55:01, 5] lib/charcnv.c:charset_name(81) Substituting charset 'UTF-8' for LOCALE [2006/01/27 10:55:01, 5] lib/charcnv.c:charset_name(81) Substituting charset 'UTF-8' for LOCALE [2006/01/27 10:55:01, 5] lib/charcnv.c:charset_name(81) Substituting charset 'UTF-8' for LOCALE [2006/01/27 10:55:01, 5] lib/charcnv.c:charset_name(81) Substituting charset 'UTF-8' for LOCALE [2006/01/27 10:55:01, 5] lib/charcnv.c:charset_name(81) Substituting charset 'UTF-8' for LOCALE [2006/01/27 10:55:01, 5] lib/charcnv.c:charset_name(81) Substituting charset 'UTF-8' for LOCALE [2006/01/27 10:55:01, 5] lib/charcnv.c:charset_name(81) Substituting charset 'UTF-8' for LOCALE [2006/01/27 10:55:01, 5] lib/charcnv.c:charset_name(81) Substituting charset 'UTF-8' for LOCALE [2006/01/27 10:55:01, 5] lib/charcnv.c:charset_name(81) Substituting charset 'UTF-8' for LOCALE [2006/01/27 10:55:01, 5] lib/charcnv.c:charset_name(81) Substituting charset 'UTF-8' for LOCALE [2006/01/27 10:55:01, 5] lib/charcnv.c:charset_name(81) Substituting charset 'UTF-8' for LOCALE [2006/01/27 10:55:01, 5] lib/charcnv.c:charset_name(81) Substituting charset 'UTF-8' for LOCALE [2006/01/27 10:55:01, 5] lib/charcnv.c:charset_name(81) Substituting charset 'UTF-8' for LOCALE [2006/01/27 10:55:01, 3] printing/pcap.c:pcap_cache_reload(114) reloading printcap cache [2006/01/27 10:55:01, 5] printing/print_cups.c:cups_cache_reload(71) reloading cups printcap cache [2006/01/27 10:55:01, 3] printing/pcap.c:pcap_cache_reload(213) reload status: ok [2006/01/27 10:55:01, 7] param/loadparm.c:lp_servicenumber(4226) lp_servicenumber: couldn't find printers [2006/01/27 10:55:01, 7] param/loadparm.c:lp_servicenumber(4226) lp_servicenumber: couldn't find printers And I still can't use swat... -- Iain Buchanan <iain at netspace dot net dot au> "Yeah, but you're taking the universe out of context." -- gentoo-user@gentoo.org mailing list