Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#70 closed defect (completed)

swat does not work

Reported by: Jirka Owned by: Silvan Scherrer
Priority: minor Milestone: Samba Server for eCS (OS/2) 1.1.0
Component: Samba Server Version: 3.0.28a
Keywords: Cc:

Description

Hello,

I' using apache 2.2.10 and samba 3.0.28a. Apache runs perfectly and serves a little CMS with mysql/php. The squid cachmgr cgi is worling too. But if I try to load swat I get an "500 Internal Server Error"!

I configured apache by following the 'cookbook'.

Apache error log: [Sat Nov 08 18:51:01 2008] [error] [client 10.1.1.17] (OS 87)The parameter is incorrect. : couldn't set child process attributes: D:/apache2/cgi-bin/samba/swat.exe

[Sat Nov 08 18:51:01 2008] [error] [client 10.1.1.17] (OS 87)The parameter is incorrect. : couldn't spawn child process: D:/apache2/cgi-bin/samba/swat.exe

Attachments (2)

access_log (392 bytes ) - added by Jirka 16 years ago.
httpd.conf (21.8 KB ) - added by Jirka 16 years ago.

Download all attachments as: .zip

Change History (13)

comment:1 by Jirka, 16 years ago

Ok, I did some testing. I'm back at apache 2.2.9. Now the error is:

[Sat Nov 08 19:16:31 2008] [error] [client 10.1.1.17] malformed header from script. Bad header=HTTP/1.0 500 Server Error: swat.exe

comment:2 by Silvan Scherrer, 16 years ago

Milestone: Samba Server for OS/2 1.1
Priority: blockerminor

Jirka, to be honest Swat does not work as it should anyway. It can't start and stop the deamons. But it's possible to configure the smbd.conf. are you sure you followed the cookbook exactly? did you get a login screen at all?

could you provide the apache.conf?

by Jirka, 16 years ago

Attachment: access_log added

by Jirka, 16 years ago

Attachment: httpd.conf added

comment:3 by Jirka, 16 years ago

Ok, I attached the files. Hope we find a solution!

comment:4 by Jirka, 16 years ago

Sorry I forgott. I get the browsers login dialog and after login I get the 500 Server Error!

comment:5 by Silvan Scherrer, 16 years ago

i need to look at my installation. i had swat working, but as i remember i had to download some additional files.

comment:6 by Silvan Scherrer, 16 years ago

Owner: changed from Paul Smedley to Silvan Scherrer
Status: newassigned

do you have a swat dir in E:/WebServer/Internet/cgi-bin/samba with files from x:/samba/swat? if not you can either copy the dir x:/samba/swat to E:/WebServer/Internet/cgi-bin/samba or add a Alias /swat/ "x:/samba/swat/" in apache conf file.

in reply to:  6 comment:7 by Jirka, 16 years ago

Replying to diver:

do you have a swat dir in E:/WebServer/Internet/cgi-bin/samba with files from x:/samba/swat?

Sorry, but there is no x:/samba/swat directory. There is only a swat.exe in x:/samba, which I copied to E:/WebServer/Internet/cgi-bin/samba.

Apache error log says Malformed header from script.

comment:8 by Silvan Scherrer, 16 years ago

then it's clear it's not going to work. swat does not find it's header and footer. i need to look at the distribution if we included the swat dir. if not we will add them in the next wpi. btw swat is now able to start and end all samba exe in my development tree, so stay tuned.

comment:9 by Silvan Scherrer, 16 years ago

Resolution: completed
Status: assignedclosed

the needed swat files are not in the distribution right now. it will be in the next drop. if swat is not working then, please open a new ticket.

in reply to:  9 comment:10 by Jirka, 16 years ago

Replying to diver:

the needed swat files are not in the distribution right now. it will be in the next drop. if swat is not working then, please open a new ticket.

Is it possible to send me the missing files via mail? If so, please send to:

J.Schoell@…

comment:11 by Herwig Bauernfeind, 16 years ago

Version: 3.0.28a
Note: See TracTickets for help on using tickets.