webservices not working with mod_fcgid

Moderator: crythias

Locked
ddio
Znuny newbie
Posts: 6
Joined: 15 Jan 2015, 17:19
Znuny Version: OTRS 4.0

webservices not working with mod_fcgid

Post by ddio »

Hi,

When I switch to mod_fcgid OTRS works fine, except the webservices (SOAP). My application receives an error code 500, and in the logs I find these:

Code: Select all

[Mon Aug 10 09:16:21.180917 2015] [fcgid:warn] [pid 3304:tid 139751081064192] [client 172.30.2.240:42181] mod_fcgid: stderr: ERROR: GenericInterfaceProvider-63 Perl: 5.18.2 OS: linux Time: Mon Aug 10 09:16:21 2015
[Mon Aug 10 09:16:21.180968 2015] [fcgid:warn] [pid 3304:tid 139751081064192] [client 172.30.2.240:42181] mod_fcgid: stderr:  Message: DebugLog error:  Summary: Could not read input data  Data   : No data provided.
[Mon Aug 10 09:16:21.180974 2015] [fcgid:warn] [pid 3304:tid 139751081064192] [client 172.30.2.240:42181] mod_fcgid: stderr:  RemoteAddress: 172.30.2.240
[Mon Aug 10 09:16:21.180979 2015] [fcgid:warn] [pid 3304:tid 139751081064192] [client 172.30.2.240:42181] mod_fcgid: stderr:  RequestURI: /otrs/nph-genericinterface.pl/Webservice/ConfigItem
[Mon Aug 10 09:16:21.180984 2015] [fcgid:warn] [pid 3304:tid 139751081064192] [client 172.30.2.240:42181] mod_fcgid: stderr:  Traceback (3371):
[Mon Aug 10 09:16:21.180989 2015] [fcgid:warn] [pid 3304:tid 139751081064192] [client 172.30.2.240:42181] mod_fcgid: stderr:    Module: Kernel::GenericInterface::Debugger::DebugLog Line: 219
[Mon Aug 10 09:16:21.180994 2015] [fcgid:warn] [pid 3304:tid 139751081064192] [client 172.30.2.240:42181] mod_fcgid: stderr:    Module: Kernel::GenericInterface::Debugger::Error Line: 313
[Mon Aug 10 09:16:21.181000 2015] [fcgid:warn] [pid 3304:tid 139751081064192] [client 172.30.2.240:42181] mod_fcgid: stderr:    Module: Kernel::GenericInterface::Transport::HTTP::SOAP::_Error Line: 718
[Mon Aug 10 09:16:21.181006 2015] [fcgid:warn] [pid 3304:tid 139751081064192] [client 172.30.2.240:42181] mod_fcgid: stderr:
[Mon Aug 10 09:16:21.183112 2015] [fcgid:warn] [pid 3304:tid 139751081064192] [client 172.30.2.240:42181] mod_fcgid: stderr:  Module: Kernel::GenericInterface::Transport::HTTP::SOAP::ProviderProcessRequest Line: 177
[Mon Aug 10 09:16:21.183143 2015] [fcgid:warn] [pid 3304:tid 139751081064192] [client 172.30.2.240:42181] mod_fcgid: stderr:    Module: Kernel::GenericInterface::Transport::ProviderProcessRequest Line: 109
[Mon Aug 10 09:16:21.183149 2015] [fcgid:warn] [pid 3304:tid 139751081064192] [client 172.30.2.240:42181] mod_fcgid: stderr:    Module: Kernel::GenericInterface::Provider::Run Line: 176
[Mon Aug 10 09:16:21.183154 2015] [fcgid:warn] [pid 3304:tid 139751081064192] [client 172.30.2.240:42181] mod_fcgid: stderr:    Module: nph-genericinterface.pl Line: 44
[Mon Aug 10 09:16:21.183160 2015] [fcgid:warn] [pid 3304:tid 139751081064192] [client 172.30.2.240:42181] mod_fcgid: stderr: ERROR: GenericInterfaceProvider-63 Perl: 5.18.2 OS: linux Time: Mon Aug 10 09:16:21 2015
[Mon Aug 10 09:16:21.183166 2015] [fcgid:warn] [pid 3304:tid 139751081064192] [client 172.30.2.240:42181] mod_fcgid: stderr:  Message: DebugLog error:  Summary: Request could not be processed  Data   : Could not read input data.
[Mon Aug 10 09:16:21.183171 2015] [fcgid:warn] [pid 3304:tid 139751081064192] [client 172.30.2.240:42181] mod_fcgid: stderr:  RemoteAddress: 172.30.2.240
[Mon Aug 10 09:16:21.183177 2015] [fcgid:warn] [pid 3304:tid 139751081064192] [client 172.30.2.240:42181] mod_fcgid: stderr:  R
[Mon Aug 10 09:16:21.184560 2015] [fcgid:warn] [pid 3304:tid 139751081064192] [client 172.30.2.240:42181] mod_fcgid: stderr: equestURI: /otrs/nph-genericinterface.pl/Webservice/ConfigItem
[Mon Aug 10 09:16:21.184583 2015] [fcgid:warn] [pid 3304:tid 139751081064192] [client 172.30.2.240:42181] mod_fcgid: stderr:  Traceback (3371):
[Mon Aug 10 09:16:21.184589 2015] [fcgid:warn] [pid 3304:tid 139751081064192] [client 172.30.2.240:42181] mod_fcgid: stderr:    Module: Kernel::GenericInterface::Debugger::DebugLog Line: 219
[Mon Aug 10 09:16:21.184595 2015] [fcgid:warn] [pid 3304:tid 139751081064192] [client 172.30.2.240:42181] mod_fcgid: stderr:    Module: Kernel::GenericInterface::Debugger::Error Line: 313
[Mon Aug 10 09:16:21.184601 2015] [fcgid:warn] [pid 3304:tid 139751081064192] [client 172.30.2.240:42181] mod_fcgid: stderr:    Module: Kernel::GenericInterface::Provider::Run Line: 180
[Mon Aug 10 09:16:21.184606 2015] [fcgid:warn] [pid 3304:tid 139751081064192] [client 172.30.2.240:42181] mod_fcgid: stderr:    Module: nph-genericinterface.pl Line: 44
[Mon Aug 10 09:16:21.184626 2015] [fcgid:warn] [pid 3304:tid 139751081064192] [client 172.30.2.240:42181] mod_fcgid: stderr: ERROR: GenericInterfaceProvider-63 Perl: 5.18.2 OS: linux Time: Mon Aug 10 09:16:21 2015
[Mon Aug 10 09:16:21.184633 2015] [fcgid:warn] [pid 3304:tid 139751081064192] [client 172.30.2.240:42181] mod_fcgid: stderr:  Message: DebugLog error:  Summary: Returning provider data to remote system (HTTP Code: 500)
[Mon Aug 10 09:16:21.184646 2015] [fcgid:warn] [pid 3304:tid 139751081064192] [client 172.30.2.240:42181] mod_fcgid: stderr: Data   : Could not read input data.
[Mon Aug 10 09:16:21.184652 2015] [fcgid:warn] [pid 3304:tid 139751081064192] [client 172.30.2.240:42181] mod_fcgid: stderr:  RemoteAddress: 172.30.2.240
[Mon Aug 10 09:16:21.184657 2015] [fcgid:warn] [pid 3304:tid 139751081064192] [client 172.30.2.240:42181] mod_fcgid: stderr:  RequestURI: /otrs/nph-genericinterface.pl/Webservice/ConfigItem
[Mon Aug 10 09:16:21.184663 2015] [fcgid:warn] [pid 3304:tid 139751081064192] [client 172.30.2.240:42181] mod_fcgid: stderr:  Traceback (3371):
[Mon Aug 10 09:16:21.184668 2015] [fcgid:warn] [pid 3304:tid 139751081064192] [client 172.30.2.240:42181] mod_fcgid: stderr:    Module: Kernel::GenericInterface::Debugger::DebugLog Line: 219
[Mon Aug 10 09:16:21.184674 2015] [fcgid:warn] [pid 3304:tid 139751081064192] [client 172.30.2.240:42181] mod_fcgid: stderr:    Module: Kernel::GenericInterface::Transport::HTTP::SOAP::_Output Line: 806
[Mon Aug 10 09:16:21.184679 2015] [fcgid:warn] [pid 3304:tid 139751081064192] [client 172.30.2.240:42181] mod_fcgid: stderr:    Module: Kernel::GenericInterface::Transport::HTTP::SOAP::ProviderGenerateResponse Line: 285
[Mon Aug 10 09:16:21.184685 2015] [fcgid:warn] [pid 3304:tid 139751081064192] [client 172.30.2.240:42181] mod_fcgid: stderr:    Module: Kernel::GenericInterface::Transport::ProviderGenerateResponse Line: 159
[Mon Aug 10 09:16:21.184691 2015] [fcgid:warn] [pid 3304:tid 139751081064192] [client 172.30.2.240:42181] mod_fcgid: stderr:    Module: Kernel::GenericInte
[Mon Aug 10 09:16:21.187979 2015] [fcgid:warn] [pid 3304:tid 139751081064192] [client 172.30.2.240:42181] mod_fcgid: stderr: rface::Provider::_GenerateErrorResponse Line: 384
[Mon Aug 10 09:16:21.187997 2015] [fcgid:warn] [pid 3304:tid 139751081064192] [client 172.30.2.240:42181] mod_fcgid: stderr:    Module: Kernel::GenericInterface::Provider::Run Line: 185
[Mon Aug 10 09:16:21.188003 2015] [fcgid:warn] [pid 3304:tid 139751081064192] [client 172.30.2.240:42181] mod_fcgid: stderr:    Module: nph-genericinterface.pl Line: 44
[Mon Aug 10 09:16:21.188013 2015] [core:error] [pid 3304:tid 139751081064192] [client 172.30.2.240:42181] malformed header from script 'nph-genericinterface.pl': Bad header: HTTP/1.1 500 Internal Server E
Is there a way to fix this, or is otrs just not working properly with mod_fcgid?

I want to use fcgid because of the good performance, while running under another user (not apache, for security reasons).
Locked