#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)
Change History (13)
comment:1 Changed 15 years ago by
comment:2 Changed 15 years ago by
Milestone: | → Samba Server for OS/2 1.1 |
---|---|
Priority: | blocker → 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 15 years ago by
Attachment: | access_log added |
---|
Changed 15 years ago by
Attachment: | httpd.conf added |
---|
comment:4 Changed 15 years ago by
Sorry I forgott. I get the browsers login dialog and after login I get the 500 Server Error!
comment:5 Changed 15 years ago by
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: 7 Changed 15 years ago by
Owner: | changed from Paul Smedley to Silvan Scherrer |
---|---|
Status: | new → 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 Changed 15 years ago by
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 15 years ago by
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: 10 Changed 15 years ago by
Resolution: | → completed |
---|---|
Status: | assigned → 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 Changed 15 years ago by
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 15 years ago by
Version: | → 3.0.28a |
---|
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