Help me get my gallery2 back please!!
rompstar
Joined: 2008-04-17
Posts: 13 |
Posted: Sun, 2008-05-25 23:44 |
Ok, my gallery2 used to work, until my hard drive failed and I lost everything... The thing is that my OS Ubuntu 8.04 runs on the first hard drive /dev/sda1 but my home directory where I run everything runs So I got a new drive for the OS and re-installed it, then I edited my /etc/fstab file so that /home again is on /dev/sdb1 All of this runs well, I edited the config file for apache2, and it is now pointing to /home My gallery2 setup is as fallows: My root for the apache is /home/raymond/www and gallery2 is installed in: /home/raymond/www/gallery2 and the g2data is in: /home/raymond/g2data/ My database is in /var/lib/mysql/gallery2 and I copies my backup of the database file as far as I know that it is: 4 drwxr-xr-x 2 mysql mysql 4096 2008-05-25 16:00 gallery2 anyways, I am not sure about the permissions or owners or groups on that file, because when I try to browse my gallery via the http://myhost.net/gallery2/main.php An error has occurred while interacting with the database. So I am not sure what I need to do, and like I said, since only my main disk went bad and not the second hard drive where I have Please someone let me know what I should do. Thanks a lot!!!! ahead of time. RompStar |
|