error

Moderator: crythias

Locked
srivatsatatti
Znuny newbie
Posts: 85
Joined: 25 Jan 2011, 06:54
Znuny Version: OTRS 3
Company: eStomi Technologies Pvt Ltd
Contact:

error

Post by srivatsatatti »

Software error:

slurp_filename('/opt/otrs/bin/cgi-bin/dsgfdg') / opening: (2) No such file or directory at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 541
For help, please send mail to the webmaster (webmaster@localhost), giving this error message and the time and date of the error.

wanted customized error for this

I commented two lines RegsiterCooker.pm
#$self->debug("reading $self->{FILENAME}") if DEBUG & D_NOISE;
#$self->{CODE} = eval { $self->{REQ}->slurp_filename(0) }; # untainted

I got 500 internal sever 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.
So removed the comments and stored original file. But still I am not able to fix this error.I am getting this error every time and unable to login.

error_log :
[Thu Feb 02 07:50:43 2012] [error] [client xx.xx.xx.xxx] Can't locate object method "should_reset_inc_hash" via package "ModPerl::Registry" at /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/ModPerl/RegistryCooker.pm line 197.\n
[Thu Feb 02 08:35:25 2012] [error] [client xx.xx.xx.xxx] Global $r object is not available. Set:\n\tPerlOptions +GlobalRequest\nin httpd.conf at /opt/otrs/Kernel/cpan-lib/CGI/Carp.pm line 550.\n, referer: http://xx.xx.xx.xx/otrs/index.pl


can any one pls help?

RHEL OTRS-3.0.11
Last edited by srivatsatatti on 03 Feb 2012, 03:36, edited 1 time in total.
OTRS 3.2.x, Linux Ubuntu, Mysql 5.1.
srivatsatatti
Znuny newbie
Posts: 85
Joined: 25 Jan 2011, 06:54
Znuny Version: OTRS 3
Company: eStomi Technologies Pvt Ltd
Contact:

Re: error

Post by srivatsatatti »

Any one pls help bit urgent.
OTRS 3.2.x, Linux Ubuntu, Mysql 5.1.
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: error

Post by jojo »

Revert your changes in RegisterCooker.pm
"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
srivatsatatti
Znuny newbie
Posts: 85
Joined: 25 Jan 2011, 06:54
Znuny Version: OTRS 3
Company: eStomi Technologies Pvt Ltd
Contact:

Re: error

Post by srivatsatatti »

Have done the changes. Rebooted the Sever still the error exits.
OTRS 3.2.x, Linux Ubuntu, Mysql 5.1.
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: error

Post by jojo »

Which one?
"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
srivatsatatti
Znuny newbie
Posts: 85
Joined: 25 Jan 2011, 06:54
Znuny Version: OTRS 3
Company: eStomi Technologies Pvt Ltd
Contact:

Re: error

Post by srivatsatatti »

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.
OTRS 3.2.x, Linux Ubuntu, Mysql 5.1.
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: error

Post by jojo »

did you cleared all caches, restartet the webserver afterwards? Are there any more changes you did? Have also a look in the error log.
"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
srivatsatatti
Znuny newbie
Posts: 85
Joined: 25 Jan 2011, 06:54
Znuny Version: OTRS 3
Company: eStomi Technologies Pvt Ltd
Contact:

Re: error

Post by srivatsatatti »

No i just rebooted the server.
The error logs look like this:


[Thu Feb 02 09:25:28 2012] [error] [client xx.xx.xx.xx] Global $r object is not available. Set:\n\tPerlOptions +GlobalRequest\nin httpd.conf at /opt/otrs/Kernel/cpan-lib/CGI/Carp.pm line 550.\n, referer: http://xx.xx.xx.xx/otrs/index.pl?Sessio ... 9a5d861382
Thu Feb 02 09:25:43 2012] [error] [client xx.xx.xx.xx] Can't locate object method "should_reset_inc_hash" via package "ModPerl::Registry" at /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/ModPerl/RegistryCooker.pm line 196.\n, referer: http://xx.xx.xx.xx/otrs/index.pl
Last edited by srivatsatatti on 03 Feb 2012, 03:38, edited 1 time in total.
OTRS 3.2.x, Linux Ubuntu, Mysql 5.1.
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: error

Post by jojo »

delete the caches and rebuild the config
"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
srivatsatatti
Znuny newbie
Posts: 85
Joined: 25 Jan 2011, 06:54
Znuny Version: OTRS 3
Company: eStomi Technologies Pvt Ltd
Contact:

Re: error

Post by srivatsatatti »

What do you mean by rebuild the config ? can you explain pls?
OTRS 3.2.x, Linux Ubuntu, Mysql 5.1.
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: error

Post by jojo »

bin/otrs.RebuildConfig.pl
"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
srivatsatatti
Znuny newbie
Posts: 85
Joined: 25 Jan 2011, 06:54
Znuny Version: OTRS 3
Company: eStomi Technologies Pvt Ltd
Contact:

Re: error

Post by srivatsatatti »

It would be very helpful if you would explain me how to do it. I am not used to Linux.
OTRS 3.2.x, Linux Ubuntu, Mysql 5.1.
srivatsatatti
Znuny newbie
Posts: 85
Joined: 25 Jan 2011, 06:54
Znuny Version: OTRS 3
Company: eStomi Technologies Pvt Ltd
Contact:

Re: error

Post by srivatsatatti »

and how to delete the cache?
OTRS 3.2.x, Linux Ubuntu, Mysql 5.1.
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: error

Post by jojo »

please ask yout IT admin to work on the machine then...
"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
augustuseb
Znuny newbie
Posts: 1
Joined: 29 Apr 2012, 07:22
Znuny Version: 3.0.10

Re: error

Post by augustuseb »

Solved?
Locked