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:8084_issue:cbs_service_on_linux_not_automatically_starting_after_a_server_reboot

This is an old revision of the document!


ISSUE: AhsayCBS services on Linux are not automatically starting up after a server reboot (AhsayCBS Linux)

Article ID: 8084
Reviewed: 07/08/2020

Product Version:
AhsayCBS: 8.3.2.11 or above
OS: Linux

Problem Description

When an AhsayCBS v8 server installed on newer versions of the following Linux distributions, for example CentOS v8, Red Hat Enterprise v8, or Ubuntu 20.04 LTS. After the server is rebooted or shutdown/started both the AhsayCBS and NFS services are not automatically started up.

These services have to be manually started using the following scripts:

  • AhsayCBS service - /usr/local/cbs/bin/startup.sh
  • NFS service - /usr/local/cbs/nfs/bin/startup.sh

Cause

This issue related to an issue with the AhsayCBS installation script and the Linux systemd utility (systemctl)

Resolution

To workaround this issue it is recommended to:

  1. Login to the Linux server as root.

  2. Run the following commands:
    • systemctl enable cbs
    • systemctl enable cbsnfs
  3. Reboot the server.

  4. After the server is online using the following commands to verify the services are running.

Example:
=======
# ps -ef| grep java
root        1372       1 12 10:26 ?        00:01:19 /usr/local/cbs/java/bin/java -Djava.util.logging.config.file=/usr/local/cbs/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.library.path=/usr/local/cbs/lib/LinX64 -DCATALINA_PID=/var/run/obsr.pid -Xrs -Xms512m -Xmx2048m -Xss384k -XX:MetaspaceSize=96m -XX:MaxMetaspaceSize=256m -XX:MaxDirectMemorySize=512m -XX:NewRatio=3 -XX:SurvivorRatio=32 -XX:MinHeapFreeRatio=20 -XX:MaxHeapFreeRatio=80 -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+UseConcMarkSweepGC -XX:+UseCMSInitiatingOccupancyOnly -XX:CMSInitiatingOccupancyFraction=85 -XX:+ScavengeBeforeFullGC -XX:+CMSScavengeBeforeRemark -Dsun.net.inetaddr.ttl=3600 -Dnetworkaddress.cache.ttl=3600 -Dsun.net.inetaddr.negative.ttl=300 -Dnetworkaddress.cache.negative.ttl=300 -Dsun.nio.PageAlignDirectMemory=true -Djava.net.preferIPv4Stack=true -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.util.logging.config.file=conf/logging.properties -Dtc.work.path=work -Dtc.log.path=logs -Djavax.servlet.context.tempdir=work -Djdk.nio.maxCachedBufferSize=262144 -Dfile.encoding=UTF-8 -Dsun.jnu.encoding=UTF-8 -Djdk.tls.ephemeralDHKeySize=2048 -Djava.protocol.handler.pkgs=org.apache.catalina.webresources -Dorg.apache.catalina.security.SecurityListener.UMASK=0027 -Dignore.endorsed.dirs= -classpath /usr/local/cbs/tomcat/bin/bootstrap.jar:/usr/local/cbs/tomcat/bin/tomcat-juli.jar -Dcatalina.base=/usr/local/cbs -Dcatalina.home=/usr/local/cbs/tomcat -Djava.io.tmpdir=/usr/local/cbs/temp org.apache.catalina.startup.Bootstrap start
root        2006    1996  0 10:36 pts/0    00:00:00 grep --color=auto java
#
#
# ps -ef|grep nfs
root         723       1  0 10:25 ?        00:00:00 /usr/local/cbs/nfs/bin/NfsLinX64 -logfile /usr/local/cbs/nfs/log/debug.log -pidfile /var/run/cbsnfs.pid
root        2009    1996  0 10:37 pts/0    00:00:00 grep --color=auto nfs

Keywords

systemctl, Centos, Red Hat Enterprise, Ubuntu, install, cbs services, nfs service

public/8084_issue/cbs_service_on_linux_not_automatically_starting_after_a_server_reboot.1596787245.txt.gz · Last modified: 2020/08/07 16:00 by yuk.cheng

Page Tools