Today's power outage seems to have left my net 44 link DOA... If so I wanted everyone to know I may be back.. No time to fix right now.. Just spent over a week getting everything working after a virus attack. And was not really done still had two systems down.. Now I have this.. I need a break, also.. May pick this back up in July... May not.
Anyone linked to me I will be back eventually.. Maybe Maybe not.
But now I have to figure out a few things.
Why does my Pi lose all its free space within 30 minutes of boot up. Went from 73% to 100% cannot connect to it without rebooting over and over...
So until I feel like being a slave to linux and the PI I am off line.
73 Jerry N9LYA
On Jun 20, 2015, at 6:03 PM, Jerry Kutche n9lya@nwcable.net wrote:
Why does my Pi lose all its free space within 30 minutes of boot up. Went from 73% to 100% cannot connect to it without rebooting over and over...
I’ve seen this with logging. Something verbose fills the SD card (not good on the life of the SD card either).
-- Eric Chamberlain
Jerry, I once had an issue with jnos making large files in /temp... I've actually forgotten how I fixed it tho...
On 15-06-20 10:55 PM, Eric Chamberlain wrote:
(Please trim inclusions from previous messages) _______________________________________________
On Jun 20, 2015, at 6:03 PM, Jerry Kutche n9lya@nwcable.net wrote:
Why does my Pi lose all its free space within 30 minutes of boot up. Went from 73% to 100% cannot connect to it without rebooting over and over...
I’ve seen this with logging. Something verbose fills the SD card (not good on the life of the SD card either).
-- Eric Chamberlain
44Net mailing list 44Net@hamradio.ucsd.edu http://hamradio.ucsd.edu/mailman/listinfo/44net
Probably would not have been so bad but the Power Co decided to cycle the power 7 times before leaving it off... Looking this morning.. I have no clue what to do.. If you remember let me know..
Sent: Sunday, June 21, 2015 5:17 AM To: AMPRNet working group Subject: Re: [44net] Power outage
(Please trim inclusions from previous messages) _______________________________________________ Jerry, I once had an issue with jnos making large files in /temp... I've actually forgotten how I fixed it tho...
On 15-06-20 10:55 PM, Eric Chamberlain wrote:
(Please trim inclusions from previous messages) _______________________________________________
On Jun 20, 2015, at 6:03 PM, Jerry Kutche n9lya@nwcable.net wrote:
Why does my Pi lose all its free space within 30 minutes of boot up. Went from 73% to 100% cannot connect to it without rebooting over and over...
I’ve seen this with logging. Something verbose fills the SD card (not good on the life of the SD card either).
-- Eric Chamberlain
44Net mailing list 44Net@hamradio.ucsd.edu http://hamradio.ucsd.edu/mailman/listinfo/44net
_________________________________________ 44Net mailing list 44Net@hamradio.ucsd.edu http://hamradio.ucsd.edu/mailman/listinfo/44net
I am back.. N1URO looked things over fixed several and freed up a lot of spare I repaired a couple KAMS and I am backup... Will see how it goes.. I will be out a few days,.. so if it goes crazy let n1uro know he can call me and I can arrange to have it shutdown..
73 Jerry n9lya
Bring your Pi up in 'single user mode' (look up 'single user mode' for the Pi operating system that you are using) so that you can look at the files without it being overwhelmed with more issues, you won't have networking enabled.
Which directories on the Pi are getting filled up?
'du' is the command to use.
Start with:
du -sk /* | sort in
and then look at the largest directory (will be at the end) using the same command, so that if /var is biggest:
cd var
du -sk * | sort -n
and keep going, looking at the biggest directory until the numbers get smaller.
One possibility is /var/log, if this is the biggest, look into the biggest file that you find. I will probably be over-full of messages talking about a particular problem.
I've cleaned up after root attacks - it means *STARTING FROM SCRATCH* - really, you absolutely must do this! and make sure to lock down your system with the latest updates before connecting it to the Internet again. I used a clean, separate computer to download what I needed.
And then, understanding that this might not be enough. 'Zero day' attacks (and others that the OS distributor has not yet patched for) can get you. 'Welcome' to the Internet! Sigh. Hopefully you won't run into this.
Unfortunately, this is 'life in the Internet fast lane'. Fortunately, you aren't a real target for most 'zero day' attacks, you're more likely to get hit by people who assume that sending you a .zip file will get you to open it and compromise your system. Never, ever open a .zip file, even if you think you know who it's from. If it's from a friend, get them to send it with a different name (something like myfile.thisisnottheZipfileyouarelookingfor) - but get them to tell you the name! - and then make sure that it is run through your virus scanner!
If you would like more computer security/virus tips I'm happy to help. This has become such a pain for everyone on the 'net!
- Richard
On 6/20/15 6:03 PM, Jerry Kutche wrote:
Today's power outage seems to have left my net 44 link DOA... If so I wanted everyone to know I may be back.. No time to fix right now.. Just spent over a week getting everything working after a virus attack. And was not really done still had two systems down.. Now I have this.. I need a break, also.. May pick this back up in July... May not.
Anyone linked to me I will be back eventually.. Maybe Maybe not.
But now I have to figure out a few things.
Why does my Pi lose all its free space within 30 minutes of boot up. Went from 73% to 100% cannot connect to it without rebooting over and over...
So until I feel like being a slave to linux and the PI I am off line.
73 Jerry N9LYA
44Net mailing list 44Net@hamradio.ucsd.edu http://hamradio.ucsd.edu/mailman/listinfo/44net
Reminds me of when I first used JNOS on the RPi. Had to replace SD card a couple of times. Then decided to put jnos on thumb drive so all logs and jnos writing activities go to thumb drive media instead of SD. Has worked well ever since. 73-Ken KD6OAT
On Jun 20, 2015, at 7:03 PM, Jerry Kutche n9lya@nwcable.net wrote:
(Please trim inclusions from previous messages) _______________________________________________ Today's power outage seems to have left my net 44 link DOA... If so I wanted everyone to know I may be back.. No time to fix right now.. Just spent over a week getting everything working after a virus attack. And was not really done still had two systems down.. Now I have this.. I need a break, also.. May pick this back up in July... May not.
Anyone linked to me I will be back eventually.. Maybe Maybe not.
But now I have to figure out a few things.
Why does my Pi lose all its free space within 30 minutes of boot up. Went from 73% to 100% cannot connect to it without rebooting over and over...
So until I feel like being a slave to linux and the PI I am off line.
73 Jerry N9LYA
44Net mailing list 44Net@hamradio.ucsd.edu http://hamradio.ucsd.edu/mailman/listinfo/44net
I have a 'workhorse' Pi at the centre of my home network (email, DHCP, NTP, etc) and found that even a thumb drive suffered after continuous use. I bought a 60 GB SSD (Solid State Drive) and it's been working now for more than a year.
Neither SDs nor thumb drives have the automatic redistribution logic of SSDs, so using them to write data that is being repeatedly altered (like log files and email folders) can really impact them. Thumb drives do seem to survive better than SDs, but SSDs are much better still.
- Richard, VE7CVS
On 6/22/15 4:53 AM, KD6OAT wrote:
(Please trim inclusions from previous messages) _______________________________________________ Reminds me of when I first used JNOS on the RPi. Had to replace SD card a couple of times. Then decided to put jnos on thumb drive so all logs and jnos writing activities go to thumb drive media instead of SD. Has worked well ever since. 73-Ken KD6OAT
Seems to me the problem of jnos filling up a directory was a problem of a race condition caused misconfigured mbox, so that when smtp tried to deliver an undeliverable message it tried leaving it in mqueue, but it left only a blank message and incremented sequence.seq, then tried again with the same result. Stuck in a loop which ended up filling up the mqueue directory and finally the system would crash.
I too can't remember how exactly I got rid of the problem, but I do remember flushing mqueue and deleting sequence.seq (it regenerates on the next boot). And of course solving the ampr.org addressing problem. Look at the alias file and the ftpusers files. Check logs too... jnos and syslog for clues.
As for the thumb drive... I have the same as KD6OAT: a thumb drive with jnos on it, and the OS on the SD card. It's been running without problems since PI's became available here in Vancouver, so thats several years now.
jerome - ve7ass
On 2015-06-22 08:11, Richard Chycoski wrote:
(Please trim inclusions from previous messages) _______________________________________________ I have a 'workhorse' Pi at the centre of my home network (email, DHCP, NTP, etc) and found that even a thumb drive suffered after continuous use. I bought a 60 GB SSD (Solid State Drive) and it's been working now for more than a year.
Neither SDs nor thumb drives have the automatic redistribution logic of SSDs, so using them to write data that is being repeatedly altered (like log files and email folders) can really impact them. Thumb drives do seem to survive better than SDs, but SSDs are much better still.
- Richard, VE7CVS
On 6/22/15 4:53 AM, KD6OAT wrote: