[CentOS] USB DVD drive disappearing during kickstart install.

2008-09-18 Thread Alex Tang

Hi folks.

I maintain a bunch of centos based machines that are built using a 
somewhat stripped down (limited number but mainly stock rpms) centos 
distro.  The installation process is plain anaconda stuff with a 
kickstart file on the root of the DVD/iso.   The current hardware and 
media i'm using is DVD based.


On machines that have internal DVD drives (all IDE CD/DVD drives), 
everything is fine.  However, I'm having a problem that started in 4.6 
and continues in 4.7 on machines that don't have an internal DVD drive 
and therefore i must use a USB DVD drive.  On these machines, everything 
goes ok in the beginning.  The DVD is "seen" by the machine and boots 
fine, the isolinux screen comes up and i let the timeout go or i hit 
return to continue.  Then, almost immediately thereafter, (when i should 
see the blue screen with text about loading drivers) i see the blue 
screen with the prompt for language.  This is supposed to be a kickstart 
install, so at this point i know i'm hosed. 

If I use alt-f3 or alt-f4 (can't remember which one), i can see an error 
message saying that the usb-storage driver is loaded, but it cannot find 
any USB storage devices to read from. 

If i alt-f1 back to the main blue screen with the language prompt, i can 
go through the prompts for language, keyboard, however when i get to 
"install type", and select "usb cdrom" (i can't remember the text 
exactly...the machines are in the server room, and i'm at my desk ATM), 
it fails again.  I can alt-f3 back to see that the same error about 
loading the usb-storage driver was successful but it can't find any 
attached usb storage device.  Unfortunately, at this point, there's no 
shell yet available in alt-f2, so i can't poke around much).


It seems like somehow, something is happening like the USB bus is being 
reset and it's "loosing" the usb devices and they can't be found anymore. 

Note that the original boot occurred of the DVD drive (i got past the 
isolinux screen), so it's at least working in the beginning to get that 
far. 

I had seen this problem occur a handful of times in the past in my same 
distro based on CentOS-4.5, however it was sporadic and was usually 
solved by changing the manufacturer of DVD drive (i thought it was a 
hardware vendor not implementing the USB spec properly since most 
devices worked...only a handful didn't).  However, since moving to 4.6 
and also in 4.7, this problem is completely repeatable with all USB DVD 
drives i have (granted it's only 3 different vendors/models, but they 
all don't work, whereas all 3 of these used to work in the 4.5 based 
distro).


Also, as i stated earlier, on machines with internal DVD drives (IDE 
based), everything works fine. 

Has anyone seen anything like this?  Do you have any suggestions to try? 

One thing i'm going to try is downloading the stock  4.7 DVD ISO and see 
if it fails.  The download is taking a while, so i won't be able to 
report back on that test until tomorrow. 

Oh yeah, the machines i'm using that are having this problem are a Dell 
R200, Supermicro PDSMi, and Supermicro P4SC8.  I don't have the DVD 
drive mfg and model numbers handy, i'll get those as well.


Any help would be greatly appreciated. 


Thanks.

...alex...

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


Re: [CentOS] USB DVD drive disappearing during kickstart install.

2008-09-18 Thread Mogens Kjaer
Alex Tang wrote:
...
> Note that the original boot occurred of the DVD drive (i got past the
> isolinux screen), so it's at least working in the beginning to get that
> far.

The first reading of the DVD is done by the bios, not the linux kernel.

Can't you do a PXE based install?

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] email and MS outlook

2008-09-18 Thread Mag Gam
We use Microsoft Outlook heavy at school but our backed is CentOS. I
use echo "Foo" | mail -s "subject" [EMAIL PROTECTED] a lot. Is it possible
to change the priority to High so Outlook will understand it? The
priority meaning the email will be sent to the normal email queue but
on Outlook it would have the exclamation point.

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


Re: [CentOS] email and MS outlook

2008-09-18 Thread Rudi Ahlers
On Thu, Sep 18, 2008 at 11:59 AM, Mag Gam <[EMAIL PROTECTED]> wrote:

> We use Microsoft Outlook heavy at school but our backed is CentOS. I
> use echo "Foo" | mail -s "subject" [EMAIL PROTECTED] a lot. Is it possible
> to change the priority to High so Outlook will understand it? The
> priority meaning the email will be sent to the normal email queue but
> on Outlook it would have the exclamation point.
>
> TIA
> ___


man mail will show you how to change the priority, sender, and much more :)

-- 

Kind Regards
Rudi Ahlers
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] email and MS outlook

2008-09-18 Thread Paul Bijnens

On 2008-09-18 12:05, Rudi Ahlers wrote:

On Thu, Sep 18, 2008 at 11:59 AM, Mag Gam <[EMAIL PROTECTED] wrote:

We use Microsoft Outlook heavy at school but our backed is CentOS. I
use echo "Foo" | mail -s "subject" [EMAIL PROTECTED] a lot. Is it possible
to change the priority to High so Outlook will understand it? The
priority meaning the email will be sent to the normal email queue but
on Outlook it would have the exclamation point.


man mail will show you how to change the priority, sender, and much more :) 



  $ man mail | grep -i priority | wc -l
  0
  $ rpm -q centos-release
  centos-release-5-2.el5.centos.x86_64

Actually, I think MS LookOut expects some header line indicating the
priority.  But added an arbitary header line is not possible using mail
(or mailx).  To add the required header, you would need to format
the whole mail message, including all the standard required headers,
plus the header line indicating a priority for displaying an exclamation
mark in MS LookOut, and then sending that message of using "sendmail"
itself.
Or you could use some perl/python/php/ruby script that does all this
for you.

Mail/mailx/mail cannot add the header.
But I'm open to learn something new...

--
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] Strange browser displays with 5.x on Dell GX-260

2008-09-18 Thread William L. Maltby

On Thu, 2008-09-18 at 02:47 -0400, Dick Roth wrote:
> 

> This was a clean install, however I kept my /home directory intact.  The 
> rest of the partitions were reformatted.

Try resetting all your preferences? Maybe a major format change in the
control files under .mozilla directories?

> 
> Dick
> 
> 

HTH
-- 
Bill

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


[CentOS] CentOS-announce Digest, Vol 43, Issue 7

2008-09-18 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. CEBA-2008:0876  CentOS 5 i386 perl Update (Karanbir Singh)
   2. CEBA-2008:0876  CentOS 5 x86_64 perl Update (Karanbir Singh)


--

Message: 1
Date: Thu, 18 Sep 2008 01:42:27 +0100
From: Karanbir Singh <[EMAIL PROTECTED]>
Subject: [CentOS-announce] CEBA-2008:0876  CentOS 5 i386 perl Update
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=us-ascii


CentOS Errata and Bugfix Advisory 2008:0876 

Upstream details at : https://rhn.redhat.com/errata/RHBA-2008-0876.html

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

i386:
d238a0ae697c6e9d131b8949a39a5f79  perl-5.8.8-15.el5_2.1.i386.rpm
d977b3a4aa388a08d44c67f133e449b4  perl-suidperl-5.8.8-15.el5_2.1.i386.rpm

Source:
eb29d8941819dd64a0d8a8edb2c2f1b2  perl-5.8.8-15.el5_2.1.src.rpm


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



--

Message: 2
Date: Thu, 18 Sep 2008 01:42:27 +0100
From: Karanbir Singh <[EMAIL PROTECTED]>
Subject: [CentOS-announce] CEBA-2008:0876  CentOS 5 x86_64 perl Update
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=us-ascii


CentOS Errata and Bugfix Advisory 2008:0876 

Upstream details at : https://rhn.redhat.com/errata/RHBA-2008-0876.html

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

x86_64:
30991c5c1d5616372116a0480f8bdfd7  perl-5.8.8-15.el5_2.1.i386.rpm
e8965ee3f34823896e4b9ec4b54ff01f  perl-5.8.8-15.el5_2.1.x86_64.rpm
3ff4aaa5878811d651c40dcea3a198c1  perl-suidperl-5.8.8-15.el5_2.1.x86_64.rpm

Source:
eb29d8941819dd64a0d8a8edb2c2f1b2  perl-5.8.8-15.el5_2.1.src.rpm


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



--

___
CentOS-announce mailing list
[EMAIL PROTECTED]
http://lists.centos.org/mailman/listinfo/centos-announce


End of CentOS-announce Digest, Vol 43, Issue 7
**
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Re: slow Perl on CentOS 5

2008-09-18 Thread Tom Lanyon

On 27/08/2008, at 6:57 AM, Stephen John Smoogen wrote:

On Tue, Aug 26, 2008 at 3:11 PM, Scott Silva <[EMAIL PROTECTED]>  
wrote:

on 8-26-2008 2:08 PM Karanbir Singh spake the following:


Akemi Yagi wrote:


On Mon, Aug 25, 2008 at 1:30 PM, Florin Andrei <[EMAIL PROTECTED] 
>

wrote:


If your Perl apps are unusually slow on CentOS 5, have a look at  
this

blog:

http://blog.vipul.net/2008/08/24/redhat-perl-what-a-tragedy/


Summary: The Upstream Vendor version of Perl has a patch to the
"bless[]" function that makes it /extremely/ slow.


Reliable info heard on the grapevine indicates 5.3 would have the  
fix's

required.


So that means about 6 months away from a fix?



Unless upstream bundles a hotfix that is available for people...



Such a hotfix was released in the last couple of days. A big moment  
for RHEL/CentOS + Perl users. :)

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


RE: [CentOS] USB DVD drive disappearing during kickstart install.

2008-09-18 Thread John
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Alex Tang
Sent: Thursday, September 18, 2008 3:28 AM
To: centos@centos.org
Subject: [CentOS] USB DVD drive disappearing during kickstart install.

Hi folks.

I maintain a bunch of centos based machines that are built using a somewhat
stripped down (limited number but mainly stock rpms) centos distro.  The
installation process is plain anaconda stuff with a 
kickstart file on the root of the DVD/iso.   The current hardware and 
media i'm using is DVD based.

On machines that have internal DVD drives (all IDE CD/DVD drives),
everything is fine.  However, I'm having a problem that started in 4.6 and
continues in 4.7 on machines that don't have an internal DVD drive and
therefore i must use a USB DVD drive.  On these machines, everything goes ok
in the beginning.  The DVD is "seen" by the machine and boots fine, the
isolinux screen comes up and i let the timeout go or i hit return to
continue.  Then, almost immediately thereafter, (when i should see the blue
screen with text about loading drivers) i see the blue screen with the
prompt for language.  This is supposed to be a kickstart install, so at this
point i know i'm hosed. 

If I use alt-f3 or alt-f4 (can't remember which one), i can see an error
message saying that the usb-storage driver is loaded, but it cannot find any
USB storage devices to read from. 

If i alt-f1 back to the main blue screen with the language prompt, i can go
through the prompts for language, keyboard, however when i get to "install
type", and select "usb cdrom" (i can't remember the text exactly...the
machines are in the server room, and i'm at my desk ATM), it fails again.  I
can alt-f3 back to see that the same error about loading the usb-storage
driver was successful but it can't find any attached usb storage device.
Unfortunately, at this point, there's no shell yet available in alt-f2, so i
can't poke around much).

It seems like somehow, something is happening like the USB bus is being
reset and it's "loosing" the usb devices and they can't be found anymore. 

Note that the original boot occurred of the DVD drive (i got past the
isolinux screen), so it's at least working in the beginning to get that far.


I had seen this problem occur a handful of times in the past in my same
distro based on CentOS-4.5, however it was sporadic and was usually solved
by changing the manufacturer of DVD drive (i thought it was a hardware
vendor not implementing the USB spec properly since most devices
worked...only a handful didn't).  However, since moving to 4.6 and also in
4.7, this problem is completely repeatable with all USB DVD drives i have
(granted it's only 3 different vendors/models, but they all don't work,
whereas all 3 of these used to work in the 4.5 based distro).

Also, as i stated earlier, on machines with internal DVD drives (IDE based),
everything works fine. 





Thanks.

...alex...

-

JohnStanley Wrote:

Alex, have you tried setting the USB Option in the BIOS to Autodetect
between USB 1.0 and 2.0? That is if your machines BIOS supports that option.
Plugable USB drives are nice additions but my opinion is there not so good
at OS Installation, but don't get me wrong they are nice to boot a running
centos install to repair an install on a broken machine.. What about doing a
network install or VNC install from your desk?

Good Luck,
JohnStanley

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


Re: [CentOS] Missing 4.7 kernel update SRPMs ?

2008-09-18 Thread James Pearson

Akemi Yagi wrote:

On Sat, Sep 13, 2008 at 2:18 PM, R P Herrold <[EMAIL PROTECTED]> wrote:


On Sat, 13 Sep 2008, Shad L. Lords wrote:



James Pearson wrote:


I can't find the kernel-2.6.9-78.0.1.EL.src.rpm and
kernel-2.6.9-78.0.1.plus.c4.src.rpm on the download sites - the binary
i386/x86_64 RPMS are there, but not the matching SRPMs


There are actually quite a few missing sources:


Please file bugs -- these are easy to address, but might lost in a mailing
list context.



Filed at bugs.centos.org:

http://bugs.centos.org/view.php?id=3132


The kernel-2.6.9-78.0.1.EL.src.rpm and 
kernel-2.6.9-78.0.1.plus.c4.src.rpm SRPMS have now appeared


Thanks

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


Re: [CentOS] email and MS outlook

2008-09-18 Thread Toby Bluhm

Mag Gam wrote:

We use Microsoft Outlook heavy at school but our backed is CentOS. I
use echo "Foo" | mail -s "subject" [EMAIL PROTECTED] a lot. Is it possible
to change the priority to High so Outlook will understand it? The
priority meaning the email will be sent to the normal email queue but
on Outlook it would have the exclamation point.



Maybe just a stupid idea . . .

If it is just a header thing, as it's been suggested, I would try procmail.

Your command would be something like

echo "Foo" | mail -s "subject:real_recipient" [EMAIL PROTECTED]

The procmail script for the highpriority account would add in the 
necessary header, pull real_recipient out of subject & forward it to 
[EMAIL PROTECTED]



--
Toby Bluhm
Alltech Medical Systems America, Inc.

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


Re: [CentOS] USB DVD drive disappearing during kickstart install.

2008-09-18 Thread Alex Tang



Mogens Kjaer wrote:

Alex Tang wrote:
...
  

Note that the original boot occurred of the DVD drive (i got past the
isolinux screen), so it's at least working in the beginning to get that
far.



The first reading of the DVD is done by the bios, not the linux kernel.
  


OK, i didn't know that.

Can't you do a PXE based install?
  


Unfortunately, no. i can't. I sometimes have to do this at places where 
i don't have the network infrastructure to do a pxe boot.


Thanks Mogens. Any other ideas. :)

...alex...

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


Re: [CentOS] USB DVD drive disappearing during kickstart install.

2008-09-18 Thread Alex Tang

Thanks John.

I'll check the BIOS on these machines.  Unfortunately, i need the DVD 
based setup to work because sometimes i have to do this at odd places 
where i don't have the network infrastructure to do PXE boots. 

What i'm confused about is that i didn't have these problems (well, 
mostly) in the the 4.5 based distro (and a 3.x based distro from a while 
back...but that was using CDs instead of DVDs).  It's only since moving 
to 4.6 and 4.7 that i'm seeing this consistently. 


Any other ideas?

Thanks again.

...alex...

John wrote:

JohnStanley Wrote:

Alex, have you tried setting the USB Option in the BIOS to Autodetect
between USB 1.0 and 2.0? That is if your machines BIOS supports that option.
Plugable USB drives are nice additions but my opinion is there not so good
at OS Installation, but don't get me wrong they are nice to boot a running
centos install to repair an install on a broken machine.. What about doing a
network install or VNC install from your desk?

Good Luck,
JohnStanley

___
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] Security Guide for CentOS/RHEL

2008-09-18 Thread Josh Donovan
Is there a step by step approach to securing CentOS 4X (or even RHEL 4X)? I 
don't mean the stuff in the docs/security guide but a working step by step 
guide? There used to be packages like rkhunter and tripwire but I don't know if 
the ones in rpmforge/kbs repo are up to date.

Thanks,
Josh.




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


Re: [CentOS] USB DVD drive disappearing during kickstart install.

2008-09-18 Thread Bob Beers
On Thu, Sep 18, 2008 at 10:24 AM, Alex Tang <[EMAIL PROTECTED]> wrote:
> Thanks John.
>
> I'll check the BIOS on these machines.  Unfortunately, i need the DVD based
> setup to work because sometimes i have to do this at odd places where i
> don't have the network infrastructure to do PXE boots.
> What i'm confused about is that i didn't have these problems (well, mostly)
> in the the 4.5 based distro (and a 3.x based distro from a while back...but
> that was using CDs instead of DVDs).  It's only since moving to 4.6 and 4.7
> that i'm seeing this consistently.
> Any other ideas?

Maybe this is a bad idea, but can you at this point in the kickstart,
 unplug/replug the USB DVD drive
  or cycle power to the USB DVD drive
 to maybe 'force' the kernel to detect it?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Security Guide for CentOS/RHEL

2008-09-18 Thread Tim Verhoeven
On Thu, Sep 18, 2008 at 4:31 PM, Josh Donovan <[EMAIL PROTECTED]> wrote:
> Is there a step by step approach to securing CentOS 4X (or even RHEL 4X)? I 
> don't mean the stuff in the docs/security guide but a working step by step 
> guide? There used to be packages like rkhunter and tripwire but I don't know 
> if the ones in rpmforge/kbs repo are up to date.

The NSA has security guides online, including for RHEL. It seems only
RHEL 5 it seems, but I presume a lot of stuff from it can be used for
RHEL/C 4.

Regards,
Tim

-- 
Tim Verhoeven - [EMAIL PROTECTED] - 0479 / 88 11 83

Hoping the problem magically goes away by ignoring it is the
"microsoft approach to programming" and should never be allowed.
(Linus Torvalds)
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS on Eee PC 1000H

2008-09-18 Thread Fabian Arrotin

Sven wrote:

Hi folks

Anybody running CentOS on Eee PC 1000H? In CentOS wiki[0] there is a 
draft about Eee PC 900 from Fabian Arrotin. Does the same howto work for 
Eee PC 1000H?





Oups, it seems i didn't see that post, sorry for the delay 
AFAIK the Eee PC 1000 doesn't use the same NIC/Wireless nic than in the 
900 .. but i can't confirm except if you send me one ;-)
I'm still discussing with other CentOS folks to see how we can easily 
host the RPMS for the atl2 kmod and the patched madwifi RPMS ...
Maybe i can at least create a temporary repo to hold them and that repo 
can be used during setup so that everything works on the first reboot 
after installation (i mean wired nic and wireless) ...
If you have already linux installed on the 1000H, can you have a look at 
the modules being used and lspci/lspci -v and report that to me ?

Thanks

--
-
Fabian Arrotin <[EMAIL PROTECTED]>
"Internet network currently down, TCP/IP packets delivered now by 
UPS/Fedex ..."




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


Re: [CentOS] USB DVD drive disappearing during kickstart install.

2008-09-18 Thread Tru Huynh
On Thu, Sep 18, 2008 at 10:35:14AM -0400, Bob Beers wrote:
> On Thu, Sep 18, 2008 at 10:24 AM, Alex Tang <[EMAIL PROTECTED]> wrote:
> > Thanks John.
> >
> > I'll check the BIOS on these machines.  Unfortunately, i need the DVD based
> > setup to work because sometimes i have to do this at odd places where i
> > don't have the network infrastructure to do PXE boots.
> > What i'm confused about is that i didn't have these problems (well, mostly)
> > in the the 4.5 based distro (and a 3.x based distro from a while back...but
> > that was using CDs instead of DVDs).  It's only since moving to 4.6 and 4.7
> > that i'm seeing this consistently.
> > Any other ideas?
> 
> Maybe this is a bad idea, but can you at this point in the kickstart,
>  unplug/replug the USB DVD drive
>   or cycle power to the USB DVD drive
>  to maybe 'force' the kernel to detect it?

http://bugs.centos.org/view.php?id=2155 could be related
(usb plug/unplug).

Tru
-- 
Tru Huynh (mirrors, CentOS-3 i386/x86_64 Package Maintenance)
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xBEFA581B


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


Re: [CentOS] Security Guide for CentOS/RHEL

2008-09-18 Thread John Horne
On Thu, 2008-09-18 at 14:31 +, Josh Donovan wrote:
> Is there a step by step approach to securing CentOS 4X (or even RHEL
> 4X)? I don't mean the stuff in the docs/security guide but a working
> step by step guide? There used to be packages like rkhunter and
> tripwire but I don't know if the ones in rpmforge/kbs repo are up to
> date.
> 
For rkhunter, as far as I can remember, the Fedora 8/9 packages are upto
date, so you could download one of those from a mirror and install it.
Personally, I install rkhunter from source, but you can build an RPM
from the source tarball if you want (the source includes an RPM spec
file). Latest version is 1.3.2.



John.

-- 
---
John Horne, University of Plymouth, UK  Tel: +44 (0)1752 587287
E-mail: [EMAIL PROTECTED]   Fax: +44 (0)1752 587001
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Security Guide for CentOS/RHEL

2008-09-18 Thread Josh Donovan
Tim Verhoeven wrote:

> The NSA has security guides online, including for RHEL. It seems only
> RHEL 5 it seems, but I presume a lot of stuff from it can be used for
> RHEL/C 4.

The NSA guide (rhel5-guide-i731.pdf) looks like a good starting point.

Thanks,
Josh.




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


Re: [CentOS] Missing 4.7 kernel update SRPMs ?

2008-09-18 Thread Johnny Hughes

James Pearson wrote:

Akemi Yagi wrote:
On Sat, Sep 13, 2008 at 2:18 PM, R P Herrold <[EMAIL PROTECTED]> 
wrote:



On Sat, 13 Sep 2008, Shad L. Lords wrote:



James Pearson wrote:


I can't find the kernel-2.6.9-78.0.1.EL.src.rpm and
kernel-2.6.9-78.0.1.plus.c4.src.rpm on the download sites - the binary
i386/x86_64 RPMS are there, but not the matching SRPMs


There are actually quite a few missing sources:


Please file bugs -- these are easy to address, but might lost in a 
mailing

list context.



Filed at bugs.centos.org:

http://bugs.centos.org/view.php?id=3132


The kernel-2.6.9-78.0.1.EL.src.rpm and 
kernel-2.6.9-78.0.1.plus.c4.src.rpm SRPMS have now appeared




WRT kmod files, the ones out there are the ones used to build the 
modules ... we are not putting the exact same SRPM with just the kernel 
version changed on there.


IF I actually change the SRPM, I will put up the new SRPM for kmod files.

Thanks,
Johnny Hughes



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


Re: [CentOS] Security Guide for CentOS/RHEL

2008-09-18 Thread Josh Donovan
John Horne wrote:

> For rkhunter, as far as I can remember, the Fedora 8/9 packages are upto
> date, so you could download one of those from a mirror and install it.
> Personally, I install rkhunter from source, but you can build an RPM
> from the source tarball if you want (the source includes an RPM spec
> file). Latest version is 1.3.2.

I haven't looked at Fedora for a long time but what is in the EPEL? 
i.e. http://fedora.tu-chemnitz.de/pub/linux/fedora-epel/4AS/i386/
There seems to be an rkhunter updated in Sep 2008 is that for RHEL4 AS?

Will the Fedora SRPMS (tripwire, rkhunter) for Fedora 8/9 rebuild without 
wanting a ton of stuff updated?

Thanks,
Josh.




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


Re: [CentOS] Security Guide for CentOS/RHEL

2008-09-18 Thread Jim Perrin
On Thu, Sep 18, 2008 at 11:31 AM, Josh Donovan <[EMAIL PROTECTED]> wrote:
> John Horne wrote:
>
>> For rkhunter, as far as I can remember, the Fedora 8/9 packages are upto
>> date, so you could download one of those from a mirror and install it.
>> Personally, I install rkhunter from source, but you can build an RPM
>> from the source tarball if you want (the source includes an RPM spec
>> file). Latest version is 1.3.2.
>
> I haven't looked at Fedora for a long time but what is in the EPEL?
> i.e. http://fedora.tu-chemnitz.de/pub/linux/fedora-epel/4AS/i386/
> There seems to be an rkhunter updated in Sep 2008 is that for RHEL4 AS?
>
> Will the Fedora SRPMS (tripwire, rkhunter) for Fedora 8/9 rebuild without 
> wanting a ton of stuff updated?

For CentOS5, I'd recommend using aide instead of tripwire. The two do
pretty much the same thing, but aide comes with centos5 by default
(and is recommended in the NSA guide)

-- 
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] Security Guide for CentOS/RHEL

2008-09-18 Thread John Horne
On Thu, 2008-09-18 at 15:31 +, Josh Donovan wrote:
> John Horne wrote:
> 
> > For rkhunter, as far as I can remember, the Fedora 8/9 packages are upto
> > date, so you could download one of those from a mirror and install it.
> > Personally, I install rkhunter from source, but you can build an RPM
> > from the source tarball if you want (the source includes an RPM spec
> > file). Latest version is 1.3.2.
> 
> I haven't looked at Fedora for a long time but what is in the EPEL?
>
EPEL=Extra Packages for Enterprise Linux
http://fedoraproject.org/wiki/EPEL

>  
> i.e. http://fedora.tu-chemnitz.de/pub/linux/fedora-epel/4AS/i386/
> There seems to be an rkhunter updated in Sep 2008 is that for RHEL4 AS?
> 
Well it seems to be the 1.3.2 version, so I would say it is good.
RKH (rkhunter) is very generic, so it should work under any (at least
most!) versions of Unix and Linux (regardless of whether they are RHEL
WS, ES or AS).

> Will the Fedora SRPMS (tripwire, rkhunter) for Fedora 8/9 rebuild
> without wanting a ton of stuff updated?
> 
RKH only requires a couple of basic packages - typically just a
downloader like 'wget' and 'perl'.

As someone has already suggested, I would use something like aide or
samhain instead of tripwire.


John.

-- 
---
John Horne, University of Plymouth, UK  Tel: +44 (0)1752 587287
E-mail: [EMAIL PROTECTED]   Fax: +44 (0)1752 587001
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] cron job not working

2008-09-18 Thread Al Sparks
--- On Wed, 9/17/08, Al Sparks <[EMAIL PROTECTED]> wrote:

> From: Al Sparks <[EMAIL PROTECTED]>
> Subject: Re: [CentOS] cron job not working
> To: "CentOS mailing list" 
> Date: Wednesday, September 17, 2008, 9:26 AM
> > Probably a permissions problem, as has been noted. What
> I can't
> > understand is how the problem came to be so
> complicated. This,
> > run as a root cron job, will produce the desired
> directory:
> > 
> > #!/bin/bash
> > mkdir -p /ora-local/db-test-backups/`date
> +%Y"_"%m"_"%d`
> > 
> > ...without the adjustments in the perl script.  AAMOF,
> it's even
> > simpler if you can tolerate hyphen separators rather
> than
> > underscores. (date +%F)
> 
> I'll give that a shot.  Note that I have not been
> running this as root
> (though crond is running as root).
> 
> Most of the time, if it's a permissions problem, crond
> will send an
> email telling me it's a permissions problem.
> === Al

It was a file permission problem.  But crond wasn't telling me.
Thanks for the help.
   === Al
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] virt-install -L

2008-09-18 Thread David Dyer-Bennet
So what does the "location" one gives virt-install point to? Ideally, what
directory on the Centos 5.2 DVD should it point to?  Or should it point to
the ISO image?  Or what?  I'm getting tired of trying things at random,
and the documentation really doesn't tell me anything beyond that it
should be a directory (because it says two different files should be
there).

-- 
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] email and MS outlook

2008-09-18 Thread Frank Cox
On Thu, 18 Sep 2008 12:32:20 +0200
Paul Bijnens <[EMAIL PROTECTED]> wrote:

> Mail/mailx/mail cannot add the header.

This can:

http://www.cleancode.org/projects/email

-- 
MELVILLE THEATRE ~ Melville Sask ~ http://www.melvilletheatre.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Strange ! characters inserted into emails

2008-09-18 Thread Sean Carolan
I have never encountered anything like this before, so thought I'd post here
and see if anyone can help.

We have a java application that sends out notification emails to end-users.
The body of the email is some boilerplate text and HTML that is pulled from
a database.  When the emails are received there are random instances of " !"
(that's a space and a bang symbol) inserted into the email in various
locations.  For example a sentence that is supposed to read like this:

The quick brown fox jumped over the lazy dog.

ends up looking like this:

The quick b !rown fox jumped over the laz !y dog.

We combed through the source text and didn't find any unusual characters in
the body of the text.  Somehow these bang symbols are being inserted after
the mail is handed off to sendmail.  Does anyone have an idea how I can
troubleshoot this further?  Or maybe you've seen something similar in your
environment?

thanks

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


Re: [CentOS] Security Guide for CentOS/RHEL

2008-09-18 Thread Nick Goddard

On Thursday 18 September 2008 16:35, Jim Perrin wrote:
>
> For CentOS5, I'd recommend using aide instead of tripwire. The two do
> pretty much the same thing, but aide comes with centos5 by default
> (and is recommended in the NSA guide)


aide is now provided in 4.7 as well.

Regards
Nick.

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


[CentOS] How to create a virtual bonded interface?

2008-09-18 Thread John Horne
Hello,

I have a server with 4 NICS running CentOS 5.2. I have bonded the
interfaces together such that 'bond0' consists of eth0-3. This is not a
problem, and works fine.

However, I now need to create a virtual interface. In a non-bonded
server I would just create something like eth0:1, but with a bonded
interface I am a bit confused. I have created bond0:1 simple by copying
the /etc/sysconfig/network-scripts/ifcfg-bond0 file, calling it
'bond0:1' and setting the DEVICE appropriately. Then I ran 'ifup
bond0:1'. The interface came up, and seems to be working okay. I have
not tested yet if the bonding failover works with bond0:1 because I am
doing this remotely at the moment. Tomorrow I should be able to test
that.

My question is, is creating a virtual bonded interface that simple or
have I missed something? Have I done this the right way, or should I
instead have created a second bonded interface ('bond1') and made it
consist of eth0:1, eth1:1, eth2:1 and eth3:1? Admittedly this would have
involved about 8 or so interfaces in total for the server! Secondly, I
added nothing to the /etc/modprobe.conf file. Should I have added
anything like 'alias bond0:1 bonding'? I also did not add any static
routes, yet if I use 'ping' to send packets out through the virtual IP
address ping says it is doing so (so again it all seems to be working).

My concern is that while it seems to be fine at the moment, and even
after rebooting, I may have missed something that will cause it to fail
at some point.

For info, 'ifconfig' output shows:

=
bond0 Link encap:Ethernet  HWaddr xx:xx:xx:xx:xx:xx  
  inet addr:141.163.yy.a  Bcast:141.163.yy.yy  
  Mask:255.255.255.224
  inet6 addr: abcd::abcd:abcd:abcd:abcd/64
  Scope:Link  
  UP BROADCAST RUNNING MASTER MULTICAST  MTU:1500 
  Metric:1  
  RX packets:88468 errors:0 dropped:0 overruns:0
  frame:0 
  TX packets:59486 errors:0 dropped:0 overruns:0
  carrier:0  collisions:0 txqueuelen:0  
  RX bytes:80654540 (76.9 MiB)  TX bytes:5847688 (5.5
MiB)   

bond0:1   Link encap:Ethernet  HWaddr xx:xx:xx:xx:xx:xx  
  inet addr:141.163.yy.b  Bcast:141.163.yy.yy 
  Mask:255.255.255.224
  UP BROADCAST RUNNING MASTER MULTICAST  MTU:1500  Metric:1
=


The 'netstat -rn' output shows:

=
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window  irtt Iface
141.163.yy.00.0.0.0 255.255.255.224   U   0   0 0  bond0
169.254.0.0 0.0.0.0 255.255.0.0   U   0   0 0  bond0
0.0.0.0 141.163.yy.30  0.0.0.0UG  0   0 0  bond0
=

Shouldn't 'bond0:1' appear there somewhere?


Anyone notice if I missed anything?


Thanks,

John.

-- 
---
John Horne, University of Plymouth, UK  Tel: +44 (0)1752 587287
E-mail: [EMAIL PROTECTED]   Fax: +44 (0)1752 587001
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] How to create a virtual bonded interface?

2008-09-18 Thread nate
John Horne wrote:
> Hello,
>
> I have a server with 4 NICS running CentOS 5.2. I have bonded the
> interfaces together such that 'bond0' consists of eth0-3. This is not a
> problem, and works fine.

That is fine, just be sure not to have the bonding specific
things in the sub interface, just have the IP/subnet/device name
(bond0:1 etc).

> For info, 'ifconfig' output shows:
>
> =
> bond0 Link encap:Ethernet  HWaddr xx:xx:xx:xx:xx:xx

Somehow I doubt ifconfig reports your MAC address as xx:xx:xx..

You do realize that your MAC address is useless outside of your
local layer 2 subnet right.

http://lists.centos.org/pipermail/centos/2008-September/064541.html

nate


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


Re: [CentOS] USB DVD drive disappearing during kickstart install.

2008-09-18 Thread MHR
On Thu, Sep 18, 2008 at 12:28 AM, Alex Tang <[EMAIL PROTECTED]> wrote:
>
> It seems like somehow, something is happening like the USB bus is being
> reset and it's "loosing" the usb devices and they can't be found anymore.

While, strictly speaking, this may be true, I'm pretty sure it's not
what you meant, and I've seen this enough times that I just have to
say:

"loose" [looss] - a condition opposite that of "tight;" improperly
fastened or closed; unattached (and, in this sense, potentially
correct).

"lose" [looz] - to misplace  so as not to be able to find
it, as in, 'it's "losing" the usb devices and they can't be found any
more.'

There - got that off my chest!

And, now, back to our regularly scheduled emails

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


[CentOS] using NOPASSWD in sudoers

2008-09-18 Thread Ski Dawg
Hello Everyone,

I am trying to change our /etc/sudoers (using visudo) to allow 2
commands to be run as root without a password, but it isn't working.
Here is the part of the sudoers file that is in question.

# User alias specification
User_Alias  FULLACCESS = doug, scott

# members of the FULLACCESS User_Alias may run chown and chmod without
a password
  FULLACCESS ALL = (root) NOPASSWD: /bin/chown, /bin/chmod

# members of the FULLACCESS User_Alias may run anything but need a password
  FULLACCESS  ALL=(root) ALL

The part for requiring a password works, but not the NOPASSWD line. I
have tried changing the order of these lines with no change in
behavior. After each change to the sudoers file, I am logging out of
the machine and logging back in to make sure that it is properly
reading the changes.

I have also replaced the list of commands with a Cmnd_Alias, with no
change in behavior.

Any thoughts or suggestions about what I am missing.
-- 
Doug
Registered Linux User #285548 (http://counter.li.org)

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


Re: [CentOS] How to create a virtual bonded interface?

2008-09-18 Thread John Horne
On Thu, 2008-09-18 at 10:36 -0700, nate wrote:
> John Horne wrote:
> > Hello,
> >
> > I have a server with 4 NICS running CentOS 5.2. I have bonded the
> > interfaces together such that 'bond0' consists of eth0-3. This is not a
> > problem, and works fine.
> 
> That is fine, just be sure not to have the bonding specific
> things in the sub interface, just have the IP/subnet/device name
> (bond0:1 etc).
> 
Yup. Thanks.

> > For info, 'ifconfig' output shows:
> >
> > =
> > bond0 Link encap:Ethernet  HWaddr xx:xx:xx:xx:xx:xx
> 
> Somehow I doubt ifconfig reports your MAC address as xx:xx:xx..
> 
> You do realize that your MAC address is useless outside of your
> local layer 2 subnet right.
> 
Yeah, old habit I guess :-)



John.

-- 
---
John Horne, University of Plymouth, UK  Tel: +44 (0)1752 587287
E-mail: [EMAIL PROTECTED]   Fax: +44 (0)1752 587001
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


RE: [CentOS] Strange ! characters inserted into emails

2008-09-18 Thread Geoff Galitz

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Sean Carolan
Sent: Donnerstag, 18. September 2008 18:30
To: CentOS mailing list
Subject: [CentOS] Strange ! characters inserted into emails


The quick brown fox jumped over the lazy dog.

ends up looking like this:

The quick b !rown fox jumped over the laz !y dog.
...

---

Are the e-mails corrupted the exact same way each time?  IOW, does 
the above example always arrive as " The quick b !rown fox jumped over 
the laz !y dog." even if you send it 10 times?


You might want to save the e-mail to disk and use a hex editor to see 
if there are unprintable characters in there.

-geoff



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


[CentOS] link speed

2008-09-18 Thread Craig White
Is there a command line way to tell me whether a ethernet connection is
100 BaseT or Gigabit Ethernet?

Craig

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


Re: [CentOS] link speed

2008-09-18 Thread Bob Beers
On Thu, Sep 18, 2008 at 2:28 PM, Craig White <[EMAIL PROTECTED]> wrote:
> Is there a command line way to tell me whether a ethernet connection is
> 100 BaseT or Gigabit Ethernet?

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


Re: [CentOS] link speed

2008-09-18 Thread Stephen Harris
> Is there a command line way to tell me whether a ethernet connection is
> 100 BaseT or Gigabit Ethernet?

mii-diag
mii-tool
ethtool

-- 

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


Re: [CentOS] link speed

2008-09-18 Thread Pintér Tibor



Craig White írta:

Is there a command line way to tell me whether a ethernet connection is
100 BaseT or Gigabit Ethernet?


mii-tool

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


RE: [CentOS] link speed

2008-09-18 Thread John Kordash
> Craig White írta:
> > Is there a command line way to tell me whether a ethernet
> connection is
> > 100 BaseT or Gigabit Ethernet?
>
> mii-tool


My experience with mii-tool on CentOS4 and 5 is that it won't show link speed 
above 100 even if it is.  If the OP is trying to differentiate 100 vs. 1000, 
then I would suggest using ethtool instead.

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


RE: [CentOS] link speed

2008-09-18 Thread Craig White
On Thu, 2008-09-18 at 15:05 -0400, John Kordash wrote:
> > Craig White írta:
> > > Is there a command line way to tell me whether a ethernet
> > connection is
> > > 100 BaseT or Gigabit Ethernet?
> >
> > mii-tool
> 
> 
> My experience with mii-tool on CentOS4 and 5 is that it won't show link speed 
> above 100 even if it is.  If the OP is trying to differentiate 100 vs. 1000, 
> then I would suggest using ethtool instead.

yup...mii-tool didn't report what I wanted...

# mii-tool
eth0: negotiated 100baseTx-FD flow-control, link ok
eth1: negotiated 100baseTx-FD flow-control, link ok

but ethtool did...
# ethtool eth0
Settings for eth0:
Supported ports: [ MII ]
Supported link modes:   10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Half 1000baseT/Full
Supports auto-negotiation: Yes
Advertised link modes:  10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Half 1000baseT/Full
Advertised auto-negotiation: Yes
Speed: 100Mb/s
Duplex: Full
Port: Twisted Pair
PHYAD: 1
Transceiver: internal
Auto-negotiation: on
Supports Wake-on: g
Wake-on: d
Current message level: 0x00ff (255)
Link detected: yes
[EMAIL PROTECTED] kbenedetto]# ethtool eth1
Settings for eth1:
Supported ports: [ MII ]
Supported link modes:   10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Half 1000baseT/Full
Supports auto-negotiation: Yes
Advertised link modes:  10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Half 1000baseT/Full
Advertised auto-negotiation: Yes
Speed: 1000Mb/s
Duplex: Full
Port: Twisted Pair
PHYAD: 1
Transceiver: internal
Auto-negotiation: on
Supports Wake-on: g
Wake-on: d
Current message level: 0x00ff (255)
Link detected: yes

Thanks

Craig

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


Re: [CentOS] Strange browser displays with 5.x on Dell GX-260

2008-09-18 Thread Lanny Marcus
On Thu, Sep 18, 2008 at 6:22 AM, William L. Maltby
<[EMAIL PROTECTED]> wrote:
>> On Thu, 2008-09-18 at 02:47 -0400, Dick Roth wrote:
>> 
>
>> This was a clean install, however I kept my /home directory intact.  The
>> rest of the partitions were reformatted.
>
> Try resetting all your preferences? Maybe a major format change in the
> control files under .mozilla directories?

When you launched Mozilla Firefox the first time, I suspect that it
created a new .mozilla directory in /home  and wiped out your old one.

Have you tried to "yum remove firefox" and then "yum install firefox"
to see if the issues stop or continue?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Re: Strange ! characters inserted into emails

2008-09-18 Thread Scott Silva

on 9-18-2008 9:29 AM Sean Carolan spake the following:
I have never encountered anything like this before, so thought I'd post 
here and see if anyone can help.


We have a java application that sends out notification emails to 
end-users.  The body of the email is some boilerplate text and HTML that 
is pulled from a database.  When the emails are received there are 
random instances of " !" (that's a space and a bang symbol) inserted 
into the email in various locations.  For example a sentence that is 
supposed to read like this:


The quick brown fox jumped over the lazy dog.

ends up looking like this:

The quick b !rown fox jumped over the laz !y dog.

We combed through the source text and didn't find any unusual characters 
in the body of the text.  Somehow these bang symbols are being inserted 
after the mail is handed off to sendmail.  Does anyone have an idea how 
I can troubleshoot this further?  Or maybe you've seen something similar 
in your environment?


thanks

Sean

Is it text based mail, or HTML?
I have seen things like this during base64 or quoted printable encoding on 
some HTML mails from Outlook. If it is encoding, the bangs should repeat in a 
fairly repeatable pattern.


--
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: link speed

2008-09-18 Thread Scott Silva

on 9-18-2008 12:37 PM Craig White spake the following:

On Thu, 2008-09-18 at 15:05 -0400, John Kordash wrote:

Craig White írta:

Is there a command line way to tell me whether a ethernet

connection is

100 BaseT or Gigabit Ethernet?

mii-tool


My experience with mii-tool on CentOS4 and 5 is that it won't show link speed 
above 100 even if it is.  If the OP is trying to differentiate 100 vs. 1000, 
then I would suggest using ethtool instead.


yup...mii-tool didn't report what I wanted...

# mii-tool
eth0: negotiated 100baseTx-FD flow-control, link ok
eth1: negotiated 100baseTx-FD flow-control, link ok

but ethtool did...

mii-tool was written before such links existed.

--
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] Network issues with CentOS 5.2

2008-09-18 Thread Joey Mendez
I am totally new to using CentOS. Linux in Genera really. I have decent 
experiencing with terminal code for Macs though.


Here's the deal my Boss wants us to move more toward linux for some of 
our basic users. All I was supposed to do was install CentOS 5.2 and 
Open Office and disburse the machines. Simple enough right. So I did 
this with no issue. I ran the interface and installed only GNOME and 
KDE. After installation was complete I activated the eth-0 and had it on 
DHCP. I connected to the net fine and began downloading open office. I 
left for the day and came back and I can no longer get back online. The 
eth-0 wont even activate unless I manually enter a static IP but still 
can not establish a connection online. I treid reinstalling to no avail. 
Even built a completely new box and still no avail. I am using CentOS 
5.2 i386 DVD.


Like I said I am new to this so any guidance would be appreciated to get 
me into the Linux world. Thank you.


--
Jose Mendez
Computer Resource Specialist
University of California, San Diego

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


[CentOS] Squirrelmail not indexing messages correctly

2008-09-18 Thread mbneto
Hi,

I have a Centos 5.2 server with sendmail/dovecot/squirrelmail.   One of my
users is complaining that some messages are not appearing in the message
list.  After a quick check I found the message in the /cur directory but
this messge does not appear in the message list in the expected order.

I can access the message if I check the page X or I use the search.   The
strange part is that most messages appear ordered by the date but this (and
others) does not.

I've removed the dovecot* in the Maildir with no luck.

Any ideas?

Name: squirrelmail Relocations: (not relocatable)
Version : 1.4.8 Vendor: CentOS
Release : 4.0.1.el5.centos.2Build Date: Sat 17 Nov 2007
11:28:32 PM AMT

Bellow one example of the stat of two messages.  The one with modify time
09:28 appears ordered and the other that came later 19:15 does not.

  File: `/home/user/Maildir/cur/1221744507.8075_0.mail:2,S'
  Size: 17332 Blocks: 40 IO Block: 4096   regular file
Device: 1602h/5634dInode: 9169256 Links: 1
Access: (0600/-rw---)  Uid: (  505/  wander)   Gid: (   12/mail)
Access: 2008-09-18 19:16:30.0 -0400
Modify: 2008-09-18 09:28:27.0 -0400
Change: 2008-09-18 10:35:27.0 -0400

  File: `/home/user/Maildir/cur/1221775184.14421_0.mail:2,S'
  Size: 195841Blocks: 392IO Block: 4096   regular file
Device: 1602h/5634dInode: 9169266 Links: 1
Access: (0600/-rw---)  Uid: (  505/  wander)   Gid: (   12/mail)
Access: 2008-09-18 19:15:29.0 -0400
Modify: 2008-09-18 17:59:44.0 -0400
Change: 2008-09-18 19:10:56.0 -0400
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Picasa vs. native photo management apps

2008-09-18 Thread Ric Moore
On Tue, 2008-09-16 at 16:31 -0700, Craig White wrote:
> On Tue, 2008-09-16 at 17:48 -0400, Ric Moore wrote:
> > On Tue, 2008-09-16 at 14:32 -0700, John R Pierce wrote:
> > > Ric Moore wrote:
> > > > On Tue, 2008-09-16 at 11:41 +0200, Niki Kovacs wrote:
> > > >
> > > >   
> > > >> One request that I got more often lately is Google Picasa. I vaguely 
> > > >> remember having downloaded and installed it once. As far as I know, 
> > > >> it's 
> > > >> a closed-source Windows app that comes with a WINE emulation layer. 
> > > >> Not 
> > > >> exactly the open source spirit.
> > > >> 
> > > >
> > > > I just bounced into my Kubuntu install to check, as they have everything
> > > > but the kitchen sink to dnload and install. Nada ...came up empty there.
> > > > Looks like no hope for anything in binary form to install that is used
> > > > in the wide Debian Universe. :( Ric
> > > >   
> > > 
> > > http://www.google.com/linuxrepositories/ubuntu704.html
> > > http://www.google.com/linuxrepositories/apt.html
> > 
> > That worked like a charm. I am impressed that Google has this. Thanks!
> 
> google is one of the biggest supporters of Linux, you shouldn't be
> surprised at all.
No, I wrote impressed. I didn't know that Picasa was a google thing. I
used it before, when I had a static IP and website. I just never put it
into my head that it was Google's. :) Ric

-- 

My father, Victor Moore (Vic) used to say:
"There are two Great Sins in the world...
..the Sin of Ignorance, and the Sin of Stupidity.
Only the former may be overcome." R.I.P. Dad.
Linux user# 44256 Sign up at: http://counter.li.org/
https://nuoar.dev.java.net/
Verizon Cell # 336-254-1339

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


Re: [CentOS] Picasa vs. native photo management apps

2008-09-18 Thread Craig White
On Thu, 2008-09-18 at 20:58 -0400, Ric Moore wrote:
> On Tue, 2008-09-16 at 16:31 -0700, Craig White wrote:
> > On Tue, 2008-09-16 at 17:48 -0400, Ric Moore wrote:
> > > On Tue, 2008-09-16 at 14:32 -0700, John R Pierce wrote:
> > > > Ric Moore wrote:
> > > > > On Tue, 2008-09-16 at 11:41 +0200, Niki Kovacs wrote:
> > > > >
> > > > >   
> > > > >> One request that I got more often lately is Google Picasa. I vaguely 
> > > > >> remember having downloaded and installed it once. As far as I know, 
> > > > >> it's 
> > > > >> a closed-source Windows app that comes with a WINE emulation layer. 
> > > > >> Not 
> > > > >> exactly the open source spirit.
> > > > >> 
> > > > >
> > > > > I just bounced into my Kubuntu install to check, as they have 
> > > > > everything
> > > > > but the kitchen sink to dnload and install. Nada ...came up empty 
> > > > > there.
> > > > > Looks like no hope for anything in binary form to install that is used
> > > > > in the wide Debian Universe. :( Ric
> > > > >   
> > > > 
> > > > http://www.google.com/linuxrepositories/ubuntu704.html
> > > > http://www.google.com/linuxrepositories/apt.html
> > > 
> > > That worked like a charm. I am impressed that Google has this. Thanks!
> > 
> > google is one of the biggest supporters of Linux, you shouldn't be
> > surprised at all.
> No, I wrote impressed. I didn't know that Picasa was a google thing. I
> used it before, when I had a static IP and website. I just never put it
> into my head that it was Google's. :) Ric

as far as I know, the only way to get Picasa is to download it from
Google

Craig

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


Re: [CentOS] Strange ! characters inserted into emails

2008-09-18 Thread David Eckelkamp
On Thu, Sep 18, 2008 at 11:29 AM, Sean Carolan <[EMAIL PROTECTED]> wrote:

> I have never encountered anything like this before, so thought I'd post
> here and see if anyone can help.
>
> We have a java application that sends out notification emails to
> end-users.  The body of the email is some boilerplate text and HTML that is
> pulled from a database.  When the emails are received there are random
> instances of " !" (that's a space and a bang symbol) inserted into the email
> in various locations.  For example a sentence that is supposed to read like
> this:
>
> The quick brown fox jumped over the lazy dog.
>
> ends up looking like this:
>
> The quick b !rown fox jumped over the laz !y dog.
>
> We combed through the source text and didn't find any unusual characters in
> the body of the text.  Somehow these bang symbols are being inserted after
> the mail is handed off to sendmail.  Does anyone have an idea how I can
> troubleshoot this further?  Or maybe you've seen something similar in your
> environment?
>
> thanks
>
> Sean
>
> I have seen this before when the email was generated by a program and being
sent through sendmail as the MTA. As I remember, there is a line length
limit in an SMTP stream. And if sendmail sees a line longer than a certain
number of characters it will insert a "!\n" sequence in the stream.  I
forget whether a receiving sendmail would remove that sequence, but I think
not.

What it means is that the application is most likely not encoding the email
message properly.  If there is going to be a long line, the message would
need to be encoded in base64 or quoted-printable.  Those will allow the
message to be transmitted without those extra exclamation marks.

Do a google search for "sendmail exclamation mark" and you'll find several
posts about it.

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


Re: [CentOS] Strange ! characters inserted into emails

2008-09-18 Thread Neil Cherry
Sean Carolan wrote:
> I have never encountered anything like this before, so thought I'd post
> here and see if anyone can help.
> 
> We have a java application that sends out notification emails to
> end-users.  The body of the email is some boilerplate text and HTML that
> is pulled from a database.  When the emails are received there are
> random instances of " !" (that's a space and a bang symbol) inserted
> into the email in various locations.  For example a sentence that is
> supposed to read like this:
> 
> The quick brown fox jumped over the lazy dog.
> 
> ends up looking like this:
> 
> The quick b !rown fox jumped over the laz !y dog.
> 
> We combed through the source text and didn't find any unusual characters
> in the body of the text.  Somehow these bang symbols are being inserted
> after the mail is handed off to sendmail.  Does anyone have an idea how
> I can troubleshoot this further?  Or maybe you've seen something similar
> in your environment?

I can save you a lot of trouble, you are sending more than 2040+
characters (almost 2048) without a newline. I resolved this in my
send2blogger program (it's perl). See:

http://www.linuxha.com/other/send2blogger/index.html

It Perl but I think I did a good job of explaining it in the code.
I hope this helps. Oh, it's GPL I should put that up there.

-- 
Linux Home Automation Neil Cherry   [EMAIL PROTECTED]
http://www.linuxha.com/ Main site
http://linuxha.blogspot.com/My HA Blog
Author of:  Linux Smart Homes For Dummies
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Network issues with CentOS 5.2

2008-09-18 Thread Lanny Marcus
On Thu, Sep 18, 2008 at 6:08 PM, Joey Mendez <[EMAIL PROTECTED]> wrote:
> I am totally new to using CentOS. Linux in Genera really. I have decent
> experiencing with terminal code for Macs though.

Jose:   Welcome!

> Here's the deal my Boss wants us to move more toward linux for some of our
> basic users. All I was supposed to do was install CentOS 5.2 and Open Office
> and disburse the machines. Simple enough right. So I did this with no issue.
> I ran the interface and installed only GNOME and KDE. After installation was
> complete I activated the eth-0 and had it on DHCP. I connected to the net
> fine and began downloading open office. I left for the day and came back and
> I can no longer get back online. The eth-0 wont even activate unless I
> manually enter a static IP but still can not establish a connection online.
> I treid reinstalling to no avail. Even built a completely new box and still
> no avail. I am using CentOS 5.2 i386 DVD.
>
> Like I said I am new to this so any guidance would be appreciated to get me
> into the Linux world. Thank you.

 Linux is based on UNIX and networking started there. Networking will
work for you!

I normally install both GNOME and KDE, but 99% of the time, I use GNOME. When I
install from a DVD, I install the majority of Applications and Systems
things I want at
that time. Then, in a Terminal Window (as root), do "yum update" to
update everything
to the latest version, for Security and Stability reasons.

In GNOME, at the lower left hand corner, click on System >
Administration >Network and enter the password for  root (the super
user).
That brings you to a GUI utility called system-config-network  Be sure
that eth0 is shown as "Active" and then highlight it and click on
"Edit". Be sure that "Activate Device when computer starts is
checked". And, "Automatically obtain IP with DHCP". And, Automatically
obtain DNS.

A book I can recommend to you, would be the edition that covers Red
Hat Enterprise Linux  5, of "Red Hat Fedora and Enterprise Linux
Bible" by Christopher Negus. I'm sure that there are other excellent
books, but this one will explain a lot to you. I think the version
that covers RHEL 5 (CentOS is a rebuild of RHEL) is "Fedora 6 and Red
Hat Enterprise Linux Bible", however you need to verify that, before
you buy it, because I have an older version of the book. Please note
that much of the book is about Fedora Core. Red Hat Enterprise Linux
takes the best of Fedora Core and is a much more stable distribution,
without the "latest and greatest". So, the book will help you with
CentOS, because CentOS is a rebuild of RHEL.

HTH, Lanny in Colombia
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Picasa vs. native photo management apps

2008-09-18 Thread Lanny Marcus
On Thu, Sep 18, 2008 at 9:13 PM, Craig White <[EMAIL PROTECTED]> wrote:
> On Thu, 2008-09-18 at 20:58 -0400, Ric Moore wrote:

>> > > > >> One request that I got more often lately is Google Picasa. I vaguely
>> > > > >> remember having downloaded and installed it once. As far as I know, 
>> > > > >> it's
>> > > > >> a closed-source Windows app that comes with a WINE emulation layer. 
>> > > > >> Not
>> > > > >> exactly the open source spirit.

>> > > > http://www.google.com/linuxrepositories/ubuntu704.html
>> > > > http://www.google.com/linuxrepositories/apt.html
>> > >
>> > > That worked like a charm. I am impressed that Google has this. Thanks!
>> > 
>> > google is one of the biggest supporters of Linux, you shouldn't be
>> > surprised at all.

> 
> as far as I know, the only way to get Picasa is to download it from
> Google

I can't remember if I got Picasa with yum from the Google Repository,
or somewhere else on their web site. This is from
/etc/yum.repos.d/google.repo/

[google]
name=Google - $basearch
baseurl=http://dl.google.com/linux/rpm/stable/$basearch
enabled=1
gpgcheck=1
priority=20
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Regd: Ethernet Channel Bonding Clarification is Needed

2008-09-18 Thread John Newbigin
I don't know if it impacts on the cluster config, but I had problems 
recently with links in my bonding interfaces going down because of some 
hotplug interference.


The solution was to add
HOTPLUG=no
to /etc/sysconfig/network

Might be worth a try.

John.

Balaji wrote:

Dear All,
Please ignore my previous mail
I have using CentOS 4.4 Linux and Kernel Version is 2.6.9-42.EL

I have configured Cluster Suite with 2 servers
Server 1 : 192.168.13.110 IP Address and hostname is primary
Server 2 : 192.168.13.179 IP Address and hostname is secondary
Floating : 192.168.13.83 IP Address (Assumed by currently active server)

I have configured Ethernet Channel Bonding in Each Cluster Nodes and 
Channel Bonding Configuration Details are
1) Created bonding devices in "/etc/modprobe.conf" filealias bond0 
bonding

  options bonding miimon=100 mode=1
2) Edit the "/etc/sysconfig/network-scripts/ifcfg-eth0 and ifcfg-eth1" 
configuration

  DEVICE=eth0
  USERCTL= no
  ONBOOT=yes
  MASTER=bond0
  SLAVE=yes
  BOOTPROTO=none

  DEVICE=eth1
  USERCTL= no
  ONBOOT=yes
  MASTER=bond0
  SLAVE=yes
  BOOTPROTO=none
3) Created a network script for the bonding device is 
"/etc/sysconfig/network-scripts/ifcfg-bond0"

  DEVICE=bond0
  USERCTL=no
  ONBOOT=yes NETMASK=255.255.255.0
  GATEWAY=192.168.13.1
  IPADDR=192.168.13.110
4) Reboot the system for the changes to take effect.

After i am rebooted both the server then cluster node becomes simplex 
and Services are started on both the nodes

The cluster output in primary node

Member Status: Quorate

Member Name  Status
--- -
primary Online, Local, rgmanager
secondary   Offline

Service Name Owner (Last)   State
   
Service  primarystarted

The cluster output in secondary node

Member Status: Quorate

Member Name  Status
--- -
primary Offline
secondary   Online, Local, rgmanager

Service Name Owner (Last)   State
 --
Service  secondary started

Before Ethernet Channel Bonding cluster services are active in one node 
and other nodes acts as passive node.
But after Ethernet Channel Bonding cluster services are active on both 
the nodes


I don't know what is the problem and is their any configuration is 
required in cluster configuration file and

cman is working only with eth0 interface

Can some one throw light on this peculiar problem

Regards
-S.Balaji




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



--
John Newbigin
ITS Senior Analyst / Programmer
Faculty of Information and Communication Technologies
Swinburne University of Technology
Melbourne, Australia
http://www.ict.swin.edu.au/staff/jnewbigin
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos