[rt-users] Internal Server Error

Ramon Kagan rkagan at yorku.ca
Mon Nov 15 17:01:57 EST 2004


Well it's definitely an inability to connect to your mysql server.

1.  First thing to check is if the user/password actually works:

	mysql -u<user> -p<password>

if you can't get in, you need to add the user to the DB.

2.  Check if and where the socket is actually activated in your mysql
config.

Those generally will help figure out the problem, but they are just from
the top of my head.

Ramon Kagan
York University, Computing and Network Services
Information Security  -  Senior Information Security Analyst
(416)736-2100 #20263
rkagan at yorku.ca

-----------------------------------   ------------------------------------
I have not failed.  I have just	       I don't know the secret to success,
found 10,000 ways that don't work.     but the secret to failure is
				       trying to please everybody.
	- Thomas Edison				- Bill Cosby
-----------------------------------   ------------------------------------

On Mon, 15 Nov 2004, Partom Rule wrote:

> this is what the error log say:
>
> DBI connect('dbname=rt3;host=localhost','rt_user',...)
> failed: Can't connect to local MySQL server through
> socket '/tmp/mysql.sock' (2) at
> /usr/local/lib/perl5/site_perl/5.8.5/DBIx/SearchBuilder/Handle.pm
> line 134
> [Mon Nov 15 00:19:51 2004] [error] Connect Failed
> Can't connect to local MySQL server through socket
> '/tmp/mysql.sock' (2)\n at /opt/rt3/lib/RT.pm line
> 166\n
> DBI connect('dbname=rt3;host=localhost','rt_user',...)
> failed: Can't connect to local MySQL server through
> socket '/tmp/mysql.sock' (2) at
> /usr/local/lib/perl5/site_perl/5.8.5/DBIx/SearchBuilder/Handle.pm
> line 134
> [Mon Nov 15 18:13:51 2004] [error] Connect Failed
> Can't connect to local MySQL server through socket
> '/tmp/mysql.sock' (2)\n at /opt/rt3/lib/RT.pm line
> 166\n
> DBI connect('dbname=rt3;host=localhost','rt_user',...)
> failed: Can't connect to local MySQL server through
> socket '/tmp/mysql.sock' (2) at
> /usr/local/lib/perl5/site_perl/5.8.5/DBIx/SearchBuilder/Handle.pm
> line 134
> [Mon Nov 15 18:22:25 2004] [error] Connect Failed
> Can't connect to local MySQL server through socket
> '/tmp/mysql.sock' (2)\n at /opt/rt3/lib/RT.pm line
> 166\n
> DBI connect('dbname=rt3;host=localhost','rt_user',...)
> failed: Can't connect to local MySQL server through
> socket '/tmp/mysql.sock' (2) at
> /usr/local/lib/perl5/site_perl/5.8.5/DBIx/SearchBuilder/Handle.pm
> line 134
> [Mon Nov 15 20:10:47 2004] [error] Connect Failed
> Can't connect to local MySQL server through socket
> '/tmp/mysql.sock' (2)\n at /opt/rt3/lib/RT.pm line
> 166\n
>
>
> < < < < < < < < < < < < < < < < < < < < < < < < <
> --- Jan Algermissen <jalgermissen at topicmapping.com>
> wrote:
>
> > Partom Rule wrote:
> >
> > > I am trying to load RT at http://localhost and i
> > get
> > > an error.
> > > It happend after i added mod_perl to httpd.conf
> > >
> > > <VirtualHost your.ip.address>
> > >     ServerName your.rt.server.hostname
> > >     DocumentRoot /opt/rt3/share/html
> > >     AddDefaultCharset UTF-8
> > >     PerlModule Apache::DBI
> > >     PerlRequire /opt/rt3/bin/webmux.pl
> > >     <Location />
> > >         SetHandler perl-script
> > >         PerlHandler RT::Mason
> > >     </Location>
> > > </VirtualHost>
> >
> > You maybe should finish the configuration? (see
> > 'your' above)
> >
> > > I get this error:
> > >
> > > Internal Server Error
> > >  The server encountered an internal error or
> > > misconfiguration and was unable to complete your
> > > request.
> > >  Please contact the server administrator,
> > > you at your.address 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 then....what does the error log say?
> >
> >
> > Jan
> >
> >
> >
> > > Apache/1.3.33 Server at saruman.isengard.no-ip.org
> > > Port 80
> > >
> > > I am stumpped. Can some one help?
> > >
> > >
> > > __________________________________
> > > Do you Yahoo!?
> > > Check out the new Yahoo! Front Page.
> > > www.yahoo.com
> > >
> > >
> > > _______________________________________________
> > >
> >
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
> > >
> > > Be sure to check out the RT wiki at
> > http://wiki.bestpractical.com
> >
> > --
> > Jan Algermissen
> > Consultant & Programmer
> > http://www.jalgermissen.com
> >
>
>
>
>
> __________________________________
> Do you Yahoo!?
> The all-new My Yahoo! - Get yours free!
> http://my.yahoo.com
>
>
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> Be sure to check out the RT wiki at http://wiki.bestpractical.com
>
>



More information about the rt-users mailing list