Getting hung at startup (second server this occurs to)

Steini Petur

Well-Known Member
Apr 24, 2016
54
11
58
Iceland
cPanel Access Level
Root Administrator
Hey guys,

Anyone know what is going on why my system is getting hung right after "sw-engine-fpm" during bootup? Now I am going into single mode to ensure I know theproper SSHD port so I can get in so I can "ps aux | grep" the process and kill it on the second server, it just Id like to know what is going on it never gets past this point anymore. I always have to intervene somehow.


rpviewer (6).png

Any advice well received, I tried runlevel 3 but that wasn't enough, now I am going into single mode to findthis to prevent it from starting on bootup.. I have a fear this might start happening to all our nodes, Id like to understand the underlying issue. It seems like it starts sw-engine-fpm, then next line is a fpm is running, and notice, but it's like the server is up but doesn't goto "Login".. In the first server I go through the SSHD as it has started and then kill this process and it pops into login, so its hung and never gives up..

Any thoughts.
 

Steini Petur

Well-Known Member
Apr 24, 2016
54
11
58
Iceland
cPanel Access Level
Root Administrator
This is probably not ideal but I need the server to skip this part and get up, I did see that S55 was SSHd's so it should start before S85, but just for safety I'm changing S85 to K85 to not start and changed SSHD to default port to ensure connectivity.. Probably way better way to do this but at least I get the server up I can test to start the engine itself directly.

rpviewer (8).png

I feel kind of like it's some config issue the "NOTICE" looks like a PHP output, feels like the engine starts, then a notice is not suppressed and that just stops the whole thing.. I find nothing about this online.. all I can confirm is me turning this off allows it to boot straight into Login
rpviewer (9).png

rpviewer (10).png

Hope someone from cPanel or anyone with know how can tell me exactly what happened, why the NOTICE pops in and stops the whole server from loading into the login screen.
 

Steini Petur

Well-Known Member
Apr 24, 2016
54
11
58
Iceland
cPanel Access Level
Root Administrator
Hi,

When starting it in the box itself

Code:
[[email protected] ~]# service sw-engine stop
Stopping sw-engine-fpm: [08-Dec-2020 03:45:05] NOTICE: Terminating ...
[08-Dec-2020 03:45:05] NOTICE: exiting, bye-bye!
                                                           [FAILED]
[[email protected] ~]# service sw-engine start
Starting sw-engine-fpm: [08-Dec-2020 03:45:12] NOTICE: fpm is running, pid 4196
[08-Dec-2020 03:45:12] NOTICE: ready to handle connections
It gets stuck here, after the Notice,

Code:
[[email protected] ~]# service sw-engine status
sw-engine-fpm (pid  4196) is running...
[[email protected] ~]#
It's actually on.. but here I could ctrl Z out, couldn't do that during bootup, not sure how to resolve this one..
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
5,527
703
313
cPanel Access Level
Root Administrator
Hey there! The sw-engine tool is provided by the operating system itself, and isn't part of cPanel. Since this is keeping the server from working properly it would be best to open a support ticket with CloudLInux to have them check the system and get you more details.
 

wesped

Registered
Dec 21, 2020
1
2
3
Spain
cPanel Access Level
Root Administrator
Last edited by a moderator: