Forum

SOAP Internal Server Error

Julius
6 April 2012, 20:18
Hey,
I have a big problem.
I use a soap api to stop and start a server, but after few secounds come this "500 - Internal Server Error".
Other request for example to get my vserver stats via soap is getting.
I conform my php.ini like default_socket_timeout = 180; max_execution_time = 120; memory_limit = 128M.
But it doesn't go.
Please help me and sorry for my bad english.

Hiawatha version: 8.1
Operating System: Debian Squeeze
Hugo Leisink
6 April 2012, 20:21
What does your error logfile say?
Julius
6 April 2012, 20:23
Nothing
I look here /var/log/hiawatha/error.log
Julius
6 April 2012, 20:27
And my Config for my virtualhost look so:
AccessLogfile = /var/log/hiawatha/access.log
ErrorLogfile = /var/log/hiawatha/error.log
Hugo Leisink
6 April 2012, 20:28
It sounds like you're not sure whether that's the right error logfile... Can you post your configuration file?
Julius
6 April 2012, 20:32
ServerId = www-data
ConnectionsTotal = 4000
ConnectionsPerIP = 20
SystemLogfile = /var/log/hiawatha/system.log
GarbageLogfile = /var/log/hiawatha/garbage.log

# BINDING SETTINGS
# A binding is where a client can connect to.
#
Binding {
Port = 80
TimeForRequest = 3,5
MaxRequestSize = 32768
MaxUploadSize = 64
}






# BANNING SETTINGS
# Deny service to clients who misbehave.
#
BanOnGarbage = 300
BanOnMaxPerIP = 60
BanOnMaxReqSize = 300
KickOnBan = yes
RebanDuringBan = yes


# COMMON GATEWAY INTERFACE (CGI) SETTINGS
# These settings can be used to run CGI applications. Use the 'php-fcgi'
# tool to start PHP as a FastCGI daemon.
#
CGIhandler = /usr/bin/perl:pl
CGIhandler = /usr/bin/php-cgi:php
CGIhandler = /usr/bin/python:py
CGIhandler = /usr/bin/ruby:rb
CGIhandler = /usr/bin/ssi-cgi:shtml
CGIextension = cgi
#
FastCGIserver {
FastCGIid = PHP5
ConnectTo = 127.0.0.1:2005
Extension = php, php5
SessionTimeout = 30
}


# DEFAULT WEBSITE
# It is wise to use your IP address as the hostname of the default website
# and give it a blank webpage. By doing so, automated webscanners won't find
# your possible vulnerable website.
#
Hostname = 127.0.0.1
WebsiteRoot = /var/www/hiawatha
StartFile = index.html
AccessLogfile = /var/log/hiawatha/access.log
ErrorLogfile = /var/log/hiawatha/error.log
#ErrorHandler = 404:/error.cgi

## Toolkit's ##
UrlToolkit {
ToolkitID = rewrite
RequestURI exists Return
Match /(.*) Rewrite /index.php?page=$1
}

UrlToolkit {
ToolkitID = wordpress
RequestURI exists Return
Match .* Rewrite /index.php
}



## mydomainde ##
VirtualHost {
Hostname = mydomain.de, www.mydomain.de
WebsiteRoot = /var/www/mydomain.de
StartFile = index.php
AccessLogfile = /var/log/hiawatha/access.log
ErrorLogfile = /var/log/hiawatha/error.log
TimeForCGI = 5
UseFastCGI = PHP5
}



Julius
6 April 2012, 20:34
I find the error, I set the TimeForCGI = 20.
Thanks
Hugo Leisink
6 April 2012, 20:41
Good to hear!
This topic has been closed.