Segmentation fault error while SSH

andrew.n

Well-Known Member
Jun 9, 2020
917
342
63
EU
cPanel Access Level
Root Administrator
So you are trying to SSH to another server from your cPanel terminal and getting segmentation fault?
Can you make a screenshot please?
Does other commands like yum update or w or ps aux etc.. works correctly?
Do you have enough space on the server?
 
  • Like
Reactions: cPanelAnthony

HostNoc

Well-Known Member
Feb 20, 2020
153
38
28
Ontario
cPanel Access Level
Root Administrator
This is a issue when cPanel's Fork Bomb Protection is enabled.

Fix: Log into WHM as root, click "Shell Fork Bomb Protection" and disable that feature, and things should continue to work fine.

Regards
HostNoc
 
  • Like
Reactions: cPanelAnthony

Sajawal

Well-Known Member
Sep 10, 2020
48
7
8
Pakistan
cPanel Access Level
Root Administrator
This is a issue when cPanel's Fork Bomb Protection is enabled.

Fix: Log into WHM as root, click "Shell Fork Bomb Protection" and disable that feature, and things should continue to work fine.

Regards
HostNoc
Hi, "Shell Fork Bomb Protection" status is *already disabled on my server, and the issue is notresolved.
 

andrew.n

Well-Known Member
Jun 9, 2020
917
342
63
EU
cPanel Access Level
Root Administrator
Hi, "Shell Fork Bomb Protection" status is *already disabled on my server, and the issue is notresolved.
Can you check what I wrote above?
 
  • Like
Reactions: cPanelAnthony

cPanelAnthony

Administrator
Staff member
Oct 18, 2021
1,045
112
118
Houston, TX
cPanel Access Level
Root Administrator
Hello! Could you get the information Andrew asked for?

So you are trying to SSH to another server from your cPanel terminal and getting segmentation fault?
Can you make a screenshot please?
Does other commands like yum update or w or ps aux etc.. works correctly?
Do you have enough space on the server?
The following article might help as well.

What are Segmentation Faults?

Please note that the chances are incredibly likely that this issue is not related to cPanel and contacting a qualified systems administrator would be suggested.
 

Sajawal

Well-Known Member
Sep 10, 2020
48
7
8
Pakistan
cPanel Access Level
Root Administrator
So you are trying to SSH to another server from your cPanel terminal and getting segmentation fault?
Can you make a screenshot please?
Does other commands like yum update or w or ps aux etc.. works correctly?
Do you have enough space on the server?
Hi, I'm sorry I don't know how did I miss this reply, sorry for that.

The above-mentioned commands are working fine. the screenshot is attached below.
 

Attachments

andrew.n

Well-Known Member
Jun 9, 2020
917
342
63
EU
cPanel Access Level
Root Administrator
When you ssh the first time it shows connection refused and when you SSH second time it shows segmentation fault. Do you SSH to the same or different servers? Is there any difference in the commands you are using? Do you see segmentation fault in "dmesg" as well? what is logged in to /var/log/messages file?
 

Sajawal

Well-Known Member
Sep 10, 2020
48
7
8
Pakistan
cPanel Access Level
Root Administrator
When you ssh the first time it shows connection refused and when you SSH second time it shows segmentation fault. Do you SSH to the same or different servers? Is there any difference in the commands you are using? Do you see segmentation fault in "dmesg" as well? what is logged in to /var/log/messages file?
The first time port was not defined which is why the connection refused message received and there are no logs in /var/log/messages and "dmesg" about these.