Gentoo Archives: gentoo-user

From: Iain Buchanan <iaindb@××××××××××××.au>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: swat "500 server error"
Date: Fri, 27 Jan 2006 08:59:00
Message-Id: 1138325284.4654.10.camel@orpheus
In Reply to: Re: [gentoo-user] Re: swat "500 server error" by Francesco Riosa
1 On Tue, 2006-01-24 at 23:38 +0000, Francesco Riosa wrote:
2 > Iain Buchanan wrote:
3 > > On Tue, 2006-01-24 at 10:32 -0500, Peter wrote:
4 > >
5 > >> On Tue, 24 Jan 2006 16:12:43 +0930, Iain Buchanan wrote:
6 > >>
7 > >>> Hi All,
8 > >>>
9 > >>> I installed samba, and xinetd, then edited /etc/xinetd.d/swat and set
10 > >>> "disable=no". I restarted xinetd, and when I connect to
11 > >>>
12 > >>> http://localhost:901/
13 > >>>
14 > >>> with firefox, I get this message:
15 > >>>
16 > >>> 500 Server Error
17 > >>>
18 > >> snip...
19 > >>
20 > >> Have you tried:
21 > >>
22 > >> edit /etc/services and uncomment this line:
23 > >> #swat 901/tcp # Samba configuration tool
24 > >
25 > > yes, it was like this by default.
26 > >
27 > >> Also, make sure you have started the samba service.
28 > >
29 > > also done!
30 > >
31 > > any more hints?
32 >
33 > Not very much, /me never had problems with swat.
34 > Try to start it from the command line (after stopping xinetd)
35 > /usr/sbin/swat --debuglevel=9
36 > or look for something useful into the logs.
37
38 I started it from the command line, and I got the same response. (after
39 typing "GET /"). The logs don't show anything without the debuglevel,
40 but with debugleve=9, this is what I get. Can anyone help me interpret
41 it?
42
43 [2006/01/27 10:55:01, 3] param/loadparm.c:lp_load(4082)
44 lp_load: refreshing parameters
45 [2006/01/27 10:55:01, 3] param/loadparm.c:init_globals(1366)
46 Initialising global parameters
47 [2006/01/27 10:55:01, 3] param/params.c:pm_process(574)
48 params.c:pm_process() - Processing configuration file "/etc/samba/smb.conf"
49 [2006/01/27 10:55:01, 3] param/loadparm.c:do_section(3542)
50 Processing section "[global]"
51 doing parameter workgroup = WORKGROUP
52 doing parameter server string = orpheus
53 doing parameter wins support = no
54 [2006/01/27 10:55:01, 2] param/loadparm.c:do_section(3559)
55 Processing section "[iain]"
56 [2006/01/27 10:55:01, 8] param/loadparm.c:add_a_service(2393)
57 add_a_service: Creating snum = 0 for iain
58 doing parameter path = /home/iain
59 doing parameter available = yes
60 doing parameter browseable = yes
61 doing parameter public = yes
62 doing parameter writable = yes
63 doing parameter comment = Iain's Home
64 [2006/01/27 10:55:01, 4] param/loadparm.c:lp_load(4113)
65 pm_process() returned Yes
66 [2006/01/27 10:55:01, 7] param/loadparm.c:lp_servicenumber(4226)
67 lp_servicenumber: couldn't find homes
68 [2006/01/27 10:55:01, 5] lib/iconv.c:smb_register_charset(103)
69 Attempting to register new charset UCS-2LE
70 [2006/01/27 10:55:01, 5] lib/iconv.c:smb_register_charset(111)
71 Registered charset UCS-2LE
72 [2006/01/27 10:55:01, 5] lib/iconv.c:smb_register_charset(103)
73 Attempting to register new charset UTF-16LE
74 [2006/01/27 10:55:01, 5] lib/iconv.c:smb_register_charset(111)
75 Registered charset UTF-16LE
76 [2006/01/27 10:55:01, 5] lib/iconv.c:smb_register_charset(103)
77 Attempting to register new charset UCS-2BE
78 [2006/01/27 10:55:01, 5] lib/iconv.c:smb_register_charset(111)
79 Registered charset UCS-2BE
80 [2006/01/27 10:55:01, 5] lib/iconv.c:smb_register_charset(103)
81 Attempting to register new charset UTF-16BE
82 [2006/01/27 10:55:01, 5] lib/iconv.c:smb_register_charset(111)
83 Registered charset UTF-16BE
84 [2006/01/27 10:55:01, 5] lib/iconv.c:smb_register_charset(103)
85 Attempting to register new charset UTF8
86 [2006/01/27 10:55:01, 5] lib/iconv.c:smb_register_charset(111)
87 Registered charset UTF8
88 [2006/01/27 10:55:01, 5] lib/iconv.c:smb_register_charset(103)
89 Attempting to register new charset UTF-8
90 [2006/01/27 10:55:01, 5] lib/iconv.c:smb_register_charset(111)
91 Registered charset UTF-8
92 [2006/01/27 10:55:01, 5] lib/iconv.c:smb_register_charset(103)
93 Attempting to register new charset ASCII
94 [2006/01/27 10:55:01, 5] lib/iconv.c:smb_register_charset(111)
95 Registered charset ASCII
96 [2006/01/27 10:55:01, 5] lib/iconv.c:smb_register_charset(103)
97 Attempting to register new charset 646
98 [2006/01/27 10:55:01, 5] lib/iconv.c:smb_register_charset(111)
99 Registered charset 646
100 [2006/01/27 10:55:01, 5] lib/iconv.c:smb_register_charset(103)
101 Attempting to register new charset ISO-8859-1
102 [2006/01/27 10:55:01, 5] lib/iconv.c:smb_register_charset(111)
103 Registered charset ISO-8859-1
104 [2006/01/27 10:55:01, 5] lib/iconv.c:smb_register_charset(103)
105 Attempting to register new charset UCS2-HEX
106 [2006/01/27 10:55:01, 5] lib/iconv.c:smb_register_charset(111)
107 Registered charset UCS2-HEX
108 [2006/01/27 10:55:01, 5] lib/charcnv.c:charset_name(81)
109 Substituting charset 'UTF-8' for LOCALE
110 [2006/01/27 10:55:01, 5] lib/charcnv.c:charset_name(81)
111 Substituting charset 'UTF-8' for LOCALE
112 [2006/01/27 10:55:01, 5] lib/charcnv.c:charset_name(81)
113 Substituting charset 'UTF-8' for LOCALE
114 [2006/01/27 10:55:01, 5] lib/charcnv.c:charset_name(81)
115 Substituting charset 'UTF-8' for LOCALE
116 [2006/01/27 10:55:01, 5] lib/charcnv.c:charset_name(81)
117 Substituting charset 'UTF-8' for LOCALE
118 [2006/01/27 10:55:01, 5] lib/charcnv.c:charset_name(81)
119 Substituting charset 'UTF-8' for LOCALE
120 [2006/01/27 10:55:01, 5] lib/charcnv.c:charset_name(81)
121 Substituting charset 'UTF-8' for LOCALE
122 [2006/01/27 10:55:01, 5] lib/charcnv.c:charset_name(81)
123 Substituting charset 'UTF-8' for LOCALE
124 [2006/01/27 10:55:01, 5] lib/charcnv.c:charset_name(81)
125 Substituting charset 'UTF-8' for LOCALE
126 [2006/01/27 10:55:01, 5] lib/charcnv.c:charset_name(81)
127 Substituting charset 'UTF-8' for LOCALE
128 [2006/01/27 10:55:01, 5] lib/charcnv.c:charset_name(81)
129 Substituting charset 'UTF-8' for LOCALE
130 [2006/01/27 10:55:01, 5] lib/charcnv.c:charset_name(81)
131 Substituting charset 'UTF-8' for LOCALE
132 [2006/01/27 10:55:01, 5] lib/charcnv.c:charset_name(81)
133 Substituting charset 'UTF-8' for LOCALE
134 [2006/01/27 10:55:01, 5] lib/charcnv.c:charset_name(81)
135 Substituting charset 'UTF-8' for LOCALE
136 [2006/01/27 10:55:01, 5] lib/charcnv.c:charset_name(81)
137 Substituting charset 'UTF-8' for LOCALE
138 [2006/01/27 10:55:01, 5] lib/charcnv.c:charset_name(81)
139 Substituting charset 'UTF-8' for LOCALE
140 [2006/01/27 10:55:01, 5] lib/charcnv.c:charset_name(81)
141 Substituting charset 'UTF-8' for LOCALE
142 [2006/01/27 10:55:01, 5] lib/charcnv.c:charset_name(81)
143 Substituting charset 'UTF-8' for LOCALE
144 [2006/01/27 10:55:01, 5] lib/charcnv.c:charset_name(81)
145 Substituting charset 'UTF-8' for LOCALE
146 [2006/01/27 10:55:01, 5] lib/charcnv.c:charset_name(81)
147 Substituting charset 'UTF-8' for LOCALE
148 [2006/01/27 10:55:01, 3] printing/pcap.c:pcap_cache_reload(114)
149 reloading printcap cache
150 [2006/01/27 10:55:01, 5] printing/print_cups.c:cups_cache_reload(71)
151 reloading cups printcap cache
152 [2006/01/27 10:55:01, 3] printing/pcap.c:pcap_cache_reload(213)
153 reload status: ok
154 [2006/01/27 10:55:01, 7] param/loadparm.c:lp_servicenumber(4226)
155 lp_servicenumber: couldn't find printers
156 [2006/01/27 10:55:01, 7] param/loadparm.c:lp_servicenumber(4226)
157 lp_servicenumber: couldn't find printers
158
159 And I still can't use swat...
160 --
161 Iain Buchanan <iain at netspace dot net dot au>
162
163 "Yeah, but you're taking the universe out of context."
164
165 --
166 gentoo-user@g.o mailing list