Rt newbie confused


#1

Just done an install - rtadmin doesnt run (see below)

rt version 1.0.7
Perl version: 5.6.0
mysql version: 3.23.22
Linux 2.2.16-22smp
Redhat 7.0 with updates

rtadmin -queue create aqueue
gives me:
Mysql->connect(database=rt;host=localhost) failed: Can’t connect to local MySQL
server through socket ‘/var/lib/mysql/mysql.sock’ (111) at
/opt/rt/lib/rt/database.pm line 24
[connectdb] Database connect failed: Can’t connect to local MySQL server
through socket ‘/var/lib/mysql/mysql.sock’ (111)
Compilation failed in require at /opt/rt/lib/rt/database/admin.pm line 8.
Compilation failed in require at /opt/rt/bin/rtmux.pl line 40.

I can do a ‘mysql -u root -p -h localhost rt’ sucessfully, and issue sql
commands. Only sql error I can find is in /var/lib/mysql/host.err :
010227 21:34:25 mysqld started
010227 21:34:25 /usr/libexec/mysqld: Can’t create/write to file
’/var/run/mysqld.pid’ (Errcode: 13)
/usr/libexec/mysqld: ready for connections

I’m a complete martian with mysql - so I don’t know if the above is relevant.

Anybody run into something similar? Maybe my perl-sql modules don’t work
properly? Not quite sure how to check version there.

Any clues?
Thanks
Yan
PS - I did look for list archives, but failed to find them if they do exist!

Yan Fitterer
IT Manager, Royal Academy of Music
E-mail : y.fitterer@ram.ac.uk
Phone (+44) 20 7873 7365 Fax (+44) 20 7873 7364


#2

http://lists.fsck.com/search.html

This has been answered a couple of times.On Tue, Feb 27, 2001 at 08:38:43PM -0000, Yan Fitterer wrote:

Just done an install - rtadmin doesnt run (see below)

rt version 1.0.7
Perl version: 5.6.0
mysql version: 3.23.22
Linux 2.2.16-22smp
Redhat 7.0 with updates

rtadmin -queue create aqueue
gives me:
Mysql->connect(database=rt;host=localhost) failed: Can’t connect to local MySQL
server through socket ‘/var/lib/mysql/mysql.sock’ (111) at
/opt/rt/lib/rt/database.pm line 24
[connectdb] Database connect failed: Can’t connect to local MySQL server
through socket ‘/var/lib/mysql/mysql.sock’ (111)
Compilation failed in require at /opt/rt/lib/rt/database/admin.pm line 8.
Compilation failed in require at /opt/rt/bin/rtmux.pl line 40.

I can do a ‘mysql -u root -p -h localhost rt’ sucessfully, and issue sql
commands. Only sql error I can find is in /var/lib/mysql/host.err :
010227 21:34:25 mysqld started
010227 21:34:25 /usr/libexec/mysqld: Can’t create/write to file
’/var/run/mysqld.pid’ (Errcode: 13)
/usr/libexec/mysqld: ready for connections

I’m a complete martian with mysql - so I don’t know if the above is relevant.

Anybody run into something similar? Maybe my perl-sql modules don’t work
properly? Not quite sure how to check version there.

Any clues?
Thanks
Yan
PS - I did look for list archives, but failed to find them if they do exist!


Yan Fitterer
IT Manager, Royal Academy of Music
E-mail : y.fitterer@ram.ac.uk
Phone (+44) 20 7873 7365 Fax (+44) 20 7873 7364


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

jesse reed vincent – root@eruditorum.orgjesse@fsck.com
70EBAC90: 2A07 FC22 7DB4 42C1 9D71 0108 41A3 3FB3 70EB AC90

“It’s buried in the desert, got sand in it, melts Nazis. You know,
the Ark of the Covenant” – siva


#3

Apologies folks - found the problem:

drwx------ 5 mysql mysql 4096 Feb 27 21:37 /var/lib/mysql

Silly permissions if you ask me! I’m sure it’s a “good thing” for some reason
unknown to me! but for the time being, I’ve changed the perms to 755. Works a
charm.

About to start sorting out requests!
Brilliant tool
Well done Jesse!

Yan---- On 27 Feb 2001, at 20:38, Yan Fitterer wrote: ----

Just done an install - rtadmin doesnt run (see below)

rt version 1.0.7
Perl version: 5.6.0
mysql version: 3.23.22
Linux 2.2.16-22smp
Redhat 7.0 with updates

rtadmin -queue create aqueue
gives me:
Mysql->connect(database=rt;host=localhost) failed: Can’t connect to local MySQL
server through socket ‘/var/lib/mysql/mysql.sock’ (111) at
/opt/rt/lib/rt/database.pm line 24 [connectdb] Database connect failed: Can’t
connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock’ (111)
Compilation failed in require at /opt/rt/lib/rt/database/admin.pm line 8.
Compilation failed in require at /opt/rt/bin/rtmux.pl line 40.

I can do a ‘mysql -u root -p -h localhost rt’ sucessfully, and issue sql
commands. Only sql error I can find is in /var/lib/mysql/host.err :
010227 21:34:25 mysqld started
010227 21:34:25 /usr/libexec/mysqld: Can’t create/write to file
’/var/run/mysqld.pid’ (Errcode: 13)
/usr/libexec/mysqld: ready for connections

I’m a complete martian with mysql - so I don’t know if the above is relevant.

Anybody run into something similar? Maybe my perl-sql modules don’t work
properly? Not quite sure how to check version there.

Any clues?
Thanks
Yan
PS - I did look for list archives, but failed to find them if they do exist!


Yan Fitterer
IT Manager, Royal Academy of Music
E-mail : y.fitterer@ram.ac.uk
Phone (+44) 20 7873 7365 Fax (+44) 20 7873 7364


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

Yan Fitterer
IT Manager, Royal Academy of Music
E-mail : y.fitterer@ram.ac.uk
Phone (+44) 20 7873 7365 Fax (+44) 20 7873 7364