I’m having problems booting/logging into ClearLinux so I’m trying to find the relevant logs to help solve the issue. I would appreciate some help finding with which log files to look at to help solve this, or if anyone has any ideas what the problem might be I would appreciate any suggestions.
When the login screen appears my user icon is not there, and when I try to login my credentials work but it just restarts the login screen and brings me back to the user selection screen to login again. If I enter invalid credentials it won’t let me login because the credentials are invalid and does not restart the login screen. I had issues in the past where customizations made to the ~/.profile ~/.bashrc and some bash aliases caused issues logging in, so I removed those files and tried to boot again but still could not login.
I see in /var/log there are a few files, but I don’t see anything that’s been helpful. I have a second installation of ClearLinux on a separate drive that I am using (I keep it for troubleshooting issues like this) but I do need to get the other installation working as I have spent a lot of time setting it up and it has some projects that I have put a lot of time into (things that can’t easily be transferred, they have to be installed and configured).
I have recently removed an external hard drive bay because a drive died, so I can’t just plug it back in to see if that would make it boot. I’m thinking there could be a file the computer is trying to read on the external bay that can’t; I have read other people who have had issues logging in have had missing files that caused the issue.
I have docker on the ClearLinux installation with some compose projects that I’ve been working on lately. I also had recently setup NFS and tried setting up Samba (but that didn’t work, I’m not sure if that’s still trying to start and failing, but I can’t find where that would be).
find to make a log of files that were modified in the last 10 days, but it’s fairly large and I can’t see anything that stands out. If someone could recommend some log files to look at, or some files to check that may be causing the issue, I would be very much appreciate it. Most of the changed files seem to be docker or system updates (I can’t tell which version I’m using because I can’t login).
I’m not sure if this is relevant but the /var/log/samba/log.samba file has the following error:
exit_daemon: daemon failed to start: Samba detected misconfigured 'server role' and exited. Check logs for details, error code 22
Here are the
-rw-rw---- 1 root utmp 3072 Feb 7 19:48 btmp -rw-r--r-- 1 root root 219 Jan 17 19:21 dnf.librepo.log -rw-r--r-- 1 root root 1654 Jan 17 19:21 dnf.log -rw-r--r-- 1 root root 54 Jan 17 19:21 dnf.rpm.log drwxr-xr-x 2 elasticsearch elasticsearch 4096 Jan 16 21:06 elasticsearch drwx--x--x 2 root gdm 4096 Jan 16 11:47 gdm drwxr-xr-x 2 root root 4096 Jan 16 18:03 httpd drwxr-sr-x+ 3 root systemd-journal 4096 Jan 16 11:47 journal -rw-rw-r-- 1 root utmp 292584 Feb 6 20:20 lastlog drwx------ 2 root root 4096 Mar 22 14:25 letsencrypt drwxr-x--- 2 httpd httpd 4096 Mar 9 14:33 nginx drwxr-x--- 2 httpd httpd 4096 Jan 16 18:03 nginx-mainline drwx------ 2 root root 4096 Jan 15 21:43 private drwx------ 3 root root 4096 Mar 24 09:42 samba -rw-rw-r-- 1 root utmp 90624 Apr 1 09:16 wtmp -rw-r--r-- 1 root andrew 31356 Apr 1 09:16 Xorg.0.log -rw-r--r-- 1 root andrew 31356 Apr 1 09:16 Xorg.0.log.old
There is nothing in the gdm folder or private folder.
I made a couple gists if anyone thinks these might be helpful:
- The /var/log/Xorg.0.log file:
- Files modified in the last 10 days
Thanks in advance