otrs rpc on linux machine

Moderator: crythias

Locked
tripti_rai2005
Znuny newbie
Posts: 67
Joined: 14 Mar 2012, 15:08
Znuny Version: OTRS2

otrs rpc on linux machine

Post by tripti_rai2005 »

i have installed the otrs on a remote linux machine.i am trying to access the rpc.pl file and i get this error
Firefox can't find the file at http://158.52.196.42/otrs/rpc.pl.
Check the file name for capitalization or other typing errors.
Check to see if the file was moved, renamed or deleted.
Could you help me, if there is some different behavior for rpc.pl file on linux machine.

I have another installation of otrs on my local machine, and there i am able to access the rpc.pl file and perform all soap operations.
Please help!
■ TRIPTI RAI // PROJECT ENGINEER, ETIM GTEC
Office: +91 20 66056464 //Mobile: +91 9503019176 // // Whirlpool Corporation // www.WhirlpoolCorp.com
Whirlpool Corporation // www.WhirlpoolCorp.com
tripti_rai2005
Znuny newbie
Posts: 67
Joined: 14 Mar 2012, 15:08
Znuny Version: OTRS2

Re: otrs rpc on linux machine

Post by tripti_rai2005 »

Also when i try to perform soap operations from a php file my php file gives me following errors.
Fatal error: Uncaught SoapFault exception: [soap:Client] Application failed during request deserialization: no element found at line 1, column 0, byte -1 at /usr/lib/perl5/XML/Parser.pm line 187 in D:\wamp\www\update.php:38 Stack trace: #0 D:\wamp\www\update.php(38): SoapClient->__soapCall('Dispatch', Array) #1 {main} thrown in D:\wamp\www\update.php on line 38
■ TRIPTI RAI // PROJECT ENGINEER, ETIM GTEC
Office: +91 20 66056464 //Mobile: +91 9503019176 // // Whirlpool Corporation // www.WhirlpoolCorp.com
Whirlpool Corporation // www.WhirlpoolCorp.com
tripti_rai2005
Znuny newbie
Posts: 67
Joined: 14 Mar 2012, 15:08
Znuny Version: OTRS2

Re: otrs rpc on linux machine

Post by tripti_rai2005 »

any help..??
i am not able to run rpc.pl file when otrs installed on unix box!
■ TRIPTI RAI // PROJECT ENGINEER, ETIM GTEC
Office: +91 20 66056464 //Mobile: +91 9503019176 // // Whirlpool Corporation // www.WhirlpoolCorp.com
Whirlpool Corporation // www.WhirlpoolCorp.com
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: otrs rpc on linux machine

Post by jojo »

ist SOAP::Lite installed on the linux server. Can you test it locally on the linux server?
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
tripti_rai2005
Znuny newbie
Posts: 67
Joined: 14 Mar 2012, 15:08
Znuny Version: OTRS2

Re: otrs rpc on linux machine

Post by tripti_rai2005 »

Soap lite is installed.
■ TRIPTI RAI // PROJECT ENGINEER, ETIM GTEC
Office: +91 20 66056464 //Mobile: +91 9503019176 // // Whirlpool Corporation // www.WhirlpoolCorp.com
Whirlpool Corporation // www.WhirlpoolCorp.com
tripti_rai2005
Znuny newbie
Posts: 67
Joined: 14 Mar 2012, 15:08
Znuny Version: OTRS2

Re: otrs rpc on linux machine

Post by tripti_rai2005 »

Any permissions need to be set?or any changes required to be made in apache ?index.pl as the same location in cgi-bin is accessible, but not rpc.pl..
■ TRIPTI RAI // PROJECT ENGINEER, ETIM GTEC
Office: +91 20 66056464 //Mobile: +91 9503019176 // // Whirlpool Corporation // www.WhirlpoolCorp.com
Whirlpool Corporation // www.WhirlpoolCorp.com
tripti_rai2005
Znuny newbie
Posts: 67
Joined: 14 Mar 2012, 15:08
Znuny Version: OTRS2

Re: otrs rpc on linux machine

Post by tripti_rai2005 »

I read somewhere
" In the function SOAP::Transport::HTTP::CGI::handle
when changing sysread( STDIN, $buffer, $length ) to read( STDIN, $buffer, $length ) everything works perfect."

Does this stand true in this case as well?
■ TRIPTI RAI // PROJECT ENGINEER, ETIM GTEC
Office: +91 20 66056464 //Mobile: +91 9503019176 // // Whirlpool Corporation // www.WhirlpoolCorp.com
Whirlpool Corporation // www.WhirlpoolCorp.com
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: otrs rpc on linux machine

Post by jojo »

check apache error log etc, it is not needed to change any code
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
tripti_rai2005
Znuny newbie
Posts: 67
Joined: 14 Mar 2012, 15:08
Znuny Version: OTRS2

Re: otrs rpc on linux machine

Post by tripti_rai2005 »

can you please tell me, where is apache error log otrs.log located in linux otrs installation?
i am aware that it is located at OTRS\var\log\otrs.log in windows installation..
■ TRIPTI RAI // PROJECT ENGINEER, ETIM GTEC
Office: +91 20 66056464 //Mobile: +91 9503019176 // // Whirlpool Corporation // www.WhirlpoolCorp.com
Whirlpool Corporation // www.WhirlpoolCorp.com
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: otrs rpc on linux machine

Post by jojo »

please ask the admin of the linux system
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
Locked