05-22-2023 09:37 PM
[root@cups-lab-nso-02 ~]# systemctl status ncs.service
● ncs.service - LSB: NCS
Loaded: loaded (/etc/rc.d/init.d/ncs; generated)
Active: failed (Result: exit-code) since Tue 2023-05-23 09:52:00 IST; 17s ago
Docs: man:systemd-sysv-generator(8)
Process: 650468 ExecStart=/etc/rc.d/init.d/ncs start (code=exited, status=127)
May 23 09:52:00 cups-lab-nso-02.novalocal systemd[1]: Starting LSB: NCS...
May 23 09:52:00 cups-lab-nso-02.novalocal ncs[650468]: Starting ncs: /etc/rc.d/init.d/ncs: line 65: /opt/ncs/current/ncsrc: No such file or directory
May 23 09:52:00 cups-lab-nso-02.novalocal su[650473]: (to admin) root on none
May 23 09:52:00 cups-lab-nso-02.novalocal su[650473]: pam_unix(su:session): session opened for user admin by (uid=0)
May 23 09:52:00 cups-lab-nso-02.novalocal ncs[650468]: bash: /opt/ncs/current/bin/ncs: No such file or directory
May 23 09:52:00 cups-lab-nso-02.novalocal su[650473]: pam_unix(su:session): session closed for user admin
May 23 09:52:00 cups-lab-nso-02.novalocal systemd[1]: ncs.service: Control process exited, code=exited status=127
May 23 09:52:00 cups-lab-nso-02.novalocal systemd[1]: ncs.service: Failed with result 'exit-code'.
May 23 09:52:00 cups-lab-nso-02.novalocal systemd[1]: Failed to start LSB: NCS.
[root@cups-lab-nso-02 ~]# NCS_RELOAD_PACKAGES=true /etc/init.d/ncs start
Starting ncs (via systemctl): Job for ncs.service failed because the control process exited with error code.
See "systemctl status ncs.service" and "journalctl -xe" for details.
[FAILED]
Solved! Go to Solution.
05-23-2023 12:15 AM
Thanks for your help. Link has been established now. I just did the process back again.
# cd /opt/ncs
# rm -f current
# ln -s ncs-NEWVERSION current
05-22-2023 10:28 PM
You have a problem with finding the ncs binary its self, did you point back the symlink at /opt/ncs/current, to the correct previous version install location ?
05-22-2023 10:39 PM
It cannot be done because there is no folder current at the location.
05-22-2023 10:56 PM
If you can't create the symlink, as described in the Administration guide under Upgrading, you have some underlying problem with your OS
05-23-2023 12:15 AM
Thanks for your help. Link has been established now. I just did the process back again.
# cd /opt/ncs
# rm -f current
# ln -s ncs-NEWVERSION current
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the NSO Developer community: