Re: [CentOS] unix2dos did NOT fix line wrap problem on PC

2008-08-29 Thread John Bowden
On Thursday 28 August 2008 18:05:26 Stephen Moccio wrote:
> On the pc - open the file using wordpad.
>
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
> Behalf Of Jeff
> Sent: Thursday, August 28, 2008 11:13 AM
> To: CentOS mailing list
> Subject: Re: [CentOS] unix2dos did NOT fix line wrap problem on PC
>
> On Thu, Aug 28, 2008 at 9:57 AM, mcclnx mcc <[EMAIL PROTECTED]> wrote:
> > I have log files will mail from LINUX to my PC (MS exchange and outlook).
> >
> > When I look the E-MAIL, the log file line is unwrap.  My script did use
> > "unix2dos" to convert format.  anyone know why?
> >
> >
> > ==   script   =
> >
> > tail -30 /var/log/messages > /tmp/diskmsg.log
> > unix2dos /tmp/diskmsg.log
> > mail  -s "Check log" [EMAIL PROTECTED]  
> unix2dos has nothing to do with the length of a line. It only changes
> the line-end characters that occur when a new line is specifically
> indicated (i.e. at the end of each log entry).
>
> Wrapping is entirely a function of the program in which you are
> viewing the text. So tweak your Outlook to wrap or not-wrap as you see
> fit.

Do a google search for "pfe.exe" (Programmers File Editor). Its a freeware 
windoz text editor that handles linux / Unix or dos / windows end of line 
characters with out any problems. If you can't find it e mail me off list and 
I can attach it to my reply, its only a 2/3mb file.
Regards John

-- 
Guy Fawkes, the only man to enter the house's of Parliament
with honest intentions, (he was going to blow them up!)
Registered Linux user number 414240
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Configuring an Intel 3945 wireless card: partial success

2008-08-29 Thread Niki Kovacs

Hi,

My wife has a new ASUS laptop with an Intel 3945 wireless card. I'm 
running CentOS 5 on all our desktops here (at work and at home), and I'm 
quite happy with it. I had a partial success in configuring the wireless 
card.


Basically I'm using [base], [updates], [extra] and [rpmforge] repos, 
configured with the yum-priorities plugin. Priority 10 for RPMForge, 1 
for the others.


From RPMForge, I installed dkms-ipw3945, the driver for my wireless 
card. I gave it a first go with the most basic setup, that is: static 
IP, no encryption.


After installing the driver, the card shows up as eth1. I removed 
/etc/sysconfig/network-scripts/ifcfg-eth0 and edited a minimalistic 
ifcfg-eth1.


After a restart, the interface comes up OK, and I can connect to my 
access point as well as ping machines on the internet.


But now I'd like to install and use NetworkManager. I've read the 
according Wiki entry on the CentOS site. Here's what I did:


1) Added the 'NetworkManager' and 'NetworkManagerDispatcher' services 
(using chkconfig)


2) Removed the 'network' service (also using chkconfig)

3) Rebooted to be sure

Result:

1) The NetworkManager icon shows up OK on the upper right side of my 
GNOME desktop.


2) When an Ethernet cable is connected to the machine, NetworkManager 
configures a connection OK (cable connected to router).


3) The wireless ESSID of my access point shows up OK in NetworkManager. 
Ethernet cables get some sort of priority in NetworkManager, so I 
unplugged the cable and clicked on the wireless connection. 
NetworkManager tries to establish a connection for about 30 seconds, but 
fails.


... which leaves me clueless. Any suggestions?

Last detail: for the moment at least, I'm using no encryption at all on 
the access point. We live in a very remote place in the south French 
countryside, there's only hunters and wild boars around, so it's not a 
very friendly place for wlan-hackers :o)


Niki Kovacs
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Configuring an Intel 3945 wireless card: partial success

2008-08-29 Thread Mogens Kjaer
Niki Kovacs wrote:
...
> ... which leaves me clueless. Any suggestions?

Take a close look at what gets logged into /var/log/messages

Mogens

-- 
Mogens Kjaer, Carlsberg A/S, Computer Department
Gamle Carlsberg Vej 10, DK-2500 Valby, Denmark
Phone: +45 33 27 53 25, Fax: +45 33 27 47 08
Email: [EMAIL PROTECTED] Homepage: http://www.crc.dk
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] lmsensors support in net-snmp

2008-08-29 Thread Andrew Hearn

Hello,

I'm wanting to use cacti* to graph my motherboard 
fan/temperature/voltage readings. I have sensors working and it giving 
me the temperatures ets, but it seems that net-snmp needs to be compiled 
with sensors/lmsensors support. Is there a centos 5 rpm for net-snmp 
that support this?


Thanks.

*http://forums.cacti.net/viewtopic.php?t=11590
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Webalizer displays wrong year

2008-08-29 Thread Jussi Hirvi
I just run webalizer manually on an Apache log, like I have done many times
before. Some new statistics were created, but for "August 2006" instead of
"August 2008". I cannot figure why!

Because of my mistake, the webalizer statistics for this site have not been
updated since February. Now I tried to update them for the first time - with
the results I described above.

The system clock is in correct time (2008).
The dates printed in Apache logs are correct (2008).

Webalizer, when it is run, creates these new files (note the wrong year):
> -rwxrwx---  1 root apache 569 Aug 29 10:57 webalizer.hist
> -rwxrwx---  1 root apache  127507 Aug 29 10:57 webalizer.current
> -rwxrwx---  1 root apache2957 Aug 29 10:57 usage.png
> -rwxrwx---  1 root apache  137863 Aug 29 10:57 usage_200608.html
> -rwxrwx---  1 root apache   10190 Aug 29 10:57 index.html
> -rwxrwx---  1 root apache2178 Aug 29 10:57 hourly_usage_200608.png
> -rwxrwx---  1 root apache3900 Aug 29 10:57 daily_usage_200608.png

On Webalizer page index.html, the new stats get labeled "Aug 2006", and -
another strange thing - the item is displayed on the list (on index.html)
between Jul 2007 and Sep 2007!! The original Aug 2007 seems to be missing.

Any ideas what could be wrong??

- Jussi

--
Jussi Hirvi  *  Green Spot
Topeliuksenkatu 15 C  *  00250 Helsinki  *  Finland
Tel. & fax +358 9 493 981  *  SMS +358 40 771 2098
[EMAIL PROTECTED]  *  http://www.greenspot.fi


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Re: Curmudgeoning (was Re: Problems with writing Dual Layer DVD)

2008-08-29 Thread Ralph Angenendt
R P Herrold wrote:
> On Thu, 28 Aug 2008, William L. Maltby wrote:
>
>> PIKER! I've mobos still running (when I fire 'em up). Although I'm
>> seriously considering ditching the 386SX with Win 3.11. Don't find any
>
> three words:  Processor Tech Sol

Two words: Compulsive Hoarders.

All of you!

Cheers,

Ralph


pgpvPXvfjvBvM.pgp
Description: PGP signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Problems with writing Dual Layer DVD

2008-08-29 Thread Chris Geldenhuis

Anne Wilson wrote:

On Wednesday 27 August 2008 20:27:15 MHR wrote:
  

On Wed, Aug 27, 2008 at 11:13 AM, Chris Geldenhuis

<[EMAIL PROTECTED]> wrote:


Hi Bill,

Thanks for the quick response - I did try to format with dvd+rw tools but
also got a respnse that the media was not recordable. AFAIK it should not
be required.
  

I usually use K3B for all my CD and DVD recording needs - it works
nicely, even under GNOME (I don't use KDE).

I've never had a problem like the one you describe, but I've upgraded
to each new CentOS release fairly quickly, so I'm on 5.2, and that
might be better.

The one problem I did have with a "new" DVD burner was that it would
only write at 2.47x at the fastest, and it was supposed to be a 20x
drive.  The manufacturer suggested I RMA it, which I will if I ever
get around to taking it out and putting in a (different, known good)
one.

I also have mplayer/mencoder installed (and vobcopy and a few others),
so I don't know if any of them might be involved peripherally,
dragging in a more recent module from rpmforge, but I'm thinking you
could try K3B and not lose anything if it works.


One question to Chris - did you click on the status bar where you need to 
change the disk type?


Anne

  



___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
  

Hi Anne,

I was using growisofs on the command line - thanks for the response.

ChrisG.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Problems with writing Dual Layer DVD

2008-08-29 Thread Chris Geldenhuis

MHR wrote:

On Wed, Aug 27, 2008 at 11:13 AM, Chris Geldenhuis
<[EMAIL PROTECTED]> wrote:
  

Hi Bill,

Thanks for the quick response - I did try to format with dvd+rw tools but
also got a respnse that the media was not recordable. AFAIK it should not be
required.




I usually use K3B for all my CD and DVD recording needs - it works
nicely, even under GNOME (I don't use KDE).

I've never had a problem like the one you describe, but I've upgraded
to each new CentOS release fairly quickly, so I'm on 5.2, and that
might be better.

The one problem I did have with a "new" DVD burner was that it would
only write at 2.47x at the fastest, and it was supposed to be a 20x
drive.  The manufacturer suggested I RMA it, which I will if I ever
get around to taking it out and putting in a (different, known good)
one.

I also have mplayer/mencoder installed (and vobcopy and a few others),
so I don't know if any of them might be involved peripherally,
dragging in a more recent module from rpmforge, but I'm thinking you
could try K3B and not lose anything if it works.

HTH

mhr
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

  

Hi Mark,

I will try using the new drive in one of my 5.2 servers over the weekend 
- I do not have time during working hours today.


I do not seem to have K3B on my system - where do I find it.

Thanks for the response

ChrisG
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Re: Curmudgeoning (was Re: Problems with writing Dual Layer DVD)

2008-08-29 Thread William L. Maltby

On Thu, 2008-08-28 at 16:57 -0700, Scott Silva wrote:
> on 8-28-2008 4:15 PM William L. Maltby spake the following:
> > On Thu, 2008-08-28 at 15:50 -0700, Scott Silva wrote:
> >> 
> > 
> >> I have motherboards in my garage older than you! ;-D
> > 
> > PIKER! I've mobos still running (when I fire 'em up). Although I'm
> > seriously considering ditching the 386SX with Win 3.11. Don't find any
> > reason to fire it up anymore.
> > 
> > Hell, even at my age I've got more memory left than it ever had!  :-))
> > 
> >> 
> > 
> I don't think I kept anything lower than a 486. You never know if you might 
> need it!

I have a 486DX fully configured and ready to step in as my fallback
IPCop gateway if the primary should fail. The primary is a 200MHz
Pentium. With the 10Mbit ethernet cards and standard Road Runner cable
modem service, it used to get about 600MB/sec. The 486 would do about
75% of that (450MB/sec). A good enough backup I think.

> 

-- 
Bill

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Re: Curmudgeoning (was Re: Problems with writing Dual Layer DVD)

2008-08-29 Thread William L. Maltby

On Thu, 2008-08-28 at 17:27 -0700, Bill Campbell wrote:
> 

> I still have a Tandy 4000, 386-16 no cache, that is used occassionally to
> program EPROMS.  This same machine ran Xenix for years before being abused
> by installing DR-DOS on it.

For shame, for shame! You should have known better! ;-)

Regardless, I was getting readdy to discard these when I saw your post.
If you need some spares, I've got 1 each 360KB and 1.2MB 5.25" floppy
drives that still worked last I used them. One might have come out of a
TRS-80 I had when they were a "hot" item - I'm not sure. Also a box full
of media for them (a couple hundred?) untested but some may still work.

Let me know. I really hate throwing away something, that's still
perfectly useful, just because the world has passed it by. Hmm ... might
be something empathetic in that.

> 
> I have a Radio Shack Model 100, the first laptop, in the closet beside an
> HP-97 programmable calculator.
> 
> Bill

-- 
Bill (the other one)!

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Re: Curmudgeoning (was Re: Problems with writing Dual Layer DVD)

2008-08-29 Thread William L. Maltby

On Thu, 2008-08-28 at 17:35 -0700, MHR wrote:
> 

> Well, all I have that foes back that far is a 2nd gen IBM PC (the 64k
> m/b) that would probably work if I knew where any of my 360k MS-DOS
> floppies were.

I could make some for you. Just need to pop the drive into one of my
units.

> 

> mhr
> 

-- 
Bill (the other one)

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Re: Curmudgeoning (was Re: Problems with writing Dual Layer DVD)

2008-08-29 Thread William L. Maltby

On Thu, 2008-08-28 at 20:47 -0400, fred smith wrote:
> 

> I've still got the first computer I ever bought (a lot newer than the first
> one I ever used), a screamin' 10 Mhz XT clone with 8087 too! Last year
> when I fired it up it still worked, though the hard drive had bitten
> the dust.
> 
> And when my wife threatened, some years back, to throw out my boxes of 
> eight inch floppies, I took 'em to work and stuck 'em under my desk for
> safekeeping. I swear, one of these days I'm going to find a 8" drive
> for them so I can read 'em in. then I can find one of those pdp-11
> emulators and run RT-11 and some ancient Unix too!

IIRC, the TRS Model 16 had 8" drives. That might be a good bet.

> 

-- 
Bill (the other one)

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Webalizer displays wrong year

2008-08-29 Thread Ian Blackwell
Jussi Hirvi wrote:
> I just run webalizer manually on an Apache log, like I have done many times
> before. Some new statistics were created, but for "August 2006" instead of
> "August 2008". I cannot figure why!
>
> Because of my mistake, the webalizer statistics for this site have not been
> updated since February. Now I tried to update them for the first time - with
> the results I described above.
>
> The system clock is in correct time (2008).
> The dates printed in Apache logs are correct (2008).
>
> Webalizer, when it is run, creates these new files (note the wrong year):
>   
>> -rwxrwx---  1 root apache 569 Aug 29 10:57 webalizer.hist
>> -rwxrwx---  1 root apache  127507 Aug 29 10:57 webalizer.current
>> -rwxrwx---  1 root apache2957 Aug 29 10:57 usage.png
>> -rwxrwx---  1 root apache  137863 Aug 29 10:57 usage_200608.html
>> -rwxrwx---  1 root apache   10190 Aug 29 10:57 index.html
>> -rwxrwx---  1 root apache2178 Aug 29 10:57 hourly_usage_200608.png
>> -rwxrwx---  1 root apache3900 Aug 29 10:57 daily_usage_200608.png
>> 
>
> On Webalizer page index.html, the new stats get labeled "Aug 2006", and -
> another strange thing - the item is displayed on the list (on index.html)
> between Jul 2007 and Sep 2007!! The original Aug 2007 seems to be missing.
>
> Any ideas what could be wrong??
>
>
>   
Something similar happened to me, but only when I had set the server
date forward and accessed the apache server pages with a future date. 
As a result, the apache logs contained that future date.  The
/var/lib/webalizer/webalizer.current file then contained a future date
and so with Webalizer working in incremental mode, it was ignoring all
log entries prior to that future date.  The result was my correctly
dated logs were being ignored.

To fix this, and I know it seems to be the reverse of you are
describing, I cleared the /var/lib/webalizer/webalizer.current file and
purged my logs of future dated entries.

I can only hope that this helps you a little...  :)

Ian
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] syslog-ng

2008-08-29 Thread Mag Gam
Hello,

I know centos does not use syslog-ng, but I have installed it at my
university. My intention is if a particular string appears in my
/var/log/messages I would like to get an email alert.

For example, if i see a message "foo" in /var/log/kern I would like to
email myself.

Any idea how to do this? Has anyone done this before?

TIA
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Webalizer displays wrong year

2008-08-29 Thread Jussi Hirvi
Ian Blackwell ([EMAIL PROTECTED]) kirjoitteli (29.8.2008 13:34):
> Something similar happened to me, but only when I had set the server
> date forward and accessed the apache server pages with a future date.
> As a result, the apache logs contained that future date.  The
> /var/lib/webalizer/webalizer.current file then contained a future date

Hi Ian, 

I know you from the LassoTalk list, right? :-)

My webalizer.current lists 29/08/2006 as the "current date". :-) I still
have no idea why. 

But I circled around the problem by starting the statistics fresh. I
processed all the access logs that I have (5 log files), and the new
statistics are now quite ok.

- Jussi

--
Jussi Hirvi * Green Spot
Topeliuksenkatu 15 C * 00250 Helsinki * Finland
Tel. & fax +358 9 493 981 * Mobile +358 40 771 2098 (only sms)
[EMAIL PROTECTED] * http://www.greenspot.fi

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] syslog-ng

2008-08-29 Thread Paul Bijnens

On 2008-08-29 13:19, Mag Gam wrote:

I know centos does not use syslog-ng, but I have installed it at my
university. My intention is if a particular string appears in my
/var/log/messages I would like to get an email alert.

For example, if i see a message "foo" in /var/log/kern I would like to
email myself.


I use "monit" for that (and other things).
Easy to setup, very reliable.

Available from rpmforge:

   yum --enable=rpmforge install monit

--
Paul Bijnens, xplanation Technology ServicesTel  +32 16 397.511
Technologielaan 21 bus 2, B-3001 Leuven, BELGIUMFax  +32 16 397.512
http://www.xplanation.com/  email:  [EMAIL PROTECTED]
***
* I think I've got the hang of it now:  exit, ^D, ^C, ^\, ^Z, ^Q, ^^, *
* F6, quit, ZZ, :q, :q!, M-Z, ^X^C, logoff, logout, close, bye, /bye, *
* stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt,  abort,  hangup, *
* PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e,  kill -1 $$,  shutdown, *
* init 0, kill -9 1, Alt-F4, Ctrl-Alt-Del, AltGr-NumLock, Stop-A, ... *
* ...  "Are you sure?"  ...   YES   ...   Phew ...   I'm out  *
***
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] syslog-ng

2008-08-29 Thread Karanbir Singh

Mag Gam wrote:

Hello,

I know centos does not use syslog-ng, but I have installed it at my
university. 


Consider rsyslog ?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] syslog-ng

2008-08-29 Thread Jeremiah Heller

Have you heard of http://www.ossec.net/?

It would do what you like and more. You configure which logs you want  
watched and who should be emailed/texted/paged according to various  
levels of criticality.


I believe you can have it email you for custom log-events; although it  
will notice many common failure messages and other anomalies  
automatically - so many I haven't needed to modify much.


I'm not sure if centos provides packages w/ similar functionality or  
not.


Jeremiah

On 29 Aug 2008, at 04:19, Mag Gam wrote:


Hello,

I know centos does not use syslog-ng, but I have installed it at my
university. My intention is if a particular string appears in my
/var/log/messages I would like to get an email alert.

For example, if i see a message "foo" in /var/log/kern I would like to
email myself.

Any idea how to do this? Has anyone done this before?

TIA
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Webalizer displays wrong year

2008-08-29 Thread Jussi Hirvi
Only now I remembered that my old webalizer statistics for this site were
transferred from another machine. The old machine runs OS X 10.2, and the
webalizer version is one imcrement older than on the new Linux machine
(V2.01.09 vs. V2.01.10).

This is the probable reason for the date anomaly - actually the only
hypothesis I can come up with. :-)

- Jussi

--
Jussi Hirvi * Green Spot
Topeliuksenkatu 15 C * 00250 Helsinki * Finland
Tel. & fax +358 9 493 981 * Mobile +358 40 771 2098 (only sms)
[EMAIL PROTECTED] * http://www.greenspot.fi

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] unix2dos did NOT fix line wrap problem on PC

2008-08-29 Thread Miguel Medalha


Do a google search for "pfe.exe" (Programmers File Editor). Its a freeware 
windoz text editor that handles linux / Unix or dos / windows end of line 
characters with out any problems. If you can't find it e mail me off list and 
I can attach it to my reply, its only a 2/3mb file.

Regards John

  
A much better and more up to date option would be Notepad++. When you 
try it, you will know why.


http://notepad-plus.sourceforge.net/uk/site.htm
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] CentOS-announce Digest, Vol 42, Issue 11

2008-08-29 Thread centos-announce-request
Send CentOS-announce mailing list submissions to
[EMAIL PROTECTED]

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.centos.org/mailman/listinfo/centos-announce
or, via email, send a message with subject or body 'help' to
[EMAIL PROTECTED]

You can reach the person managing the list at
[EMAIL PROTECTED]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of CentOS-announce digest..."


Today's Topics:

   1. CESA-2008:0648 Important CentOS 5 i386 tomcat5Update
  (Karanbir Singh)
   2. CESA-2008:0648 Important CentOS 5 x86_64 tomcat5  Update
  (Karanbir Singh)
   3. CESA-2008:0863-01: Important CentOS 2 i386libtiff security
  update (John Newbigin)


--

Message: 1
Date: Thu, 28 Aug 2008 23:01:41 +0100
From: Karanbir Singh <[EMAIL PROTECTED]>
Subject: [CentOS-announce] CESA-2008:0648 Important CentOS 5 i386
tomcat5 Update
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=us-ascii


CentOS Errata and Security Advisory 2008:0648 Important

Upstream details at : https://rhn.redhat.com/errata/RHSA-2008-0648.html

The following updated files have been uploaded and are currently 
syncing to the mirrors: ( md5sum Filename ) 

i386:
c734374fd4c1b01b0de140dec457191e  tomcat5-5.5.23-0jpp.7.el5_2.1.i386.rpm
cbcc5625b147fd60528accff52ae6504  
tomcat5-admin-webapps-5.5.23-0jpp.7.el5_2.1.i386.rpm
e734a99b5332bec54776322377a34b3b  
tomcat5-common-lib-5.5.23-0jpp.7.el5_2.1.i386.rpm
5453cd446682ccbfcb27b953cbf51bca  tomcat5-jasper-5.5.23-0jpp.7.el5_2.1.i386.rpm
967e0961aff3640927ab4b7ac9d971e8  
tomcat5-jasper-javadoc-5.5.23-0jpp.7.el5_2.1.i386.rpm
2ecf6542b6e80d4048962b334afacfcf  
tomcat5-jsp-2.0-api-5.5.23-0jpp.7.el5_2.1.i386.rpm
e8429b70d77822f9a74c18c5423327ef  
tomcat5-jsp-2.0-api-javadoc-5.5.23-0jpp.7.el5_2.1.i386.rpm
ae1ef29d5b9c4de4530a32ab7763cae8  
tomcat5-server-lib-5.5.23-0jpp.7.el5_2.1.i386.rpm
e7057b9bdf2405699cf2314229bfef28  
tomcat5-servlet-2.4-api-5.5.23-0jpp.7.el5_2.1.i386.rpm
444f64a54d96e2ca0337954ba2127e16  
tomcat5-servlet-2.4-api-javadoc-5.5.23-0jpp.7.el5_2.1.i386.rpm
e20b64e80ac54a4d3a1d3081a14a33a1  tomcat5-webapps-5.5.23-0jpp.7.el5_2.1.i386.rpm

Source:
cb7239b7652235a6ca1f071d077bba44  tomcat5-5.5.23-0jpp.7.el5_2.1.src.rpm


-- 
Karanbir Singh
CentOS Project { http://www.centos.org/ }
irc: z00dax, [EMAIL PROTECTED]



--

Message: 2
Date: Thu, 28 Aug 2008 23:01:41 +0100
From: Karanbir Singh <[EMAIL PROTECTED]>
Subject: [CentOS-announce] CESA-2008:0648 Important CentOS 5 x86_64
tomcat5 Update
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=us-ascii


CentOS Errata and Security Advisory 2008:0648 Important

Upstream details at : https://rhn.redhat.com/errata/RHSA-2008-0648.html

The following updated files have been uploaded and are currently 
syncing to the mirrors: ( md5sum Filename ) 

x86_64:
57c5fa963dfa5d8c7d803bdb45bcacbf  tomcat5-5.5.23-0jpp.7.el5_2.1.x86_64.rpm
7f9a6b53bedd90d55bb102eeaf7f5190  
tomcat5-admin-webapps-5.5.23-0jpp.7.el5_2.1.x86_64.rpm
2232b4f300cd3e5727feb2792538c957  
tomcat5-common-lib-5.5.23-0jpp.7.el5_2.1.x86_64.rpm
777bb2cb9944d5684f74a2359d212460  
tomcat5-jasper-5.5.23-0jpp.7.el5_2.1.x86_64.rpm
7d97a8badecebd3160cb097959c31558  
tomcat5-jasper-javadoc-5.5.23-0jpp.7.el5_2.1.x86_64.rpm
1ad97060c50877d9f56c5b21eae30fa7  
tomcat5-jsp-2.0-api-5.5.23-0jpp.7.el5_2.1.x86_64.rpm
5ced478472279e95b32500951bcc51e8  
tomcat5-jsp-2.0-api-javadoc-5.5.23-0jpp.7.el5_2.1.x86_64.rpm
972cc8e64e5ef402939c44d884c534f1  
tomcat5-server-lib-5.5.23-0jpp.7.el5_2.1.x86_64.rpm
99422eeb42ff8dc2633f8ca13e4c5cf2  
tomcat5-servlet-2.4-api-5.5.23-0jpp.7.el5_2.1.x86_64.rpm
aaa91d8800238bebb6b6af814935bb13  
tomcat5-servlet-2.4-api-javadoc-5.5.23-0jpp.7.el5_2.1.x86_64.rpm
a30fd711d57bbd6ebfa3d9e4caf72bf0  
tomcat5-webapps-5.5.23-0jpp.7.el5_2.1.x86_64.rpm

Source:
cb7239b7652235a6ca1f071d077bba44  tomcat5-5.5.23-0jpp.7.el5_2.1.src.rpm


-- 
Karanbir Singh
CentOS Project { http://www.centos.org/ }
irc: z00dax, [EMAIL PROTECTED]



--

Message: 3
Date: Fri, 29 Aug 2008 10:41:41 +1000
From: John Newbigin <[EMAIL PROTECTED]>
Subject: [CentOS-announce] CESA-2008:0863-01: Important CentOS 2 i386
libtiff security update
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

The following errata for CentOS-2 have been built and uploaded to the
centos mirror:

RHSA-2008:0863-01 Important: libtiff security update

Files available:
libtiff-3.5.7-31.el2.i386.rpm
libtiff-devel-3.5.7-31.el2.i386.rpm

More details are available from the RedHat web site at
https://rhn.redhat.com/errata/rh21as-errata.html

The easy way to make sure you are up to date with all the latest patches
is to run:
# yum update

-- 
John Newbigin
ITS Se

Re: [CentOS] syslog-ng

2008-08-29 Thread Mag Gam
Oh, so syslog-ng probally isn't the right tool for the job?

I can use these tools to monitor my /var/log/kern ?

Also, thanks for all the responses!


On Fri, Aug 29, 2008 at 7:36 AM, Jeremiah Heller <[EMAIL PROTECTED]> wrote:
> Have you heard of http://www.ossec.net/?
>
> It would do what you like and more. You configure which logs you want
> watched and who should be emailed/texted/paged according to various levels
> of criticality.
>
> I believe you can have it email you for custom log-events; although it will
> notice many common failure messages and other anomalies automatically - so
> many I haven't needed to modify much.
>
> I'm not sure if centos provides packages w/ similar functionality or not.
>
> Jeremiah
>
> On 29 Aug 2008, at 04:19, Mag Gam wrote:
>
>> Hello,
>>
>> I know centos does not use syslog-ng, but I have installed it at my
>> university. My intention is if a particular string appears in my
>> /var/log/messages I would like to get an email alert.
>>
>> For example, if i see a message "foo" in /var/log/kern I would like to
>> email myself.
>>
>> Any idea how to do this? Has anyone done this before?
>>
>> TIA
>> ___
>> CentOS mailing list
>> CentOS@centos.org
>> http://lists.centos.org/mailman/listinfo/centos
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Xen HVM and tap:aio

2008-08-29 Thread Lane Bryson
Hello,

I'm wondering if anyone out there is doing tap:aio disk devices on a Xen HVM
vm with any success.  Please let me know if you are, and perhaps your
version info and a config file snippet.

I've posted this to the xen-users list, and what I'm trying to do seems to
be correct, works on Ubuntu, Debian, and XenSource; but it doesn't work on
CentOS.
Here's the snippet from my config.  More info in the message below:

builder = "hvm"
kernel = "/usr/lib/xen/boot/hvmloader"
acpi = 0
apic = 0
device_model = "/usr/lib64/xen/bin/qemu-dm"
disk = [ "tap:aio:/xen/ausmsit05/ausmsit05.raw,hda,w",
"tap:aio:/xen/iso/win2003r2_std_32bit_disk1of2.iso,hdc
:cdrom,r" ]



-- Forwarded message --
From: - <[EMAIL PROTECTED]>
Date: Thu, Aug 28, 2008 at 2:27 PM
Subject: HVM and tap:aio?
To: [EMAIL PROTECTED]


Hello,

I'm not able to use tap:aio disk definitions with my HVM domU's.  Is this
supposed to work on this version of Xen, or am I doing something wrong?
I've tried everything I can think of.  file: works, but not tap:aio: , and I
understand that file: will cause OOMkiller if using NFS mounts and is
deprecated.

Likewise, tap:aio: for cdrom does not allow me to boot off of cdrom; file:
does work fine.

Furthermore, any time I use tap:aio, the bochs bios of the hvm domU shows
the hard disk size as 0 MBytes.

Any disk definition that I use that has tap:aio: gives the result either (if
tap:aio:/xen/foo/foo.img,xvda,w):
Booting from Hard Disk...
Boot from Hard Disk failed: could not read the boot disk
or (if specifying tap:aio:/xen/foo/foo.img,hda,w)
ata0 master: QEMU HARDDISK ATA-7 Hard-Disk (0 MBytes)
Boot from Hard Disk failed: could not read the boot disk

Host: CentOS 5.2 x86_64, kernel 2.6.18-92.1.6.el5xen
Xen version: 3.1.2-92.1.6.el5
xen_caps: xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32 hvm-3.0-x86_32p
hvm-3.0-x86_64
selinux: disabled for testing
domU: OS doesn't appear to matter; domU OS won't start loading at all.

disk lines I've tried:
# disk recognized as 0/1 MB, can't install
#disk = [ "tap:aio:/xen/ausmsit05/ausmsit05.raw,ioemu:sda,w",
"file:/xen/iso/Win2003r2_std_32bit.iso,hdc:cdrom,r" ]
#disk = [ "tap:aio:/xen/ausmsit05/ausmsit05.raw,sda,w",
"file:/xen/iso/Win2003r2_std_32bit.iso,hdc:cdrom,r" ]
#disk = [ "file:/xen/ausmsit05/ausmsit05.raw,hda,w",
"file:/xen/iso/Win2003r2_std_32bit.iso,hdc:cdrom,r" ]
#disk = [ "tap:aio:/xen/ausmsit05/ausmsit05.raw,sda1,w", ",hdc:cdrom,r" ]
#disk = [ "tap:aio:/xen/ausmsit05/ausmsit05.raw,xvda,w", ",hdc:cdrom,r" ]
#disk = [ "tap:aio:/xen/ausmsit05/ausmsit05.raw,hda:ioemu,w", ",hdc:cdrom,r"
]
#disk = [ "tap:aio:/xen/ausmsit05/ausmsit05.raw,ioemu:hda,w", ",hdc:cdrom,r"
]
#disk = [ "tap:aio:/xen/ausmsit05/ausmsit05.raw,ioemu:xvda,w",
"phy:/dev/scd0,ioemu:xvdc:cdrom,r" ]
# Boot from Hard Disk failed: could not read the boot disk
disk = [ "tap:aio:/xen/ausmsit05/ausmsit05.raw,hda,w",
"tap:aio:/xen/iso/win2003r2_std_32bit_disk1of2.iso,hdc:cdrom,r" ]

in the last example, this is the output of xm block-list ausmsit05 --long
(768
((backend-id 0)
(virtual-device 768)
(device-type disk)
(state 1)
(backend /local/domain/0/backend/tap/55/768)
)
)
(5632
((backend-id 0)
(virtual-device 5632)
(device-type cdrom)
(state 1)
(backend /local/domain/0/backend/tap/55/5632)
)
)
and this is from xend.log:

[2008-08-28 14:18:09 xend 3692] DEBUG (blkif:24) exception looking up device
number for hda: [Errno 2] No such file or directory: '/dev/hda'
[2008-08-28 14:18:09 xend 3692] DEBUG (DevController:110) DevController:
writing {'backend-id': '0', 'virtual-device': '768', 'device-type': 'disk',
'state': '1', 'backend': '/local/domain/0/backend/tap/55/768'} to /lo
cal/domain/55/device/vbd/768.
[2008-08-28 14:18:09 xend 3692] DEBUG (DevController:112) DevController:
writing {'domain': 'ausmsit05', 'frontend':
'/local/domain/55/device/vbd/768', 'format': 'raw', 'dev': 'hda', 'state':
'1', 'params': 'aio:/xen/ausmsit05/ausmsit05.raw', 'mode': 'w', 'online':
'1', 'frontend-id': '55', 'type': 'tap'} to /local/domain/0/b
ackend/tap/55/768.
[2008-08-28 14:18:09 xend 3692] DEBUG (blkif:24) exception looking up device
number for hdc: [Errno 2] No such file or directory: '/dev/hdc'
[2008-08-28 14:18:09 xend 3692] DEBUG (DevController:110) DevController:
writing {'backend-id': '0', 'virtual-device': '5632', 'device-type':
'cdrom', 'state': '1', 'backend': '/local/domain/0/backend/tap/55/5632'} to
/local/domain/55/device/vbd/5632.
[2008-08-28 14:18:09 xend 3692] DEBUG (DevController:112) DevController:
writing {'domain': 'ausmsit05', 'frontend':
'/local/domain/55/device/vbd/5632', 'format': 'raw', 'dev': 'hdc', 'state':
'1', 'params': 'aio:/xen/iso/win2003r2_std_32bit_disk1of2.iso', 'mode': 'r',
'online': '1', 'frontend-id': '55', 'type': 'tap'} to /lo
cal/domain/0/backend/tap/55/5632.

Thank you in advance for any help you can offer.
___
CentOS mailing list
CentOS@centos.org

[CentOS] new software raid installs

2008-08-29 Thread Jerry Geis

I have noticed that when I do software raid installed (RAID1)
that I reboot and one of the first things it says is

md1 is not in sync doing background reconstruction...

md0 is my /root partition
md1 is my /home partition

why would md1 not be in sync after an install.

Jerry

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] syslog-ng

2008-08-29 Thread Jeremiah Heller

On 29 Aug 2008, at 05:04, Mag Gam wrote:


Oh, so syslog-ng probally isn't the right tool for the job?


I'm not sure, I'm not familiar with syslog-ng... or what all the job  
entails.





I can use these tools to monitor my /var/log/kern ?


You can use OSSEC to monitor any or all logs. It takes a few options  
to let it know the type of logfile (apache, syslog, nmap, etc.) and  
its location but that's about it.





Also, thanks for all the responses!


Sure, though we should probably stop top-posting afore someone gets  
cranky=}


Have fun!
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] new software raid installs

2008-08-29 Thread Romeo Ninov

you should wait till full sync between 2 copies of the RAID

Jerry Geis  wrote / napĂ­sal(a):

I have noticed that when I do software raid installed (RAID1)
that I reboot and one of the first things it says is

md1 is not in sync doing background reconstruction...

md0 is my /root partition
md1 is my /home partition

why would md1 not be in sync after an install.

Jerry

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Re: Curmudgeoning (was Re: Problems with writing Dual Layer DVD)

2008-08-29 Thread R P Herrold

On Thu, 28 Aug 2008, Robert wrote:

We might be entering "first liar don't have a chance" 
territory here.  Do you remember where you were when Kennedy 
was shot?


sadly, yes

I was in the last Ramac 305 class ever held, on 
lunch break and had watched the motorcade pass from a 
lunchroom window.  Needless to say, we didn't talk about 
triggers, cathode followers or "bit carries" (deliver me!) 
in class that afternoon. It has been an interesting trip, 
eh?


Reading closely the rest of the thread, I 'programmed' 
plugboards on 5xx series unit record machines, ran 026, 027, 
and 029's; ran the 13 pocket sorter; later wrote tape and 
print spooling deivers for our 1401, and all that.  I don't 
miss them either.


you win  ;)  -- I don't want to be older, and in my head, I'm 
still in my twenties.


- R
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


RE: [CentOS] new software raid installs

2008-08-29 Thread Joseph L. Casale
>why would md1 not be in sync after an install.
>
>Jerry

I just did an Asterisk setup with a similar MDRaid setup and noticed the same
thing after a few quick restarts, I should have checked the status of the 
(re)build/sync
but as Romeo suggested it makes sense.

jlc
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


RE: [CentOS] Xen HVM and tap:aio

2008-08-29 Thread Joseph L. Casale
>I'm wondering if anyone out there is doing tap:aio disk devices on a Xen HVM 
>vm with any success.

I am on Xen 3.3.0 and have not made this work for HVM iether, I have been 
following those threads to...
jlc

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] new software raid installs

2008-08-29 Thread Karanbir Singh

Jerry Geis wrote:

md1 is not in sync doing background reconstruction...
why would md1 not be in sync after an install.


Its a sneaky trick used by the installer, it will setup your mdraid and 
do the install without needing to wait for the full sync to get done ( 
since that can take a long long time in some cases ).


- KB

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] realtek 8211CL driver centos 5.2 x86_64

2008-08-29 Thread Jerry Geis
Anyone know how to get the realtek 8211CL network driver working on an 
ASUS M3N78 motherboard?


I was able to get the SATA disks to work with using the pci=nomsi boot 
option.


Jerry
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Re: Curmudgeoning (was Re: Problems with writing, Dual Layer DVD)

2008-08-29 Thread David G. Miller

Scott Silva <[EMAIL PROTECTED]> wrote:


on 8-28-2008 4:15 PM William L. Maltby spake the following:

> On Thu, 2008-08-28 at 15:50 -0700, Scott Silva wrote:


>> 
  
> 


>> I have motherboards in my garage older than you! ;-D
  
> 
> PIKER! I've mobos still running (when I fire 'em up). Although I'm

> seriously considering ditching the 386SX with Win 3.11. Don't find any
> reason to fire it up anymore.
> 
> Hell, even at my age I've got more memory left than it ever had!  :-))
> 


>> 
  
> 

I don't think I kept anything lower than a 486. You never know if you might 
need it!
  
One of my projects of the moment is to get rid of all of the old 
motherboards and systems in my basement.  I'm thinking I'll keep one 
working system/MB that has ISA slots.  Not sure which one yet but 
probably either the Pentium or a K6/2 550Mhz.  I've got W2K running in a 
qemu virtual machine on my current desktop so I'm guessing I can get any 
older versions of Windows working if I have to.  I just can't virtualize 
an ISA slot if the need arises.


A few things hanging around the basement I *won't* part with though as 
part of this clean up:


- A still shrink wrapped copy of Windows/386 (media is 5.25 inch floppies)
- A true blue (IBM logo) PC-AT (6 MHz 80286) with a full height 30MB 
hard drive and 1MB of RAM, DOS 3.3.


Also, I've still got at least one punch card from my college days (Ohio 
State in the late '70s).  I usually hang it on my cubicle wall when I'm 
working a regular gig.  Most of the kids have never seen one before.


Cheers,
Dave

--
Politics, n. Strife of interests masquerading as a contest of principles.
-- Ambrose Bierce

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Re: Curmudgeoning (was Re: Problems with writing Dual Layer DVD)

2008-08-29 Thread Jim Perrin
On Fri, Aug 29, 2008 at 8:58 AM, R P Herrold <[EMAIL PROTECTED]> wrote:

> you win  ;)  -- I don't want to be older, and in my head, I'm still in my
> twenties.

Face it. Your golden buckeye card has a registration number of 1. you
cannot escape this fact, no matter how much single-malt confusion you
pour on the truth. :-P


-- 
During times of universal deceit, telling the truth becomes a revolutionary act.
George Orwell
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Re: Curmudgeoning (was Re: Problems with writing Dual Layer DVD)

2008-08-29 Thread David Dyer-Bennet

On Fri, August 29, 2008 07:58, R P Herrold wrote:

>
> Reading closely the rest of the thread, I 'programmed'
> plugboards on 5xx series unit record machines, ran 026, 027,
> and 029's; ran the 13 pocket sorter; later wrote tape and
> print spooling deivers for our 1401, and all that.  I don't
> miss them either.

The first place I worked had a card-sorter and one plug-programmable
device that I never programmed.  I really should have, but I was busy
learning other things, and didn't quite notice that it was the tail end of
a dying era and I could get an amusing punch on my ticket.  I'm not even
sure what it did exactly any more; it wasn't the tabulator because it
didn't have a printer.


> you win  ;)  -- I don't want to be older, and in my head, I'm
> still in my twenties.

Oh yes.  Very definitely.

-- 
David Dyer-Bennet, [EMAIL PROTECTED]; http://dd-b.net/
Snapshots: http://dd-b.net/dd-b/SnapshotAlbum/data/
Photos: http://dd-b.net/photography/gallery/
Dragaera: http://dragaera.info

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Re: Curmudgeoning (was Re: Problems with writing Dual Layer DVD)

2008-08-29 Thread David Dyer-Bennet

On Thu, August 28, 2008 17:50, Scott Silva wrote:
> 
>>
>> You do realize I'm one of the "squirts" you're referring to right?
>>  I started working with computers in more than just a 'hey, I need to
>> write this paper' sort of way around 1995. The *first* CPU I used was
>> a pentium (though this is not the oldest, as I developed a fondness
>> for antiques).
>>
>> So you geezers can just put the token ring down, and step away from
>> the thin-net. Oh.. and get off my lawn! :-P

> I have motherboards in my garage older than you! ;-D

I just took one down off the server shelf last week, finishing the
decommissioning process.  It hasn't made it out to the garage yet.

I've also still got a laptop that's probably older than him.  It runs CP/M.
-- 
David Dyer-Bennet, [EMAIL PROTECTED]; http://dd-b.net/
Snapshots: http://dd-b.net/dd-b/SnapshotAlbum/data/
Photos: http://dd-b.net/photography/gallery/
Dragaera: http://dragaera.info

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Re: Curmudgeoning (was Re: Problems with writing Dual Layer DVD)

2008-08-29 Thread Bill Campbell
On Fri, Aug 29, 2008, William L. Maltby wrote:
>
>On Thu, 2008-08-28 at 17:27 -0700, Bill Campbell wrote:
>> 
>
>> I still have a Tandy 4000, 386-16 no cache, that is used occassionally to
>> program EPROMS.  This same machine ran Xenix for years before being abused
>> by installing DR-DOS on it.
>
>For shame, for shame! You should have known better! ;-)
>
>Regardless, I was getting readdy to discard these when I saw your post.
>If you need some spares, I've got 1 each 360KB and 1.2MB 5.25" floppy
>drives that still worked last I used them. One might have come out of a
>TRS-80 I had when they were a "hot" item - I'm not sure. Also a box full
>of media for them (a couple hundred?) untested but some may still work.

I too have a room full of old stuff including floppy drives, EISA
network and SCSI cards, 3 Telebit WorldBlazers and 1 TrailBlazer,
Xenix 2.3.4 and SCO 3.2v4.2 boxes that still boot if necessary.

Being a pack rat does occassionally pay off.  I got an e-mail from 
a person who had bought my old Hawke DL-9 Formula Ford to go
vintage car racing, and I still have the original paperwork when
I imported it from England, letters from the designer, etc. which
provides provenance going back to the factory.  I raced this car
from 1972 through 1977 on the east coast, and now it's about two
hours north of me in Surrey B.C. -- small world eh?

http://www.celestial.com/Members/bill/images/hawke_DL9_01.jpg/view

FWIW, I even have lug nuts for a Lotus 41-C Formula car in my
tool box dating back to 1968 which predates any of my computer bits.

Bill
-- 
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
Voice:  (206) 236-1676  Mercer Island, WA 98040-0820
Fax:(206) 232-9186

Property must be secured, or liberty cannot exist. -- John Adams
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Re: Curmudgeoning (was Re: Problems with writing Dual Layer DVD)

2008-08-29 Thread R P Herrold

On Fri, 29 Aug 2008, Jim Perrin wrote:


On Fri, Aug 29, 2008 at 8:58 AM, R P Herrold <[EMAIL PROTECTED]> wrote:

you win  ;)  -- I don't want to be older, and in my head, I'm still in my
twenties.



Face it. Your golden buckeye card has a registration number of 1. you
cannot escape this fact, no matter how much single-malt confusion you
pour on the truth. :-P


Just because I was THERE when the last Gov. James A Rhodes 
first announced the program is no reason to get snippy with 
me, you young whippersnapper ;)


hmmm ... there is a commorative clay tablet pictograph 
somewhere back behind the aging single malt casks in the caves 
-- I'll look for it


- R
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Problems with writing Dual Layer DVD

2008-08-29 Thread MHR
On Fri, Aug 29, 2008 at 2:00 AM, Chris Geldenhuis
<[EMAIL PROTECTED]> wrote:
>
> Hi Mark,
>
> I will try using the new drive in one of my 5.2 servers over the weekend - I
> do not have time during working hours today.
>
> I do not seem to have K3B on my system - where do I find it.
>

yum install k3b should do it - it's part of the KDE (but you can use
it under GNOME, too).

mhr
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Re: Curmudgeoning (was Re: Problems with writing Dual Layer DVD)

2008-08-29 Thread Scott Silva

on 8-29-2008 9:04 AM Bill Campbell spake the following:

On Fri, Aug 29, 2008, William L. Maltby wrote:

On Thu, 2008-08-28 at 17:27 -0700, Bill Campbell wrote:


I still have a Tandy 4000, 386-16 no cache, that is used occassionally to
program EPROMS.  This same machine ran Xenix for years before being abused
by installing DR-DOS on it.

For shame, for shame! You should have known better! ;-)

Regardless, I was getting readdy to discard these when I saw your post.
If you need some spares, I've got 1 each 360KB and 1.2MB 5.25" floppy
drives that still worked last I used them. One might have come out of a
TRS-80 I had when they were a "hot" item - I'm not sure. Also a box full
of media for them (a couple hundred?) untested but some may still work.


I too have a room full of old stuff including floppy drives, EISA
network and SCSI cards, 3 Telebit WorldBlazers and 1 TrailBlazer,
Xenix 2.3.4 and SCO 3.2v4.2 boxes that still boot if necessary.

Being a pack rat does occassionally pay off.  I got an e-mail from 
a person who had bought my old Hawke DL-9 Formula Ford to go

vintage car racing, and I still have the original paperwork when
I imported it from England, letters from the designer, etc. which
provides provenance going back to the factory.  I raced this car
from 1972 through 1977 on the east coast, and now it's about two
hours north of me in Surrey B.C. -- small world eh?

http://www.celestial.com/Members/bill/images/hawke_DL9_01.jpg/view

FWIW, I even have lug nuts for a Lotus 41-C Formula car in my
tool box dating back to 1968 which predates any of my computer bits.

Bill

Ok... You win!  ;-P

The oldest thing in my toolbox is an axle nut wrench for a 65 VW that my ex. 
had. Funny that the ex has been gone for 20 years, but the tool is still in my 
toolbox. But then the tool didn't jump from "car to car" like the ex did!


--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Re: Curmudgeoning (was Re: Problems with writing Dual Layer DVD)

2008-08-29 Thread Scott Silva

on 8-29-2008 9:47 AM R P Herrold spake the following:

On Fri, 29 Aug 2008, Jim Perrin wrote:

On Fri, Aug 29, 2008 at 8:58 AM, R P Herrold 
<[EMAIL PROTECTED]> wrote:
you win  ;)  -- I don't want to be older, and in my head, I'm still 
in my

twenties.



Face it. Your golden buckeye card has a registration number of 1. you
cannot escape this fact, no matter how much single-malt confusion you
pour on the truth. :-P


Just because I was THERE when the last Gov. James A Rhodes first 
announced the program is no reason to get snippy with me, you young 
whippersnapper ;)


hmmm ... there is a commorative clay tablet pictograph somewhere back 
behind the aging single malt casks in the caves -- I'll look for it


- R

Wow!  ... OK where were you during the Gettysburg address!  ;-)



--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Re: unix2dos did NOT fix line wrap problem on PC

2008-08-29 Thread Scott Silva

on 8-29-2008 4:46 AM Miguel Medalha spake the following:


Do a google search for "pfe.exe" (Programmers File Editor). Its a 
freeware windoz text editor that handles linux / Unix or dos / windows 
end of line characters with out any problems. If you can't find it e 
mail me off list and I can attach it to my reply, its only a 2/3mb file.

Regards John

  
A much better and more up to date option would be Notepad++. When you 
try it, you will know why.


http://notepad-plus.sourceforge.net/uk/site.htm

Also the vim port to windows gives you something that is on every linux 
released.

--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] unix2dos did NOT fix line wrap problem on PC

2008-08-29 Thread MHR
On Fri, Aug 29, 2008 at 4:46 AM, Miguel Medalha <[EMAIL PROTECTED]> wrote:
>
> A much better and more up to date option would be Notepad++. When you try
> it, you will know why.
>
> http://notepad-plus.sourceforge.net/uk/site.htm

vim, which is available for Window$ (at the SimTel repository, but
google is your best bet for where) and comes with CentOS (and most
modern Linux distros), will do that, too.  If you're used to the vi
interface (like I am), that's the best choice.  If not, ymmv.

mhr
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] syslog-ng

2008-08-29 Thread MHR
On Fri, Aug 29, 2008 at 5:56 AM, Jeremiah Heller <[EMAIL PROTECTED]> wrote:
>
> Sure, though we should probably stop top-posting afore someone gets cranky=}
>

YEAH!

;^)

mhr
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] HIP rpms for Centos 5.2

2008-08-29 Thread Robert Moskowitz
For anyone that is interested in looking at HIP, I have posted the 
latest HIP build on my server:


http://htt-consult.com/~rgm/hip/

You don't need the src rpm, the others will do.

Since we do not have the IPsec ESP BEET mode patch 
(http://www.ietf.org/internet-drafts/draft-nikander-esp-beet-mode-09.txt) 
for the 2.6.18 kernel (it is in the 2.6.27 kernel), we have to run HIP 
in userspace.  For this you have to run hipfw with at least -i to get 
the userspace mode working.  You should also include -A if you want to 
accept any HIP traffic.  Well read the hipfw docs.


If anyone does try it, let me know.


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Re: Curmudgeoning (was Re: Problems with writing Dual Layer DVD)

2008-08-29 Thread John Hinton
CentOS must be running really good for everyone as this which is now the 
'oldest thread that already should have died' seems to keep interrupting 
my normally busy CentOS mailbox. :( And you really don't want me to 
start into old..


Can we get back to the regularly scheduled program please?

Best,
John Hinton
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] syslog-ng

2008-08-29 Thread Aleksey Tsalolikhin
On 8/29/08, Mag Gam <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I know centos does not use syslog-ng, but I have installed it at my
> university. My intention is if a particular string appears in my
> /var/log/messages I would like to get an email alert.

Check out SWATCH:   http://swatch.sourceforge.net/

Best,
-at
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] detecting boot order

2008-08-29 Thread Mark Belanger

Given that I have a machine with possibly multiple disks, each of
which is bootable(has an MBR)

Is there a command that will query the BIOS and tell me which disk
is the default boot disk.  BTW - this is x86.

The goal is to remotely reboot the workstation into the desired
disk(which contain different centos versions).

tia,

-Mark
--
Mark Belanger
LTX Corporation

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Re: Curmudgeoning (was Re: Problems with writing Dual Layer DVD)

2008-08-29 Thread MHR
On Fri, Aug 29, 2008 at 10:56 AM, John Hinton <[EMAIL PROTECTED]> wrote:
> CentOS must be running really good for everyone as this which is now the
> 'oldest thread that already should have died' seems to keep interrupting my
> normally busy CentOS mailbox. :( And you really don't want me to start into
> old..
>
> Can we get back to the regularly scheduled program please?
>

Hey, sit back and learn!  Haven't you ever been told to listen to your
grandfather's stories?

I'm too young to compete with these old folks - all of my hardware is
younger than Jim.

mhr
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] realtek 8211CL driver centos 5.2 x86_64

2008-08-29 Thread Duncan

Jerry Geis wrote:
Anyone know how to get the realtek 8211CL network driver working on an 
ASUS M3N78 motherboard?


I was able to get the SATA disks to work with using the pci=nomsi boot 
option.


Jerry
___
Probably not what you want to hear, but after days of trying I totally 
failed to get the M3N78-PRO network card working with Centos 5.2. I 
figured out the sata solution too, but never got the onboard sound 
working either.


In the end I used Fedora 9, sata, network and sound worked out the box.

If you can figure out what drivers the fedora kernel uses you may be 
able to transplant them into Centos.


good luck

Dunc
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] C 5.2 and VMWAre error

2008-08-29 Thread Scott Ehrlich
A colleague has a newly built 64-bit CentOS 5.0 system that, through yum 
updates, has become CentOS 5.2.VMWare Workstation and Player work fine 
for my account on it.   But a recent configuration of something under 
their account has produced:


vmplayer
GTK Accessibility Module initialized
/usr/lib/vmware/bin/vmplayer: symbol lookup error: /usr/lib64/libspi.so.0: 
undefined symbol: atk_hyperlink_impl_get_type


The same error (I think) comes up if I try to invoke vmware (Workstation).

As a reminder, if I su -  and run vmplayer, it works.

I typed env > env.txt for both accounts, diff'd them, and didn't see 
anything obvious to my eyes.


I did the same for set > set.txt.  Again,  nothing obvious.   I rebooted 
the system.  Same problem.


What is the most likely cause under their account if, on the same system, 
it works fine for me?


Google searching didn't help much, either.  A few posts about the same 
problem, but no responses.


Thanks for any insights.

Scott
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] detecting boot order

2008-08-29 Thread William L. Maltby

On Fri, 2008-08-29 at 13:58 -0400, Mark Belanger wrote:
> Given that I have a machine with possibly multiple disks, each of
> which is bootable(has an MBR)
> 
> Is there a command that will query the BIOS and tell me which disk
> is the default boot disk.  BTW - this is x86.
> 
> The goal is to remotely reboot the workstation into the desired
> disk(which contain different centos versions).

The closest I can come without googling is a cat of /proc/cmdline. It
gives *limited* information, but maybe it's enough for your needs? It
only shows the root device and parameters passed to the kernel.

I suspect you could pass some invalid parameter to the kernel and it's
only bad effect would be griping in the dmesg and message log files. If
so, that parameter might appear in the .proc/cmdline file. This could
tell you which disk booted?

I'm not familiar with any utility to do what you asked about. However,
if you have no particular affinity for grub, LILO does provide an "on
next boot" temporary facility. Risk: some consider rewriting the MBR
dangerous. I *think* that's what LILO does, but not sure. It could just
place some information in the unused sectors of the boot blocks area
(I'd have to study up).

Of course, each disk that might be selected as the default boot for the
next session would have to have LILO boot loaders in order to be disk
and OS independent.

If you want to stick to grub, I'm pretty sure that it would have to be
on each disk also.

Now having said that, once initial boot stages are done, the only
difference (among Linux processes, that is) would be the contents of the
initrd, which device partition(s) are mounted (root and non-root) and
the kernel configurations - which kernel gets loaded and from where.
Non-Linux OSs are handled via "chain" loaders.

In both LILO and Grub I think all this can pre-configured. In that
fashion you can determine what runs regardless of which disk is the boot
device. But you must know in advance what your options are for all this
to work, of course.

With grub configs required in each possible boot partition, keeping the
configs in synchronization might be a pain. OTOH, a different grub.conf
for each bootable partition might solve your problem?

Ditto for the LILO stuff, sort of. If the LILO configuration file can be
accessed at all (can mount and support the FS containing the
configuration file), the lilo update process can place the needed boot
blocks on any disk it can access (doesn't need the target mounted).

LILO has the slight edge because of the temporary "on next boot" option.

For grub, you can modify the "default" entry in the menu.lst (grub.conf)
but, again, this would only affect the current boot partition's copy -
you'd need to manually do them all.

Having said all that, why do you want to do it that way? It's much
better (and easier for you to accomplish your stated goal) by setting up
a single (and a backup, *maybe* - there's a couple more tricks needed
for that if using LVM) boot partition that loads and handles the
differences you need to support. Make your boot partition(s) larger, if
needed, to support multiple versions of kernels, initrd, config.* and
system maps. The using the "default" command of grub you can point to a
boot configuration that will load different kernels, pass different
initrds, mount different roots and even load different OSs (see the
"chain" descriptions in "info grub").

If you prefer the LILO solution (if booting a new untested kernel, it's
more preferable), again configure a "universal" configuration file to do
the same sorts of things.

If you have an interest in the LILO solution, I wrote a hint some years
back (not maintained since and may need intelligent application of
current information to work) when I was doing (B)LFS. I don't know if
it's still available as I think they switched to grub at some point and
I don't think it has a maintainer. It allowed boot of any OS from any HD
and included some supporting shells to make maintenance a little easier
from the single copy of the configuration directory.

I could do some digging if you seriously want to pursue that. But I make
no promises that I'll be able to find it. And I stopped doing LFS when I
saw serious divergence in my philosophy and LFS's methodology about how
you support users.

> 
> tia,
> 
> -Mark

HTH
-- 
Bill

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] detecting boot order

2008-08-29 Thread Mark Belanger

William L. Maltby wrote:

On Fri, 2008-08-29 at 13:58 -0400, Mark Belanger wrote:

Given that I have a machine with possibly multiple disks, each of
which is bootable(has an MBR)

Is there a command that will query the BIOS and tell me which disk
is the default boot disk.  BTW - this is x86.

The goal is to remotely reboot the workstation into the desired
disk(which contain different centos versions).
 
Having said all that, why do you want to do it that way? It's much

better (and easier for you to accomplish your stated goal) by setting up
a single (and a backup, *maybe* - there's a couple more tricks needed
for that if using LVM) boot partition that loads and handles the
differences you need to support. Make your boot partition(s) larger, if
needed, to support multiple versions of kernels, initrd, config.* and
system maps. The using the "default" command of grub you can point to a
boot configuration that will load different kernels, pass different
initrds, mount different roots and even load different OSs (see the
"chain" descriptions in "info grub").


Thanks for the info - very detailed.

I'm trying to find a one-size-fits-all method that is grub based.  We
have many different configurations here so I want something that
can work with any of them.

So far, the best thing I've seen is sfdisk -l which will show me
bootable partitions.  In a pinch, I could mount all the bootably parts
and scriptify the altering of grub.conf

-Mark

--
Mark Belanger
LTX Corporation

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Slow perl on CentOS - ActivePerl as a solution

2008-08-29 Thread Vaclav Mocek
Hi all,

I  found out that one of my perl scripts is heavily affected by the
current bug. I was lazy to compile anything and  I didn't want to mess
up my system doing some experiments, so I tried to install ActivePerl as
a temporary solution instead (RPMs are available). ActivePerl 5.8 is
approximately 73x faster that CentOS version and ActivePerl 5.10 even
slightly faster. Both versions and all installed packages (GUI ppm) 
work flawlessly and at least for me it is the way how to survive until
CentOS 5.3 will be released.

[EMAIL PROTECTED] ~]$ cat test.pl
#!/usr/bin/perl
use overload q(<) => sub {};
my %h;
for (my $i=0; $i<5; $i++) {
$h{$i} = bless [ ] => 'main';
print STDERR '.' if $i % 1000 == 0;
}
print "\n";



[EMAIL PROTECTED] ~]$ /opt/ActivePerl-5.8/bin/perl -d:DProf test.pl
..
[EMAIL PROTECTED] ~]$ dprofpp tmon.out
Total Elapsed Time = 0.199955 Seconds
  User+System Time = 0.189955 Seconds
Exclusive Times
%Time ExclSec CumulS #Calls sec/call Csec/c  Name
 5.26   0.010  0.010  2   0.0050 0.0050  main::BEGIN
 0.00   - -0.000  1-  -  overload::OVERLOAD
 0.00   - -0.000  1-  -  warnings::BEGIN
 0.00   - -0.000  2-  -  warnings::register::mkMask
 0.00   - -0.000  1-  -  overload::import
 0.00   - -0.000  1-  -  overload::BEGIN
 0.00   - -0.000  1-  -  warnings::register::import

[EMAIL PROTECTED] ~]$ /usr/bin/perl -d:DProf test.pl
..
[EMAIL PROTECTED] ~]$ dprofpp tmon.out
Total Elapsed Time = 12.48996 Seconds
  User+System Time = 12.47996 Seconds
Exclusive Times
%Time ExclSec CumulS #Calls sec/call Csec/c  Name
 0.08   0.010  0.010  1   0.0100 0.0100  main::BEGIN
 0.00   - -0.000  1-  -  warnings::BEGIN
 0.00   - -0.000  1-  -  overload::OVERLOAD
 0.00   - -0.000  2-  -  warnings::register::mkMask
 0.00   - -0.000  1-  -  overload::import
 0.00   - -0.000  1-  -  overload::BEGIN
 0.00   - -0.000  1-  -  warnings::register::import


Vaclav


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] detecting boot order

2008-08-29 Thread William L. Maltby

On Fri, 2008-08-29 at 15:33 -0400, Mark Belanger wrote:
> 

> So far, the best thing I've seen is sfdisk -l which will show me
> bootable partitions.  In a pinch, I could mount all the bootably parts
> and scriptify the altering of grub.conf

Keep in mind that partitions don't always have to be flagged as bootable
(I don't recall ATM the conditions under which this is true). As long as
you know that all are so flagged, that will answer one part of your
need.

Part two can be answered if that boot partition always gets mounted (I
use read-only mount by default). But that only tells which was booted,
not which will be/is being booted.

> 
> -Mark
> 

-- 
Bill

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


centos@centos.org

2008-08-29 Thread Mad Unix
Hi

I need  a script to automatically Starting/Stopping an Oracle 10g DB on
CentOS5.2 64bit i.e
lsnrctl start/stop
db start/stop
emctl start/stop dbconsole"
Any help?


-- 
Madunix_at_Gmail
Sysadmin

"Computers are useless. They can only give you answers" - Pablo Picasso
"Never trust a computer you can't throw out a window." - Steve Wozniak
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


centos@centos.org

2008-08-29 Thread <[EMAIL PROTECTED]>
Mad Unix napsal(a):
> Hi
> 
> I need  a script to automatically Starting/Stopping an Oracle 10g DB on
> CentOS5.2 64bit i.e
> lsnrctl start/stop
> db start/stop
> emctl start/stop dbconsole"
> Any help?
> 
> 

I'm using this one.
David

#!/bin/bash
#
# chkconfig: 35 95 15
# description: init script to start/stop oracle database 10g, TNS
listener, EMS
#
#
# match these values to your environment:

# Source function library.
. /etc/rc.d/init.d/functions

export ORACLE_BASE=/home/oracle
export ORACLE_HOME=/home/oracle/OraHome_1
export ORACLE_TERM=xterm
export PATH=/home/oracle/bin:/home/oracle/OraHome_1/bin:$PATH
#export NLS_LANG=''
export ORACLE_SID=orcl
export DISPLAY=localhost:0
export ORACLE_USER=oracle

prog="Oracle"

# see how we are called:

start() {
echo -n $"Starting $prog: "
su - "$ORACLE_USER"

Re: [CentOS] C 5.2 and VMWAre error

2008-08-29 Thread MHR
On Fri, Aug 29, 2008 at 12:13 PM, Scott Ehrlich <[EMAIL PROTECTED]> wrote:
> A colleague has a newly built 64-bit CentOS 5.0 system that, through yum
> updates, has become CentOS 5.2.VMWare Workstation and Player work fine
> for my account on it.   But a recent configuration of something under their
> account has produced:
>
> vmplayer
> GTK Accessibility Module initialized
> /usr/lib/vmware/bin/vmplayer: symbol lookup error: /usr/lib64/libspi.so.0:
> undefined symbol: atk_hyperlink_impl_get_type
>
> The same error (I think) comes up if I try to invoke vmware (Workstation).
>
> As a reminder, if I su -  and run vmplayer, it works.
>
> I typed env > env.txt for both accounts, diff'd them, and didn't see
> anything obvious to my eyes.
>
> I did the same for set > set.txt.  Again,  nothing obvious.   I rebooted the
> system.  Same problem.
>
> What is the most likely cause under their account if, on the same system, it
> works fine for me?
>

It looks like a permissions problem if it works for root (always) and
not for a non-root user.

If it's not too much trouble, I would uninstall and reinstall both,
and make sure your root permissions are set properly (002, IIRC).

HTH

mhr
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Re: Curmudgeoning (was Re: Problems with writing Dual Layer DVD)

2008-08-29 Thread Chris Geldenhuis

John Hinton wrote:
CentOS must be running really good for everyone as this which is now 
the 'oldest thread that already should have died' seems to keep 
interrupting my normally busy CentOS mailbox. :( And you really don't 
want me to start into old..


Can we get back to the regularly scheduled program please?

Best,
John Hinton
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

AS the OP I will add a last note, I recently got rid of my first *nix 
system - a Cromemco that supported 2 terminals, it had 64k of memory for 
the OS and then needed another 64k card for each terminal, ran Cromix as 
operatinf system very *nix like - tar cpio etc etc. !0MB hard disk and 2 
8" floppies for backup. The last thing to go was a Mannesman printer 
that was in service for 20+ years before quitting.


On the toolbox theme I have all the bits plus some of a 1930/1 model A 
ford waiting for me to find time to rebuild / retore it.


ChrisG
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] relocation, migration

2008-08-29 Thread Paras pradhan
Hi,
I am running a cluster having 2 nodes using red hat cluster suite. node 1
has a para virtualized guest(centOS)  running under Xen. My question is when
node1 is rebooted, guest is automatically relocated to node 2 . Instead of
relocation, is migration possible in this case which can result in Zero down
time?


Thanks in adv
Paras.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] syslog-ng

2008-08-29 Thread Timothy Selivanow
On Fri, 2008-08-29 at 11:00 -0700, Aleksey Tsalolikhin wrote:
> On 8/29/08, Mag Gam <[EMAIL PROTECTED]> wrote:
> > Hello,
> >
> > I know centos does not use syslog-ng, but I have installed it at my
> > university. My intention is if a particular string appears in my
> > /var/log/messages I would like to get an email alert.
> 
> Check out SWATCH:   http://swatch.sourceforge.net/

Expanding on that, here is a way that I know works in CentOS 5:

In syslog-ng.conf add the following or similar 'destination':

destination d_swatch { program("/usr/bin/swatch
--config-file=/etc/swatch.conf --script-dir=/var/run/swatch --read-pipe=
\"cat /dev/fd/0\""); };


I got that from http://www.campin.net/syslog-ng/faq.html a long time
ago.


--Tim

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Iptables masq traffic limiting

2008-08-29 Thread Joseph L. Casale
Where is the correct place to control what traffic is masq'ed out?
This is what I have, but I was told the Forward chain isn't the right place to 
do this?

iptables -A POSTROUTING -t nat -o $WAN -j MASQUERADE
iptables -A FORWARD -i $WAN -o $LAN -m state --state RELATED,ESTABLISHED -j 
ACCEPT
iptables -A FORWARD -i $LAN -o $WAN -m state --state NEW,ESTABLISHED,RELATED -p 
tcp -m multiport --dports 80,443 -j ACCEPT

So which table is the theoretically correct place to add all the ports/services
I would want masq'ed out for internal clients?

Thanks!
jlc
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Iptables masq traffic limiting

2008-08-29 Thread Robert Spangler
On Friday 29 August 2008 17:26, Joseph L. Casale wrote:

>  Where is the correct place to control what traffic is masq'ed out?
>  This is what I have, but I was told the Forward chain isn't the right
> place to do this?
>
>  iptables -A POSTROUTING -t nat -o $WAN -j MASQUERADE
>  iptables -A FORWARD -i $WAN -o $LAN -m state --state RELATED,ESTABLISHED
> -j ACCEPT iptables -A FORWARD -i $LAN -o $WAN -m state --state
> NEW,ESTABLISHED,RELATED -p tcp -m multiport --dports 80,443 -j ACCEPT
>
>  So which table is the theoretically correct place to add all the
> ports/services I would want masq'ed out for internal clients?

Postrouting is the correct one.  After everything is routed it is MASQ before 
leaving the interface.


-- 

Regards
Robert

Smile... it increases your face value!
Linux User #296285
http://counter.li.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


RE: [CentOS] Iptables masq traffic limiting

2008-08-29 Thread Joseph L. Casale
>Postrouting is the correct one.  After everything is routed it is MASQ before
>leaving the interface.

That makes sense, but I am stuck at making the transition, should I simply
pull the port specifications from my third line in the FORWARD chain to the
first line in the POSTROUTING chain?

iptables -A POSTROUTING -t nat -o $WAN -p tcp -m multiport --dports 80,443 -j 
MASQUERADE
iptables -A FORWARD -i $WAN -o $LAN -m state --state RELATED,ESTABLISHED -j 
ACCEPT
iptables -A FORWARD -i $LAN -o $WAN -m state --state NEW,ESTABLISHED,RELATED -j 
ACCEPT

Does that look groovy?

Thanks!
jlc

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Iptables masq traffic limiting

2008-08-29 Thread Robert Spangler
On Friday 29 August 2008 17:52, Joseph L. Casale wrote:

>  >Postrouting is the correct one.  After everything is routed it is MASQ
>  > before leaving the interface.
>
>  That makes sense, but I am stuck at making the transition, should I simply
>  pull the port specifications from my third line in the FORWARD chain to
> the first line in the POSTROUTING chain?
>
>  iptables -A POSTROUTING -t nat -o $WAN -p tcp -m multiport --dports 80,443
> -j MASQUERADE iptables -A FORWARD -i $WAN -o $LAN -m state --state
> RELATED,ESTABLISHED -j ACCEPT iptables -A FORWARD -i $LAN -o $WAN -m state
> --state NEW,ESTABLISHED,RELATED -j ACCEPT
>
>  Does that look groovy?

If your WAN interface is using a public IP and your LAN is using a private IP 
range then you need to MASQ everything leaving your LAN like this;

iptables -A POSTROUTING -t nat -o $WAN -j MASQUERADE

No port or packet types are needed as everything needs to be MASQed.

There is nothing you need to do to make the transition as all packets go 
though the Postrouting/Prerouting tables.


-- 

Regards
Robert

It is not just an adventure.
It is my job!!

Linux User #296285
http://counter.li.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


RE: [CentOS] Iptables masq traffic limiting

2008-08-29 Thread Joseph L. Casale
>No port or packet types are needed as everything needs to be MASQed.

Sorry, I wasn't clear. I only want ports 80/443 translated for internal clients
so I do need a rule of some sorts.

Thanks!
jlc
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Webalizer displays wrong year

2008-08-29 Thread Ian Blackwell
Jussi Hirvi wrote:
> Hi Ian, 
>
> I know you from the LassoTalk list, right? :-)
>
>   
Hi Jussi,

No, I've not been on the LassoTalk list - that must be an alter ego of
mine.  I live in South Australia and had to Google LassoTalk to find out
what it was  :-\

Anyway, I'm glad to hear you've repaired your webalizer ;-)

Ian
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Iptables masq traffic limiting

2008-08-29 Thread Robert Spangler
On Friday 29 August 2008 18:38, Joseph L. Casale wrote:

>  >No port or packet types are needed as everything needs to be MASQed.
>
>  Sorry, I wasn't clear. I only want ports 80/443 translated for internal
> clients so I do need a rule of some sorts.

We should be talking live.  Why don't your join the #centos-social on freenode 
so we can chat real time?


-- 

Regards
Robert

It is not just an adventure.
It is my job!!

Linux User #296285
http://counter.li.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


RE: [CentOS] Re: Curmudgeoning (was Re: Problems with writing DualLayer DVD)

2008-08-29 Thread Daniel_Curry
>  Wow!  ... OK where were you during the Gettysburg address!  ;-)


Fourth row, just left of center from his point of view.  They man dribbled 
spittle when he got going.

Oldest I have for the crew is paper-tape.  The new 'cruits around here ask how 
to do a backup to paper tape.

Daniel
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Anti Virus and Anti Spam

2008-08-29 Thread horas simalango
New be in linux!
Currently I have Install DNS, Email and Web server using centos 4.3.
All functions are running properly!
What anti virus and anti spam recomended for me to install to my
server? What I have to configure after installing anti virus and anti
spam?
Would some one help me please.! Now many spam mail come to user mailbox!

Thank's 'n Regards


Horasima
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Anti Virus and Anti Spam

2008-08-29 Thread Eucke


horas simalango wrote:

New be in linux!
Currently I have Install DNS, Email and Web server using centos 4.3.
All functions are running properly!
What anti virus and anti spam recomended for me to install to my
server? What I have to configure after installing anti virus and anti
spam?
Would some one help me please.! Now many spam mail come to user mailbox!

Thank's 'n Regards
Well there are builds of spamassassin available via RPM that you can 
install.  You might mention which MTA you're usingSendmail?  
Postfix?  If you're using Sendmail then you can use milter plugins for 
spam and antivirus.  Are you looking for free antivirus plugins or ones 
your pay for?


--
Eucke


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Anti Virus and Anti Spam

2008-08-29 Thread Eucke


horas simalango wrote:

New be in linux!
Currently I have Install DNS, Email and Web server using centos 4.3.
All functions are running properly!
What anti virus and anti spam recomended for me to install to my
server? What I have to configure after installing anti virus and anti
spam?
Would some one help me please.! Now many spam mail come to user mailbox!

Thank's 'n Regards
Well there are builds of spamassassin available via RPM that you can 
install.  You might mention which MTA you're usingSendmail?  
Postfix?  If you're using Sendmail then you can use milter plugins for 
spam and antivirus.  Are you looking for free antivirus plugins or ones 
your pay for?


--
Eucke


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Re: Anti Virus and Anti Spam

2008-08-29 Thread Michael Ekstrand
"horas simalango" <[EMAIL PROTECTED]>
writes:
> New be in linux!
> Currently I have Install DNS, Email and Web server using centos 4.3.
> All functions are running properly!
> What anti virus and anti spam recomended for me to install to my
> server? 

I have had very good success with SpamAssassin.  I do not presently use
any anti-virus software in my email path, so I can't speak to that.

> What I have to configure after installing anti virus and anti spam?
> Would some one help me please.! Now many spam mail come to user
> mailbox!

You will need to inject it somehow into your mail delivery path.  I do
this by using procmail.  I have a pipe/filter rule which runs the e-mail
through SpamAssassin (using the `spamc' program to connect to a
long-running daemon) and then filters based on the headers returned.  My
file looks like this:

DEFAULT=$HOME/Maildir/
LOGFILE=$HOME/.maillog
EXTENSION=$1
MAILDIR=$HOME/Maildir

:0
* EXTENSION ?? ^^spam^^|^^ham^^
|spamc -L $EXTENSION

:0 f
|spamc

:0
* ^X-Spam-Flag:.*YES
{
# This rule puts everything with a score of at least 10 in /dev/null
:0
*^X-Spam-Level: \*\*\*\*\*\*\*\*\*\*
/dev/null
}

I then combine this with a Gnus scoring rule (client-side filter applied
to POP mail downloads) to put everything with a spam score of at least 5
(the default to get a positive in SpamAssassin) in a junk mailbox.

- Michael

-- 
mouse, n: A device for pointing at the xterm in which you want to type.
Confused by the strange files?  I cryptographically sign my messages.
For more information see .


pgpAPjE6Pg4qR.pgp
Description: PGP signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Iptables masq traffic limiting

2008-08-29 Thread Indunil Jayasooriya
On Sat, Aug 30, 2008 at 2:56 AM, Joseph L. Casale
<[EMAIL PROTECTED]> wrote:
> Where is the correct place to control what traffic is masq'ed out?
> This is what I have, but I was told the Forward chain isn't the right place 
> to do this?
>
> iptables -A POSTROUTING -t nat -o $WAN -j MASQUERADE
> iptables -A FORWARD -i $WAN -o $LAN -m state --state RELATED,ESTABLISHED -j 
> ACCEPT
> iptables -A FORWARD -i $LAN -o $WAN -m state --state NEW,ESTABLISHED,RELATED 
> -p tcp -m multiport --dports 80,443 -j ACCEPT

> So which table is the theoretically correct place to add all the 
> ports/services
> I would want masq'ed out for internal clients?

Pls try belwo two

iptables -A POSTROUTING -t nat -o $WAN -j MASQUERADE
iptables -A FORWARD -i $LAN -o $WAN -m state --state
NEW,ESTABLISHED,RELATED -p tcp -m multiport --dports 80,443 -j ACCEPT


> Thanks!
> jlc
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>



-- 
Thank you
Indunil Jayasooriya
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] detecting boot order

2008-08-29 Thread Richard Karhuse
On Fri, Aug 29, 2008 at 1:58 PM, Mark Belanger <[EMAIL PROTECTED]>wrote:

> Given that I have a machine with possibly multiple disks, each of
> which is bootable(has an MBR)
>
> Is there a command that will query the BIOS and tell me which disk
> is the default boot disk.  BTW - this is x86.
>
> The goal is to remotely reboot the workstation into the desired
> disk(which contain different centos versions).
>
> tia,
>
> -Mark
>

Just a thought ...

Check-out kexec and possibly grub.exe.

What you can do is build a RAM disk with grub.exe as the
kernel and boot it with command line options that will boot
any of your other disks.  Kind of "neat" 

I use it as part of anaconda / kickstart to re-flash the BIOS
by booting up a DOS system (when flashrom does not [yet]
work) and then boot back into the kickstart.

Unfortunately, kexec really only works in fairly recent
kernels, however.  So, that may be an issue for you.

  -rak-
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos