Processd user errors after reboot
search cancel

Processd user errors after reboot

book

Article ID: 204167

calendar_today

Updated On:

Products

CA Spectrum DX NetOps

Issue/Introduction

After rebooting in the processd_log file located in $SPECROOT/lib/SDPM you may see errors regarding

'user does not exist'

-OR-

 Can't start new ticket: xxxxxxxxx, because the group id for: xxxxxxx is invalid 

Environment

Release : All Supported Releases

Component : SPCCSS - Spectrum Core / SpectroSERVER

Cause

This only applies to users that are NIS or AD that were used for Spectrum installation and configuration.

When the system reboots the services responsible for authenticating that user is not 100% started before processd starts.

Resolution

As root edit the /etc/systemd/system/processd.service file.

Default file looks like this:

 

[Unit]
SourcePath=/Spectrum/lib/SDPM/processd_init.sh
Description=LSB: SPECTRUM Processd Daemon
Before=runlevel3.target
Before=runlevel5.target
Before=shutdown.target
After=network-online.target
Wants=network-online.target
Conflicts=shutdown.target

[Service]
Type=forking
Restart=no
TimeoutSec=5min
IgnoreSIGPIPE=no
KillMode=process
GuessMainPID=no
RemainAfterExit=yes
ExecStart=/bin/bash /Spectrum/lib/SDPM/processd_init.sh start
ExecStop=/bin/bash /Spectrum/lib/SDPM/processd_init.sh stop

[Install]
WantedBy=multi-user.target

 

Set a sleep for 30 seconds on ProcessD.   If more time is needed, it can be increased accordingly.

 

Add this line:

 

ExecStartPre=/bin/sleep 30

 

Like so:

 

[Unit]
SourcePath=/Spectrum/lib/SDPM/processd_init.sh
Description=LSB: SPECTRUM Processd Daemon
Before=runlevel3.target
Before=runlevel5.target
Before=shutdown.target
After=network-online.target
Wants=network-online.target
Conflicts=shutdown.target

[Service]
Type=forking
Restart=no
TimeoutSec=5min
IgnoreSIGPIPE=no
KillMode=process
GuessMainPID=no
RemainAfterExit=yes

ExecStartPre=/bin/sleep 30
ExecStart=/bin/bash /Spectrum/lib/SDPM/processd_init.sh start
ExecStop=/bin/bash /Spectrum/lib/SDPM/processd_init.sh stop

[Install]
WantedBy=multi-user.target

example

 

- Reload the changes (still as root)
    systemctl daemon-reload


- Next reboot, it will sleep for 30 seconds before starting processd.