OPNsense Forum

Archive => 23.1 Legacy Series => Topic started by: j2787 on August 01, 2023, 12:01:12 AM

Title: Opnsense breaks with nothing fixing it
Post by: j2787 on August 01, 2023, 12:01:12 AM
I am new to Opnsense and Unix-type OS with a little knowledge of Linux so my apologies for any misunderstandings.

I have been having an issue where I have installed Opnsense on 2 different SSDs with two different motherboards to some old computer hardware(shown at the bottom) that I had from an old setup and no matter what I do the install after about an hour sometimes longer will break with RRDtool page read error being the outcome. While that is breaking I can't do anything with the system and I have to restart before applying any changes to anything. I am not the best at getting the log files but I have been able to get some, but at different times in the troubleshooting process so I am not sure how helpful those will be. But after a while, I get a; ada0: <SAMSUNG MZ7LH480HAHQ-00005 HXT7404Q> s/n S45PNA0N247821 detached, with that being said I have tried many many different methods and installed methods with nothing working. This has been happening for months at this point and I have to keep switching back and forth between my old Netgear router and a fresh install of opnsense and have even tried pfsense with nothing working at the moment.



MB - gigabyte GA-A87-DEHP and gigabyte GA-Z97X-SLI
CPU - intel 4770 non k
RAM - DDR3 G-SKILl 32GB
1st - SSD was samsung 850 pro - 256gb
2nd - SSD and current Samsung pm883 - 480gb
NIC - 2.5G 2500m BASE-T intel I225 chip
Title: Re: Opnsense breaks with nothing fixing it
Post by: bartjsmit on August 01, 2023, 07:42:51 AM
Are you using the same PSU for both boards?
Title: Re: Opnsense breaks with nothing fixing it
Post by: j2787 on August 01, 2023, 11:03:33 AM
Quote from: bartjsmit on August 01, 2023, 07:42:51 AM
Are you using the same PSU for both boards?
Yes, I am. Why do you ask that?
Title: Re: Opnsense breaks with nothing fixing it
Post by: bartjsmit on August 01, 2023, 01:31:08 PM
Bad power can cause disk problems, especially with vintage kit - see if you can swap it out as well

Next (usual) suspect is bad RAM. https://www.memtest86.com/
Title: Re: Opnsense breaks with nothing fixing it
Post by: j2787 on August 01, 2023, 05:08:03 PM
I understand your point and in the name of getting rid of all the standard possibilities I shall do those things and report back in a few hours.
Quote from: bartjsmit on August 01, 2023, 01:31:08 PM
Bad power can cause disk problems, especially with vintage kit - see if you can swap it out as well

Next (usual) suspect is bad RAM. https://www.memtest86.com/
Title: Re: Opnsense breaks with nothing fixing it
Post by: j2787 on August 02, 2023, 07:33:54 AM
So far after I restarted the system and watched it all day I haven't seen any error popping up as of the moment but I shall keep monitoring it and report back if there is anything else that pops up after changing the power supply.
Title: Re: Opnsense breaks with nothing fixing it
Post by: j2787 on August 11, 2023, 01:17:19 AM
So the power supply was the issue. I am happy that fixed the issue and wasnt something I did and was just a bad component.