UNSOLVED

taslim_ahmed

updated

16 years ago

0

837

March 14th, 2011 23:00

avqinstall failed

Tried to install AVAMAR software SP3 on a new AVAMAR GEN3 3.3 TB Node. ssh connection dropped and lost the avqinstall status updates on the the session. Had to restart a new session and tried checked the  status of the installation but failed. While I tried to re-run avqinstall the following message appeared -

root@acpnaav01:/usr/local/avamar/src/#: avqinstall --noconnectemc
[avqinstall v5.0.0-38]
avqinstall: INFO: logging to "/usr/local/avamar/var/log/avqinstall.log"
avqinstall: INFO: checking /etc/hosts for disagreements with DNS
avqinstall: INFO: Using existing node resource database file /usr/local/avamar/var/probe.xml
avqinstall: ERROR: /etc/hosts: line 2: no DNS address record was found for host "acpnaav01.abi.local" - continuing...
avqinstall: ERROR: Avamar-related processes appear to be running.
           You might need to apply "dpnctl stop" and/or you
           might need to terminate some processes manually.

           Processes of interest include gsan, java, postgres,
           ascd, *_cron, axionfs, and connectemc.

           Here are some of the processes of interest found:
- - - - -
admin    12386  0.0  0.0 31232 3804 ?        S    16:49   0:00 ./gsan init --single --systemname=ACPNAAV01 --nodetag=0.0 --redirect --encrypt=proprietary --hfsdir=/ --checkpointdir=cur --lmaddr=192.168.179.20 --hfsport=27000 --ramfsroot= --clientssl=false --altlogdir= --mainhost=192.168.179.20 --mainport=20000 --gatewayaddr=192.168.179.20 --datacenter=0 --prime --matchbits=0 --rwmatchbits=0 --usermatchbits=0
admin    12387  0.5  0.0 95488 33716 ?       Sl   16:49   0:48 ./gsan init --single --systemname=ACPNAAV01 --nodetag=0.0 --redirect --encrypt=proprietary --hfsdir=/ --checkpointdir=cur --lmaddr=192.168.179.20 --hfsport=27000 --ramfsroot= --clientssl=false --altlogdir= --mainhost=192.168.179.20 --mainport=20000 --gatewayaddr=192.168.179.20 --datacenter=0 --prime --matchbits=0 --rwmatchbits=0 --usermatchbits=0

- - - - -

*** For details please see the log file: "/usr/local/avamar/var/log/avqinstall.log"

Also tried dpnctl stop and re-run avqinstall --noconnectemc, but still i get the same error.

Can I please get a help that how do I re-run avqinstall on the node?

  • 239

    0

    Posted March 14th, 2011 23:00

    Hi,

    The below I got when cat /usr/local/avamar/var/log/avqinstall.log - -

    2011/03/15-16:49:01 - - - - - - - - - - - - END
    2011/03/15-16:49:01 avqinstall: INFO: starting lm service
    - - - - - - - - - - - - BEGIN temporary script file "/tmp/avqinstall-tmp-script.3054"
    #!/bin/bash
    ssh-add ~dpn/.ssh/dpnid
    [ -r /etc/profile ] && . /etc/profile
    export PATH="/usr/local/avamar/bin/../lib/avqinstall:/usr/local/avamar/bin:$PATH"
    #
    service lm status && service lm stop ; service lm start
    ST=$?
    echo "$ST" > /tmp/avqinstall-tmp-script.3054.status
    - - - - - - - - - - - - END temporary script file "/tmp/avqinstall-tmp-script.3054"
    2011/03/15-16:49:01 avqinstall: INFO: applying "chown root /tmp/avqinstall-tmp-script.3054 ; chmod 744 /tmp/avqinstall-tmp-script.3054 >/tmp/avqinstall-command-output.3054 2>&1"
    2011/03/15-16:49:01 avqinstall: INFO: applying "service lm status && service lm stop ; service lm start"
    2011/03/15-16:49:01 - - - - - - - - - - - - BEGIN
    Identity added: /home/dpn/.ssh/dpnid (/home/dpn/.ssh/dpnid)
    lm is stopped
    Starting login manager server:                             [  OK  ]
    2011/03/15-16:49:01 - - - - - - - - - - - - END
    2011/03/15-16:49:02 avqinstall: INFO: starting gsan
    - - - - - - - - - - - - BEGIN temporary script file "/tmp/avqinstall-tmp-script.3054"
    #!/bin/bash
    ssh-add ~admin/.ssh/dpnid
    [ -r /etc/profile ] && . /etc/profile
    export PATH="/usr/local/avamar/bin/../lib/avqinstall:/usr/local/avamar/bin:$PATH"
    #
    start.dpn --clean --password="*********" --systemname="ACPNAAV01" --repl_password="*********" --lmaddr='192.168.179.20' --expert --hfsport=27000
    ST=$?
    echo "$ST" > /tmp/avqinstall-tmp-script.3054.status
    - - - - - - - - - - - - END temporary script file "/tmp/avqinstall-tmp-script.3054"
    2011/03/15-16:49:02 avqinstall: INFO: applying "chown admin /tmp/avqinstall-tmp-script.3054 ; chmod 744 /tmp/avqinstall-tmp-script.3054 >/tmp/avqinstall-command-output.3054 2>&1"
    - - - - - - - - - - - - BEGIN temporary script file "/tmp/avqinstall-tmp-script2.3054"
    #!/bin/bash
    ssh-add ~admin/.ssh/dpnid
    ssh -x -o PasswordAuthentication=no admin@localhost 'ssh-agent /bin/bash -c /tmp/avqinstall-tmp-script.3054'
    - - - - - - - - - - - - END temporary script file "/tmp/avqinstall-tmp-script2.3054"
    2011/03/15-16:49:02 avqinstall: INFO: applying "chmod 744 /tmp/avqinstall-tmp-script2.3054 >/tmp/avqinstall-command-output.3054 2>&1"
    2011/03/15-16:49:02 avqinstall: INFO: applying "start.dpn --clean --password="*********" --systemname="ACPNAAV01" --repl_password="*********" --lmaddr='192.168.179.20' --expert --hfsport=27000"
    2011/03/15-16:49:02 avqinstall: INFO: to monitor progress, run in another window: tail -f /tmp/avqinstall-command-output.3054
    2011/03/15-19:02:58 ======================== avqinstall 5.0.0-38 START
    2011/03/15-19:02:58 avqinstall: INFO: log file time stamps are in local time (UTC, UTC +0000)
    2011/03/15-19:02:58 avqinstall: INFO: logging to "/usr/local/avamar/var/log/avqinstall.log"
    2011/03/15-19:02:58 avqinstall: INFO: avqinstall invoked with the following command line options:
      --noconnectemc
    2011/03/15-19:02:58 avqinstall: INFO: on this host, canonical name "acpnaav01.abi.local", found corresponding IPv4 address "192.168.179.20" bound to network interface "bond0"
    2011/03/15-19:02:58 avqinstall: INFO: attribute "lockbox_password" => "********"
    2011/03/15-19:02:58 avqinstall: INFO: --noconnectemc => do not configure ConnectEMC
    2011/03/15-19:02:58 avqinstall: INFO: skipping connectemc.* attribute parsing, per command line option
    2011/03/15-19:02:58 avqinstall: INFO: found candidate tarball v5.0.3.29-customer_unified-v5.0.106.28.tar.gz
    2011/03/15-19:02:58 avqinstall: INFO: selected tarball v5.0.3.29-customer_unified-v5.0.106.28.tar.gz, version v5.0.3.29
    2011/03/15-19:02:58 avqinstall: INFO: checking /etc/hosts for disagreements with DNS
    2011/03/15-19:02:58 avqinstall: INFO: Using existing node resource database file /usr/local/avamar/var/probe.xml
    avqinstall: ERROR: /etc/hosts: line 2: no DNS address record was found for host "acpnaav01.abi.local" - continuing...
    2011/03/15-19:03:10 avqinstall: INFO: applying "ps auxww | egrep 'gsan|java|post|ascd|_cron|axion|connectemc' | egrep -v 'grep|emacs|vi|avqinstall' > /tmp/avqinstall-ps.15916 2>&1"
    2011/03/15-19:03:10 avqinstall: ERROR: Avamar-related processes appear to be running.
               You might need to apply "dpnctl stop" and/or you
               might need to terminate some processes manually.

               Processes of interest include gsan, java, postgres,
               ascd, *_cron, axionfs, and connectemc.

               Here are some of the processes of interest found:
    - - - - -
    admin    12386  0.0  0.0 31232 3804 ?        S    16:49   0:00 ./gsan init --single --systemname=ACPNAAV01 --nodetag=0.0 --redirect --encrypt=proprietary --hfsdir=/ --checkpointdir=cur --lmaddr=192.168.179.20 --hfsport=27000 --ramfsroot= --clientssl=false --altlogdir= --mainhost=192.168.179.20 --mainport=20000 --gatewayaddr=192.168.179.20 --datacenter=0 --prime --matchbits=0 --rwmatchbits=0 --usermatchbits=0
    admin    12387  0.6  0.0 91408 32900 ?       Sl   16:49   0:48 ./gsan init --single --systemname=ACPNAAV01 --nodetag=0.0 --redirect --encrypt=proprietary --hfsdir=/ --checkpointdir=cur --lmaddr=192.168.179.20 --hfsport=27000 --ramfsroot= --clientssl=false --altlogdir= --mainhost=192.168.179.20 --mainport=20000 --gatewayaddr=192.168.179.20 --datacenter=0 --prime --matchbits=0 --rwmatchbits=0 --usermatchbits=0

    - - - - -

    2011/03/15-19:03:10 ======================== avqinstall 5.0.0-38 END
    2011/03/15-19:06:40 ======================== avqinstall 5.0.0-38 START
    2011/03/15-19:06:40 avqinstall: INFO: log file time stamps are in local time (UTC, UTC +0000)
    2011/03/15-19:06:40 avqinstall: INFO: logging to "/usr/local/avamar/var/log/avqinstall.log"
    2011/03/15-19:06:40 avqinstall: INFO: avqinstall invoked with the following command line options:
      --noconnectemc
    2011/03/15-19:06:40 avqinstall: INFO: on this host, canonical name "acpnaav01.abi.local", found corresponding IPv4 address "192.168.179.20" bound to network interface "bond0"
    2011/03/15-19:06:40 avqinstall: INFO: attribute "lockbox_password" => "********"
    2011/03/15-19:06:40 avqinstall: INFO: --noconnectemc => do not configure ConnectEMC
    2011/03/15-19:06:40 avqinstall: INFO: skipping connectemc.* attribute parsing, per command line option
    2011/03/15-19:06:40 avqinstall: INFO: found candidate tarball v5.0.3.29-customer_unified-v5.0.106.28.tar.gz
    2011/03/15-19:06:40 avqinstall: INFO: selected tarball v5.0.3.29-customer_unified-v5.0.106.28.tar.gz, version v5.0.3.29
    2011/03/15-19:06:40 avqinstall: INFO: checking /etc/hosts for disagreements with DNS
    2011/03/15-19:06:40 avqinstall: INFO: Using existing node resource database file /usr/local/avamar/var/probe.xml
    avqinstall: ERROR: /etc/hosts: line 2: no DNS address record was found for host "acpnaav01.abi.local" - continuing...
    2011/03/15-19:06:52 avqinstall: INFO: applying "ps auxww | egrep 'gsan|java|post|ascd|_cron|axion|connectemc' | egrep -v 'grep|emacs|vi|avqinstall' > /tmp/avqinstall-ps.16661 2>&1"
    2011/03/15-19:06:52 avqinstall: ERROR: Avamar-related processes appear to be running.
               You might need to apply "dpnctl stop" and/or you
               might need to terminate some processes manually.

               Processes of interest include gsan, java, postgres,
               ascd, *_cron, axionfs, and connectemc.

               Here are some of the processes of interest found:
    - - - - -
    admin    12386  0.0  0.0 31232 3804 ?        S    16:49   0:00 ./gsan init --single --systemname=ACPNAAV01 --nodetag=0.0 --redirect --encrypt=proprietary --hfsdir=/ --checkpointdir=cur --lmaddr=192.168.179.20 --hfsport=27000 --ramfsroot= --clientssl=false --altlogdir= --mainhost=192.168.179.20 --mainport=20000 --gatewayaddr=192.168.179.20 --datacenter=0 --prime --matchbits=0 --rwmatchbits=0 --usermatchbits=0
    admin    12387  0.5  0.0 95488 33716 ?       Sl   16:49   0:48 ./gsan init --single --systemname=ACPNAAV01 --nodetag=0.0 --redirect --encrypt=proprietary --hfsdir=/ --checkpointdir=cur --lmaddr=192.168.179.20 --hfsport=27000 --ramfsroot= --clientssl=false --altlogdir= --mainhost=192.168.179.20 --mainport=20000 --gatewayaddr=192.168.179.20 --datacenter=0 --prime --matchbits=0 --rwmatchbits=0 --usermatchbits=0

    - - - - -

    2011/03/15-19:06:52 ======================== avqinstall 5.0.0-38 END
    2011/03/15-19:33:04 ======================== avqinstall 5.0.0-38 START
    2011/03/15-19:33:04 avqinstall: INFO: log file time stamps are in local time (UTC, UTC +0000)
    2011/03/15-19:33:04 avqinstall: INFO: logging to "/usr/local/avamar/var/log/avqinstall.log"
    2011/03/15-19:33:04 avqinstall: INFO: avqinstall invoked with the following command line options:
      --noconnectemc
    2011/03/15-19:33:04 avqinstall: INFO: on this host, canonical name "acpnaav01.abi.local", found corresponding IPv4 address "192.168.179.20" bound to network interface "bond0"
    2011/03/15-19:33:04 avqinstall: INFO: attribute "lockbox_password" => "********"
    2011/03/15-19:33:04 avqinstall: INFO: --noconnectemc => do not configure ConnectEMC
    2011/03/15-19:33:04 avqinstall: INFO: skipping connectemc.* attribute parsing, per command line option
    2011/03/15-19:33:04 avqinstall: INFO: found candidate tarball v5.0.3.29-customer_unified-v5.0.106.28.tar.gz
    2011/03/15-19:33:04 avqinstall: INFO: selected tarball v5.0.3.29-customer_unified-v5.0.106.28.tar.gz, version v5.0.3.29
    2011/03/15-19:33:04 avqinstall: INFO: checking /etc/hosts for disagreements with DNS
    2011/03/15-19:33:04 avqinstall: INFO: Using existing node resource database file /usr/local/avamar/var/probe.xml
    avqinstall: ERROR: /etc/hosts: line 2: no DNS address record was found for host "acpnaav01.abi.local" - continuing...
    2011/03/15-19:33:16 avqinstall: INFO: applying "ps auxww | egrep 'gsan|java|post|ascd|_cron|axion|connectemc' | egrep -v 'grep|emacs|vi|avqinstall' > /tmp/avqinstall-ps.18091 2>&1"
    2011/03/15-19:33:17 avqinstall: ERROR: Avamar-related processes appear to be running.
               You might need to apply "dpnctl stop" and/or you
               might need to terminate some processes manually.

               Processes of interest include gsan, java, postgres,
               ascd, *_cron, axionfs, and connectemc.

               Here are some of the processes of interest found:
    - - - - -
    admin    12386  0.0  0.0 31232 3804 ?        S    16:49   0:00 ./gsan init --single --systemname=ACPNAAV01 --nodetag=0.0 --redirect --encrypt=proprietary --hfsdir=/ --checkpointdir=cur --lmaddr=192.168.179.20 --hfsport=27000 --ramfsroot= --clientssl=false --altlogdir= --mainhost=192.168.179.20 --mainport=20000 --gatewayaddr=192.168.179.20 --datacenter=0 --prime --matchbits=0 --rwmatchbits=0 --usermatchbits=0
    admin    12387  0.5  0.0 98616 34320 ?       Sl   16:49   0:50 ./gsan init --single --systemname=ACPNAAV01 --nodetag=0.0 --redirect --encrypt=proprietary --hfsdir=/ --checkpointdir=cur --lmaddr=192.168.179.20 --hfsport=27000 --ramfsroot= --clientssl=false --altlogdir= --mainhost=192.168.179.20 --mainport=20000 --gatewayaddr=192.168.179.20 --datacenter=0 --prime --matchbits=0 --rwmatchbits=0 --usermatchbits=0

    - - - - -

    2011/03/15-19:33:17 ======================== avqinstall 5.0.0-38 END
    root@acpnaav01:~/#:

  • Luis_Rogerio

    116 Posts

    239

    0

    Posted March 15th, 2011 05:00

    Hi,

    Verify with ps -ef if  any of this processes gsan, java, postgres,ascd, *_cron, axionfs, and connectemc still running, if yes terminate processes manually.

    Looks gsan still running...

    admin    12386  0.0  0.0 31232 3804 ?        S    16:49   0:00 ./gsan init --single --systemname=ACPNAAV01 --nodetag=0.0 --redirect --encrypt=proprietary --hfsdir=/ --checkpointdir=cur --lmaddr=192.168.179.20 --hfsport=27000 --ramfsroot= --clientssl=false --altlogdir= --mainhost=192.168.179.20 --mainport=20000 --gatewayaddr=192.168.179.20 --datacenter=0 --prime --matchbits=0 --rwmatchbits=0 --usermatchbits=0

    Regards,

    Luis Rogerio

  • 239

    0

    Posted March 15th, 2011 17:00

    I checked with ps auzww and found that gsan process is active even though I ran the command dpnctl stop. So I kill all the gsan process as -

    su - admin

    ssh-agent bash

    ssh-add ~/.ssh/admin_key

    (Supply the admin key passphrase when prompted)

    mapall "killall gsan"

    Then re-run avqinstall again as -

    avqinstall --noconnectemc --norequire_clean_system

    And I could manage to install the software successfully.