Koozali.org: home of the SME Server

Obsolete Releases => SME Server 9.x => Topic started by: hawk on June 27, 2017, 01:56:20 PM

Title: 9.2 uggrade Segmentation Error
Post by: hawk on June 27, 2017, 01:56:20 PM
Good Day good people

I ran the 9.1 to 9.2 upgrade,
When ever i try any commands i get segmentation error,
I cant login to my server-manager
I cant login into the admin account remotely
i can login to the root account local and remote - console gives segmentation error
My web services are working
i can assess exsisting mail, but it will not send or recieve
i cant run yum update, Fails to find any servers, i can ping external ip address's but it will not ping a web address
signal-event post-upgrade gives segmentation error
on boot up there are no visable errors,
i cant access any log files - segmentation error

i have booted off dvd and run the memory test no errors
i have booted off the DVD and done a repair install  no change

i have taken the hard drive out and instlled in another motherboard , cpu and ram still the same errors.

the only thing this servers runs is email and front accounting, if my memory servers me correct i think the only contribs are Sarg, DHCP manager, webfiltering,

 Any advice would be very welcome.
thanks John

   
Title: Re: 9.2 uggrade Segmentation Error
Post by: janet on June 27, 2017, 02:26:58 PM
hawk

Do you have space left on the hard drive, what does
df -h
show ?
Title: Re: 9.2 uggrade Segmentation Error
Post by: hawk on June 27, 2017, 02:55:26 PM
thanks for the reply

[root@hawkgateway ~]# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/main-root
                      909G   44G  819G   6% /
tmpfs                 3.8G     0  3.8G   0% /dev/shm
/dev/md0              239M   77M  150M  34% /boot
[root@hawkgateway ~]#

Plenty of space, i did check that with a check on the hard drive and no errors
Title: Re: 9.2 uggrade Segmentation Error
Post by: janet on June 27, 2017, 03:23:27 PM
hawk

Have you done a full diagnostic test on the hard drives eg manufacturers hard disk test and/or see
https://wiki.contribs.org/Monitor_Disk_Health

Title: Re: 9.2 uggrade Segmentation Error
Post by: janet on June 27, 2017, 03:44:58 PM
hawk

A search in these forums on segmentation fault gives quite few finds & clues.
Sarg is a contrib that can be problematic, try uninstalling it.

Charlie Brady has posted that these sort of errors are usually one of
memory (RAM)
hard disk problems
software problems
Title: Re: 9.2 uggrade Segmentation Error
Post by: guest22 on June 27, 2017, 03:53:56 PM
Agree, segmentation errors can be seen as a 'Master Alarm'.
Title: Re: 9.2 uggrade Segmentation Error
Post by: Daniel B. on June 27, 2017, 04:04:00 PM
I'd guess either faulty hardware (RAM or HDD mainly), or interrupted yum transaction (during the upgrade of an essential lib). In any case, a reinstall + restore is recommended (but you need to be sure your hardware is OK before doing so)
Title: Re: 9.2 uggrade Segmentation Error
Post by: hawk on June 27, 2017, 04:55:57 PM
hi janet
yes i ran monitor disk health and found no errors

i suspected ram and hdd erros that is why i ran the tests i even tried other hardware except the hdd

RequestedDeletion
yes segmentation is a master alarm, have read up quite a lot about it, but still in the dark

Daniel B, reinstall + restore is the way to go, but my backups also stopped working, so that will be a final and absolute last chance , i cant get in to the server-manager to activate a backup, if i could get in i would setup a backup and do just that,

i do suspect that there was a problem with the upgrade interruption, thats why i downloaded the fully 9.2 tried a repair.

All contribs have been removed

we soldier on to try and find a solution,
Title: Re: 9.2 uggrade Segmentation Error
Post by: Daniel B. on June 27, 2017, 05:00:17 PM
hi janet
yes i ran monitor disk health and found no errors
What have you run , and what was the result ? Also did you ran a full memcheck ?

Daniel B, reinstall + restore is the way to go, but my backups also stopped working, so that will be a final and absolute last chance
If still accessible, your emergency would then be to backup /home/e-smith/files on anther HDD

i do suspect that there was a problem with the upgrade interruption, thats why i downloaded the fully 9.2 tried a repair.
Why do you suspect that ? Did you have any issue during upgrade ?
Title: Re: 9.2 uggrade Segmentation Error Solved
Post by: hawk on June 30, 2017, 08:39:44 AM
thanks for all the help
but i didn't manage to fix this server.
but i did however manage to build another server and transfer the data, emails and database
Lucky this was my own server and not a clients.

thanks again for all the help.