Opened 11 years ago

Closed 10 years ago

Last modified 10 years ago

#70 closed defect (completed)

swat does not work

Reported by: Jirka Owned by: diver
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 11 years ago.
httpd.conf (21.8 KB) - added by Jirka 11 years ago.

Download all attachments as: .zip

Change History (13)

comment:1 Changed 11 years ago by Jirka

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 Changed 11 years ago by diver

  • Milestone set to Samba Server for OS/2 1.1
  • Priority changed from blocker to minor

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?

Changed 11 years ago by Jirka

Changed 11 years ago by Jirka

comment:3 Changed 11 years ago by Jirka

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

comment:4 Changed 11 years ago by Jirka

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

comment:5 Changed 11 years ago by diver

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

comment:6 follow-up: Changed 10 years ago by diver

  • Owner changed from psmedley to diver
  • Status changed from new to assigned

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.

comment:7 in reply to: ↑ 6 Changed 10 years ago by Jirka

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 Changed 10 years ago by diver

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 follow-up: Changed 10 years ago by diver

  • Resolution set to completed
  • Status changed from assigned to closed

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.

comment:10 in reply to: ↑ 9 Changed 10 years ago by Jirka

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 Changed 10 years ago by herwigb

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