# Rocky Linux 8.8 logging in Bash 4.4

**URL:** https://forums.rockylinux.org/t/rocky-linux-8-8-logging-in-bash-4-4/15939
**Category:** Rocky Linux Help & Support
**Tags:** rocky-linux-8
**Created:** [September 24, 2024, 10:41am UTC](https://forums.rockylinux.org/t/rocky-linux-8-8-logging-in-bash-4-4/15939 "2024-09-24T10:41:46Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![AbdulAhad](https://avatars.discourse-cdn.com/v4/letter/a/7ab992/32.png) [@AbdulAhad](https://forums.rockylinux.org/u/AbdulAhad)
#### Post date: [September 24, 2024, 10:41am UTC](https://forums.rockylinux.org/t/rocky-linux-8-8-logging-in-bash-4-4/15939/1 "2024-09-24T10:41:46Z")

</div>

Hello All , I’ve Rocky linux 8.8 on my production server, something weird has been observed over past few days, when I log into the server, it directs goes to bash 4.4. Now I have not played around with Bashrc or Bash\_profile and these files are also present. After a while something happens the server will log into Bash 4.4. Some of the commands like “ls” “cat” will work but if I try to execute any command like “systemctl status mariadb” or “htop” , there’s no response from the command , it goes into infinite loop and it will not return anything. htop break the whole session making the session unresponsive and other commands like this are not working at all.  
Surprisingly if I restart the server , everything gets fixed like nothing ever happened. It’s my production server and I cannot restart it again and again, would like to see if I can get to the root cause of this

Has anyone faced anything similar? I’m sure there’s nothing wrong with bashrc or bash\_profile.

---

<div class="post-metadata">

### Author: ![jbkt23](https://avatars.discourse-cdn.com/v4/letter/j/9fc29f/32.png) [@jbkt23](https://forums.rockylinux.org/u/jbkt23)
#### Post date: [September 24, 2024, 11:49am UTC](https://forums.rockylinux.org/t/rocky-linux-8-8-logging-in-bash-4-4/15939/2 "2024-09-24T11:49:35Z")

</div>

I have not seen this issue reported on a Rocky distro or experienced it on the other RH distro I use (fedora).  
Currently your system is two versions of RL8 out of date with the current supported version being 8.10. So besides needing to update your system how do you logon to the server, directly via attached keyboard and monitor of via ssh remotely?

---

<div class="post-metadata">

### Author: ![jlehtone](https://avatars.discourse-cdn.com/v4/letter/j/e9a140/32.png) [@jlehtone](https://forums.rockylinux.org/u/jlehtone)
#### Post date: [September 24, 2024, 12:28pm UTC](https://forums.rockylinux.org/t/rocky-linux-8-8-logging-in-bash-4-4/15939/3 "2024-09-24T12:28:15Z")

</div>

On start of session the bash sources config files in order to set up environment, including the PS1.

I’ve seen seriously clogged systems, where this initialization takes very long. If I interrupt with Ctrl-c, I do get to prompt, but with incompletely initialized environment. One visible hint of that is the prompt (PS1) is not `[\u@\h \W]\$` but contains the bash version.

What “serious clog”? Not sure. Most likely network issues for us as our home/data directories are on NFS servers. Therefore, network blackouts leave most our user processes hanging, waiting.

---

<div class="post-metadata">

### Author: ![AbdulAhad](https://avatars.discourse-cdn.com/v4/letter/a/7ab992/32.png) [@AbdulAhad](https://forums.rockylinux.org/u/AbdulAhad)
#### Post date: [September 24, 2024, 12:43pm UTC](https://forums.rockylinux.org/t/rocky-linux-8-8-logging-in-bash-4-4/15939/4 "2024-09-24T12:43:54Z")

</div>

I logon to the server via ssh remotely

---

<div class="post-metadata">

### Author: ![AbdulAhad](https://avatars.discourse-cdn.com/v4/letter/a/7ab992/32.png) [@AbdulAhad](https://forums.rockylinux.org/u/AbdulAhad)
#### Post date: [September 24, 2024, 2:18pm UTC](https://forums.rockylinux.org/t/rocky-linux-8-8-logging-in-bash-4-4/15939/5 "2024-09-24T14:18:30Z")

</div>

This is the exact situation I face , this is exactly what’s happening, also the PS1 only contains bash version , I have tried replacing the (PS1) with `[\u@\h \W]\$` but still I will keep the user processes hanging or waiting and as far as our home directory is concerned, it is physically attached to the server

---

<div class="post-metadata">

### Author: ![gerry666uk](https://avatars.discourse-cdn.com/v4/letter/g/dbc845/32.png) [@gerry666uk](https://forums.rockylinux.org/u/gerry666uk)
#### Post date: [September 24, 2024, 6:05pm UTC](https://forums.rockylinux.org/t/rocky-linux-8-8-logging-in-bash-4-4/15939/6 "2024-09-24T18:05:12Z")

</div>

When you reboot, it goes back to normal (for a short while), so maybe do a reboot, and then carefully monitor activity and see if the load average increases over time and then check to see which process is causing it.

---

<div class="post-metadata">

### Author: ![AbdulAhad](https://avatars.discourse-cdn.com/v4/letter/a/7ab992/32.png) [@AbdulAhad](https://forums.rockylinux.org/u/AbdulAhad)
#### Post date: [September 30, 2024, 10:23am UTC](https://forums.rockylinux.org/t/rocky-linux-8-8-logging-in-bash-4-4/15939/7 "2024-09-30T10:23:58Z")

</div>

looking into the kernel logs, I found out my mariadb task is blocked for some reason , killing this task brought the server back to normal. This is resolved now. Thankyou Everyone for your contributions!

 ![image](https://us1.discourse-cdn.com/flex020/uploads/rockylinux/original/2X/9/961a212e4dc80523c08b757a355178b49b037bf6.png)

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex020/uploads/rockylinux/original/1X/91b7219eec10e30013422e4df76c1d898711a5d5.svg) [@system](https://forums.rockylinux.org/u/system)
#### Post date: [November 29, 2024, 10:24am UTC](https://forums.rockylinux.org/t/rocky-linux-8-8-logging-in-bash-4-4/15939/8 "2024-11-29T10:24:24Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
