[OT] Nagios timeouts

2008-10-21 Thread Joe Tseng
Earlier this morning I was getting Nagios alerts about potential issues with my 
FreeBSD 6.1 servers.  All the emails I got had this problem:

Connection refused by host

I did some digging around today and I didn't get anything definitive, but I did 
notice there was a time correlation between the messages and certain log 
entries that seem to be associated with various cron jobs.  Is it possible that 
I'm getting false positives due to my servers servicing these jobs and not 
being able to respond to Nagios queries?

 - Joe

_
Want to read Hotmail messages in Outlook? The Wordsmiths show you how.
http://windowslive.com/connect/post/wedowindowslive.spaces.live.com-Blog-cns!20EE04FBC541789!167.entry?ocid=TXT_TAGLM_WL_hotmail_092008___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


gzipping multiple files w/o tarring

2008-10-10 Thread Joe Tseng

I'm sure this is easy but googling hasn't gotten me anywhere yet...  I want to 
compress all the files in my directory that don't already have a .gz extension. 
 I want them to be individual compressed files, not part of a single .tar.gz 
file.  Can anyone point me to where I can find how to do this?

tia,

 - Joe
_
Want to do more with Windows Live? Learn “10 hidden secrets” from Jamie.
http://windowslive.com/connect/post/jamiethomson.spaces.live.com-Blog-cns!550F681DAD532637!5295.entry?ocid=TXT_TAGLM_WL_domore_092008___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Load trends over time

2008-10-01 Thread Joe Tseng

I currently maintaining some systems that run Nagios clients and the server 
spews out socket timeout after 10s msgs on occasion even when nothing is 
wrong.  Does anyone know of any kind of tool that saves system data over time 
and allows for people to trend for patterns?  If not, what options should I use 
with ps and what columns should I be capturing so I can save the resulting data 
via script?

tia,

 - Joe
_
See how Windows connects the people, information, and fun that are part of your 
life.
http://clk.atdmt.com/MRT/go/msnnkwxp1020093175mrt/direct/01/___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


kernel upgrades

2008-09-19 Thread Joe Tseng

I'm still new to FreeBSD (coming from CentOS/Ubuntu) so this might be
something totally obvious to others...  I know I can update ports by using
portsnap fetch/extract/update - does this update the kernel source as well?
How do I apply this new code?

- Joe 


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Firefox won't start

2008-09-18 Thread Joe Tseng
I recently did a ports update and after a bit of effort I got firefox3 to 
compile with no errors.  But now when I either select Firefox from the menu or 
start it from a terminal window nothing happens.  Firefox does not start and 
there's no indication of any problems.  When I use ps to see if it's hung I see 
nothing.  Ideas?

tia,

 - Joe

_
Get more out of the Web. Learn 10 hidden secrets of Windows Live.
http://windowslive.com/connect/post/jamiethomson.spaces.live.com-Blog-cns!550F681DAD532637!5295.entry?ocid=TXT_TAGLM_WL_domore_092008___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Firefox won't start

2008-09-18 Thread Joe Tseng
You got it!!!  I type in firefox3 in the terminal and the prompt comes right 
back.

From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; freebsd-questions@freebsd.org
Subject: RE: Firefox won't start
Date: Thu, 18 Sep 2008 16:22:59 -0400







 From: [EMAIL PROTECTED]
 To: freebsd-questions@freebsd.org
 Date: Thu, 18 Sep 2008 15:21:11 -0400
 Subject: Firefox won't start
 
 I recently did a ports update and after a bit of effort I got firefox3 to 
 compile with no errors.  But now when I either select Firefox from the menu 
 or start it from a terminal window nothing happens.  Firefox does not start 
 and there's no indication of any problems.  When I use ps to see if it's hung 
 I see nothing.  Ideas?
 

what command are you using to start firefox 3? I just installed it for first 
time and found you have to use the command firefox3 to get it to run

-Sean


_
See how Windows Mobile brings your life together—at home, work, or on the go.
http://clk.atdmt.com/MRT/go/msnnkwxp1020093182mrt/direct/01/___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Can't start MySQL 5.0.67

2008-09-08 Thread Joe Tseng
I've got a server running FreeBSD7 and got MySQL 5.0.67 installed on it today.  
I ran mysql_install_db and then assigned the root password.  I tried to get it 
running on boot (mysql_enable=YES) and by hand 
(/usr/local/etc/rc.d/mysql-server start) but I can't get the daemon to start.  
What else do I need to do to get this working?

 - Joe

_
Stay up to date on your PC, the Web, and your mobile phone with Windows Live.
http://clk.atdmt.com/MRT/go/msnnkwxp1020093185mrt/direct/01/___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Can't start MySQL 5.0.67

2008-09-08 Thread Joe Tseng
So I checked in that directory you suggested and I found this:

080908 13:35:05  mysqld started
080908 13:35:05 [Warning] option 'max_join_size': unsigned value 
18446744073709551615 adjusted to 4294967295
080908 13:35:05 [Warning] option 'max_join_size': unsigned value 
18446744073709551615 adjusted to 4294967295
080908 13:35:05  InnoDB: Operating system error number 13 in a file operation.
InnoDB: The error means mysqld does not have the access rights to
InnoDB: the directory.
InnoDB: File name ./ibdata1
InnoDB: File operation call: 'create'.
InnoDB: Cannot continue operation.
080908 13:35:05  mysqld ended

So my questions are:
1. What directory is it referring to?  Is it /var/db/mysql by default?  I just 
tried to give ownership using chown -R mysql /var/db/mysql but that made no 
difference.
2. I've read also for this kind of issue I have to reinstall the software...  
When I initially installed this from ports I didn't use any kind of extra 
parameters.  Are they needed?


 From: [EMAIL PROTECTED]
 To: freebsd-questions@freebsd.org
 Date: Mon, 8 Sep 2008 10:56:48 -0800
 CC: [EMAIL PROTECTED]
 Subject: Re: Can't start MySQL 5.0.67
 
 On Monday 08 September 2008, Joe Tseng said:
  I've got a server running FreeBSD7 and got MySQL 5.0.67 installed
  on it today.  I ran mysql_install_db and then assigned the root
  password.  I tried to get it running on boot (mysql_enable=YES)
  and by hand (/usr/local/etc/rc.d/mysql-server start) but I can't
  get the daemon to start.  What else do I need to do to get this
  working?
 
   - Joe
 
 Check the logfiles in /var/db/mysql, they will usually tell you what 
 it's choking on. My first guess without more info would be you 
 probably don't have something configured correctly.
 
 Beech
 
 -- 
 ---
 Beech Rintoul - FreeBSD Developer - [EMAIL PROTECTED]
 /\   ASCII Ribbon Campaign  | FreeBSD Since 4.x
 \ / - NO HTML/RTF in e-mail   | http://people.freebsd.org/~beech
  X  - NO Word docs in e-mail | Skype: akbeech
 / \  - http://www.FreeBSD.org/releases/7.0R/announce.html
 ---
 
 
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

_
Want to do more with Windows Live? Learn “10 hidden secrets” from Jamie.
http://windowslive.com/connect/post/jamiethomson.spaces.live.com-Blog-cns!550F681DAD532637!5295.entry?ocid=TXT_TAGLM_WL_domore_092008___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Can't start MySQL 5.0.67

2008-09-08 Thread Joe Tseng
Yeah that was it...  The chown -R mysql:mysql /var/db/mysql was what did it...  
Thx to all for the help.

 - Joe

 From: [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Date: Mon, 8 Sep 2008 11:46:02 -0800
 CC: freebsd-questions@freebsd.org
 Subject: Re: Can't start MySQL 5.0.67
 
 On Monday 08 September 2008, Joe Tseng said:
  So I checked in that directory you suggested and I found this:
 
  080908 13:35:05  mysqld started
  080908 13:35:05 [Warning] option 'max_join_size': unsigned value
  18446744073709551615 adjusted to 4294967295 080908 13:35:05
  [Warning] option 'max_join_size': unsigned value
  18446744073709551615 adjusted to 4294967295 080908 13:35:05 
  InnoDB: Operating system error number 13 in a file operation.
  InnoDB: The error means mysqld does not have the access rights to
  InnoDB: the directory.
  InnoDB: File name ./ibdata1
  InnoDB: File operation call: 'create'.
  InnoDB: Cannot continue operation.
  080908 13:35:05  mysqld ended
 
  So my questions are:
  1. What directory is it referring to?  Is it /var/db/mysql by
  default?  I just tried to give ownership using chown -R mysql
  /var/db/mysql but that made no difference. 2. I've read also for
  this kind of issue I have to reinstall the software...  When I
  initially installed this from ports I didn't use any kind of extra
  parameters.  Are they needed?
 
 Yes, the /var/db/mysql dir needs to be readable and writeable by 
 mysql. Try the following: chown -R mysql:mysql /var/db/mysql.
 
 The error is telling you that innodb can't 
 create /var/db/mysql/ibdata1. After fixing permissions, you may need 
 to do another initdb.
 
 Beech
 
 
   From: [EMAIL PROTECTED]
   To: freebsd-questions@freebsd.org
   Date: Mon, 8 Sep 2008 10:56:48 -0800
   CC: [EMAIL PROTECTED]
   Subject: Re: Can't start MySQL 5.0.67
  
   On Monday 08 September 2008, Joe Tseng said:
I've got a server running FreeBSD7 and got MySQL 5.0.67
installed on it today.  I ran mysql_install_db and then
assigned the root password.  I tried to get it running on boot
(mysql_enable=YES) and by hand
(/usr/local/etc/rc.d/mysql-server start) but I can't get the
daemon to start.  What else do I need to do to get this
working?
   
 - Joe
  
   Check the logfiles in /var/db/mysql, they will usually tell you
   what it's choking on. My first guess without more info would be
   you probably don't have something configured correctly.
  
   Beech
 
 
 
 -- 
 ---
 Beech Rintoul - FreeBSD Developer - [EMAIL PROTECTED]
 /\   ASCII Ribbon Campaign  | FreeBSD Since 4.x
 \ / - NO HTML/RTF in e-mail   | http://people.freebsd.org/~beech
  X  - NO Word docs in e-mail | Skype: akbeech
 / \  - http://www.FreeBSD.org/releases/7.0R/announce.html
 ---
 
 
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
_
See how Windows connects the people, information, and fun that are part of your 
life.
http://clk.atdmt.com/MRT/go/msnnkwxp1020093175mrt/direct/01/___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Mouse doesn't work in Gnome after install

2008-08-29 Thread Joe Tseng
I'm still a FreeBSD newbie so I'm still feeling my way around...  Got two mouse 
problems:

1. I just installed FreeBSD 7 on a laptop and got Gnome running.  The mouse 
works with the trackpad but not the USB mouse.
2. I just installed FreeBSD 7 as a VMWare Server guest and got Gnome running.  
The mouse doesn't work at all.

Are these issues related?  What do I do now?

tia,

 - Joe

_
Get thousands of games on your PC, your mobile phone, and the web with Windows®.
http://clk.atdmt.com/MRT/go/108588800/direct/01/___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]