Forum Discussion

iZombie's avatar
Level 2
8 years ago

FIXED: [Error] Process '/opt/NBUAppliance/db/bin/nbappdbsrv' is not running.

Issue: Selftest (test software) fails with below error

appliance01.Support> Test Software


Running Validation tests on Media Server Appliance appliance01.


    Checking whether serial number is present ...                      [OK]

    Checking whether installation is successful ...                    [OK]

    Checking whether critical kernel drivers exist and can work ...    [OK]

    Checking whether SSH is enabled ...                                [OK]

    Checking whether hostname is set ...                               [OK]

    Checking whether IP address is set ...                             [OK]

    Checking whether appliance user accounts exist ...                 [OK]

    Checking whether required packages are installed ...               [OK]

    Checking whether BIOS firmware is compatible with the software ... [NA]

    Checking whether registration information is properly set ...      [WARNING]

    Checking whether NetBackup is configured and running ...           [FAIL]

    Checking whether storage units and diskpools have been created ... [OK]

    Checking whether Web Server is configured and running ...          [OK]

    Checking test backup and restore operations ...                    [OK]

    Expiring test backup images and deleting test policy ...           [OK]


Completed running tests on the appliance.

    SELF TEST RESULT :                                                 [FAIL]


- [Warning] The appliance registration information is incomplete. Update the registration information and make sure that all required fields are completed.

- [Error] Process '/opt/NBUAppliance/db/bin/nbappdbsrv' is not running.

Cause: The nbappdb service wasn't running because of the nbappdb directory missing; as we can see in the logs below.


appliance01:/home/maintenance # ps aux|grep nbappdb
root 21705 0.0 0.0 4360 796 pts/0 S+ 12:05 0:00 grep nbappdb

appliance01:/home/maintenance # /etc/init.d/nbuapp_db start
- [Error] Error starting NetBackup Appliance database. Status: 1 Error: 'touch: cannot touch `/log/nbappdb/nbappdb_start_stop.out': No such file or directory
/opt/NBUAppliance/db/bin/ line 126: /log/nbappdb/nbappdb_start_stop.out: No such file or directory
/opt/NBUAppliance/db/bin/ line 131: /log/nbappdb/nbappdb_start_stop.out: No such file or directory'



appliance01:/log # mkdir nbappdb

appliance01:/log # /etc/init.d/nbuapp_db start

appliance01:/log # ps aux|grep nbappdb
root 22766 0.9 0.0 1361668 25808 ? Ssl 12:10 0:00 /opt/NBUAppliance/db/bin/nbappdbsrv @/opt/NBUAppliance/db/conf/server.conf -hn 5
root 22955 0.0 0.0 4364 804 pts/0 S+ 12:11 0:00 grep nbappdb

appliance01:/log/nbappdb # ls -altr
total 12
drwxr-xr-x 13 root root 4096 Dec 12 12:09 ..
drwx------ 2 root root 4096 Dec 12 12:10 .
-rw------- 1 root root 193 Dec 12 12:10 nbappdb_start_stop.out

appliance01:/log/nbappdb # cat nbappdb_start_stop.out
SQL Anywhere Start Server In Background Utility Version
SQL Anywhere Server Ping Utility Version
Ping server successful.
NetBackup Appliance database server is started.