PDA

View Full Version : amlabel: could not load slot "1": unexpected EOF



guo
November 10th, 2010, 04:31 AM
amanda version: amanda-2.6.1p2.tar.gz
os version: AIX 5.3

i already compile to success, when i ran command "amlabel DailySet1 DailySet1-01 slot 1", i got the following error info:"amlabel: could not load slot "1": unexpected EOF";
when i ran command "amcheck DailySet1", i got the following error info:"Changer problem: unexpected EOF".

thanks a lot!

guo
November 18th, 2010, 12:51 AM
when i excute command "amcheck -s DailySet1", i got the following error info:
"Changer problem: unexpected EOF".

amcheck.20101118164551.debug's content is:

1290069951.796243: amcheck: pid 385034 ruid 205 euid 205 version 2.6.1p1: start at Thu Nov 18 16:45:51 2010
1290069951.848795: amcheck: pid 385034 ruid 205 euid 205 version 2.6.1p1: rename at Thu Nov 18 16:45:51 2010
1290069951.852404: amcheck-server: changer: >> -info
Can't load '/opt/perl588/lib/site_perl/5.8.8/auto/Amanda/Debug/libDebug.a' for module Amanda::Debug: 0509-022 Cannot load module
/opt/perl588/lib/site_perl/5.8.8/auto/Amanda/Debug/libDebug.a.
0509-103 The module has an invalid magic number. at /opt/perl588/lib/5.8.8/aix-64all/DynaLoader.pm line 230.
at /opt/perl588/lib/site_perl/5.8.8/Amanda/Debug.pm line 11
Compilation failed in require at /opt/perl588/lib/site_perl/5.8.8/Amanda/Util.pm line 80.
BEGIN failed--compilation aborted at /opt/perl588/lib/site_perl/5.8.8/Amanda/Util.pm line 80.
Compilation failed in require at /opt/perl588/lib/site_perl/5.8.8/Amanda/Changer.pm line 28.
BEGIN failed--compilation aborted at /opt/perl588/lib/site_perl/5.8.8/Amanda/Changer.pm line 28.
Compilation failed in require at /home/mysql/forsetup/amanda-2.6.1p1/libexec/amanda/chg-glue line 39.
BEGIN failed--compilation aborted at /home/mysql/forsetup/amanda-2.6.1p1/libexec/amanda/chg-glue line 39.
1290069951.908238: amcheck-server: changer: ERROR <error> unexpected EOF
1290069951.909377: amcheck: pid 385034 finish time Thu Nov 18 16:45:51 2010

martineau
November 30th, 2010, 01:14 PM
Your perl is 32 or 64 bits?
Amanda is compiled in 32 or 64 bits?

guo
December 1st, 2010, 01:39 AM
both are 64bit
i compile perl to use command "./Configure -des -Dprefix=/opt/perl588 -Dcc='gcc -maix64' "
i compile amanda to use CC="gcc -maix64"

martineau
December 1st, 2010, 01:38 PM
Check with 'ldd' on binaries and library.
I can't help more than that, you can try to ask on aix or perl maling list