Accidentally removed index.pl file

Moderator: crythias

Locked
qt_zetroc
Znuny newbie
Posts: 37
Joined: 02 Feb 2011, 10:22
Znuny Version: 3.0.16
Contact:

Accidentally removed index.pl file

Post by qt_zetroc »

Hi Guys,

I accidentally removed the index.pl file from /opt/otrs/bin/cgi-bin. Is there a way to put this back without redoing or reinstalling everything?

I am actually getting a 500 Internal Server Error :
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, root@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

What I have tried is to run otrs.RebuildConfig.pl and restart apache and otrs services but still having this error.
renee
Znuny expert
Posts: 241
Joined: 06 Feb 2009, 11:15
Znuny Version: 3.0.x
Company: Perl-Services.de
Contact:

Re: Accidentally removed index.pl file

Post by renee »

You could download it from http://source.otrs.org/viewvc.cgi/otrs/bin/cgi-bin/ (Be aware to download the version that belongs to the OTRS version you run).
Need a Perl/OTRS developer? You can contact me at info@perl-services.de
qt_zetroc
Znuny newbie
Posts: 37
Joined: 02 Feb 2011, 10:22
Znuny Version: 3.0.16
Contact:

Re: Accidentally removed index.pl file

Post by qt_zetroc »

Thanks Renee,

I have already the copy and loaded in the same location but somehow cannot make it work. Still having the same error.

Do you have the procedure the restore the file?
renee
Znuny expert
Posts: 241
Joined: 06 Feb 2009, 11:15
Znuny Version: 3.0.x
Company: Perl-Services.de
Contact:

Re: Accidentally removed index.pl file

Post by renee »

Does it have the correct permissions?

Code: Select all

chmod 755 /opt/otrs/bin/cgi-bin/index.pl
Need a Perl/OTRS developer? You can contact me at info@perl-services.de
qt_zetroc
Znuny newbie
Posts: 37
Joined: 02 Feb 2011, 10:22
Znuny Version: 3.0.16
Contact:

Re: Accidentally removed index.pl file

Post by qt_zetroc »

Brilliant! It is resolved!

Thanks renee!You are truly a OTRS Wizard! :) :)
Locked