User Tools

Site Tools


Sidebar

Announcement

Ahsay Backup Software

Backup Set Types

Supported Storage

Features in OBM / ACB

Features in CBS

Brand and Customize

License

Documentation

Performance Testing

FAQs and Known Issues

Can't Find What You Need?

public:5236_issue:after_a_reboot_of_a_linux_ahsaycbs_server_the_ahsaycbs_nfs_service_is_not_automatically_starting_up

[V7] ISSUE: After a reboot of a Linux AhsayCBS server the AhsayCBS NFS service is not automatically starting up

Article ID: 5236
Reviewed: \2017-03-17

Product Version:
AhsayCBS: 7.9.0.0 to 7.x
OS: Linux

ATTENTION 1st January, 2022: v7 officially End-of-Life [details]
Problem Description:
After a reboot of a Linux AhsayCBS server the AhsayCBS NFS service is not automatically starting up. It has to be started up manually using the %CBS_INSTALL%/nfs/bin/startup.sh script.

Cause

The AhsayCBS NFS service symlinks in /etc/rc.d/rc2.d/ …. /etc/rc.d/rc5.d/ are broken or not created for the current runlevel 2 to 5.

Resolution

To resolve this issue, please re-install the AhsayCBS NFS service.

Assumption: AhsayCBS Install Home = /usr/local/cbs on CentOS 6.4 (Final)

Note: The following example is based on a CentOS 6.4 (Final) installation.

  1. Login to AhsayCBS server as root.
  2. cd /usr/local/cbs/nfs/bin
  3. Run the following script to uninstall the NFS service: sh uninstall.sh

    # sh uninstall.sh
    Log Time: Wed Mar 15 15:54:29 HKT 2017
    Verifying current user privilege ...
    Current user has enough privilege to "uninstall".
    Try to shutdown [ NFS Service (Ahsay Systems Corporation) ]
    Stopping NFS Service (Ahsay Systems Corporation)
    Wait 5 seconds before [ NFS Service (Ahsay Systems Corporation) ] is down
    Remove [ NFS Service (Ahsay Systems Corporation) ] (cbsnfs) from service
    Uninstall Service for NIX type OS
    Using init script path /etc/init.d
    Using run level script path /etc/rc.d
    Removing symbolic link from run levels
    Removing script file cbsnfs from /etc/init.d
    [ NFS Service (Ahsay Systems Corporation) ] uninstall service is complete!



  4. Run the following script to install the NFS service: sh install.sh

    # sh install.sh
    Log Time: Thu Mar 16 18:45:34 HKT 2017
    Verifying current user privilege ...
    Current user has enough privilege to "install".
    Start configuration on Generic Linux Platform (Linux)
    Installing [ NFS Service (Ahsay Systems Corporation) ]
    [ NFS Service (Ahsay Systems Corporation) ] Service Script created at /usr/local/cbs/nfs/bin/cbsnfs 
    Install Service for NIX type OS
    Using init script path /etc/init.d   
    Using run level script path /etc/rc.d
    Copying script cbsnfs to /etc/init.d
    Creating symbolic link to run levels
    You may start this service by:
    sh "/etc/init.d/cbsnfs" start 
    [ NFS Service (Ahsay Systems Corporation) ] setup completed!
    Startup [ NFS Service (Ahsay Systems Corporation) ]
    Starting NFS Service (Ahsay Systems Corporation)
    Started [ NFS Service (Ahsay Systems Corporation) ]


  5. Verify the symlinks have been created for runlevel 2 to 5.

     # ls -la /etc/rc.d/rc[2-5].d/*cbsnfs*
     lrwxrwxrwx 1 root root 18 Mar 15 15:28 /etc/rc.d/rc2.d/S99cbsnfs -> /etc/init.d/cbsnfs
     lrwxrwxrwx 1 root root 18 Mar 15 15:28 /etc/rc.d/rc3.d/S99cbsnfs -> /etc/init.d/cbsnfs
     lrwxrwxrwx 1 root root 18 Mar 15 15:28 /etc/rc.d/rc4.d/S99cbsnfs -> /etc/init.d/cbsnfs
     lrwxrwxrwx 1 root root 18 Mar 15 15:28 /etc/rc.d/rc5.d/S99cbsnfs -> /etc/init.d/cbsnfs
    #
     


  6. Verify the AhsayCBS NFS service is running and listening to port 111

    # ps -ef|grep nfs
    root      1723     2  0 14:30 ?        00:00:00 [nfsiod]
    root      2636     2  0 15:05 ?        00:00:00 [nfsd4]
    root      2637     2  0 15:05 ?        00:00:00 [nfsd4_callbacks]
    root      2643     2  0 15:05 ?        00:00:00 [nfsd]
    root      2644     2  0 15:05 ?        00:00:00 [nfsd]
    root      2645     2  0 15:05 ?        00:00:00 [nfsd]
    root      3367     1  0 15:28 pts/0    00:00:00 /usr/local/cbs/nfs/bin/NfsLinX64 -logfile /usr/local/cbs/nfs/log/debug.log -pidfile /var/run/cbsnfs.pid
    root      3464  2356  0 15:36 pts/0    00:00:00 grep nfs
    #



    # netstat -pan|more
    Active Internet connections (servers and established)
    Proto Recv-Q Send-Q Local Address               Foreign Address             State       PID/Program name
    tcp        0      0 0.0.0.0:38533               0.0.0.0:*                   LISTEN      -
    tcp        0      0 0.0.0.0:59270               0.0.0.0:*                   LISTEN      2630/rpc.mountd
    tcp        0      0 0.0.0.0:875                 0.0.0.0:*                   LISTEN      2626/rpc.rquotad
    tcp        0      0 0.0.0.0:35373               0.0.0.0:*                   LISTEN      2685/rpc.statd
    tcp        0      0 0.0.0.0:111                 0.0.0.0:*                   LISTEN      1596/rpcbind
    tcp        0      0 0.0.0.0:80                  0.0.0.0:*                   LISTEN      3312/java
    tcp        0      0 0.0.0.0:37620               0.0.0.0:*                   LISTEN      2630/rpc.mountd
    tcp        0      0 0.0.0.0:22                  0.0.0.0:*                   LISTEN      1923/sshd
    tcp        0      0 127.0.0.1:631               0.0.0.0:*                   LISTEN      1757/cupsd


Keywords

symlinks, runlevel, NFS service, Linux, CBS, port 111

public/5236_issue/after_a_reboot_of_a_linux_ahsaycbs_server_the_ahsaycbs_nfs_service_is_not_automatically_starting_up.txt · Last modified: 2021/12/16 04:57 by anna.olalia

Page Tools