vito
08-11-2002, 06:58 PM
I moved a site to a new server that had PerlDesk installed. On the new server, I did not do a fresh install. This is what I did:
1. On the new server I created a new database.
2. I downloaded all the files from the PerlDesk directory of the old server
3. I made the necessary db and username changes to conf.pl and email.pl
4. I did a dbdump off the db on my old server and loaded it into my new db
5. I uploaded all the files to the PerlDesk directory on the new server
When I try to point to pdesk.cgi on the new server, I get this:
PerlDesk: Script Error
Perldesk was unable to launch due to the following errors:
install_driver(mysql) failed: Can't locate DBD/mysql.pm in @INC (@INC contains: /usr/lib/perl5/5.6.1/i686-linux /usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1/i686-linux /usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl .) at (eval 1) line 3. Perhaps the DBD::mysql perl module hasn't been fully installed, or perhaps the capitalisation of 'mysql' isn't right. Available drivers: ExampleP, Multiplex, Proxy. at pdesk.cgi line 38
So I went into SSH and entered locate mysql.pm . It gave me this:
warning: locate: could not open database: /var/lib/slocate/slocate.db: permission denied
warning: you need to run the 'updatedb' command (as root) to create the database
Huh? I thought I already created the database in cpanel.
So in SSH, I entered updatedb. It gave me:
fatal error: updatedb: you are not authorized to create a default slocate database!
I even tried uploading the install.cgi file to the new server. When I tried to run it, I got a 500 Internal Server Error.
What am I missing? I'd rather not delete everything and have to re-install the whole thing.
Any help would be appreciated.
Vito
1. On the new server I created a new database.
2. I downloaded all the files from the PerlDesk directory of the old server
3. I made the necessary db and username changes to conf.pl and email.pl
4. I did a dbdump off the db on my old server and loaded it into my new db
5. I uploaded all the files to the PerlDesk directory on the new server
When I try to point to pdesk.cgi on the new server, I get this:
PerlDesk: Script Error
Perldesk was unable to launch due to the following errors:
install_driver(mysql) failed: Can't locate DBD/mysql.pm in @INC (@INC contains: /usr/lib/perl5/5.6.1/i686-linux /usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1/i686-linux /usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl .) at (eval 1) line 3. Perhaps the DBD::mysql perl module hasn't been fully installed, or perhaps the capitalisation of 'mysql' isn't right. Available drivers: ExampleP, Multiplex, Proxy. at pdesk.cgi line 38
So I went into SSH and entered locate mysql.pm . It gave me this:
warning: locate: could not open database: /var/lib/slocate/slocate.db: permission denied
warning: you need to run the 'updatedb' command (as root) to create the database
Huh? I thought I already created the database in cpanel.
So in SSH, I entered updatedb. It gave me:
fatal error: updatedb: you are not authorized to create a default slocate database!
I even tried uploading the install.cgi file to the new server. When I tried to run it, I got a 500 Internal Server Error.
What am I missing? I'd rather not delete everything and have to re-install the whole thing.
Any help would be appreciated.
Vito
