This post is more than 5 years old
2 Intern
•
14.3K Posts
1
3463
April 25th, 2017 05:00
NW9.1 license manager on Linux
Has anyone tried this on RHEL 7.2? I'm having some small difficulty there as whenever I tried to start license manager I get:
# /etc/init.d/emclicservd start
Reloading systemd: [ OK ]
Starting emclicservd (via systemctl): Failed to start emclicservd.service: Unit emclicservd.service failed to load: No such file or directory.
[FAILED]
Support believes failure (and message) suggest this is an issue with interpreter (which is of course on the system and whole package was installed with yum so all dependencies were addressed). They provided two links (https://unix.stackexchange.com/questions/45277/executing-binary-file-file-not-found and http://phasormaster.com/blog/2014/10/30/missing-elf-interpreter/ ), but both are valid if you run 32bit application on 64bit system and that doesn't seem to be the case here:
# file lmgrd
lmgrd: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.9, stripped
# file lmutil
lmutil: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.9, stripped
I guess 60 days eval in 9.1 gives me enough time to get this working, but I'm a bit surprised that it fails out of the box
ble1
2 Intern
•
14.3K Posts
1
June 5th, 2017 09:00
Dell/EMC will have to provide the fix in future releases, but on RHEL 7.2 (at least) service files is not created. As workaround you can create file called emclicservd.service in /etc/systemd/system and license manager should work. File should contain something like:
[Service]
Type=forking
ExecStart=/opt/emc/emclicenseserver/lmgrd -c /opt/emc/licenses -L /opt/emc/logs/lmgrd.log
ExecStop=/etc/init.d/emclicservd stop
Not that this is just a workaround and content of file might be different at the end once official fix is out.
muetzd
18 Posts
0
April 25th, 2017 16:00
Hello Hrvoje Crvelin,
Have you tried installing using rpm -v -i, instead of yum install?
Have you tried copying the license file to /opt/emc/emclicenseserver/license/ - .lic, then retry the rpm -v -i install?
David
ble1
2 Intern
•
14.3K Posts
0
April 26th, 2017 00:00
Yes, I tried with license keys in place - that didn't change the error at all.
I didn't try rpm command as that is what essentially yum is doing anyway (not in verbose mode though, but it is not installation that fails, but rather starting up service which one can easily replicate once installation is done too).
muetzd
18 Posts
0
April 26th, 2017 09:00
Hrvoje Crvelin,
I have been bitten by yum in the past installing NetWorker 9. The License Guide defines the use of rpm -v -I, and does not note yum.
The license file will be in (2) subdirectories:
/opt/emc/licenses/
/opt/emc/emclicenseserver/license/
(in the License Guide, is this second path missing an "e", where it is noted /opt/emc/emclicensserver/license?)
David.
ble1
2 Intern
•
14.3K Posts
0
April 27th, 2017 12:00
Hi David,
As expect it fails with rpm as well:
# rpm -ivh emclicenseserver-3.5.0-1.x86_64_lsb.rpm
Preparing... ################################# [100%]
Updating / installing...
1:emclicenseserver-3.5.0-1 ################################# [100%]
Reloading systemd: [ OK ]
Starting emclicservd (via systemctl): Failed to start emclicservd.service: Unit emclicservd.service failed to load: No such file or directory.
[FAILED]
warning: %post(emclicenseserver-3.5.0-1.x86_64) scriptlet failed, exit status 6
#
However, I do not see /opt/emc/emclicenseserver/license there at all (only /opt/emc/licenses where I already have license for NW server though license server should be able to start without it too):
# pwd
/opt/emc/emclicenseserver
# ll
total 4484
-rwxr-xr-x 1 root root 223152 Nov 16 12:48 EMC_Freeware_EULA_20130905_final.pdf
-rwxr-xr-x 1 root root 5700 Nov 16 12:48 emclicservd
-rw-rw-r-- 1 a2x1hcrv root 119 Apr 27 21:30 emclicservd.conf
-rwxr-xr-x 1 root root 1582400 Nov 16 12:48 EMCLM
-rwxr-xr-x 1 root root 1392208 Nov 16 12:48 lmgrd
-rwxr-xr-x 1 root root 1364872 Nov 16 12:48 lmutil
drwxr-xr-x 2 root root 24 Apr 27 21:30 lock
drwxr-xr-x 3 root root 21 Apr 27 21:30 logs
-rwxr-xr-x 1 root root 6981 Nov 16 12:48 README.txt
Baheback
51 Posts
0
May 22nd, 2017 03:00
Hello Hrvoje Crvelin ,
Did you managed to solve the issue?
Regards
ble1
2 Intern
•
14.3K Posts
1
May 22nd, 2017 09:00
Nope. From what I see issue happens RHEL7; unless I missed something with RHEL6 I could not see it doing quick test. On RHEL7 I see that installation package (well, startup script) is calling /bin/systemctl start emclicservd.service, but that is not defined (systemctl list-unit-files | grep enabled). I still have ticket with support. I suspect something might have changed in RHEL7 (7.2 in my case) and installation package might not honor it so something goes wrong. Just a guess; I could be wrong. As time is ticking, I might get a bit more focused on this one (so far CloudBoost was taking away my attention, but that journey is completed now).