From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.54) id 1F2PRb-0005Nz-HK for garchives@archives.gentoo.org; Fri, 27 Jan 2006 08:59:00 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id k0R8uSS7027135; Fri, 27 Jan 2006 08:56:28 GMT Received: from mail.netspace.net.au (cumulus.netspace.net.au [203.10.110.72]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id k0R8pkeD031800 for ; Fri, 27 Jan 2006 08:51:48 GMT Received: from dhcp2.pcorp.com.au (unknown [150.101.6.82]) by mail.netspace.net.au (Postfix) with ESMTP id 162E67D1D7 for ; Fri, 27 Jan 2006 12:28:03 +1100 (EST) Subject: Re: [gentoo-user] Re: swat "500 server error" From: Iain Buchanan To: gentoo-user@lists.gentoo.org In-Reply-To: <43D6BA82.8050401@pnpitalia.it> References: <1138084963.9410.4.camel@orpheus> <1138144350.9084.1.camel@orpheus> <43D6BA82.8050401@pnpitalia.it> Content-Type: text/plain Date: Fri, 27 Jan 2006 10:58:04 +0930 Message-Id: <1138325284.4654.10.camel@orpheus> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 X-Mailer: Evolution 2.4.2.1 Content-Transfer-Encoding: 7bit X-Archives-Salt: 682f57b3-c4b8-4e53-9ea3-884b5f579e4d X-Archives-Hash: 11fadade4549a10982cec1ca4146efd1 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 "Yeah, but you're taking the universe out of context." -- gentoo-user@gentoo.org mailing list