The aptitude chocked there with
100% [Waiting for headers]
And a blinking cursor at the end.
I guess something wrong, I can't enter into the login interface with the driver intact in the last days.
Thanks with best regards,
Lina
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 11392B74-EC77-414C-89DE-ABF5DEBAF332@gmail.com">http://lists.debian.org/11392B74-EC77-414C-89DE-ABF5DEBAF332@gmail.com
06-24-2012, 03:49 AM
lina
100%
Kinda of funny,
Dselect reported me that my /var has saturated. Indeed, 100%.
My question is that how to set to let me know earlier when the var reached 98%. Kinda of dangerous huh?
Thanks again,
Lina
On 24 Jun, 2012, at 11:43, lina <lina.lastname@gmail.com> wrote:
> Hi,
>
> When I used aptitude update.
>
> The aptitude chocked there with
> 100% [Waiting for headers]
> And a blinking cursor at the end.
>
> I guess something wrong, I can't enter into the login interface with the driver intact in the last days.
>
> Thanks with best regards,
>
> Lina
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 3A808264-0DC8-43FA-8EFC-864774FB9A50@gmail.com">http://lists.debian.org/3A808264-0DC8-43FA-8EFC-864774FB9A50@gmail.com
06-24-2012, 04:09 AM
lina
100%
Hi,
Before I thought it might the serever I used got wrong, so I changed
my source list.
but it has new problem as:
W: Failed to fetch
gzip:/var/lib/apt/lists/partial/ftp.us.debian.org_debian_dists_wheezy_main_binary-amd64_Packages
Hash Sum mismatch
E: Some index files failed to download. They have been ignored, or old
ones used instead.
On Sun, Jun 24, 2012 at 11:49 AM, lina <lina.lastname@gmail.com> wrote:
> Kinda of funny,
>
> Dselect reported me that my /var has saturated. *Indeed, 100%.
>
> My question is that how to set to let me know earlier when the var reached 98%. *Kinda of dangerous huh?
>
> Thanks again,
>
> Lina
>
> On 24 Jun, 2012, at 11:43, lina <lina.lastname@gmail.com> wrote:
>
>> Hi,
>>
>> When I used aptitude update.
>>
>> The aptitude chocked there with
>> 100% [Waiting for headers]
>> And a blinking cursor at the end.
>>
>> I guess something wrong, I can't enter into the login interface with the driver intact in the last days.
>>
>> Thanks with best regards,
>>
>> Lina
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: http://lists.debian.org/CAG9cJm=JtkGgwA06vckQd4yea4bhkrmzMYC0wjf3zToc7=Q@ mail.gmail.com
06-24-2012, 04:24 AM
Ralf Mardorf
100%
On Sun, 2012-06-24 at 12:09 +0800, lina wrote:
> Before I thought it might the serever I used got wrong, so I changed
> my source list.
I rebooted to Debian stable (AV Linux 5.0.3) and tested what happens
here, Western Germany around 06:17 o'clock.
So the repositories are ok. There seems to be a bug on your system.
- Ralf
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: http://lists.debian.org/1340511841.2153.4.camel@precise
06-24-2012, 04:27 AM
lina
100%
On Sun, Jun 24, 2012 at 12:24 PM, Ralf Mardorf
<ralf.mardorf@alice-dsl.net> wrote:
> On Sun, 2012-06-24 at 12:09 +0800, lina wrote:
>> Before I thought it might the serever I used got wrong, so I changed
>> my source list.
>
> I rebooted to Debian stable (AV Linux 5.0.3) and tested what happens
> here, Western Germany around 06:17 o'clock.
Yes, there is no problem in the repositories, it's my var partition
got saturated.
Thanks,
>
> - Ralf
>
>
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> Archive: http://lists.debian.org/1340511841.2153.4.camel@precise
>
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: http://lists.debian.org/CAG9cJmnuk=Zz6oJvMeZkD+cnm9tNFhy6bq0fQYBzKWaV7RhSh w@mail.gmail.com
06-24-2012, 04:49 AM
Chris Knadle
100%
On Saturday, June 23, 2012 23:49:54, lina wrote:
> Kinda of funny,
>
> Dselect reported me that my /var has saturated. Indeed, 100%.
>
> My question is that how to set to let me know earlier when the var reached
> 98%. Kinda of dangerous huh?
This is a common problem. If this is a box you're running KDE on I'd suggest
the freespacenotifier package. If this is a server (or doesn't run KDE) then
I'd suggest configuring the box such that you'll get email output from cron,
and then make a cronjob that outputs text only when the free space left on
filesystems reaches the desired "warning" threshold.
I'm about to set up the same thing because there's a box I help administer
that also regularly runs into this problem. :-/
-- Chris
--
Chris Knadle
Chris.Knadle@coredump.us
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 201206240049.36230.Chris.Knadle@coredump.us">http://lists.debian.org/201206240049.36230.Chris.Knadle@coredump.us
06-24-2012, 05:28 AM
lina
100%
On Sun, Jun 24, 2012 at 12:49 PM, Chris Knadle <Chris.Knadle@coredump.us> wrote:
> On Saturday, June 23, 2012 23:49:54, lina wrote:
>> Kinda of funny,
>>
>> Dselect reported me that my /var has saturated. *Indeed, 100%.
>>
>> My question is that how to set to let me know earlier when the var reached
>> 98%. *Kinda of dangerous huh?
>
> This is a common problem. *If this is a box you're running KDE on I'd suggest
> the freespacenotifier package. *If this is a server (or doesn't run KDE) then
It runs with xfce4.
> I'd suggest configuring the box such that you'll get email output from cron,
> and then make a cronjob that outputs text only when the free space left on
> filesystems reaches the desired "warning" threshold.
I started to initiate a script,
$ while [ df -h | grep "/dev/sda11 " | awk '{print $5}' > 90% ]; do
sleep 1000 ; done mail lina@email.com
bash: [: missing `]'
bash: 90%: No such file or directory
not work.
Can someone recommend some build-in script which integrate the cron,
so I can take it as template and learn from it. I don't know which one
is the best fit, which also autorun everytime after reboot.
>
> I'm about to set up the same thing because there's a box I help administer
> that also regularly runs into this problem. *:-/
>
>
> *-- Chris
Thanks for all,
>
> --
> Chris Knadle
> Chris.Knadle@coredump.us
>
>
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> Archive: http://lists.debian.org/201206240049.36230.Chris.Knadle@coredump.us
>
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: http://lists.debian.org/CAG9cJmnNzOQBAP_oJ6m0BJQ5Aztkt6ez+RvpdFNX=1T5FGrSV w@mail.gmail.com
06-24-2012, 05:50 AM
Richard Hector
100%
On 24/06/12 17:28, lina wrote:
> On Sun, Jun 24, 2012 at 12:49 PM, Chris Knadle <Chris.Knadle@coredump.us> wrote:
>> On Saturday, June 23, 2012 23:49:54, lina wrote:
>>> Kinda of funny,
>>>
>>> Dselect reported me that my /var has saturated. Indeed, 100%.
>>>
>>> My question is that how to set to let me know earlier when the var reached
>>> 98%. Kinda of dangerous huh?
>>
>> This is a common problem. If this is a box you're running KDE on I'd suggest
>> the freespacenotifier package. If this is a server (or doesn't run KDE) then
>
> It runs with xfce4.
>
>> I'd suggest configuring the box such that you'll get email output from cron,
>> and then make a cronjob that outputs text only when the free space left on
>> filesystems reaches the desired "warning" threshold.
>
> I started to initiate a script,
>
> $ while [ df -h | grep "/dev/sda11 " | awk '{print $5}' > 90% ]; do
> sleep 1000 ; done mail lina@email.com
> bash: [: missing `]'
> bash: 90%: No such file or directory
>
> not work.
Here's my quick attempt at a cronjob entry:
* * * * * df -P |grep [9].\%
That will report on _any_ filesystem over 90% - why restrict yourself to
only knowing about some of them?
Firstly, it runs every minute (5 stars), which was useful for testing,
but you probably don't want an email every minute until you fix it :-)
Daily may well be good enough; you could probably just put a file with
"df -P |grep [9].\%" in /etc/cron.daily.
The -P flag makes sure all the info is on one line, which it wouldn't be
on this machine, which has some long device (actually nfs share) names.
The search pattern will find any line with a 9 followed by any character
followed by a % symbol, so anything over 90%. The reason I put the 9 in
[] is to make it easier to add an 8, in case you want to know about
anything more than 80%: [89].\%
I didn't need to escape the % when I ran it from the commandline, but
did from cron. I haven't investigated why. Putting the search pattern in
quotes would probably work too.
It's a bit crude, but probably is good enough.
On the other hand, you could install a proper monitoring system such as
Nagios.
HTH :-)
Richard
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4FE6AAA1.3040408@walnut.gen.nz">http://lists.debian.org/4FE6AAA1.3040408@walnut.gen.nz
06-24-2012, 06:37 AM
Chris Knadle
100%
On Sunday, June 24, 2012 01:28:28, lina wrote:
> On Sun, Jun 24, 2012 at 12:49 PM, Chris Knadle <Chris.Knadle@coredump.us> wrote:
> > On Saturday, June 23, 2012 23:49:54, lina wrote:
> >> Kinda of funny,
> >>
> >> Dselect reported me that my /var has saturated. Indeed, 100%.
> >>
> >> My question is that how to set to let me know earlier when the var
> >> reached 98%. Kinda of dangerous huh?
> >
> > This is a common problem. If this is a box you're running KDE on I'd
> > suggest the freespacenotifier package. If this is a server (or doesn't
> > run KDE) then
>
> It runs with xfce4.
>
> > I'd suggest configuring the box such that you'll get email output from
> > cron, and then make a cronjob that outputs text only when the free space
> > left on filesystems reaches the desired "warning" threshold.
>
> I started to initiate a script,
>
> $ while [ df -h | grep "/dev/sda11 " | awk '{print $5}' > 90% ]; do
> sleep 1000 ; done mail lina@email.com
> bash: [: missing `]'
> bash: 90%: No such file or directory
>
> not work.
>
> Can someone recommend some build-in script which integrate the cron,
> so I can take it as template and learn from it. I don't know which one
> is the best fit, which also autorun everytime after reboot.
This evening I came up with the following quick script, "freespacewarn",
which I placed in my home directory under ~/bin :
df -h | fgrep -v -e Filesystem | while read FS SIZE USED AVAIL PCNT_USE MOUNTEDAT JUNK
do
export PCNT_USE
PCNT=$(echo $PCNT_USE | tr -d '%')
if [ $PCNT -gt 90 ]; then
echo "Warning: filesystem at $MOUNTEDAT nearly full."
echo " Filesystem $FS, Size $SIZE, $USED used, $AVAIL avail, $PCNT_USE used, mounted at $MOUNTEDAT"
fi
done
--------------------------------------------
Then I made a user crontab entry via 'crontab -e' to run this once a day
at 7am:
0 7 * * * /home/cknadle/bin/freespacewarn
-- Chris
--
Chris Knadle
Chris.Knadle@coredump.us
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 201206240237.18558.Chris.Knadle@coredump.us">http://lists.debian.org/201206240237.18558.Chris.Knadle@coredump.us
06-24-2012, 09:45 AM
Curt
100%
On 2012-06-24, lina <lina.lastname@gmail.com> wrote:
>
> Dselect reported me that my /var has saturated. Indeed, 100%.
>
> My question is that how to set to let me know earlier when the var
> reached 98%. Kinda of dangerous huh?
My question would be why is /var being "saturated" in the first place.
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: slrnjudof6.1tb.curty@einstein.electron.org">http://lists.debian.org/slrnjudof6.1tb.curty@einstein.electron.org