Problem with accessing the webpage

Hi, i am having trouble with accessing the webpage:

This is the error that I get in the rt-error.log:
Connect Failed Can’t connect to local MySQL server through socket
’/var/lib/mysql/mysql.sock’ (2)\n at /opt/rt3/lib/RT.pm line 168\n

When I look at the RT_SiteConfig.pm, below is displayed the lines: 166 - 172
166 # and comment mail tracked by RT, unless overridden by a queue-specific
167 # address.
168
169 Set($CorrespondAddress , ‘RT_CorrespondAddressNotSet’);
170
171 Set($CommentAddress , ‘RT_CommentAddressNotSet’);
172

This is what is written to the rt-access.log
10.1.10.15 - - [01/Feb/2005:10:18:33 +0000] "GET /favicon.ico HTTP/1.1"
500 610
10.1.10.15 - - [01/Feb/2005:10:18:33 +0000] “GET / HTTP/1.1” 500 610

I am missing something small here, and I cannot seem to see it, so any
help would be appreciated.

Many thanks
Ravin

Ravin,

Your MySQL server is started?
For example:
$ ps ax | fgrep mysqld
204 ?? S 13:38.79 /usr/local/libexec/mysqld --basedir=/usr/local
–datadir=/var/db/mysql --user=mysql --pid-file=/var/db/mysql/mysqld.pid
170 con- IW 0:00.00 /bin/sh /usr/local/bin/mysqld_safe --user=mysql
–datadir=/var/db/mysql --pid-file=/var/db/mysql/mysqld.pid

Your MySQL socket exists?
For example:
$ ls -l /var/lib/mysql/mysql.sock
srwxrwxrwx 1 mysql mysql 0 Jan 27 11:14 /var/lib/mysql/mysql.sock

Look records in MySQL log.

Yours faithfully, Victoria

Found the error, if you are installing this on Fedora Core 3, FC3 comes
with a package called SELinux. It is a package that locks down the OS and
generates the following errors in the rt-error.log:

onnect Failed Can’t connect to local MySQL server through socket

‘/var/lib/mysql/mysql.sock’ (2)\n at /opt/rt3/lib/RT.pm line 168\n

If you disable SELinux, this will solve the problem…you can disable
SELinux by editing the /etc/sysconfig/SELinux file. It is
self-explanatory.

Good luck…as the irish say :slight_smile:

Best Regards,
Ravin