RT question

Quick question. If you shouldn’t startup rt by running rtmux.pl in the bin
directory, then how does one start RT?
Please help. The clamoring is getting louder. I haven’t had to restart RT
since it first began running in November 1999. SO naturally I have
forgotten how.
RSVP,
thanks,
Dirk

winmail.dat (1.59 KB)

what does this mean?
./rtadmin
Mysql->connect(database=rt;host=localhost) failed: Can’t connect to local
MySQL server through socket ‘/tmp/mysql.sock’ (2) at
/usr/local/rt/lib/rt/database.pm line 24
[connectdb] Database connect failed: Can’t connect to local MySQL server
through socket ‘/tmp/mysql.sock’ (2)

winmail.dat (2.12 KB)

It look likes msqyl is not running, that is the file it creates on startup.

In a message dated: Thu, 19 Oct 2000 12:12:46 EDT
“dkillebrew” said:

what does this mean?
./rtadmin
Mysql->connect(database=rt;host=localhost) failed: Can’t connect to local
MySQL server through socket ‘/tmp/mysql.sock’ (2) at
/usr/local/rt/lib/rt/database.pm line 24
[connectdb] Database connect failed: Can’t connect to local MySQL server
through socket ‘/tmp/mysql.sock’ (2)

It sounds like your MySQL database isn’t running anylonger. Can you log into
the database manually? Look at ps and see of mysql is running.
Seeya,
Paul
I’m in shape, my shape just happens to be pear!

 If you're not having fun, you're not doing it right!

dkillebrew wrote:

what does this mean?
./rtadmin
Mysql->connect(database=rt;host=localhost) failed: Can’t connect to local
MySQL server through socket ‘/tmp/mysql.sock’ (2) at
/usr/local/rt/lib/rt/database.pm line 24
[connectdb] Database connect failed: Can’t connect to local MySQL server
through socket ‘/tmp/mysql.sock’ (2)

Something has killed the socket file Applications use to talk with
mysql - maybe some script like tmpwatch. Quick fix: Restart mysql.

Long term solution: Change the script which starts mysql. On many
distributions MySQL seems to have /tmp/mysql.sock compiled in - in a
directory where it is prone to be deleted by maintenance scripts.
But you can give mysql a different socket file by starting it with
the option --socket. Take a look at ‘mysql --help’.

Ralph
Ralph Angenendt | “Military justice is to justice what military
http://www.letras.de | music is to music”
ra@letras.de | – Groucho Marx

On Thu, Oct 19, 2000 at 11:34:14AM -0400, dkillebrew emailed:

Quick question. If you shouldn’t startup rt by running rtmux.pl in the bin
directory, then how does one start RT?

to keep RT running MySQL and a web server have to be running.
your second post just looks like you haven’t started up
MySQL yet.

–clark

dkillebrew wrote:

Quick question. If you shouldn’t startup rt by running rtmux.pl in the bin
directory, then how does one start RT?
Please help. The clamoring is getting louder. I haven’t had to restart RT
since it first began running in November 1999. SO naturally I have
forgotten how.

Errm - either you use the web interface to start webrt.cgi or you
use the programs rt or rtadmin in /path/to/rt/bin/. But I think you
should fix your database problem, RT will run like a charm again
after that :slight_smile:

Ralph
Ralph Angenendt | “Military justice is to justice what military
http://www.letras.de | music is to music”
ra@letras.de | – Groucho Marx

From: “dkillebrew” dkillebrew@giftmail.com
Date: Thu, 19 Oct 2000 11:34:14 -0400

Quick question. If you shouldn’t startup rt by running rtmux.pl in the bin
directory, then how does one start RT?

What do you mean by “start RT”? Besides the mysql daemon running the
database in the background, and the web server serving the web client on
the front end, there isn’t anything you need to “start”.

Virginia J. Beauregard virginia@texterity.com
UNIX Systems and Network Administrator Texterity, Inc.