Changing motherboard on centos 7

General support questions
Blisk
Posts: 316
Joined: 2011/07/04 14:49:51
Contact:

Changing motherboard on centos 7

Post by Blisk » 2017/07/13 15:14:36

I have changed motherboard, processor and ram and started centos 7, but it won't load, I get some error pinging and nothing happends.
I tried also rescue mode but also get some errors.
Where to start to solve this problem?

User avatar
TrevorH
Site Admin
Posts: 33219
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Changing motherboard on centos 7

Post by TrevorH » 2017/07/13 16:02:29

Does it boot at all? If not then boot the rescue kernel and recreate your latest kernel's initramfs file using dracut. If it does boot then give exact errors.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Blisk
Posts: 316
Joined: 2011/07/04 14:49:51
Contact:

Re: Changing motherboard on centos 7

Post by Blisk » 2017/07/13 16:49:50

yes it boots and than stuck on some level when booting normally, when in rescue mode than I can access system normally.
You mean this?
https://wiki.centos.org/TipsAndTricks/CreateNewInitrd

Blisk
Posts: 316
Joined: 2011/07/04 14:49:51
Contact:

Re: Changing motherboard on centos 7

Post by Blisk » 2017/07/14 06:56:38

When booting normal I get
rejection I/O to offline device

pjsr2
Posts: 614
Joined: 2014/03/27 20:11:07

Re: Changing motherboard on centos 7

Post by pjsr2 » 2017/07/14 09:24:40

The rescue kernel and initramfs contain a wide range of modules to handle basically all supported hardware.
A normal kernel and initramfs are created in such a way that only the modules needed for your specific hardware are included. That is why you have to re-run dracut after a major change in the hardware.

User avatar
TrevorH
Site Admin
Posts: 33219
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Changing motherboard on centos 7

Post by TrevorH » 2017/07/14 09:35:49

But rejecting I/O to offline device sounds like you have a hardware problem.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

pjsr2
Posts: 614
Joined: 2014/03/27 20:11:07

Re: Changing motherboard on centos 7

Post by pjsr2 » 2017/07/14 21:19:06

rejection I/O to offline device
Do you have a device that changed name? Name of disk partition that no longer matches what is in /etc/fstab or network device name that has changed?

Blisk
Posts: 316
Joined: 2011/07/04 14:49:51
Contact:

Re: Changing motherboard on centos 7

Post by Blisk » 2017/07/15 11:20:29

OK I finally figured out what was problem, it was one of disks which was bad, I copied disk and now it is new in and it works.
But have some new problems, apache will not start anymore. this is error I get
-- Unit httpd.service has begun starting up.
Jul 15 13:18:23 povej.net httpd[13585]: [Sat Jul 15 13:18:23.980544 2017] [so:warn] [pid 13585] AH01574: module expires_module is already loaded, skipping
Jul 15 13:18:24 povej.net kernel: /usr/sbin/httpd[13585]: segfault at 7f3f6ced8ca1 ip 00007f3fd831a6f0 sp 00007fff208b6c48 error 4 in libnsl-2.17.so[7f3fd8311000+16000]
Jul 15 13:18:24 povej.net abrt-hook-ccpp[13587]: Process 13585 (httpd) of user 0 killed by SIGSEGV - dumping core
Jul 15 13:18:24 povej.net abrt-hook-ccpp[13587]: Failed to create core_backtrace: dwfl_getthread_frames failed: No DWARF information found
Jul 15 13:18:24 povej.net systemd[1]: httpd.service: main process exited, code=dumped, status=11/SEGV
Jul 15 13:18:24 povej.net kill[13590]: kill: cannot find process ""
Jul 15 13:18:24 povej.net systemd[1]: httpd.service: control process exited, code=exited status=1
Jul 15 13:18:24 povej.net systemd[1]: Failed to start The Apache HTTP Server.
-- Subject: Unit httpd.service has failed

User avatar
TrevorH
Site Admin
Posts: 33219
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Changing motherboard on centos 7

Post by TrevorH » 2017/07/15 11:38:48

Time to run memtest86+ for a day or so and see if it finds anything wrong.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Blisk
Posts: 316
Joined: 2011/07/04 14:49:51
Contact:

Re: Changing motherboard on centos 7

Post by Blisk » 2017/07/16 08:10:57

OK I will change RAM and see if there is some changes.

Post Reply