On Sun, 03 Mar 2019 10:59:14 +0000
Ralph Corderoy <ra...@inputplus.co.uk> wrote:

> Hi Tim,
> 
> > Program and web pages that I had to login into were no longer holding
> > my password and I was having to log back into them, in some cases my
> > login was rejected. Also noticed that my two web browsers (Firefox and
> > Chrome) were acting as those I had cleared all my cookies and were
> > giving the "accept cookies message" on the some pages.  
> 
> Your IP address on the Internet probably changed, some cookie values
> were encoding that, and sites then noticed that your new IP address
> didn't match the one from the cookie that was set when you authenticated
> so you aren't logged in.

OK, I can see that
> 
> > late last night I decided to log off my PC and log back in again
> > allowing the system to refresh my login. When I choose to log off, my
> > PC decide to reboot (probably crashed).  
> 
> How long since you last rebooted?  Have you been applying updates during
> that time?  Does SolydX restarted daemons that depend on updated
> libraries from other packages, or have themselves been upgraded?
> I'm wondering if there hasn't been a reboot for ages, many updates
> applied, and a whole mishmash of different versions of things are
> running and not too compatible.

Previous reboot before last night was 11 days, but I have run longer than that 
before reboot in the
past without issue. Normally if a service or daemon needs to be restarted I see 
the request to do
so (I update via apt on the command line) . But I can see what you are saying.
 
> > Upon reboot it crashed and left me at a recovery screen. I managed to
> > get on to the PC this morning as root with a GUI desktop. One of the
> > errors it had listed when it was starting was a duplicate entry in
> > fstab, I checked the fstab file and that looked OK  
> 
> My initial RAM-disk image contains an /etc/fstab, though it's empty here
> on Arch Linux.  Perhaps it's not on SolydX and that's where the
> duplicate error occurs?
> 
>     $ zcat /boot/initramfs-linux.img |
>     > cpio -vt |
>     > grep fstab  
>     45562 blocks
>     -rw-r--r--   1 root     root            0 Mar  2 08:30 etc/fstab
>     $

Unfortunately I can't find the equivalent on my system but it has rebooted OK 
in the past

> When you looked for the duplicate entry, did you check UUIDs, or just
> that no mount points were present twice?  I see here that I've a
> duplicate UUID for two development boards; fortunately, I only use one
> at a time.
> 
>     $ sed 's/#.*//' /etc/fstab |
>     > tr -s '[:space:]' \\n |
>     > sort |
>     > uniq -d  
>     0
>     2
>     bind
>     defaults
>     ext3
>     ext4
>     noauto,user
>     noauto,user,fmask=133
>     none
>     UUID="02DD-A5BD"
>     vfat
>     $ 
>     $ grep 02DD-A5BD /etc/fstab
>     UUID="02DD-A5BD" /media/frdm-kl25z vfat noauto,user,fmask=133
>     UUID="02DD-A5BD" /media/frdm-ke06z vfat noauto,user,fmask=133
>     $
> 

0
2
defaults,noatime
ext4
rw,errors=remount-ro
swap
/tmp
tmpfs

When I first looked at fstab, I just checked each entry and there was only one 
entry for each
partition. When I could not find any double entries, I then checked each UUID 
comparing UUID with
those in gparted which is when I found that the sda1 had the wrong uuid

> > I decided to check that the UUID were correct and found that one of my
> > partitions (/dev/sda1) had a completely different UUID.  
> 
> Did you notice /etc/fstab's modification time before you edited it to
> update the UUID?

Unfortunately not

> 
> > I know that /dev/sda1 was mounted and working yesterday morning
> > because I saved the .thunderbird data file and one of the locations I
> > looked at was on /dev/sda1  
> 
> Yes, but once the filesystem is mounted then neither the UUID in
> /etc/fstab or the one stored in the filesystem will be used much.
> They're just used to tie the two together at mount time, unless you do
> something like `sudo -i blkid' to read from the devices.
> 
> > I simply edited the fstab details entering the UUID given by gparted,
> > saved it, rebooted and my PC booted and it booted up normally.  
> 
> Good to hear.
> 

One of the programs I has a problem with was webmin as it refused to accept 
anything  I used to
login (it should be my normal PC login details) but that is the only page I 
have had a problem from
the Chrome browser, all the other pages have been Firefox.

Well it seems to be working ok after nearly 6 hours

Tim H

--
  Next meeting: BEC, Bournemouth, Tuesday, 2019-03-05 20:00
  Check to whom you are replying
  Meetings, mailing list, IRC, ...  http://dorset.lug.org.uk/
  New thread, don't hijack:  mailto:dorset@mailman.lug.org.uk

Reply via email to