Main Stories
Slash Boxes

Slash Open Source Project

Slashcode Log In

Log In

[ Create a new account ]

Why is my site broken?

posted by CaptTofu on 09:36 AM September 22nd, 2000   Printer-friendly   Email story

Steve Hunt writes "Hi, I am attempting to become YASS. I have RTFM and the INSTALL too. I am using: RH 6.1, apache_1.3.12, mod_perl-1.24, slash-1.0.8, MySQL-3_22_32-1 (from RPM), Could the MySQL from RPM be my problem? What I see when I do /etc/rc.d/init.d/slashd start is:

Starting slashd: ok.
[root@library /]# DBI->connect(database=slash;host=localhost) failed: Access denied for user: 'slash@localhost' (Using password: YES) at Slash.pm line 1186 Access denied for user: 'slash@localhost' (Using password: YES) at Slash.pm line 1186. why am I here? at ./slashd line 39

main::END() called at ./slashd line 0
eval {...} called at ./slashd line 0
[root@library /]#

I don't understand why the slash user can't login. I can login as slash using mysql -u slash -p. Thanks for any suggestions."

Looks to me to be a simple permissions problem in the database. Take a look at the user table and see if you have the permissions to connect as the slash user from that host (being localhost in this case).

This discussion has been archived. No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login
Loading... please wait.
  • by Anonymous Coward
    I've noticed that slashd will give the same error, (I.E. the "why am I here" one, w/o the database error)... unless the working directory for slashd is /home/slash. (or at least it starts there.) I must have done something stupid ... oh well.

    (too lazy to make an account here right now.)
    --flikx (on slashdot..) and SOS [utah.edu]

    ... site is not completely configured yet, so be kind.
  • by Anonymous Coward
    Boorish as it may be to respond to my own post, I have solved the problem I was confounded by and so I must make my confession.

    I had changed the password for the slash user as intructed in INSTALL, but I did not change it in slashdotrc.pl. Once I fixed that, my slash installation worked just fine.

    Mea culpa, mea culpa.

    Steve Hunt