Trouble with make install

Recently downloaded and attempting to install Request Tracker. Took awhile to get all of the depends installed, but finally got there…

We get the following when attempting to run the make install:

samsabsd01# make install
mkdir -p file://usr/local/rt/bin
mkdir -p file://usr/local/rt/WebRT/data
mkdir -p file://usr/local/rt/WebRT/sessiondata
mkdir -p file://usr/local/rt/etc
mkdir -p file://usr/local/rt/lib
mkdir -p file://usr/local/rt/WebRT/html
mkdir -p file://usr/local/rt/local/WebRT/html
/usr/bin/perl tools/initdb ‘mysql’ ‘/usr/local/bin/mysql’ ‘localhost’ ‘’ ‘sams
a’ ‘rt’ create
Now creating a database for RT.
Enter the mysql password for samsa:
Creating mysql database rt.
DBD::mysql::db do failed: Can’t create database ‘rt’. (errno: 13) at /usr/local/
lib/perl5/site_perl/5.005/DBIx/DataSource/Driver.pm line 77, chunk 1.
Can’t create database ‘rt’. (errno: 13) at /usr/local/lib/perl5/site_perl/5.005/
DBIx/DataSource/Driver.pm line 77, chunk 1.
*** Error code 35

Stop in /home/mstackhouse/rt/rt-2-0-11.

Any thoughts as to what the problem might be? I suppose one of the dependant modules didn’t install correctly, but don’t know what to do from here.

We’re relative newbies to Unix - been running our Freebsd 4.2 machine for about 8 months or so.

Thanks for any assistance that anybody might have…

Mike Stackhouse
SAMSA, Inc.
Saginaw, Michigan - USA

/usr/bin/perl tools/initdb ‘mysql’ ‘/usr/local/bin/mysql’ ‘localhost’ ‘’ ‘sams
a’ ‘rt’ create
Now creating a database for RT.
Enter the mysql password for samsa:
Creating mysql database rt.
DBD::mysql::db do failed: Can’t create database ‘rt’. (errno: 13) at /usr/local/

At a rough guess, you’ve defined ‘samsa’ as the DB_DBA in the Makefile,
and the ‘samsa’ MySQL user simply does not have permission to create
databases in MySQL as per the “Can’t create database” error.

The comment on DB_DBA in the Makefile is relevant:

# Set DB_DBA to the name of a DB user with permission to create new databases
# Set DB_DBA_PASSWORD to that user's password (if you don't, you'll be prompted
# later)

We’re relative newbies to Unix - been running our Freebsd 4.2 machine
for about 8 months or so.

As a side note, you might want to look at www.freebsd.org and see what
security issues have been raised with that release.

Regards,

                         Bruce Campbell                            RIPE
                                RIPE 41                             NCC
                   Jan 14-18, Amsterdam                      Operations

Thank you very much - my problem was indeed a mysql problem - got 'er going
now!

MikeFrom: Bruce Campbell bruce_campbell@ripe.net
To: Mike Stackhouse mstackhouse@samsa.com
Cc: rt-users@lists.fsck.com
Sent: Sunday, January 13, 2002 4:12 PM
Subject: Re: [rt-users] Trouble with make install

/usr/bin/perl tools/initdb ‘mysql’ ‘/usr/local/bin/mysql’ ‘localhost’
‘’ ‘sams
a’ ‘rt’ create
Now creating a database for RT.
Enter the mysql password for samsa:
Creating mysql database rt.
DBD::mysql::db do failed: Can’t create database ‘rt’. (errno: 13) at
/usr/local/

At a rough guess, you’ve defined ‘samsa’ as the DB_DBA in the Makefile,
and the ‘samsa’ MySQL user simply does not have permission to create
databases in MySQL as per the “Can’t create database” error.

The comment on DB_DBA in the Makefile is relevant:

Set DB_DBA to the name of a DB user with permission to create new

databases

Set DB_DBA_PASSWORD to that user’s password (if you don’t, you’ll be

prompted

later)

We’re relative newbies to Unix - been running our Freebsd 4.2 machine
for about 8 months or so.

As a side note, you might want to look at www.freebsd.org and see what
security issues have been raised with that release.

Regards,


Bruce Campbell
RIPE
RIPE 41
NCC
Jan 14-18, Amsterdam
Operations


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