Re: 54 GB in /var/log!! -- UPDATE

2008-10-30 Thread Craig White
On Thu, 2008-10-30 at 14:30 +, g wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> Craig White wrote:
> 
> > so that means that if you preface comments as side notes,
> 
> still have not found your mydol?

wow, add a sexist slur to an insult - classy

> 
> > If you buy a KVM that doesn't service USB mouse/keyboard connections,
> 
> being that systems i am using are non usb k/m i have no need for one with
> usb ability. when i do have multi systems using usb k/m, then i will buy
> proper kvm switch.
> 
> contrary to your thinking, rest of world of is not inversely proportioned
> to your ways and abilities.

perhaps but if they have purchased computers in the last 2 years, they
probably are already well tuned in to the fact that PS/2 keyboards and
mice on soon to be obsolete...thus rendering your admonition that people
not buy a KVM with USB as being likewise obsolete.

I'm not gonna bother researching but the last few PowerEdge servers that
I bought from Dell were USB only...no PS/2.  Likewise Optiplex systems
from Dell have been USB only for quite some time. It's a good thing that
you weren't part of the team trip planning for Christopher Columbus.

Craig

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: 54 GB in /var/log!! -- UPDATE

2008-10-30 Thread g
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Craig White wrote:

> so that means that if you preface comments as side notes,

still have not found your mydol?

> If you buy a KVM that doesn't service USB mouse/keyboard connections,

being that systems i am using are non usb k/m i have no need for one with
usb ability. when i do have multi systems using usb k/m, then i will buy
proper kvm switch.

contrary to your thinking, rest of world of is not inversely proportioned
to your ways and abilities.
- --

tc,hago.

g
.

in a free world without fences, who needs gates.

learn linux:
'Rute User's Tutorial and Exposition'   http://rute.2038bug.com/index.html.gz
'The Linux Documentation Project'   http://www.tldp.org/
'LDP HOWTO-index'   http://www.tldp.org/HOWTO/HOWTO-INDEX/index.html
'HowtoForge'   http://howtoforge.com/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Red Hat - http://enigmail.mozdev.org

iD8DBQFJCcUi+C4Bj9Rkw/wRAuORAJ4+m2F2MHCiwxwaTZGcfo83yamqTACfawUx
mqQKUogiq7Z8btoDG1o9120=
=7b6D
-END PGP SIGNATURE-

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: 54 GB in /var/log!! -- UPDATE

2008-10-30 Thread Beartooth
On Wed, 29 Oct 2008 14:44:14 -0700, Rick Stevens wrote:

>>  Are you saying it should *not* be checked on the one *with* the
>> printer??
> 
> Yes.

OK, I just did. It tells me to hang on while the server restarts. 
And sits there. When I refresh the tab, it says no changes were made. But 
if I click to Home and then back to Administration, the box is now 
unchecked.

So I made the rounds of the other machines, asking for test 
pages. None made the printer do anything. But the pending lists were 
breaking two dozen; so I went around once more and cancelled all jobs. (I 
hope that last was right!)

-- 
Beartooth Staffwright, PhD, Neo-Redneck Linux Convert
Remember I know precious little of what I am talking about.

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: 54 GB in /var/log!! -- UPDATE

2008-10-30 Thread Aaron Konstam
On Wed, 2008-10-29 at 16:52 -0500, Mikkel L. Ellertson wrote:
> Well, it is just a checkbox on the firewall configuration GUI, as
> this is a common port you need open on a local network.
> >> On all the machines that do NOT have the printer attached, make
> sure the
> >> "Show printers shared by other systems" box is checked.
> > 
> >   Are you saying it should *not* be checked on the one *with*
> the 
> > printer??
> > 
> It can be, but unless you have other network printers, or printers
> attached to other computers that you are sharing, you are better off
> not having it checked. I tend to be paranoid, and there may be a way
> to get CUPS into an add printer loop. (Machine 1 shares the printer,
> machine 2 shares machine 1's printer, and advertises it as a printer
> available for use on machine 2. machine shares both machine 1's and
> machines 2's advertised printers, and also advertises them as its
> available loca ers, etc...) You should not be able to do it, but
> someone may manage to do it anyway.
> 
In my experience if you don't do something special on a machine with a
local printer as well as sharing remote printers. That something special
must be done in cupsd file on the machine. Otherwise it will ignore the
local printer and only print to the remote printer.
--
===
Who made the world I cannot tell; 'Tis made, and here am I in hell. My
hand, though now my knuckles bleed, I never soiled with such a deed. --
A.E. Housman
===
Aaron Konstam telephone: (210) 656-0355 e-mail: [EMAIL PROTECTED]

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: 54 GB in /var/log!! -- UPDATE

2008-10-29 Thread Rick Stevens

Beartooth wrote:

On Wed, 29 Oct 2008 15:11:39 -0500, Mikkel L. Ellertson wrote:


Beartooth wrote:

[...]

Wait a minute! After long enough looking at that like a poleaxed
ox, I suddenly see a sense it might make. Are you saying I can have
four tabs in the same browser *on the same machine* open to CUPS on all
four??


Yes.

I tried substituting some current LAN IP numbers for 127.0.0.1,
and got this every time from Firefox :


You have to turn on remote administration first.


Oho the First; I was trying to be too paranoid.


Go to http://localhost:631/admin on each machine - you should only have
to do this once. Make sure all these check boxes are checked on the
machine with the printer attached:

Share published printers connected to this system Allow printing from
the Internet


	Oho the Second : that need not mean some script kiddie can run my 
printer dry printing gibberish??


Not if your firewall is configured correctly, and by that I mean the
one facing the internet.  If you're not using a router/firewall combo
to the internet, then yes, you should add iptables entries that allow
your local network access to port 631, but not from the outside.


On every machine that you want to administer from another machine, make
sure the "Allow remote administration" box is checked. You may also have
to open port 631 in the firewall.


	The boxes are checked; lst's hope I don't have to tinker with the 
firewalls.



On all the machines that do NOT have the printer attached, make sure the
"Show printers shared by other systems" box is checked.


	Are you saying it should *not* be checked on the one *with* the 
printer??


Yes.
--
- Rick Stevens, Systems Engineer  [EMAIL PROTECTED] -
- AIM/Skype: therps2ICQ: 22643734Yahoo: origrps2 -
--
-   Denial.  It ain't just a river in Egypt anymore! -
--

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: 54 GB in /var/log!! -- UPDATE

2008-10-29 Thread Mikkel L. Ellertson
Beartooth wrote:
> On Wed, 29 Oct 2008 15:11:39 -0500, Mikkel L. Ellertson wrote:
> 
>> Beartooth wrote:
>   [...]
>>> Wait a minute! After long enough looking at that like a poleaxed
>>> ox, I suddenly see a sense it might make. Are you saying I can have
>>> four tabs in the same browser *on the same machine* open to CUPS on all
>>> four??
>>>
>> Yes.
>>> I tried substituting some current LAN IP numbers for 127.0.0.1,
>>> and got this every time from Firefox :
>>>
>> You have to turn on remote administration first.
> 
>   Oho the First; I was trying to be too paranoid.
> 
>> Go to http://localhost:631/admin on each machine - you should only have
>> to do this once. Make sure all these check boxes are checked on the
>> machine with the printer attached:
>>
>> Share published printers connected to this system Allow printing from
>> the Internet
> 
>   Oho the Second : that need not mean some script kiddie can run my 
> printer dry printing gibberish??
> 
Well, if your local network does not have a firewall between it and
the Internet, this is possible. In that case, you probably do not
want to share the printer over the network. The text of the checkbox
could be a bit clearer - something like over the network instead of
over the Internet.

>> On every machine that you want to administer from another machine, make
>> sure the "Allow remote administration" box is checked. You may also have
>> to open port 631 in the firewall.
> 
>   The boxes are checked; lst's hope I don't have to tinker with the 
> firewalls.
> 
Well, it is just a checkbox on the firewall configuration GUI, as
this is a common port you need open on a local network.
>> On all the machines that do NOT have the printer attached, make sure the
>> "Show printers shared by other systems" box is checked.
> 
>   Are you saying it should *not* be checked on the one *with* the 
> printer??
> 
It can be, but unless you have other network printers, or printers
attached to other computers that you are sharing, you are better off
not having it checked. I tend to be paranoid, and there may be a way
to get CUPS into an add printer loop. (Machine 1 shares the printer,
machine 2 shares machine 1's printer, and advertises it as a printer
available for use on machine 2. machine shares both machine 1's and
machines 2's advertised printers, and also advertises them as its
available printers, etc...) You should not be able to do it, but
someone may manage to do it anyway.

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!



signature.asc
Description: OpenPGP digital signature
-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

Re: 54 GB in /var/log!! -- UPDATE

2008-10-29 Thread Beartooth
On Wed, 29 Oct 2008 15:11:39 -0500, Mikkel L. Ellertson wrote:

> Beartooth wrote:
[...]
>>  Wait a minute! After long enough looking at that like a poleaxed
>> ox, I suddenly see a sense it might make. Are you saying I can have
>> four tabs in the same browser *on the same machine* open to CUPS on all
>> four??
>> 
> Yes.
>>  I tried substituting some current LAN IP numbers for 127.0.0.1,
>> and got this every time from Firefox :
>> 
> You have to turn on remote administration first.

Oho the First; I was trying to be too paranoid.

> Go to http://localhost:631/admin on each machine - you should only have
> to do this once. Make sure all these check boxes are checked on the
> machine with the printer attached:
> 
> Share published printers connected to this system Allow printing from
> the Internet

Oho the Second : that need not mean some script kiddie can run my 
printer dry printing gibberish??

> On every machine that you want to administer from another machine, make
> sure the "Allow remote administration" box is checked. You may also have
> to open port 631 in the firewall.

The boxes are checked; lst's hope I don't have to tinker with the 
firewalls.

> On all the machines that do NOT have the printer attached, make sure the
> "Show printers shared by other systems" box is checked.

Are you saying it should *not* be checked on the one *with* the 
printer??

-- 
Beartooth Staffwright, PhD, Neo-Redneck Linux Convert
Remember I know precious little of what I am talking about.

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: 54 GB in /var/log!! -- UPDATE

2008-10-29 Thread Mikkel L. Ellertson
Beartooth wrote:
> On Tue, 28 Oct 2008 16:17:52 -0500, Mikkel L. Ellertson wrote:
> 
>> Another advantage, if you have CUPS set to allow administration from a
>> machine on the network, is to open a web browser from that machine, and
>> have CUPS on the other machines open - each in their own tab. I also
>> find the help in the web based version easier to use. Then again, one
>> thing about Linux is choice - you can chose the
>>  method that works best FOR YOU.
> 
>   Wait a minute! After long enough looking at that like a poleaxed 
> ox, I suddenly see a sense it might make. Are you saying I can have four 
> tabs in the same browser *on the same machine* open to CUPS on all four??
> 
Yes.
>   I tried substituting some current LAN IP numbers for 127.0.0.1, 
> and got this every time from Firefox : 
> 
You have to turn on remote administration first.

Go to http://localhost:631/admin on each machine - you should only
have to do this once. Make sure all these check boxes are checked on
the machine with the printer attached:

Share published printers connected to this system
Allow printing from the Internet

On every machine that you want to administer from another machine,
make sure the "Allow remote administration" box is checked. You may
also have to open port 631 in the firewall.

On all the machines that do NOT have the printer attached, make sure
the "Show printers shared by other systems" box is checked.

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!



signature.asc
Description: OpenPGP digital signature
-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

Re: 54 GB in /var/log!! -- UPDATE

2008-10-29 Thread Beartooth
On Tue, 28 Oct 2008 16:17:52 -0500, Mikkel L. Ellertson wrote:

> Beartooth wrote:
[] 
> You should not need this with either method - at least when I go to add
> a printer in system-config-printers, it first searches for new printers,
> and should find the new network printer. (I prefer the WEB interface,
> but both should be working.)

In case it matters, there is no new printer; only the one they've 
all been using for months, but through the extra USB port on the KVM 
switch.
[...]
> Another advantage, if you have CUPS set to allow administration from a
> machine on the network, is to open a web browser from that machine, and
> have CUPS on the other machines open - each in their own tab. I also
> find the help in the web based version easier to use. Then again, one
> thing about Linux is choice - you can chose the
>  method that works best FOR YOU.

Wait a minute! After long enough looking at that like a poleaxed 
ox, I suddenly see a sense it might make. Are you saying I can have four 
tabs in the same browser *on the same machine* open to CUPS on all four??

I tried substituting some current LAN IP numbers for 127.0.0.1, 
and got this every time from Firefox : 

=   =   =   =
Failed to Connect

Firefox can't establish a connection to the server at 192.168.0.13:631.

Though the site seems valid, the browser was unable to establish a 
connection.

* Could the site be temporarily unavailable? Try again later.
* Are you unable to browse other sites?  Check the computer's network 
connection.
* Is your computer or network protected by a firewall or proxy? 
Incorrect settings can interfere with Web browsing.

=   =   =   =

Does that just mean I have to turn off denyhosts, or something? 
(I often have troubles with ssh and scp, even with denyhosts turned off 
on both.) Or are you saying something else altogether?

-- 
Beartooth Staffwright, PhD, Neo-Redneck Linux Convert
Fedora 8 & 9; Alpine 1.10, Pan 0.132; Privoxy 3.0.6;
Dillo 0.8.6, Galeon 2.0.3, Epiphany 2.20, Opera 9.27, Firefox 2.0
Remember I know precious little of what I am talking about.

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: 54 GB in /var/log!! -- UPDATE

2008-10-28 Thread Craig White
On Wed, 2008-10-29 at 04:40 +, g wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> Craig White wrote:
> > On Tue, 2008-10-28 at 16:48 +, g wrote:
> > 
> >>> Switching the KVM switch is equivalent to unplugging all the devices from 
> >>> one
> >>> computer and plugging them into another. Linux will print some messages 
> >>> every
> >>> time you plug in or remove a USB device
> > 
> > no - a kvm should provide a continuous connection to each system but
> > only route mouse/keyboard events when the proper terminal is selected.
> > Other USB device event routing is sort of up to the imagination of the
> > device developers as there really isn't much of a standard here.
> > 
> > I clearly don't have problems switching around systems with KVM
> > including USB and/or PS/2 keyboard & mice & even a Wacom tablet
> > 
> >> as a 'side note', this should serve as a warning to anyone considering 
> >> using
> >> a kvm switch.
> >>
> >> non usb kvm switches do not have this problem. i have a ps/2 kvm switch
> >> that works great and yet to have any problems when switching between 
> >> systems.
> > 
> > it would help if you followed the conversation...the problem is not usb
> 
> excuse me craig. i had not noted that this was 28th day of month.
> did you run out of mydol again?
> 
> if you look at above again, you will note *as a 'side note'*. which
> was in following of conversation, where in which you inserted a reply.
> it did not follow with 'subject:'.

so that means that if you preface comments as side notes, that they can
ignore the reality that most computers/motherboards do not come with
PS/2 connections any more and just offer USB for mouse/keyboard
connections?

If you buy a KVM that doesn't service USB mouse/keyboard connections, it
will be obsolete very soon - rendering your warning somewhat useless -
that was my point - sorry you missed it.

Craig

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: 54 GB in /var/log!! -- UPDATE

2008-10-28 Thread g
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Craig White wrote:
> On Tue, 2008-10-28 at 16:48 +, g wrote:
> 
>>> Switching the KVM switch is equivalent to unplugging all the devices from 
>>> one
>>> computer and plugging them into another. Linux will print some messages 
>>> every
>>> time you plug in or remove a USB device
> 
> no - a kvm should provide a continuous connection to each system but
> only route mouse/keyboard events when the proper terminal is selected.
> Other USB device event routing is sort of up to the imagination of the
> device developers as there really isn't much of a standard here.
> 
> I clearly don't have problems switching around systems with KVM
> including USB and/or PS/2 keyboard & mice & even a Wacom tablet
> 
>> as a 'side note', this should serve as a warning to anyone considering using
>> a kvm switch.
>>
>> non usb kvm switches do not have this problem. i have a ps/2 kvm switch
>> that works great and yet to have any problems when switching between systems.
> 
> it would help if you followed the conversation...the problem is not usb

excuse me craig. i had not noted that this was 28th day of month.
did you run out of mydol again?

if you look at above again, you will note *as a 'side note'*. which
was in following of conversation, where in which you inserted a reply.
it did not follow with 'subject:'.
- --

tc,hago.

g
.

in a free world without fences, who needs gates.

learn linux:
'Rute User's Tutorial and Exposition'   http://rute.2038bug.com/index.html.gz
'The Linux Documentation Project'   http://www.tldp.org/
'HowtoForge'   http://howtoforge.com/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Red Hat - http://enigmail.mozdev.org

iD8DBQFJB+kx+C4Bj9Rkw/wRAnPaAKCPUhgdAdq2WM7RSrK5RUkf7GDNBACgs9CD
PtTEO1YPer+OQwAAIhYpxy8=
=tqmP
-END PGP SIGNATURE-

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: 54 GB in /var/log!! -- UPDATE

2008-10-28 Thread Craig White
On Tue, 2008-10-28 at 23:10 +0100, Björn Persson wrote:
> Craig White wrote:
> > the problem is not usb
> > kvm which are actually becoming the norm because most modern
> > motherboards do not even bother with ps/2 connectors, but rather that
> > his particular kvm offers the ability to become a device hub which
> > theoretically, meant that you could plug devices such as usb printers
> > and they were for most purposes, shared. The devil of course is in the
> > details and apparently the details aren't handled too well on that
> > particular kvm.
> 
> I'm not convinced that there is any problem with the KVM switch at all. USB 
> is 
> designed for hot plugging, so operating systems have to expect that a USB 
> device may disappear at any time, and apparently Cups handles the disappering 
> printer quite well. The USB related messages aren't filling the disk now, so 
> why assume that they did before?

it really makes no sense to be plugging printers in/out by KVM switch
when it's so much more logical to connect it to one and share it, if for
no other reason that it means that you only have to set it up on one
system and once it's shared, the other computers find it and can use it
automatically.

> Unfortunately Beartooth had to nuke the huge file to get a usable system 
> back, 
> so if the problem doesn't resurface we may never know what it was.

seems to me that the solution may very well have been the problem though
it may not have been the USB printer device, it might have been the
multi-function options (i.e. Fax) which is what led us to asking about
the device itself. It would have been nice had OP shown just a little
skill to read through system logs to help troubleshoot but c'est la vie.

Craig

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: 54 GB in /var/log!! -- UPDATE

2008-10-28 Thread Björn Persson
Craig White wrote:
> the problem is not usb
> kvm which are actually becoming the norm because most modern
> motherboards do not even bother with ps/2 connectors, but rather that
> his particular kvm offers the ability to become a device hub which
> theoretically, meant that you could plug devices such as usb printers
> and they were for most purposes, shared. The devil of course is in the
> details and apparently the details aren't handled too well on that
> particular kvm.

I'm not convinced that there is any problem with the KVM switch at all. USB is 
designed for hot plugging, so operating systems have to expect that a USB 
device may disappear at any time, and apparently Cups handles the disappering 
printer quite well. The USB related messages aren't filling the disk now, so 
why assume that they did before?

Unfortunately Beartooth had to nuke the huge file to get a usable system back, 
so if the problem doesn't resurface we may never know what it was.

Björn Persson


signature.asc
Description: This is a digitally signed message part.
-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

Re: 54 GB in /var/log!! -- UPDATE

2008-10-28 Thread Mikkel L. Ellertson
Beartooth wrote:
> 
>   Well, for instance, consider "location." I pulled the USB cable 
> out of the KVM switch and stuck it into my #1 machine. So, if I'm reading 
> between the lines correctly, the same old printer is now "local" to #1, 
> and "remote" to #2 - 4. OK?
> 
Yes, but if I remember correctly, the location is the "human" where
the printer is located, or anything else. For the location of one
printer, I have "Printer in Mike's workshop."

>   Then I go to one of the machines other than #1, and either of 
> those apps (the system-config one OR the web interface) wants me to tell 
> it where the remote printer is, naturally enough. But it gives me no 
> hint, nor any example -- is its location the local IP number of machine 
> #1, or a URI (whatever that is), or what? 
> 
You should not need this with either method - at lease when I go to
add a printer in system-config-printers, it first searches for new
printers, and should find the new network printer. (I prefer the WEB
interface, but both should be working.)

>   So I stumble around a while, by trial and error. Here again, the 
> web interface, being more graphic, gains an advantage -- it's quicker, 
> easier, and surer for me to recognize "Yes, that's the display that 
> seemed to work on the last machine" than it is to do the same the other 
> way.
> 
Another advantage, if you have CUPS set to allow administration from
a machine on the network, is to open a web browser from that
machine, and have CUPS on the other machines open - each in their
own tab. I also find the help in the web based version easier to
use. Then again, one thing about Linux is choice - you can chose the
 method that works best FOR YOU.

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!



signature.asc
Description: OpenPGP digital signature
-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

Re: 54 GB in /var/log!! -- UPDATE

2008-10-28 Thread Beartooth
On Tue, 28 Oct 2008 10:25:00 -0700, Rick Stevens wrote:

> I Beartooth wrote:
>> On Tue, 28 Oct 2008 10:58:28 -0500, Mikkel L. Ellertson wrote:
>>  [...]
> I have a suggestionAttach the printer to just one machine, and
> then set it up to share and then connect each machine to it via the
> network. That might help a whole lot and cut down on the messages. 
> I hardly ever see those things if at all.
[]
>>  I remember there was a way to make at least some browsers handle
>> the configuration -- but not how to launch it; maybe that has gotten
>> easier, too.
> 
> You can still do that by pointing a browser at http://localhost:631.
> That's the administrative interface to CUPS directly, but you really
> don't need to use it unless you're doing something VERY odd.
> 
> system-config-printer (or in Gnome "System->Administration->Printing")
> it plenty enough.

Well, having now looked at present versions of both, I find that 
the web version seems easier, just in that it gives me a little more idea 
what it's asking.
 
> To set up a local printer, click on the "Add Printer" button and enter
> the data that's asked for.  Once it's added, select it in the left pane
> and on the "Settings" tab, click the "Make Default Printer" button and
> this new printer becomes the default.
> 
> To share local printers, select "Server Settings" in the left pane and
> check the "Share published printers connected to this system" box.  If
> you want, you can also check "Allow printing from the Internet" box,
> too.
> 
> On the client machines, select "Server Settings" and check the "Show
> printers shared by other systems" box.  After a few minutes, you should
> see the printers offered by the other machines show up under "Remote
> Printers" in the left pane.  When you ask some application to print, you
> should be able to choose one of the printers that appear in that left
> pane.
> 
> Can't get a whole lot easier than that.

Well, for instance, consider "location." I pulled the USB cable 
out of the KVM switch and stuck it into my #1 machine. So, if I'm reading 
between the lines correctly, the same old printer is now "local" to #1, 
and "remote" to #2 - 4. OK?

Then I go to one of the machines other than #1, and either of 
those apps (the system-config one OR the web interface) wants me to tell 
it where the remote printer is, naturally enough. But it gives me no 
hint, nor any example -- is its location the local IP number of machine 
#1, or a URI (whatever that is), or what? 

So I stumble around a while, by trial and error. Here again, the 
web interface, being more graphic, gains an advantage -- it's quicker, 
easier, and surer for me to recognize "Yes, that's the display that 
seemed to work on the last machine" than it is to do the same the other 
way.

-- 
Beartooth Staffwright, PhD, Neo-Redneck Linux Convert
Remember I know precious little of what I am talking about.

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: 54 GB in /var/log!! -- UPDATE

2008-10-28 Thread Beartooth
On Tue, 28 Oct 2008 13:10:15 -0400, Christopher K. Johnson wrote:

> Beartooth wrote:
>>  I'd like to pipe that into top, or some such, to make it display
>> only the files of 100K and up; [...]

> How about looking at the largest 30 files and directories there sorted
> by size in megabytes?
> 
> cd /var/log
> du -ms * | sort -rn | head -n 30

Aha! Yes, absolutely. Thank you much. I get :

]# du -ms * | sort -rn | head -n 30
19  audit
1   yum.log
1   Xorg.setup.log
1   Xorg.5.log.old
1   Xorg.5.log
1   Xorg.4.log.old
1   Xorg.4.log
1   Xorg.3.log.old
1   Xorg.3.log
1   Xorg.2.log.old
1   Xorg.2.log
1   Xorg.1.log.old
1   Xorg.1.log
1   Xorg.0.log.old
1   Xorg.0.log
1   wtmp-20081001
1   wtmp
1   setroubleshoot
1   secure-20081026
1   secure-20081019
1   secure-20081012
1   secure-20081005
1   secure
1   samba
1   rpmpkgs-20081026
1   rpmpkgs-20081019
1   rpmpkgs-20081012
1   rpmpkgs-20081005
1   rpmpkgs
1   qtparted-20081025-10h53m26s.log

IOW, nothing like what I was getting yesterday ...
-- 
Beartooth Staffwright, PhD, Neo-Redneck Linux Convert
Remember I know precious little of what I am talking about.

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: 54 GB in /var/log!! -- UPDATE

2008-10-28 Thread Craig White
On Tue, 2008-10-28 at 16:48 +, g wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> Björn Persson wrote:
> 
> > Switching the KVM switch is equivalent to unplugging all the devices from 
> > one
> > computer and plugging them into another. Linux will print some messages 
> > every
> > time you plug in or remove a USB device

no - a kvm should provide a continuous connection to each system but
only route mouse/keyboard events when the proper terminal is selected.
Other USB device event routing is sort of up to the imagination of the
device developers as there really isn't much of a standard here.

I clearly don't have problems switching around systems with KVM
including USB and/or PS/2 keyboard & mice & even a Wacom tablet

> as a 'side note', this should serve as a warning to anyone considering using
> a kvm switch.
> 
> non usb kvm switches do not have this problem. i have a ps/2 kvm switch
> that works great and yet to have any problems when switching between systems.

it would help if you followed the conversation...the problem is not usb
kvm which are actually becoming the norm because most modern
motherboards do not even bother with ps/2 connectors, but rather that
his particular kvm offers the ability to become a device hub which
theoretically, meant that you could plug devices such as usb printers
and they were for most purposes, shared. The devil of course is in the
details and apparently the details aren't handled too well on that
particular kvm.

Craig

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: 54 GB in /var/log!! -- UPDATE

2008-10-28 Thread Rick Stevens

Beartooth wrote:

On Tue, 28 Oct 2008 10:58:28 -0500, Mikkel L. Ellertson wrote:
[...]

I have a suggestionAttach the printer to just one machine, and
then set it up to share and then connect each machine to it via the
network. That might help a whole lot and cut down on the messages.  I
hardly ever see those things if at all.

 "Set it up to share"?? Has that gotten any easier in
recent years -- since the last time I gave up trying??


Yes, it has. With a Linux machine host, you just set it up in CUPS. On
the rest of the Linux machines, you can have CUPS search the network and
it will find the printer. For XP, you will want to install an IPP
interface printer. If you really want to, and you have Samba running on
the host machine, you can share that way too, but it is more work.


	Man, it must have! The last time (about FC3 iirc), a friendly 
soul spent days trying to walk me through it, and finally had to quit 
before we ever got it to work. After that, I also tried buying a hardware 
printserver -- and never managed to get that to work, either...


	Poking around, I can't tell# CUPS whether what I got into was 
CUPS or not. $ cups, $ CUPS, # cups, and # CUPS all get "command not 
found." (rpm -q does tell me I have cups-1.3.9-1.fc9.i386)


	So I started looking in the Main Menu. The likeliest launcher, 
afaict, points to /usr/bin/system-config-printer; is that it? I hit the 
usual glass wall with that -- asking me things in jargon, as if being 
English words made their technical sense plain.


Yes, that's it.

	I remember there was a way to make at least some browsers handle 
the configuration -- but not how to launch it; maybe that has gotten 
easier, too.


You can still do that by pointing a browser at http://localhost:631.
That's the administrative interface to CUPS directly, but you really
don't need to use it unless you're doing something VERY odd.

system-config-printer (or in Gnome "System->Administration->Printing")
it plenty enough.

	Do you have a favorite tutorial on the web somewhere? I know 
there are some -- which looked a bit daunting last time I saw them...


To set up a local printer, click on the "Add Printer" button and enter
the data that's asked for.  Once it's added, select it in the left pane
and on the "Settings" tab, click the "Make Default Printer" button and
this new printer becomes the default.

To share local printers, select "Server Settings" in the left pane and
check the "Share published printers connected to this system" box.  If
you want, you can also check "Allow printing from the Internet" box,
too.

On the client machines, select "Server Settings" and check the "Show
printers shared by other systems" box.  After a few minutes, you should
see the printers offered by the other machines show up under "Remote
Printers" in the left pane.  When you ask some application to print, you
should be able to choose one of the printers that appear in that left
pane.

Can't get a whole lot easier than that.
--
- Rick Stevens, Systems Engineer  [EMAIL PROTECTED] -
- AIM/Skype: therps2ICQ: 22643734Yahoo: origrps2 -
--
-  A friend said he climbed to the top of Mount Ranier.  My view is  -
-that if there's no elevator, it must not be that interesting.   -
--

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: 54 GB in /var/log!! -- UPDATE

2008-10-28 Thread Mikkel L. Ellertson
Beartooth wrote:
>   I remember there was a way to make at least some browsers handle 
> the configuration -- but not how to launch it; maybe that has gotten 
> easier, too.
> 
http://localhost:631
I have a bookmark set to it. It is also at the end of the cupsd man
page: http://localhost:631/help

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!



signature.asc
Description: OpenPGP digital signature
-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

Re: 54 GB in /var/log!! -- UPDATE

2008-10-28 Thread Patrick O'Callaghan
On Tue, 2008-10-28 at 16:53 +, Beartooth wrote:
> I'd like to pipe that into top, or some such, to make it
> display 
> only the files of 100K and up; but trying to read the man page for
> top, 
> as usual for powerful commands, makes me think of standing at the foot
> of 
> a huge cliff of ice.

'top' for displaying the busiest processes. It has nothing to do with
showing file sizes. Maybe you're thinking of

ls -s |sort -rn|head -20

or some such.

poc

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: 54 GB in /var/log!! -- UPDATE

2008-10-28 Thread Christopher K. Johnson

Beartooth wrote:
	I'd like to pipe that into top, or some such, to make it display 
only the files of 100K and up; but trying to read the man page for top, 
as usual for powerful commands, makes me think of standing at the foot of 
a huge cliff of ice
How about looking at the largest 30 files and directories there sorted 
by size in megabytes?


cd /var/log
du -ms * | sort -rn | head -n 30

Chris

--
  "A society grows great when old men plant trees whose shade they know
  they shall never sit in" - Greek Proverb

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: 54 GB in /var/log!! -- UPDATE

2008-10-28 Thread Mike Chambers
On Tue, 2008-10-28 at 16:36 +, Beartooth wrote:

>   Poking around, I can't tell# CUPS whether what I got into was 
> CUPS or not. $ cups, $ CUPS, # cups, and # CUPS all get "command not 
> found." (rpm -q does tell me I have cups-1.3.9-1.fc9.i386)
> 
>   So I started looking in the Main Menu. The likeliest launcher, 
> afaict, points to /usr/bin/system-config-printer; is that it? I hit the 
> usual glass wall with that -- asking me things in jargon, as if being 
> English words made their technical sense plain.

Menu/System/Administration/Printing (which is same as
system-config-printer)

You can go both/two ways from the menu I think..

1 - Select on Server/Settings and look for "Publish shared printers..."
and check it.

2 - Find your printer, right click on it, and should be a menu with
"shared" and a box to check/uncheck.

You should have to save/reactivate or something afterwards.  That should
get your going or at least close.


-- 
Mike Chambers
Fedora Project - Ambassador, Bug Zapper, Tester, User, etc..
[EMAIL PROTECTED]

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: 54 GB in /var/log!! -- UPDATE

2008-10-28 Thread Beartooth
On Tue, 28 Oct 2008 00:54:22 +0100, Björn Persson wrote:

> I Beartooth wrote:
[]
> Switching the KVM switch is equivalent to unplugging all the devices
> from one computer and plugging them into another. Linux will print some
> messages every time you plug in or remove a USB device, but you'd have
> to be switching like crazy to produce 54 GB of messages that way. I
> suppose a loose cable might make it seem like all the devices are
> constantly plugged in and removed, but I still don't quite see how the
> log could grow that big. The excerpt you posted was 3411 characters.
> Printing all of that once a second for a week would still produce only
> two gigabytes.
[...]
>>  Finally, an hour or so ago, I tried turning the printer off with
>> its power switch. Since that time, the messages have become fewer, but
>> not stopped.
> 
> I'd imagine that the messages about the printer have stopped, and the
> ones about the keyboard, the mouse and the hub continue. (There's a USB
> hub inside the KVM switch.) Every time you switch to another machine to
> look for new messages, you cause more messages.

Right, about both; but some machines get more non-printer 
messages; I don't know why.

> Those messages aren't errors and you don't need to worry about them as
> long as the log doesn't grow out of control again. It's quite possible
> that most of those 54 GB was something completely different that hasn't
> resurfaced yet. I'd recommend doing "ls -l /var/log/messages*" now and
> then to keep an eye on it, and investigate further if it grows to many
> megabytes.

I fiddled a bit with the command you suggested (for which, again, 
many thanks!), and eventually tried doing "$ ls -lh /var/log|less" -- 
which has the advantage that I need not use a terminal tab logged to root 
(nor sudo). Doing that on the #1 machine (where I am now) showed a bunch 
of stuff up to maybe 200K (for very few), and this : 

[]
-rw--- 1 rootroot 26K 2008-10-28 12:37 messages
-rw--- 1 rootroot299K 2008-10-05 01:00 messages-20081005
-rw--- 1 rootroot266K 2008-10-12 03:11 messages-20081012
-rw--- 1 rootroot303K 2008-10-19 04:06 messages-20081019
-rw--- 1 rootroot   0 2008-10-27 11:08 messages-20081026
[]

I'd like to pipe that into top, or some such, to make it display 
only the files of 100K and up; but trying to read the man page for top, 
as usual for powerful commands, makes me think of standing at the foot of 
a huge cliff of ice.

Somewhere in this thread is a way (or maybe a couple of ways) to 
skim those files without actually running through them. Maybe I can find 
it again.

(I've also started skimming through root's mail; and I have to 
admit a lot more of it makes sense than last time I tried.)

-- 
Beartooth Staffwright, PhD, Neo-Redneck Linux Convert
Remember I know precious little of what I am talking about.

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: 54 GB in /var/log!! -- UPDATE

2008-10-28 Thread g
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Björn Persson wrote:

> Switching the KVM switch is equivalent to unplugging all the devices from one
> computer and plugging them into another. Linux will print some messages every
> time you plug in or remove a USB device

as a 'side note', this should serve as a warning to anyone considering using
a kvm switch.

non usb kvm switches do not have this problem. i have a ps/2 kvm switch
that works great and yet to have any problems when switching between systems.
- --

tc,hago.

g
.

in a free world without fences, who needs gates.

learn linux:
'Rute User's Tutorial and Exposition'   http://rute.2038bug.com/index.html.gz
'The Linux Documentation Project'   http://www.tldp.org/
'HowtoForge'   http://howtoforge.com/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Red Hat - http://enigmail.mozdev.org

iD8DBQFJB0Jv+C4Bj9Rkw/wRAj2MAKDM7lMoR3LyPBhFRddmQevnw3dyHACfZj+z
UNYNK5rrmse0IHPahBy6d5U=
=SRrE
-END PGP SIGNATURE-

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: 54 GB in /var/log!! -- UPDATE

2008-10-28 Thread Beartooth
On Tue, 28 Oct 2008 10:58:28 -0500, Mikkel L. Ellertson wrote:
[...]
>>> I have a suggestionAttach the printer to just one machine, and
>>> then set it up to share and then connect each machine to it via the
>>> network. That might help a whole lot and cut down on the messages.  I
>>> hardly ever see those things if at all.
>> 
>>   "Set it up to share"?? Has that gotten any easier in
>> recent years -- since the last time I gave up trying??
>> 
> Yes, it has. With a Linux machine host, you just set it up in CUPS. On
> the rest of the Linux machines, you can have CUPS search the network and
> it will find the printer. For XP, you will want to install an IPP
> interface printer. If you really want to, and you have Samba running on
> the host machine, you can share that way too, but it is more work.

Man, it must have! The last time (about FC3 iirc), a friendly 
soul spent days trying to walk me through it, and finally had to quit 
before we ever got it to work. After that, I also tried buying a hardware 
printserver -- and never managed to get that to work, either...

Poking around, I can't tell# CUPS whether what I got into was 
CUPS or not. $ cups, $ CUPS, # cups, and # CUPS all get "command not 
found." (rpm -q does tell me I have cups-1.3.9-1.fc9.i386)

So I started looking in the Main Menu. The likeliest launcher, 
afaict, points to /usr/bin/system-config-printer; is that it? I hit the 
usual glass wall with that -- asking me things in jargon, as if being 
English words made their technical sense plain.

I remember there was a way to make at least some browsers handle 
the configuration -- but not how to launch it; maybe that has gotten 
easier, too.

Do you have a favorite tutorial on the web somewhere? I know 
there are some -- which looked a bit daunting last time I saw them...

-- 
Beartooth Staffwright, PhD, Neo-Redneck Linux Convert
Remember I know precious little of what I am talking about.

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: 54 GB in /var/log!! -- UPDATE

2008-10-28 Thread Mikkel L. Ellertson
Beartooth wrote:
> On Mon, 27 Oct 2008 20:15:06 -0500, Mikkel L. Ellertson wrote:
> 
>> I have not been really been following this thread, but I do remember
>> something about having to go and read root's messages. I got the
>> impression that root's mail never gets read. If all root's mail is
>> building up in his mail box, and it never gets cleaned out, it is
>> probably a significant cause of the problem as well. (I wounder how many
>> "running out of disk space" messages root has...) Part of the fix should
>> probably include setting up an alias so root's mail go to a normal user.
>> If it is not going to be read at all, then maybe forward it to
>> /dev/null. :)
> 
>   Well, it's true, alas!, that I hardly ever think to read root's 
> mail; otoh, wouldn't it show up in baobab if root's mail were getting 
> bloated? That's how the bloat in /var/log/messages showed up.
> 
>   I'm online too much as it is; and most logs are nearly gibberish 
> to me.
> 
Well, the logwatch messages are usually fairly clear. For example,
here is the disk usage report for this machine:

- Disk Space Begin 

 FilesystemSize  Used Avail Use% Mounted on
 /dev/mapper/VolGroup00-LogVol00
48G  8.5G   37G  19% /
 /dev/mapper/VolGroup00-LogVol01
   141G   25G  109G  19% /home
 /dev/sda3  82G   55G   23G  71% /shared
 /dev/sda1  99M   19M   75M  21% /boot
 /shared/Fedora-8.iso  3.3G  3.3G 0 100% /var/www/html/Fedora8
 /shared/Fedora-9.iso  3.4G  3.4G 0 100% /var/www/html/Fedora9

 /shared/Fedora-8.iso => 100% Used. Warning. Disk Filling up.
 /shared/Fedora-9.iso => 100% Used. Warning. Disk Filling up.

 -- Disk Space End -

As you can see, it is complaining about the two loop-mounted .iso
images are out of free space. :) The rest of the sections are about
this clear. It is worth reading just for advanced working of
problems, or strange things going on.

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!



signature.asc
Description: OpenPGP digital signature
-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

Re: 54 GB in /var/log!! -- UPDATE

2008-10-28 Thread Mikkel L. Ellertson
Beartooth wrote:
> On Tue, 28 Oct 2008 02:17:42 -0500, Mike Chambers wrote:
> 
>> I have the exact same printer connected via usb as well, but to my main
>> machine, not a kvm switch.  I think switching the switch from one
>> machien to another is causing the messages.
>  
>> I have a suggestionAttach the printer to just one machine, and then
>> set it up to share and then connect each machine to it via the network.
>> That might help a whole lot and cut down on the messages.  I hardly ever
>> see those things if at all.
> 
>"Set it up to share"?? Has that gotten any easier in 
> recent years -- since the last time I gave up trying??
> 
Yes, it has. With a Linux machine host, you just set it up in CUPS.
On the rest of the Linux machines, you can have CUPS search the
network and it will find the printer. For XP, you will want to
install an IPP interface printer. If you really want to, and you
have Samba running on the host machine, you can share that way too,
but it is more work.

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!



signature.asc
Description: OpenPGP digital signature
-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

Re: 54 GB in /var/log!! -- UPDATE

2008-10-28 Thread Craig White
On Tue, 2008-10-28 at 15:16 +, Beartooth wrote:
> On Tue, 28 Oct 2008 02:17:42 -0500, Mike Chambers wrote:
> 
> > I have the exact same printer connected via usb as well, but to my main
> > machine, not a kvm switch.  I think switching the switch from one
> > machien to another is causing the messages.
>  
> > I have a suggestionAttach the printer to just one machine, and then
> > set it up to share and then connect each machine to it via the network.
> > That might help a whole lot and cut down on the messages.  I hardly ever
> > see those things if at all.
> 
>"Set it up to share"?? Has that gotten any easier in 
> recent years -- since the last time I gave up trying??

one of my favorite attitudes...defeated before trying

for consideration, it's simple to set up. You connect the printer and
configure it to print locally. Then you check the box that tells it to
share it with your network.

Then any other linux system on your subnet will automatically recognize
and can print to the printer without any configuration at all.

Craig

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: 54 GB in /var/log!! -- UPDATE

2008-10-28 Thread Beartooth
On Tue, 28 Oct 2008 02:17:42 -0500, Mike Chambers wrote:

> I have the exact same printer connected via usb as well, but to my main
> machine, not a kvm switch.  I think switching the switch from one
> machien to another is causing the messages.
 
> I have a suggestionAttach the printer to just one machine, and then
> set it up to share and then connect each machine to it via the network.
> That might help a whole lot and cut down on the messages.  I hardly ever
> see those things if at all.

 "Set it up to share"?? Has that gotten any easier in 
recent years -- since the last time I gave up trying??

-- 
Beartooth Staffwright, PhD, Neo-Redneck Linux Convert
Remember I know precious little of what I am talking about.

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: 54 GB in /var/log!! -- UPDATE

2008-10-28 Thread Beartooth
On Mon, 27 Oct 2008 20:15:06 -0500, Mikkel L. Ellertson wrote:

> Björn Persson wrote:
>> 
>> I'd imagine that the messages about the printer have stopped, and the
>> ones about the keyboard, the mouse and the hub continue. (There's a USB
>> hub inside the KVM switch.) Every time you switch to another machine to
>> look for new messages, you cause more messages.
>> 
>> Those messages aren't errors and you don't need to worry about them as
>> long as the log doesn't grow out of control again. It's quite possible
>> that most of those 54 GB was something completely different that hasn't
>> resurfaced yet. I'd recommend doing "ls -l /var/log/messages*" now and
>> then to keep an eye on it, and investigate further if it grows to many
>> megabytes.
>> 
>> Björn Persson
>> 
> I have not been really been following this thread, but I do remember
> something about having to go and read root's messages. I got the
> impression that root's mail never gets read. If all root's mail is
> building up in his mail box, and it never gets cleaned out, it is
> probably a significant cause of the problem as well. (I wounder how many
> "running out of disk space" messages root has...) Part of the fix should
> probably include setting up an alias so root's mail go to a normal user.
> If it is not going to be read at all, then maybe forward it to
> /dev/null. :)

Well, it's true, alas!, that I hardly ever think to read root's 
mail; otoh, wouldn't it show up in baobab if root's mail were getting 
bloated? That's how the bloat in /var/log/messages showed up.

I'm online too much as it is; and most logs are nearly gibberish 
to me.

-- 
Beartooth Staffwright, PhD, Neo-Redneck Linux Convert
Fedora 8 & 9; Alpine 1.10, Pan 0.132; Privoxy 3.0.6;
Dillo 0.8.6, Galeon 2.0.3, Epiphany 2.20, Opera 9.27, Firefox 2.0
Remember I know precious little of what I am talking about.

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: 54 GB in /var/log!! -- UPDATE

2008-10-28 Thread Mike Chambers
On Mon, 2008-10-27 at 19:58 +, Beartooth wrote:

>   The printer (an HP PSC 1315v, also USB)) has been in one of those 
> ports for an age. My external DVD RW drive gets plugged into and out of 
> the other port all the time; but the printer stays on the same 
> connection. (The keyboard, mouse (which is indeed an hp), and monitor all 
> get shifted to one individual machine when I do an install or upgrade (so 
> that the monitor and PC can negotiate settings), and otherwise stay on 
> the switch.

I have the exact same printer connected via usb as well, but to my main
machine, not a kvm switch.  I think switching the switch from one
machien to another is causing the messages.

I have a suggestionAttach the printer to just one machine, and then
set it up to share and then connect each machine to it via the network.
That might help a whole lot and cut down on the messages.  I hardly ever
see those things if at all.

-- 
Mike Chambers
Fedora Project - Ambassador, Bug Zapper, Tester, User, etc..
[EMAIL PROTECTED]

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: 54 GB in /var/log!! -- UPDATE

2008-10-27 Thread Mikkel L. Ellertson
Björn Persson wrote:
> 
> I'd imagine that the messages about the printer have stopped, and the ones 
> about the keyboard, the mouse and the hub continue. (There's a USB hub inside 
> the KVM switch.) Every time you switch to another machine to look for new 
> messages, you cause more messages.
> 
> Those messages aren't errors and you don't need to worry about them as long 
> as 
> the log doesn't grow out of control again. It's quite possible that most of 
> those 54 GB was something completely different that hasn't resurfaced yet. 
> I'd recommend doing "ls -l /var/log/messages*" now and then to keep an eye on 
> it, and investigate further if it grows to many megabytes.
> 
> Björn Persson
> 
I have not been really been following this thread, but I do remember
something about having to go and read root's messages. I got the
impression that root's mail never gets read. If all root's mail is
building up in his mail box, and it never gets cleaned out, it is
probably a significant cause of the problem as well. (I wounder how
many "running out of disk space" messages root has...) Part of the
fix should probably include setting up an alias so root's mail go to
a normal user. If it is not going to be read at all, then maybe
forward it to /dev/null. :)

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!



signature.asc
Description: OpenPGP digital signature
-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

Re: 54 GB in /var/log!! -- UPDATE

2008-10-27 Thread Björn Persson
Beartooth wrote:
>   The KVM switch is a MiniView G-CSIO4U, a 4-port USB switch with
> two extra USB ports in back, into which the manufacturer says you can
> connect any two peripherals you want to share among your machines.
>
>   The printer (an HP PSC 1315v, also USB)) has been in one of those
> ports for an age. My external DVD RW drive gets plugged into and out of
> the other port all the time; but the printer stays on the same
> connection. (The keyboard, mouse (which is indeed an hp), and monitor all
> get shifted to one individual machine when I do an install or upgrade (so
> that the monitor and PC can negotiate settings), and otherwise stay on
> the switch.

Switching the KVM switch is equivalent to unplugging all the devices from one 
computer and plugging them into another. Linux will print some messages every 
time you plug in or remove a USB device, but you'd have to be switching like 
crazy to produce 54 GB of messages that way. I suppose a loose cable might 
make it seem like all the devices are constantly plugged in and removed, but 
I still don't quite see how the log could grow that big. The excerpt you 
posted was 3411 characters. Printing all of that once a second for a week 
would still produce only two gigabytes.

>   Marginal note : I've noticed that, if I hit the KVM switch's
> button while one PC is printing, the printer stops till I come back to
> that machine.

Of course. Cups has to stop printing when you essentially unplug the printer, 
and then it continues when you plug the printer in again.

>   Finally, an hour or so ago, I tried turning the printer off with
> its power switch. Since that time, the messages have become fewer, but
> not stopped.

I'd imagine that the messages about the printer have stopped, and the ones 
about the keyboard, the mouse and the hub continue. (There's a USB hub inside 
the KVM switch.) Every time you switch to another machine to look for new 
messages, you cause more messages.

Those messages aren't errors and you don't need to worry about them as long as 
the log doesn't grow out of control again. It's quite possible that most of 
those 54 GB was something completely different that hasn't resurfaced yet. 
I'd recommend doing "ls -l /var/log/messages*" now and then to keep an eye on 
it, and investigate further if it grows to many megabytes.

Björn Persson


signature.asc
Description: This is a digitally signed message part.
-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

Re: 54 GB in /var/log!! -- UPDATE

2008-10-27 Thread Beartooth
On Mon, 27 Oct 2008 14:08:15 -0500, Mike Chambers wrote:

> On Mon, 2008-10-27 at 17:40 +, Beartooth wrote:
> 
>> and I did. Starting after that, I get this, so far (without, nota bene,
>> having laid a finger on any usb anything, much less tried to fax
>> anything anywhere) :
> 
> You sure you don't  have one of those All in One type printers or
> something attached via usb to your machine?

Thanks for the cue! I was just going to post about that.

First, I decided to run tail -f /var/log/messages on all four 
main machines (i.e., those behind my KVM switch), on the theory that 
keeping an eye on all would make any anomaly more likely to stand out.

What I'm finding is, on the contrary, that the messages look very 
similar on all four.

Now as to hardware -- which has been in place for many months 
with few or no problems.

The KVM switch is a MiniView G-CSIO4U, a 4-port USB switch with 
two extra USB ports in back, into which the manufacturer says you can 
connect any two peripherals you want to share among your machines. 

The printer (an HP PSC 1315v, also USB)) has been in one of those 
ports for an age. My external DVD RW drive gets plugged into and out of 
the other port all the time; but the printer stays on the same 
connection. (The keyboard, mouse (which is indeed an hp), and monitor all 
get shifted to one individual machine when I do an install or upgrade (so 
that the monitor and PC can negotiate settings), and otherwise stay on 
the switch.

Marginal note : I've noticed that, if I hit the KVM switch's 
button while one PC is printing, the printer stops till I come back to 
that machine.

Absent-mindedness is the occupational hazard of the 
professoriate, and like so much else is exacerbated with age; so it's 
possible that I was doing something odd yesterday and don't remember -- 
or, of course, didn't realize it was odd. But fwiw, I think not.

Marginal note 2 : it is quite common, certainly with me and I 
believe with others, for everything to hang for some seconds every time I 
use the KVM switch; and the mouse is usually the last thing I see 
recognized. (I print very little, and have no idea how long it takes to 
recognize the printer.)

Finally, an hour or so ago, I tried turning the printer off with 
its power switch. Since that time, the messages have become fewer, but 
not stopped.

-- 
Beartooth Staffwright, PhD, Neo-Redneck Linux Convert
Remember I know precious little of what I am talking about.

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: 54 GB in /var/log!! -- UPDATE

2008-10-27 Thread Mike Chambers
On Mon, 2008-10-27 at 17:40 +, Beartooth wrote:

> and I did. Starting after that, I get this, so far (without, nota bene, 
> having laid a finger on any usb anything, much less tried to fax anything 
> anywhere) : 

You sure you don't  have one of those All in One type printers or
something attached via usb to your machine?

-- 
Mike Chambers
Fedora Project - Ambassador, Bug Zapper, Tester, User, etc..
[EMAIL PROTECTED]

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: 54 GB in /var/log!! -- UPDATE

2008-10-27 Thread Beartooth
On Mon, 27 Oct 2008 12:14:37 -0430, Patrick O'Callaghan wrote:

> On Mon, 2008-10-27 at 15:18 +, Beartooth wrote:
>> Is there a good way to keep an eye on /var/log/messages
>> today,
>> and catch it in time if it happens again?
> 
> Until this is resolved, I would recommend running "tail -f
> /var/log/messages" in a console session or xterm, and taking a look at
> it now and again.

Craig White had recommended : 

> # > /var/log/messages
> that will completely empty it out

and I did. Starting after that, I get this, so far (without, nota bene, 
having laid a finger on any usb anything, much less tried to fax anything 
anywhere) : 

=   =   =   =
[EMAIL PROTECTED] ~]# tail -f /var/log/messages
Oct 27 13:04:42 Hbsk2 kernel: usb 2-1: USB disconnect, address 6
Oct 27 13:04:42 Hbsk2 kernel: usb 2-1.2: USB disconnect, address 7
Oct 27 13:04:42 Hbsk2 kernel: usblp0: removed
Oct 27 13:04:42 Hbsk2 kernel: usb 2-1.3: USB disconnect, address 8
Oct 27 13:04:42 Hbsk2 kernel: usb 2-1.4: USB disconnect, address 9
Oct 27 13:07:27 Hbsk2 kernel: usb 2-1: new full speed USB device using 
ohci_hcd and address 10
Oct 27 13:07:27 Hbsk2 kernel: usb 2-1: configuration #1 chosen from 1 
choice
Oct 27 13:07:27 Hbsk2 kernel: hub 2-1:1.0: USB hub found
Oct 27 13:07:27 Hbsk2 kernel: hub 2-1:1.0: 4 ports detected
Oct 27 13:07:27 Hbsk2 kernel: usb 2-1: New USB device found, 
idVendor=0451, idProduct=2046
Oct 27 13:07:27 Hbsk2 kernel: usb 2-1: New USB device strings: Mfr=0, 
Product=0, SerialNumber=0
Oct 27 13:07:27 Hbsk2 kernel: usb 2-1.2: new full speed USB device using 
ohci_hcd and address 11
Oct 27 13:07:27 Hbsk2 kernel: usb 2-1.2: configuration #1 chosen from 1 
choice
Oct 27 13:07:27 Hbsk2 kernel: usblp0: USB Bidirectional printer dev 11 if 
1 alt 0 proto 2 vid 0x03F0 pid 0x3F11
Oct 27 13:07:27 Hbsk2 kernel: usb 2-1.2: New USB device found, 
idVendor=03f0, idProduct=3f11
Oct 27 13:07:27 Hbsk2 kernel: usb 2-1.2: New USB device strings: Mfr=1, 
Product=2, SerialNumber=3
Oct 27 13:07:27 Hbsk2 kernel: usb 2-1.2: Product: psc 1310 series 
Oct 27 13:07:27 Hbsk2 kernel: usb 2-1.2: Manufacturer: hp
Oct 27 13:07:27 Hbsk2 kernel: usb 2-1.2: SerialNumber: CN4AIC71YKO2
Oct 27 13:07:28 Hbsk2 kernel: usb 2-1.3: new low speed USB device using 
ohci_hcd and address 12
Oct 27 13:07:28 Hbsk2 kernel: usb 2-1.3: configuration #1 chosen from 1 
choice
Oct 27 13:07:28 Hbsk2 kernel: input: HP Mouse HP Mouse as /devices/
pci:00/:00:02.0/usb2/2-1/2-1.3/2-1.3:1.0/input/input10
Oct 27 13:07:28 Hbsk2 kernel: input,hidraw0: USB HID v1.00 Mouse [HP 
Mouse HP Mouse] on usb-:00:02.0-1.3
Oct 27 13:07:28 Hbsk2 kernel: usb 2-1.3: New USB device found, 
idVendor=03f0, idProduct=0c1d
Oct 27 13:07:28 Hbsk2 kernel: usb 2-1.3: New USB device strings: Mfr=1, 
Product=1, SerialNumber=0
Oct 27 13:07:28 Hbsk2 kernel: usb 2-1.3: Product: HP Mouse
Oct 27 13:07:28 Hbsk2 kernel: usb 2-1.3: Manufacturer: HP Mouse
Oct 27 13:07:28 Hbsk2 kernel: usb 2-1.4: new low speed USB device using 
ohci_hcd and address 13
Oct 27 13:07:28 Hbsk2 kernel: usb 2-1.4: configuration #1 chosen from 1 
choice
Oct 27 13:07:28 Hbsk2 kernel: input: BTC USB Multimedia Keyboard as /
devices/pci:00/:00:02.0/usb2/2-1/2-1.4/2-1.4:1.0/input/input11
Oct 27 13:07:28 Hbsk2 kernel: input,hidraw1: USB HID v1.10 Keyboard [BTC 
USB Multimedia Keyboard] on usb-:00:02.0-1.4
Oct 27 13:07:28 Hbsk2 kernel: input: BTC USB Multimedia Keyboard as /
devices/pci:00/:00:02.0/usb2/2-1/2-1.4/2-1.4:1.1/input/input12
Oct 27 13:07:28 Hbsk2 kernel: input,hiddev96,hidraw2: USB HID v1.10 
Device [BTC USB Multimedia Keyboard] on usb-:00:02.0-1.4
Oct 27 13:07:28 Hbsk2 kernel: usb 2-1.4: New USB device found, 
idVendor=046d, idProduct=c313
Oct 27 13:07:28 Hbsk2 kernel: usb 2-1.4: New USB device strings: Mfr=1, 
Product=2, SerialNumber=0
Oct 27 13:07:28 Hbsk2 kernel: usb 2-1.4: Product: USB Multimedia Keyboard
Oct 27 13:07:28 Hbsk2 kernel: usb 2-1.4: Manufacturer: BTC
Oct 27 13:07:31 Hbsk2 python: hp-makeuri[5232]: error: Device does not 
support fax.
Oct 27 13:07:31 Hbsk2 python: hp-makeuri[5234]: error: Device does not 
support fax.
=   =   =   =

It sure looks to me like something is going on that shouldn't be.

-- 
Beartooth Staffwright, PhD, Neo-Redneck Linux Convert
Remember I know precious little of what I am talking about.

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: 54 GB in /var/log!! -- UPDATE

2008-10-27 Thread Patrick O'Callaghan
On Mon, 2008-10-27 at 15:18 +, Beartooth wrote:
> Is there a good way to keep an eye on /var/log/messages
> today, 
> and catch it in time if it happens again?

Until this is resolved, I would recommend running "tail
-f /var/log/messages" in a console session or xterm, and taking a look
at it now and again.

poc

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: 54 GB in /var/log!! -- UPDATE

2008-10-27 Thread Craig White
On Mon, 2008-10-27 at 15:50 +, Beartooth wrote:
> On Sun, 26 Oct 2008 20:12:21 +, Beartooth wrote:
> 
> > One of my F9 machines -- actually my #1 main machine -- started having
> > display problems. 
>   []
> > Obviously, I want to cut /var/log with electronic double-bitted
> > axes in both hands, to get to my user's GUI again; and to find the
> > source of the bloat and correct it.
> 
>   Having eventually -- thanks to the invaluable help here -- 
> discovered that the culprit was /var/log/messages-20081026, with the 
> whole 54GB; having failed to understand the problem, and finally deleted 
> it just to get back, I'm now on the #1 machine again, and I see : 
> 
> = =   =   =
> [EMAIL PROTECTED] btth]# df -h
> FilesystemSize  Used Avail Use% Mounted on
> /dev/mapper/VolGroup00-LogVol00
>72G   18G   51G  26% /
> /dev/sda1 190M   25M  156M  14% /boot
> tmpfs 1.5G   48K  1.5G   1% /dev/shm
> /dev/sdb1  75G   15G   61G  20% /media/System
> [EMAIL PROTECTED] btth]# 
>   =   =   =   =
> 
>   All I could tell, from my sadly ineffectual attempts to skim the 
> bad file without GUI means, was that it kept saying something about some 
> USB device, and also that some device couldn't do fax. (I never use fax.)
> 
>   I'm very sorry not to have a better explanation of what happened, 
> especially inasmuch as I'm also worried. Unless it was some inadvertent 
> command, blamable on my arthritic eyeballs and trifocal fingers, and thus 
> a fluke, it might happen again.
> 
>   I think logrotate must be working, because both the file for the 
> 25th and the 27th were reported nonexistent. In fact, I'm not at all sure 
> it was me that deleted the bad one; maybe logrotate did it.
> 
>   I took a look : 
> 
> = =   =   =
> [EMAIL PROTECTED] btth]# file /var/log/messages-20081027
> /var/log/messages-20081027: ERROR: cannot open `/var/log/
> messages-20081027' (No such file or directory)
> [EMAIL PROTECTED] btth]# file /var/log/messages-20081026
> /var/log/messages-20081026: empty
> [EMAIL PROTECTED] btth]# file /var/log/messages-20081025
> /var/log/messages-20081025: ERROR: cannot open `/var/log/
> messages-20081025' (No such file or directory)
> [EMAIL PROTECTED] btth]# 
>   =   =   =   =
> 
>   Does that tell anyone anything more than it does me? Does it look 
> like, or at least compatible with, logrotate?
> 
>   I suppose I should take a look at root's mail. What should I look 
> there for? (I think I do have logwatch running on this machine.)

probably because you're out of space to create them

Just do this at command line (as root)

# > /var/log/messages

that will completely empty it out (the # sign signifies root and
prevents e-mail from thinking it is part of a reply. Don't type the #
sign)

Craig

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: 54 GB in /var/log!! -- UPDATE

2008-10-27 Thread Beartooth
On Sun, 26 Oct 2008 20:12:21 +, Beartooth wrote:

> One of my F9 machines -- actually my #1 main machine -- started having
> display problems. 
[]
>   Obviously, I want to cut /var/log with electronic double-bitted
> axes in both hands, to get to my user's GUI again; and to find the
> source of the bloat and correct it.

Having eventually -- thanks to the invaluable help here -- 
discovered that the culprit was /var/log/messages-20081026, with the 
whole 54GB; having failed to understand the problem, and finally deleted 
it just to get back, I'm now on the #1 machine again, and I see : 

=   =   =   =
[EMAIL PROTECTED] btth]# df -h
FilesystemSize  Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
   72G   18G   51G  26% /
/dev/sda1 190M   25M  156M  14% /boot
tmpfs 1.5G   48K  1.5G   1% /dev/shm
/dev/sdb1  75G   15G   61G  20% /media/System
[EMAIL PROTECTED] btth]# 
=   =   =   =

All I could tell, from my sadly ineffectual attempts to skim the 
bad file without GUI means, was that it kept saying something about some 
USB device, and also that some device couldn't do fax. (I never use fax.)

I'm very sorry not to have a better explanation of what happened, 
especially inasmuch as I'm also worried. Unless it was some inadvertent 
command, blamable on my arthritic eyeballs and trifocal fingers, and thus 
a fluke, it might happen again.

I think logrotate must be working, because both the file for the 
25th and the 27th were reported nonexistent. In fact, I'm not at all sure 
it was me that deleted the bad one; maybe logrotate did it.

I took a look : 

=   =   =   =
[EMAIL PROTECTED] btth]# file /var/log/messages-20081027
/var/log/messages-20081027: ERROR: cannot open `/var/log/
messages-20081027' (No such file or directory)
[EMAIL PROTECTED] btth]# file /var/log/messages-20081026
/var/log/messages-20081026: empty
[EMAIL PROTECTED] btth]# file /var/log/messages-20081025
/var/log/messages-20081025: ERROR: cannot open `/var/log/
messages-20081025' (No such file or directory)
[EMAIL PROTECTED] btth]# 
=   =   =   =

Does that tell anyone anything more than it does me? Does it look 
like, or at least compatible with, logrotate?

I suppose I should take a look at root's mail. What should I look 
there for? (I think I do have logwatch running on this machine.)

-- 
Beartooth Staffwright, PhD, Neo-Redneck Linux Convert
Fedora 8 & 9; Alpine 2.00, Pan 0.132; Privoxy 3.0.6;
Dillo 0.8.6, Galeon 2, Epiphany 2, Opera 9, Firefox 2 & 3
Remember I know precious little of what I am talking about.

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: 54 GB in /var/log!! -- UPDATE

2008-10-27 Thread Beartooth
On Mon, 27 Oct 2008 07:41:26 -0700, Craig White wrote:

> On Mon, 2008-10-27 at 14:32 +, Beartooth wrote:
> 
> 
>>  Is there some way to find out what makes that message file so big
>> -- i.e., why the machine was losing its mind? I can't hope to read 54
>> gigs in my lifetime ...
> 
> less /var/log/messages
> 
> press '>' to get to end of messages
> use 'w' or 'Page Up' to page up
> 
> press 'Control-C' to stop line number calculations (pointless in 54G
> file)
> 
> read from the bottom, it should be obvious what the problem is

I may have messed up. When suddenly startx failed even for root, 
I tried "> /var/log/messages" (I think it was) and now the command to 
look for the space-grabber returns nothing near so large. But then 
everything else I tried kept hitting the out of range display. So I 
finally hit the reset button.

After rebooting that way, it now logs me straight in, GUI and all 
-- but not, I think, with optimal display.

All I recall from the bloated stuff was lots of differing and 
interspersed lines about USB devices, and one of them not doing fax. (I 
never use fax.)

Is there a good way to keep an eye on /var/log/messages today, 
and catch it in time if it happens again?


-- 
Beartooth Staffwright, PhD, Neo-Redneck Linux Convert
Remember I know precious little of what I am talking about.

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: 54 GB in /var/log!! -- UPDATE

2008-10-27 Thread Craig White
On Mon, 2008-10-27 at 14:32 +, Beartooth wrote:

> 
>   Is there some way to find out what makes that message file so big 
> -- i.e., why the machine was losing its mind? I can't hope to read 54 
> gigs in my lifetime ...

less /var/log/messages

press '>' to get to end of messages
use 'w' or 'Page Up' to page up

press 'Control-C' to stop line number calculations (pointless in 54G
file)

read from the bottom, it should be obvious what the problem is

Craig

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: 54 GB in /var/log!! -- UPDATE

2008-10-27 Thread Jonathan Dieter
On Mon, 2008-10-27 at 14:32 +, Beartooth wrote:
>   Is there some way to find out what makes that message file so big 
> -- i.e., why the machine was losing its mind? I can't hope to read 54 
> gigs in my lifetime ...

"tail -n 1000 /var/log/messages" will show the last 1000 lines of the
log.  If one message is repeating over and over (as Chris pointed out),
it should be pretty obvious.

Jonathan


signature.asc
Description: This is a digitally signed message part
-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

Re: 54 GB in /var/log!! -- UPDATE

2008-10-27 Thread Beartooth
On Sun, 26 Oct 2008 13:54:54 -0700, Craig White wrote:

[...]
>>  What should I do first??
> 
> from command line, cut down your large log files by locating them...
> 
> # find /var/log -type f -size +2000k -exec ls -lh {} \; | awk '{ print
> $8 ": " $5 }'

Proofreading for the third time, I discovered a missing space; 
now I get no error messages, and it tells me the culprit is /var/log/
messages for yesterday -- with 54GB all by itself. The poor thing must've 
been going bonkers; gawdknows why ...

> and any file that is really large (i.e. /var/log/Xorg.0.log)
> 
> command line empty it...
> # > /var/log/Xorg.0.log

Is there some way to find out what makes that message file so big 
-- i.e., why the machine was losing its mind? I can't hope to read 54 
gigs in my lifetime ...

-- 
Beartooth Staffwright, PhD, Neo-Redneck Linux Convert
Remember I know precious little of what I am talking about.

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines