Original Message:
Sent: 08-09-2023 13:14
From: John Jenkins
Subject: Configuring systemd for Unidata startup on Redhat 8
Scott,
On UniVerse I'd check the license status as root ('su' is fine):
# cd `cat /.uvhome`; bin/uvregen -z
Please note that these are backward single quotes ` and not '
For UniData, set and export the environment variables UDTHOME and LANG and also set PATH to include the UniData bin directory, 'cd' to the UniData home directory and run bin/confcmd -z
Otherwise check the root level files exist in case the have been removed:
/.unishared
/.uvhome (UniVerse only)
/.uvdls (UniVerse only)
For UniData it's a little different for the root level files as UniData allows concurrent installations whereas UniVerse does not. As well as the UniData root level files (which includes /.unishared), check the UDTHOME, PATH and LANG environment variables are correctly set
Was there a system change or housekeeping activity on a previously working system that might have caused this? e.g.
- Moving a VM
- Copying a VM (note: a separate UniVerse or UniData license and license number is required for each installed instance, so moving is fine, but if copying you will need another license)
- File housekeeping / removal. I've seen the root level files over-enthusiastically removed many times.
- Change in user or file permissions - including file ACLs for UniVerse 12 or later.
If this system has not previously worked then permissions either on installation or startup and licensing are favourite.
Regards
JJ
------------------------------
John Jenkins
Thame, Oxfordshire
Original Message:
Sent: 08-09-2023 12:52
From: Scott Clift
Subject: Configuring systemd for Unidata startup on Redhat 8
here is the output:
root@cubsserver2 ~]# systemctl status universe.service --full
● universe.service - Rocket UniVerse Service
Loaded: loaded (/etc/systemd/system/universe.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Wed 2023-08-09 11:43:07 CDT; 7min ago
Process: 41557 ExecStart=/etc/rc.d/init.d/uv.rc start (code=exited, status=203/EXEC)
Aug 09 11:43:07 cubsserver2.localdomain systemd[1]: Starting Rocket UniVerse Service...
Aug 09 11:43:07 cubsserver2.localdomain systemd[1]: universe.service: Control process exited, code=exited status=203
Aug 09 11:43:07 cubsserver2.localdomain systemd[1]: universe.service: Failed with result 'exit-code'.
Aug 09 11:43:07 cubsserver2.localdomain systemd[1]: Failed to start Rocket UniVerse Service.
------------------------------
Scott Clift
CAC Financial Corp
US
Original Message:
Sent: 10-30-2022 19:06
From: Gregor Scott
Subject: Configuring systemd for Unidata startup on Redhat 8
We have been using systemd to start/stop UV for a number of years.
The TechNote @John Jenkins linked is an exact copy of what we use, so it does work.
Can you post the output from this command:
systemctl status universe.service --full
------------------------------
Gregor Scott
Software Architect
Pentana Solutions Pty Ltd
Mount Waverley VIC AU
Original Message:
Sent: 10-21-2022 12:13
From: Scott Clift
Subject: Configuring systemd for Unidata startup on Redhat 8
I've followed the instructions to the letter, everything seems to be in the proper place, but it does not work.
Any troubleshooting hints? RHEL 8 and Universe 11.3
------------------------------
Scott Clift
CAC Financial Corp
US
Original Message:
Sent: 08-15-2022 18:50
From: Ian McGowan
Subject: Configuring systemd for Unidata startup on Redhat 8
Does anyone have a working recipe for starting/stopping Unidata when the system boots on Redhat 8? Looks like it's as easy as creating an entry in /etc/systemd/system/unidata.service, but if someone has a working config they'd be willing to share that will save some experimentation :_)
https://medium.com/@benmorel/creating-a-linux-service-with-systemd-611b5c8b91d6
It doesn't look to hard to do the basics of startud and stopud, but curious if anyone is having systemd restart ud when stopped? That seems like a bad idea.
Thanks for any advice!
Ian
------------------------------
Ian McGowan
Principal Consultant
Rocket Forum Shared Account
------------------------------