UNSOLVED

Serg_Shu

updated

15 years ago

S

Serg_Shu

4 Posts

0

4753

July 26th, 2011 05:00

MCS couldn't start - - exit status 255

After power fail I try to start Avamar (v.5 single node). Run commands as Admin user:

ssh-agent bash
ssh-add ~admin/.ssh/admin_key
dpnctl start
I see:
....
dpnctl: INFO: Starting MCS...
dpnctl: INFO: To monitor progress, run in another window: tail -f /tmp/dpnctl-mcs-start-output-15595
dpnctl: ERROR: error return from "[ -r /etc/profile ] && . /etc/profile ; /usr/local/avamar/bin/mcserver.sh --start" - exit status 255
....
When I start separately

dpnctl start mcs --verbose
....
syntax error at line 1, column 0, byte 0:
Demand Backup" version="1"/>     1310148173066   APPLICATION     INFORMATION     PROCESS MCS:BS  Activity completed successfully.     \N       \N      \N      \N      /clients
^
675     2011-07-08 18:45:02.661 22403       1310150702661 SYSTEM  INFORMATION     OK      MCS:DPN_Proxy   Console server data was saved to server successfully.   \N      \N      \N   \N       /
at /usr/lib64/perl5/vendor_perl/5.8.5/x86_64-linux-thread-multi/XML/Parser.pm line 187
        /bin/cat /tmp/dpnctl-get-mcs-status-output-16903
[ "/bin/cat /tmp/dpnctl-get-mcs-status-output-16903" exit status = 0 ]
        /bin/cat /tmp/dpnctl-get-mcs-status-status-16903 2>&1
[ "/bin/cat /tmp/dpnctl-get-mcs-status-status-16903 2>&1" exit status = 0 ]
output of "[ -r /etc/profile ] && . /etc/profile ; /usr/local/avamar/bin/mcserver.sh --test":
- - - - - - - - - - - - - - - BEGIN

syntax error at line 1, column 0, byte 0:
Demand Backup" version="1"/>     1310148173066   APPLICATION     INFORMATION     PROCESS MCS:BS  Activity completed successfully.     \N       \N      \N      \N      /clients
^
675     2011-07-08 18:45:02.661 22403       1310150702661 SYSTEM  INFORMATION     OK      MCS:DPN_Proxy   Console server data was saved to server successfully.   \N      \N      \N   \N       /
at /usr/lib64/perl5/vendor_perl/5.8.5/x86_64-linux-thread-multi/XML/Parser.pm line 187
- - - - - - - - - - - - - - - END
dpnctl: ERROR: error return from "[ -r /etc/profile ] && . /etc/profile ; /usr/local/avamar/bin/mcserver.sh --test" - exit status 255
.....

How I can solve this problem? May be I can reset configuration to empty state and reconfigure all schedules? I already try restore to checkpoints but result same.

  • Luis_Rogerio

    116 Posts

    1187

    0

    Posted July 28th, 2011 06:00

    Hi,

    I think better you open the support case, before worsen your problem.
    But if you don't have problem reseting your configuration and losing backups, you can find some articles in KB for do that.

    Regards.

    Luis Rogério

  • 1187

    0

    Posted October 9th, 2012 05:00

    Hello All,

    I was configuring the vmware integration to turn off certificate Authentication and after I was done from editing the mcserver file the MCS didn't start and gave me the same error.

    is there is any way to reconfigure or rebuild mcserver file.

    thanks,

  • 1187

    0

    Posted October 9th, 2012 07:00

    Hello All,

    I was configuring Vcenter- Vmware-Avamar communication I need to edit the mcserver.xml file

     

    dpnctl start mcs

    Identity added: /home/admin/.ssh/dpnid (/home/admin/.ssh/dpnid)

    dpnctl: INFO: Starting MCS...

    dpnctl: INFO: To monitor progress, run in another window: tail -f /tmp/dpnctl-mcs-start-output-23821

    dpnctl: ERROR: error return from "[ -r /etc/profile ] && . /etc/profile ; /usr/local/avamar/bin/mcserver.sh --start" - exit status 255

    dpnctl: INFO: [see log file "/usr/local/avamar/var/log/dpnctl.log"]

    Please advice.

    Thanks

    Ahmed Salah

  • ionthegeek

    2 Intern

    •

    2049 Posts

    1187

    0

    Posted October 9th, 2012 07:00

    I would strongly recommend opening a service request for this issue.

  • 1187

    0

    Posted October 11th, 2012 16:00

    hello,

    I managed to solve this issue, I created a new virtual Avamar with the same version 5.0 and compared usr/local/avamar/mc/pref/mcserver.xml and I found an (ignor) syntex at the begining of the file (open with winscp), I removed this sentyx and tryed to start the MCS service and it worked fine.

    if anybody need any further clarification please ask.

    regards,

    Ahmed Salah