January 13th, 2005

  • cm357

(no subject)

I'm running on Debian 3.0r2 (SPARC) Against MySQL 4.1.8 (built from source)
ljconfig.pl looks like this:

'master' => { # master must be named 'master'
'host' => "localhost",
'port' => 3306,
'user' => 'ljdbs',
'pass' => 'XxxxxxxX',
'role' => {
'cluster1' => 1,

# optionally, apache write its access logs to a mysql database
#logs => 1,

I can connect to the MySQL Server from the command-line with the username and password pasted from the config. Database livejournal is created, and all privileges were given to ljdbs@localhost

When I try to populate the database with:

ra:/home/lj# bin/upgrading/update-db.pl --runsql --populate

I get back:

Updating cluster: 0

cluster: status
0: ERROR: Can't connect to the database (clust#0), so I can't update it.

Can't call method "quote" on an undefined value at /home/lj/cgi-bin/ljlib.pl lin
e 5808.

If I run:

bin/upgrading/texttool.pl load

I get:

Can't connect to the database.

But I manually connect to the database without error. I also changed it to use /tmp/mysql.sock (as configured on my system) without success.

I pulled the main code from the CVS host this morning.

Any suggestions? The possible answers I found in lj_everywhere didn't let me get past this point. My next option is to rebuild the machines (again) using all Debian Packages, but I would rather not do that.

  • cm357

Why can't I find TOS Include File?

Having solved the database access problem (after a fashion anyway), I got the site up and limping by following the rest of the manual.

First of all, I didn't have a htdocs/legal directory and it's tos.bml or tos-mini.bml. That was easy enough to fix.

But when I go to create a new user, I get back:

TOS include file could not be found

In the browser...

Apache logs don't show any errors. What's the file it's looking for?

  • Current Mood
    confused confused