Internal Server Error
Moderator: crythias
-
- Znuny newbie
- Posts: 46
- Joined: 13 Jan 2014, 09:42
- Znuny Version: 3.1.00
- Real Name: Mahesh
- Company: vc
Internal Server Error
Hi,
I am getting " 500 INTERNAL SERVER ERROR" while trying to login to Agent interface. But the Customer.pl interface works fine and I am able to see the tickets.
THe system details are :--
1) Centos 6.5
2) OTRS 3.3.6
Please help.
Thanks
Mahesh
I am getting " 500 INTERNAL SERVER ERROR" while trying to login to Agent interface. But the Customer.pl interface works fine and I am able to see the tickets.
THe system details are :--
1) Centos 6.5
2) OTRS 3.3.6
Please help.
Thanks
Mahesh
-
- Znuny guru
- Posts: 2210
- Joined: 13 Mar 2014, 09:16
- Znuny Version: 6.0.14
- Real Name: Rolf Straub
Re: Internal Server Error
In regard to this great post:
viewtopic.php?f=53&t=16009
viewtopic.php?f=53&t=16009
Crythias wrote:What do your logs say? -- You WILL be asked this question. If in Windows, check otrs.log
Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS
-
- Znuny guru
- Posts: 5018
- Joined: 13 Mar 2011, 09:54
- Znuny Version: 6.0.x
- Real Name: Renée Bäcker
- Company: Perl-Services.de
- Contact:
Re: Internal Server Error
What do the logs (OTRS log and apache log) say?
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
-
- Znuny newbie
- Posts: 46
- Joined: 13 Jan 2014, 09:42
- Znuny Version: 3.1.00
- Real Name: Mahesh
- Company: vc
Re: Internal Server Error
THe is the output for /var/log/httpd/error.log
==========================================================
[Tue May 13 13:02:06 2014] -e: Version string '-1, set by base.pm' contains invalid data; ignoring: '-1, set by base.pm' at /opt/otrs//Kernel/System/Log.pm line 203.
ERROR: OTRS-CGI-25 Perl: 5.10.1 OS: linux Time: Tue May 13 13:02:06 2014
Message: Host '172.16.4.4' is not allowed to connect to this MySQL server
RemoteAddress: 172.16.4.250
RequestURI: /otrs/index.pl?OTRSAgentInterface=25FURv670PfppjHthh6zifgxxoT0YOiSYM
Traceback (1723):
Module: Kernel::System::DB::new (OTRS 3.3.6) Line: 223
Module: Kernel::Modules::AgentDashboardCommon::new (OTRS 3.3.6) Line: 46
Module: Kernel::System::Web::InterfaceAgent::Run (OTRS 3.3.6) Line: 855
Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler (unknown version) Line: 41
Module: (eval) (v1.99) Line: 204
Module: ModPerl::RegistryCooker::run (v1.99) Line: 204
Module: ModPerl::RegistryCooker::default_handler (v1.99) Line: 170
Module: ModPerl::Registry::handler (v1.99) Line: 31
[Tue May 13 13:02:06 2014] [error] [Tue May 13 13:02:06 2014] -e: Got no DBObject! at /opt/otrs//Kernel/Output/HTML/DashboardProductNotify.pm line 30.\n
===================================
Additionally I have tried to delete the cache and sessions but still unable to login to Agent.pl.
Thanks
Mahesh
==========================================================
[Tue May 13 13:02:06 2014] -e: Version string '-1, set by base.pm' contains invalid data; ignoring: '-1, set by base.pm' at /opt/otrs//Kernel/System/Log.pm line 203.
ERROR: OTRS-CGI-25 Perl: 5.10.1 OS: linux Time: Tue May 13 13:02:06 2014
Message: Host '172.16.4.4' is not allowed to connect to this MySQL server
RemoteAddress: 172.16.4.250
RequestURI: /otrs/index.pl?OTRSAgentInterface=25FURv670PfppjHthh6zifgxxoT0YOiSYM
Traceback (1723):
Module: Kernel::System::DB::new (OTRS 3.3.6) Line: 223
Module: Kernel::Modules::AgentDashboardCommon::new (OTRS 3.3.6) Line: 46
Module: Kernel::System::Web::InterfaceAgent::Run (OTRS 3.3.6) Line: 855
Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler (unknown version) Line: 41
Module: (eval) (v1.99) Line: 204
Module: ModPerl::RegistryCooker::run (v1.99) Line: 204
Module: ModPerl::RegistryCooker::default_handler (v1.99) Line: 170
Module: ModPerl::Registry::handler (v1.99) Line: 31
[Tue May 13 13:02:06 2014] [error] [Tue May 13 13:02:06 2014] -e: Got no DBObject! at /opt/otrs//Kernel/Output/HTML/DashboardProductNotify.pm line 30.\n
===================================
Additionally I have tried to delete the cache and sessions but still unable to login to Agent.pl.
Thanks
Mahesh
-
- Znuny guru
- Posts: 2210
- Joined: 13 Mar 2014, 09:16
- Znuny Version: 6.0.14
- Real Name: Rolf Straub
Re: Internal Server Error
This messages sounds like OTRS does not have valid DB settings in the config file - on the other hand you say you can connect via customer.pl ...
Could you manually verifiy that you can connect to mysql with the settings from the Config.pm ?
Also, could you run the [otrs]/bin/otrs.CheckModules.pl and make sure you have the proper modules for your db installed?
Could you manually verifiy that you can connect to mysql with the settings from the Config.pm ?
Also, could you run the [otrs]/bin/otrs.CheckModules.pl and make sure you have the proper modules for your db installed?
Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS
-
- Znuny guru
- Posts: 5018
- Joined: 13 Mar 2011, 09:54
- Znuny Version: 6.0.x
- Real Name: Renée Bäcker
- Company: Perl-Services.de
- Contact:
Re: Internal Server Error
You should address this message:
OTRS can't connect to the database...Message: Host '172.16.4.4' is not allowed to connect to this MySQL server
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
-
- Znuny guru
- Posts: 5018
- Joined: 13 Mar 2011, 09:54
- Znuny Version: 6.0.x
- Real Name: Renée Bäcker
- Company: Perl-Services.de
- Contact:
Re: Internal Server Error
Either that or the DB user isn't allowed to connect from the said IP (than the OP has to change the settings in the DB).RStraub wrote:This messages sounds like OTRS does not have valid DB settings in the config file [...]
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
-
- Znuny newbie
- Posts: 46
- Joined: 13 Jan 2014, 09:42
- Znuny Version: 3.1.00
- Real Name: Mahesh
- Company: vc
Re: Internal Server Error
Here is what I have checked :--
1) From the Config.pm file setting I am able to connect to the mysql DB
2) The database names and username/password are correct in the Config.pm file.
3) SE Linux is disabled.
4) Below is the output of ./otrs.CheckModule.pl
=========================================================================================
[root@centos bin]# ./otrs.CheckModules.pl
o Crypt::Eksblowfish::Bcrypt.......Not installed! (optional - For strong password hashing.)
o Crypt::SSLeay....................ok (v0.57)
o Date::Format.....................ok (v2.22)
o DBI..............................ok (v1.609)
o DBD::mysql.......................ok (v4.013)
o DBD::ODBC........................Not installed! (optional - Required to connect to a MS-SQL database.)
o DBD::Oracle......................Not installed! (optional - Required to connect to a Oracle database.)
o DBD::Pg..........................ok (v2.15.1)
o Encode::HanExtra.................Not installed! (optional - Required to handle mails with several Chinese character sets.)
o GD...............................ok (v2.44)
o GD::Text.......................ok (v0.86)
o GD::Graph......................ok (v1.44)
o IO::Socket::SSL..................ok (v1.31)
o JSON::XS.........................ok (v2.27)
o List::Util::XS...................ok (v1.21)
o LWP::UserAgent...................ok (v6.05)
o Mail::IMAPClient.................Not installed! (optional - Required for IMAP TLS connections.)
o IO::Socket::SSL................ok (v1.31)
o ModPerl::Util....................ok (v2.000004)
o Net::DNS.........................ok (v0.65)
o Net::LDAP........................ok (v0.40)
o Net::SSL.........................ok (v2.84)
o PDF::API2........................Not installed! (optional - Required for PDF output.)
o Compress::Zlib.................ok (v2.021)
o Text::CSV_XS.....................ok (v0.85)
o Time::HiRes......................ok (v1.9721)
o XML::Parser......................ok (v2.36)
o YAML::XS.........................ok (v0.38)
========================================================================
Please assist...
1) From the Config.pm file setting I am able to connect to the mysql DB
2) The database names and username/password are correct in the Config.pm file.
3) SE Linux is disabled.
4) Below is the output of ./otrs.CheckModule.pl
=========================================================================================
[root@centos bin]# ./otrs.CheckModules.pl
o Crypt::Eksblowfish::Bcrypt.......Not installed! (optional - For strong password hashing.)
o Crypt::SSLeay....................ok (v0.57)
o Date::Format.....................ok (v2.22)
o DBI..............................ok (v1.609)
o DBD::mysql.......................ok (v4.013)
o DBD::ODBC........................Not installed! (optional - Required to connect to a MS-SQL database.)
o DBD::Oracle......................Not installed! (optional - Required to connect to a Oracle database.)
o DBD::Pg..........................ok (v2.15.1)
o Encode::HanExtra.................Not installed! (optional - Required to handle mails with several Chinese character sets.)
o GD...............................ok (v2.44)
o GD::Text.......................ok (v0.86)
o GD::Graph......................ok (v1.44)
o IO::Socket::SSL..................ok (v1.31)
o JSON::XS.........................ok (v2.27)
o List::Util::XS...................ok (v1.21)
o LWP::UserAgent...................ok (v6.05)
o Mail::IMAPClient.................Not installed! (optional - Required for IMAP TLS connections.)
o IO::Socket::SSL................ok (v1.31)
o ModPerl::Util....................ok (v2.000004)
o Net::DNS.........................ok (v0.65)
o Net::LDAP........................ok (v0.40)
o Net::SSL.........................ok (v2.84)
o PDF::API2........................Not installed! (optional - Required for PDF output.)
o Compress::Zlib.................ok (v2.021)
o Text::CSV_XS.....................ok (v0.85)
o Time::HiRes......................ok (v1.9721)
o XML::Parser......................ok (v2.36)
o YAML::XS.........................ok (v0.38)
========================================================================
Please assist...
-
- Znuny guru
- Posts: 5018
- Joined: 13 Mar 2011, 09:54
- Znuny Version: 6.0.x
- Real Name: Renée Bäcker
- Company: Perl-Services.de
- Contact:
Re: Internal Server Error
How did you check this? Did you run the "mysql" command on the server where OTRS is installed? Did you run the otrs.CheckDB.pl script?Mahesh wrote:1) From the Config.pm file setting I am able to connect to the mysql DB
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
-
- Znuny newbie
- Posts: 46
- Joined: 13 Jan 2014, 09:42
- Znuny Version: 3.1.00
- Real Name: Mahesh
- Company: vc
Re: Internal Server Error
Hi,
I have checked it with both the methods and able to connect successfully.
Thanks
Mahesh
I have checked it with both the methods and able to connect successfully.
Thanks
Mahesh
-
- Znuny newbie
- Posts: 46
- Joined: 13 Jan 2014, 09:42
- Znuny Version: 3.1.00
- Real Name: Mahesh
- Company: vc
Re: Internal Server Error
Hi
I added these 2 lines in my Config.pm and things started working ...
$Self->{SessionModule} = 'Kernel::System::AuthSession::FS';
#$Self->{SessionModule} = 'Kernel::System::AuthSession::DB';
I do not know how ....
I added these 2 lines in my Config.pm and things started working ...
$Self->{SessionModule} = 'Kernel::System::AuthSession::FS';
#$Self->{SessionModule} = 'Kernel::System::AuthSession::DB';
I do not know how ....
-
- Znuny newbie
- Posts: 46
- Joined: 13 Jan 2014, 09:42
- Znuny Version: 3.1.00
- Real Name: Mahesh
- Company: vc
Re: Internal Server Error
Now when I click on the "Dashboard" tab the same error occurs ... "INternal Server error"
-
- Znuny guru
- Posts: 5018
- Joined: 13 Mar 2011, 09:54
- Znuny Version: 6.0.x
- Real Name: Renée Bäcker
- Company: Perl-Services.de
- Contact:
Re: Internal Server Error
Again: What do the logs say? Usually an Internal Server Error triggers a message in the Apache error.log.
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Internal Server Error
If this is an existing database, it's possible tables have crashed.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
-
- Znuny newbie
- Posts: 46
- Joined: 13 Jan 2014, 09:42
- Znuny Version: 3.1.00
- Real Name: Mahesh
- Company: vc
Re: Internal Server Error
I have somehow resolved the "Internal Error" issue.
Observed a strange thing now ..... All TABS are working fine now ..... But .
When I click on "Dashboard" TAB i still get the "Internal Server Error"
Help is needed.
Thanks
Mahesh
Observed a strange thing now ..... All TABS are working fine now ..... But .
When I click on "Dashboard" TAB i still get the "Internal Server Error"
Help is needed.
Thanks
Mahesh
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Internal Server Error
Since the apache error logs are invisible to us, we have to assume the program is working as expected. If you post again without showing logs, which you've been requested no less than four times, you won't get any response.
Logs are needed.
Logs are needed.
Logs are needed.
Logs are needed.
Logs are needed.
Logs are needed.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
-
- Znuny newbie
- Posts: 46
- Joined: 13 Jan 2014, 09:42
- Znuny Version: 3.1.00
- Real Name: Mahesh
- Company: vc
Re: Internal Server Error
Hi,
Below is the log
[Thu May 15 06:31:22 2014] [error] Got no DBObject! at /opt/otrs//Kernel/Output/HTML/DashboardProductNotify.pm line 30.\n
Many THanks
Mahesh
Below is the log
[Thu May 15 06:31:22 2014] [error] Got no DBObject! at /opt/otrs//Kernel/Output/HTML/DashboardProductNotify.pm line 30.\n
Many THanks
Mahesh
-
- Znuny newbie
- Posts: 46
- Joined: 13 Jan 2014, 09:42
- Znuny Version: 3.1.00
- Real Name: Mahesh
- Company: vc
Re: Internal Server Error
Hi,
Any update on this ??
THanks
Mahesh
Any update on this ??
THanks
Mahesh
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Internal Server Error
If you don't see one...Mahesh wrote:Any update on this ??
And if this is the only error, you might considering disabling/unchecking DashboardProductNotify.pm in SysConfig
Edit Config Settings in Framework -> Frontend::Agent::Dashboard
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
-
- Znuny newbie
- Posts: 46
- Joined: 13 Jan 2014, 09:42
- Znuny Version: 3.1.00
- Real Name: Mahesh
- Company: vc
Re: Internal Server Error
Hi,
Did the mentioned settings but still receiving the same error. Do i need to delet cache .. or something else ????
Thanks Mahesh
Did the mentioned settings but still receiving the same error. Do i need to delet cache .. or something else ????
Thanks Mahesh
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Internal Server Error
I doubt that the logs say the same thing.Mahesh wrote:Did the mentioned settings but still receiving the same error
Did it ever work for you? What changed? Are you making customizations?
Did you disable selinux?
How did you install?
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask