[rt-users] Can't call method "ping"

amelton at gservices-us.com amelton at gservices-us.com
Thu Aug 21 14:16:16 EDT 2003


Hi, this morning, I started getting this message in /var/log/messages:

[Thu Aug 21 08:36:08 2003] [error] Can't call method "ping" on an
undefined value at /opt/rt3/lib/RT.pm line 122.

This seems to coincide with sporadic 'Internal Server Error 500' messages
in the Web GUI.

The specific portion of the file is:

sub Init {
    require RT::Handle;
    #Get a database connection
        unless ($Handle && $Handle->dbh->ping) {
    $Handle = RT::Handle->new();
        }
    $Handle->Connect();

mysqld is running and seems to be ok.  I can add, comment, and resolve
tickets, but periodically, I get the Error 500 message.

Any idea what the cause of this is?

Thanks.





More information about the rt-users mailing list