Start a Conversation

This post is more than 5 years old

Solved!

Go to Solution

16870

March 11th, 2010 01:00

dpnctl status gsan down

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

117 Posts

March 11th, 2010 01:00

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

6 Posts

March 11th, 2010 05:00

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)

117 Posts

March 11th, 2010 06:00

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

6 Posts

March 15th, 2010 02:00

Thanks

Everything is now up and running.

Regards

Risto

No Events found!

Top