Restore.pl

Moderator: crythias

Locked
algeus
Znuny newbie
Posts: 6
Joined: 07 Dec 2010, 10:23
Znuny Version: 2.4

Restore.pl

Post by algeus »

Dear all!

I'm trying to restore the OTRS(latest v3),but when running the restore.pl script getting the below errors:

@Frodo:/opt/otrs/backup/2011-03-17_19-45# /opt/otrs/scripts/restore.pl -b /opt/otrs/backup/2011-03-17_19-45/ -d /opt/otrs/
DBI connect('database=otrs;host=localhost;','otrs',...) failed: Access denied for user 'otrs'@'localhost' (using password: YES) at /opt/otrs/Kernel/System/DB.pm line 214
ERROR: OTRS-Restore-10 Perl: 5.10.1 OS: linux Time: Tue Mar 29 11:12:06 2011

Message: Access denied for user 'otrs'@'localhost' (using password: YES)

Traceback (10309):
Module: Kernel::System::DB::new (v1.105.2.1) Line: 188
Module: /opt/otrs/scripts/restore.pl (v1.10.2.2) Line: 90


gzip: stdin: unexpected end of file
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
ERROR 1045 (28000): Access denied for user 'otrs'@'localhost' (using password: YES)
:shock:


Would be grateful for any idea on how to deal with this issue...

Brgds,

Alex
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Restore.pl

Post by crythias »

it means there is a password issue with otrs connecting to mysql. Does the otrs user exist in your mysql database? is the otrs user allowed to use that otrs database? does the otrs user in your current mysql have a password that matches the Config.pm?
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
algeus
Znuny newbie
Posts: 6
Joined: 07 Dec 2010, 10:23
Znuny Version: 2.4

Re: Restore.pl

Post by algeus »

crythias wrote:it means there is a password issue with otrs connecting to mysql. Does the otrs user exist in your mysql database? is the otrs user allowed to use that otrs database? does the otrs user in your current mysql have a password that matches the Config.pm?
Thanks a lot for a prompt reply.
Will check and post the results here...
Locked