hrsristo
1 Copper

dpnctl status gsan down

Jump to solution

Hello

I have AVE4. My grace period expired and I want to add license key but gsan is down. It can not be restarted.

When I try to start gsan, then it wants to do a rollback to some validated checkpoint but it still wont start.

Any suggestions?

Risto

Tags (3)
Reply
1 Solution

Accepted Solutions
Highlighted
clevya
3 Argentium

Re: dpnctl status gsan down

Jump to solution

Hi,

You can rename the license file to license.xml and place it into /usr/local/avamar/etc/license.xml

Set the correct permissions:

chown admin:admin /usr/local/avamar/etc/license.xml

chmod 644 /usr/local/avamar/etc/license.xml

The license file should now look like this:

-rw-r--r--  1 admin admin 362 Jul 15  2009 license.xml

You will HAVE to rollback at this point, if you run "dpnctl start", it should give you the option to rollback, simply choose option 1 - rollback to the latest checkpoint.

Regards,

Adam

View solution in original post

Reply
4 Replies
Highlighted
clevya
3 Argentium

Re: dpnctl status gsan down

Jump to solution

Hi,

You can rename the license file to license.xml and place it into /usr/local/avamar/etc/license.xml

Set the correct permissions:

chown admin:admin /usr/local/avamar/etc/license.xml

chmod 644 /usr/local/avamar/etc/license.xml

The license file should now look like this:

-rw-r--r--  1 admin admin 362 Jul 15  2009 license.xml

You will HAVE to rollback at this point, if you run "dpnctl start", it should give you the option to rollback, simply choose option 1 - rollback to the latest checkpoint.

Regards,

Adam

View solution in original post

Reply
Highlighted
hrsristo
1 Copper

Re: dpnctl status gsan down

Jump to solution

Thanks

The license semms to be installed now after using your hints.

But now it does not want to sart mcs

dpnctl log is:

2010/03/11-10:03:04 Identity added: /home/admin/.ssh/dpnid (/home/admin/.ssh/dpnid)

2010/03/11-10:03:04 [ pid = 6988 ]

2010/03/11-10:03:04 /usr/bin/ssh-add -l

2010/03/11-10:03:04 1024 1b:af:88:95:7a:d8:a9:16:fb:cb:9e:0e:49:32:a3:cd /home/admin/.ssh/dpnid (DSA)

2010/03/11-10:03:04 MCS status - - - - - - - - - - BEGIN

2010/03/11-10:03:04 [ -r /etc/profile ] && . /etc/profile ; /usr/local/avamar/bin/mcserver.sh --help | /bin/egrep -q -- --ping

2010/03/11-10:03:05 [ "[ -r /etc/profile ] && . /etc/profile ; /usr/local/avamar/bin/mcserver.sh --help | /bin/egrep -q -- --ping" exit status = 0 ]

2010/03/11-10:03:05 /usr/local/avamar/bin/mcserver.sh is ping-capable

2010/03/11-10:03:05 ([ -r /etc/profile ] && . /etc/profile ; /usr/local/avamar/bin/mcserver.sh --ping ; echo $? >/tmp/dpnctl-get-mcs-status-status-6988) >/tmp/dpnctl-get-mcs-status-output-6988 2>&1
2010/03/11-10:03:07 /bin/cat /tmp/dpnctl-get-mcs-status-output-6988

2010/03/11-10:03:07 [ "/bin/cat /tmp/dpnctl-get-mcs-status-output-6988" exit status = 0 ]

2010/03/11-10:03:07 /bin/cat /tmp/dpnctl-get-mcs-status-status-6988 2>&1

2010/03/11-10:03:07 [ "/bin/cat /tmp/dpnctl-get-mcs-status-status-6988 2>&1" exit status = 0 ]

2010/03/11-10:03:07 output of "[ -r /etc/profile ] && . /etc/profile ; /usr/local/avamar/bin/mcserver.sh --ping":

2010/03/11-10:03:07 - - - - - - - - - - - - - - - BEGIN

2010/03/11-10:03:07 ERROR: Administrator Server ping failed.

2010/03/11-10:03:07 - - - - - - - - - - - - - - - END

2010/03/11-10:03:07 error return from "[ -r /etc/profile ] && . /etc/profile ; /usr/local/avamar/bin/mcserver.sh --ping" - exit status 1

2010/03/11-10:03:07 1 error seen in output of "[ -r /etc/profile ] && . /etc/profile ; /usr/local/avamar/bin/mcserver.sh --ping"

2010/03/11-10:03:07 rm -f /tmp/dpnctl-get-mcs-status-status-6988 /tmp/dpnctl-get-mcs-status-output-6988

2010/03/11-10:03:07 MCS status - - - - - - - - - - END

2010/03/11-10:03:07 dpnctl: INFO: MCS status: down.

2010/03/11-10:03:07 dpnctl: INFO: [see log file "/usr/local/avamar/var/log/dpnctl.log"]

2010/03/11-10:03:07 ======= dpnctl 4.1.2-33 (1.98), running as admin, RETURNING at 2010-03-11 10:03:07 UTC =======

2010/03/11-10:03:07 [user "admin"] program (pid 6988) exit status = 1 (error)

Reply
Highlighted
clevya
3 Argentium

Re: dpnctl status gsan down

Jump to solution

I take it you ran "dpnctl start gsan"? Then rolled back when asked?

*Only if you did run the exact command above* then to start up the MCS you will need to do "dpnctl stat mcs --force_mcs_restore"

If you did not run "dpnctl start gsan", then I would open an SR with support for further help.

Regards,

Adam

Reply
Highlighted
hrsristo
1 Copper

Re: dpnctl status gsan down

Jump to solution

Thanks

Everything is now up and running.

Regards

Risto

Reply