openca-backup Upgrade issues from 0.92 -> 1.x

View: New views
5 Messages — Rating Filter:   Alert me  

openca-backup Upgrade issues from 0.92 -> 1.x

by Yildirim Zaynal :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

For upgrading from 0.92 according to the wiki I need to run the openca-backup tool.
Running openca-backup I receive this error:

ids:/home/openca/bin$ ./openca-backup
Global symbol "@language" requires explicit package name at ./openca-backup line 18.
BEGIN not safe after errors--compilation aborted at ./openca-backup line 23.

---
root@ids:/home/openca/bin# locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=en_US.UTF-8


-----

So i changed line 18 in the openca-backup :
original: my $loc = "@LANGUAGE@";
now: my $loc = "en_US.UTF-8";

Running the openca-backup:


root@ids:/home/openca/bin# ./openca-backup
Constant subroutine main::LC_ALL redefined at /opt/OpenCA-0.9.2.5/lib/functions/crypto-utils.lib line 21
        main::BEGIN() called at /opt/OpenCA-0.9.2.5/lib/functions/crypto-utils.lib line 21
        eval {...} called at /opt/OpenCA-0.9.2.5/lib/functions/crypto-utils.lib line 21
        require /opt/OpenCA-0.9.2.5/lib/functions/crypto-utils.lib called at ./openca-backup line 56
Prototype mismatch: sub main::LC_ALL () vs none at /opt/OpenCA-0.9.2.5/lib/functions/crypto-utils.lib line 21
        main::BEGIN() called at /opt/OpenCA-0.9.2.5/lib/functions/crypto-utils.lib line 21
        eval {...} called at /opt/OpenCA-0.9.2.5/lib/functions/crypto-utils.lib line 21
        require /opt/OpenCA-0.9.2.5/lib/functions/crypto-utils.lib called at ./openca-backup line 56
Constant subroutine main::LC_COLLATE redefined at /opt/OpenCA-0.9.2.5/lib/functions/crypto-utils.lib line 21
        main::BEGIN() called at /opt/OpenCA-0.9.2.5/lib/functions/crypto-utils.lib line 21
        eval {...} called at /opt/OpenCA-0.9.2.5/lib/functions/crypto-utils.lib line 21
        require /opt/OpenCA-0.9.2.5/lib/functions/crypto-utils.lib called at ./openca-backup line 56
Prototype mismatch: sub main::LC_COLLATE () vs none at /opt/OpenCA-0.9.2.5/lib/functions/crypto-utils.lib line 21
        main::BEGIN() called at /opt/OpenCA-0.9.2.5/lib/functions/crypto-utils.lib line 21
        eval {...} called at /opt/OpenCA-0.9.2.5/lib/functions/crypto-utils.lib line 21
        require /opt/OpenCA-0.9.2.5/lib/functions/crypto-utils.lib called at ./openca-backup line 56
Constant subroutine main::LC_NUMERIC redefined at /opt/OpenCA-0.9.2.5/lib/functions/crypto-utils.lib line 21
        main::BEGIN() called at /opt/OpenCA-0.9.2.5/lib/functions/crypto-utils.lib line 21
        eval {...} called at /opt/OpenCA-0.9.2.5/lib/functions/crypto-utils.lib line 21
        require /opt/OpenCA-0.9.2.5/lib/functions/crypto-utils.lib called at ./openca-backup line 56
Prototype mismatch: sub main::LC_NUMERIC () vs none at /opt/OpenCA-0.9.2.5/lib/functions/crypto-utils.lib line 21
        main::BEGIN() called at /opt/OpenCA-0.9.2.5/lib/functions/crypto-utils.lib line 21
        eval {...} called at /opt/OpenCA-0.9.2.5/lib/functions/crypto-utils.lib line 21
        require /opt/OpenCA-0.9.2.5/lib/functions/crypto-utils.lib called at ./openca-backup line 56
Constant subroutine main::LC_TIME redefined at /opt/OpenCA-0.9.2.5/lib/functions/crypto-utils.lib line 21
        main::BEGIN() called at /opt/OpenCA-0.9.2.5/lib/functions/crypto-utils.lib line 21
        eval {...} called at /opt/OpenCA-0.9.2.5/lib/functions/crypto-utils.lib line 21
        require /opt/OpenCA-0.9.2.5/lib/functions/crypto-utils.lib called at ./openca-backup line 56
Prototype mismatch: sub main::LC_TIME () vs none at /opt/OpenCA-0.9.2.5/lib/functions/crypto-utils.lib line 21
        main::BEGIN() called at /opt/OpenCA-0.9.2.5/lib/functions/crypto-utils.lib line 21
        eval {...} called at /opt/OpenCA-0.9.2.5/lib/functions/crypto-utils.lib line 21
        require /opt/OpenCA-0.9.2.5/lib/functions/crypto-utils.lib called at ./openca-backup line 56
Constant subroutine main::LC_MESSAGES redefined at /opt/OpenCA-0.9.2.5/lib/functions/crypto-utils.lib line 21
        main::BEGIN() called at /opt/OpenCA-0.9.2.5/lib/functions/crypto-utils.lib line 21
        eval {...} called at /opt/OpenCA-0.9.2.5/lib/functions/crypto-utils.lib line 21
        require /opt/OpenCA-0.9.2.5/lib/functions/crypto-utils.lib called at ./openca-backup line 56
Prototype mismatch: sub main::LC_MESSAGES () vs none at /opt/OpenCA-0.9.2.5/lib/functions/crypto-utils.lib line 21
        main::BEGIN() called at /opt/OpenCA-0.9.2.5/lib/functions/crypto-utils.lib line 21
        eval {...} called at /opt/OpenCA-0.9.2.5/lib/functions/crypto-utils.lib line 21
        require /opt/OpenCA-0.9.2.5/lib/functions/crypto-utils.lib called at ./openca-backup line 56
Constant subroutine main::LC_CTYPE redefined at /opt/OpenCA-0.9.2.5/lib/functions/crypto-utils.lib line 21
        main::BEGIN() called at /opt/OpenCA-0.9.2.5/lib/functions/crypto-utils.lib line 21
        eval {...} called at /opt/OpenCA-0.9.2.5/lib/functions/crypto-utils.lib line 21
        require /opt/OpenCA-0.9.2.5/lib/functions/crypto-utils.lib called at ./openca-backup line 56
Prototype mismatch: sub main::LC_CTYPE () vs none at /opt/OpenCA-0.9.2.5/lib/functions/crypto-utils.lib line 21
        main::BEGIN() called at /opt/OpenCA-0.9.2.5/lib/functions/crypto-utils.lib line 21
        eval {...} called at /opt/OpenCA-0.9.2.5/lib/functions/crypto-utils.lib line 21
        require /opt/OpenCA-0.9.2.5/lib/functions/crypto-utils.lib called at ./openca-backup line 56
Constant subroutine main::LC_MONETARY redefined at /opt/OpenCA-0.9.2.5/lib/functions/crypto-utils.lib line 21
        main::BEGIN() called at /opt/OpenCA-0.9.2.5/lib/functions/crypto-utils.lib line 21
        eval {...} called at /opt/OpenCA-0.9.2.5/lib/functions/crypto-utils.lib line 21
        require /opt/OpenCA-0.9.2.5/lib/functions/crypto-utils.lib called at ./openca-backup line 56
Prototype mismatch: sub main::LC_MONETARY () vs none at /opt/OpenCA-0.9.2.5/lib/functions/crypto-utils.lib line 21
        main::BEGIN() called at /opt/OpenCA-0.9.2.5/lib/functions/crypto-utils.lib line 21
        eval {...} called at /opt/OpenCA-0.9.2.5/lib/functions/crypto-utils.lib line 21
        require /opt/OpenCA-0.9.2.5/lib/functions/crypto-utils.lib called at ./openca-backup line 56
Can't call method "get_xpath" on an undefined value at /opt/OpenCA-0.9.2.5/src/modules/perl5/OpenCA/Crypto.pm line 52


Can anybody help? i would like to do the upgrade..

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Openca-Users mailing list
Openca-Users@...
https://lists.sourceforge.net/lists/listinfo/openca-users

Re: openca-backup Upgrade issues from 0.92 -> 1.x

by blainedw :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


I would  recommend a clean install.


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Openca-Users mailing list
Openca-Users@...
https://lists.sourceforge.net/lists/listinfo/openca-users

Re: openca-backup Upgrade issues from 0.92 -> 1.x

by Yildirim Zaynal :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I would also do that if possible. But its a production machine, and need to keep the old database and continue on that.

2009/10/29 <blainedw@...>

I would  recommend a clean install.


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Openca-Users mailing list
Openca-Users@...
https://lists.sourceforge.net/lists/listinfo/openca-users



------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Openca-Users mailing list
Openca-Users@...
https://lists.sourceforge.net/lists/listinfo/openca-users

Re: openca-backup Upgrade issues from 0.92 -> 1.x

by Ralf Hornik Mailings :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Have you tried to make the backup using the node interface?

Yildirim Zaynal <asil.jinn@...> wrote:

> I would also do that if possible. But its a production machine, and need to
> keep the old database and continue on that.
>
> 2009/10/29 <blainedw@...>
>
>>
>> I would  recommend a clean install.
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
>> is the only developer event you need to attend this year. Jumpstart your
>> developing skills, take BlackBerry mobile applications to market and stay
>> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
>> http://p.sf.net/sfu/devconference
>> _______________________________________________
>> Openca-Users mailing list
>> Openca-Users@...
>> https://lists.sourceforge.net/lists/listinfo/openca-users
>>
>>
>



--
alles bleibt anders...



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Openca-Users mailing list
Openca-Users@...
https://lists.sourceforge.net/lists/listinfo/openca-users

Re: openca-backup Upgrade issues from 0.92 -> 1.x

by Massimiliano Pala-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

you should use the ``backup'' tool from the NODE interface. That's the
only one that works.. the old scripts are not updated (and should be
either removed from the distro or upgraded to support the current DBs...).

Later,
Max


On 10/29/2009 11:53 AM, Yildirim Zaynal wrote:
> For upgrading from 0.92 according to the wiki I need to run the
> openca-backup tool.
> Running openca-backup I receive this error:
[...]

--

Best Regards,

        Massimiliano Pala

--o------------------------------------------------------------------------
Massimiliano Pala [OpenCA Project Manager]                   openca@...
                                                  project.manager@...

Dartmouth Computer Science Dept               Home Phone: +1 (603) 369-9332
PKI/Trust Laboratory                          Work Phone: +1 (603) 646-8734
--o------------------------------------------------------------------------
People who think they know everything are a great annoyance to those of us
who do.
                                                           -- Isaac Asimov



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Openca-Users mailing list
Openca-Users@...
https://lists.sourceforge.net/lists/listinfo/openca-users

smime.p7s (4K) Download Attachment