[CentOS] Inquiry:Migration from Linux 7.2 to CentOS 5

2009-09-12 Thread hadi motamedi
Dear All
Can you please do me favor and let me know what are the highlights of major
benefits of CentOS Release 5 (Final) over the RedHat Linux 7.2 (Enigma) as
we are going to migrate to it ?
Thank you in advance
Regards
H.Motamedi
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Securely backing up Linux machines to NAS?

2009-09-12 Thread Joseph L. Casale
>So what are the simplest options to back up the Linux hosts?   rsync
>does come to mind, but how to do so securely from each host?   I'd
>consider something via ssh, but that would mean an interactive login,
>and encrypting individual files on the hosts is not an option.

Rsync's default transport _is_ ssh, and I understood you can't even change
that in current versions. That's pretty secure and can be automated...
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Inquiry:Migration from Linux 7.2 to CentOS 5

2009-09-12 Thread John R Pierce
hadi motamedi wrote:
> Dear All
> Can you please do me favor and let me know what are the highlights of 
> major benefits of CentOS Release 5 (Final) over the RedHat Linux 7.2 
> (Enigma) as we are going to migrate to it

Benefits are in the eye of the beholder.

Red Hat Linux 7.x is about 8 years old, and has been a discontinued and 
unsupported product for about 6 years, which means no security updates 
or anything.  It also won't have any support for any new hardware since 
it was disccontinued circa 2003.

CentOS 5, based on RHEL 5, is a current actively supported product.   
Its built with a much newer kernel, newer versions of all the major 
components (GCC, glibc, apache, php, python, mysql, postgres, X windows, 
gnomee, kde, lvm, md-raid, etc etc etc.


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


Re: [CentOS] Cloud Computing

2009-09-12 Thread Karanbir Singh
On 09/11/2009 09:10 PM, Matt wrote:
> Any progress on this?
>

what does your redhat contact say about that ?


-- 
Karanbir Singh : http://www.karan.org/  : 2522...@icq
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Inquiry:Migration from Linux 7.2 to CentOS 5

2009-09-12 Thread nate
hadi motamedi wrote:
> Dear All
> Can you please do me favor and let me know what are the highlights of major
> benefits of CentOS Release 5 (Final) over the RedHat Linux 7.2 (Enigma) as
> we are going to migrate to it ?

Red hat 7.2 is very similar to RHEL 2.1, I migrated a bunch of
systems from RH 7.2 to RHEL 2.1 because of this back in 2003,
then to RHEL 3 in 2005.

So read the release notes for:

RHEL 3
RHEL 4
RHEL 5

And add up the differences.

nate


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


Re: [CentOS] Securely backing up Linux machines to NAS?

2009-09-12 Thread R-Elists

nice simple script and setup info here...

http://www.jms1.net/code/rsync-backup.shtml

 - rh

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


[CentOS] Centos 5.4 'prerelease-access' - is there such a thing?

2009-09-12 Thread Peter l Jakobi
Hi,

excluding  the  Frankengrade  from CENTOS5.3 to upstream  RHEL5.4,  is
there are procedure / repository access / nightly builds / ... to what
will be CENTOS 5.4?

URLs? Howtos? Discussion threads or notes?

I  checked  help, wiki and forums and google, but came up empty. 

Of  course, this kind of use is depending on the way the new  upstream
RHEL  sources are processed, so maybe there won't be a complete set of
packages  at all until maybe one or two weeks before the release.  But
again I got no lucky search hits for this kind of internals either.

I'll  gladly collect and summarize for a (hopefully easier  locatable)
wiki-page to be :).

cu,
Peter

-- 
cu
Peter l Jakobi
li...@kefk.oa.shuttle.de
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] problem with a repo

2009-09-12 Thread Rob Kampen

Dave wrote:

Hello,
I've got rpmforge and epel on centos 5.3. I'm trying to do an
install of perl-Image-Info for spamassassin image scanning. The package was
picked up in rpmforge since first, but it is failing to install because a
dependency is missing. I added perl-Image-Info to rpmforge's excludepkgs
line and tried to install the package again this time thinking it would pull
from epel. This did not occur yum still tried to fetch from rpmforge. For my
excludepkgs line i tried:

excludepkgs=package1,package2,perl-Image-Info

and since the changes weren't picked up i did:

excludepkgs=package1 package2 perl-Image-Info

Any help appreciated.
Thanks.
Dave.

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

the correct line is

exclude=package1 package2 perl-Image-Info

man yum is your friend
HTH
Rob

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


Re: [CentOS] startup message error

2009-09-12 Thread Gonzalo Ares PT




John R Pierce escribió:

  Gonzalo Ares wrote:
  
  
The error is:
kernel: PCI: BIOS Bug: MCFG area at e000 is not E820-reserved
The mainboard is a Asus p5q
The centos is: 5.3 (2.6.18-128.7.1.el5)
  

  
  
do you have the latest BIOS on that board?   looks like they have 
released several updates, latest being 2102 (assuming its the basic p5q 
and not one of hte innumerable proturbohyper++ versions)
.   This wouldn't be the first time an Asus board has had bad 
PCI/ACPI/etc data structures in its BIOS.

googling for that error indicates if you're running xen, its totally 
bogus, if you're running a regular kernel, its an indication of a BIOS 
problem, but it should have no impact on your system operation or 
performance.

  

Yes im using normal kernel, and i not have upgraded the bios.

The next step will upgrade the bios. 
Thanks in advance




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


Re: [CentOS] SELinux Relabeling

2009-09-12 Thread Jorge Fábregas
On Wednesday 09 September 2009 08:08:27 am Jorge Fábregas wrote:
>  If I perform "matchpathcon  /var/whatever" I still get var_t as
> its default type. Then again, why it kept the httpd_sys_content_t after the
> relabel?

I did the same test on Fedora 10 (which of course is way newer than Centos) 
and it behaves different (the way I had in mind):  after a relabel thru
./autorelabel, all the files & directories I create under /var return to var_t 
(if there's no override in file_contexts.local).  

In CentOS 5.3, If I manually change from var_t to something else, when I 
relabel the filesystem, the file keeps the type I specified (and not the 
default it should have based on its location). Please if anyone knows why 
this happens i'd be glad to know.

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


[CentOS] vsftp strangeness

2009-09-12 Thread Eugene Vilensky
Greetings,

When logging into my VSFTPD server, my clients recieve this:

220 (vsFTPd 2.0.5)
Name (--): user
331 Please specify the password.
Password:
421 Service not available, remote server has closed connection
Login failed.


vsftpd logs show that everything went ok:

Sat Sep 12 15:52:02 2009 [pid 1131] CONNECT: Client ""
Sat Sep 12 15:52:02 2009 [pid 1131] FTP response: Client "", "220
(vsFTPd 2.0.5)"
Sat Sep 12 15:52:04 2009 [pid 1131] FTP command: Client "", "USER user"
Sat Sep 12 15:52:04 2009 [pid 1131] [user] FTP response: Client "",
"331 Please specify the password."
Sat Sep 12 15:52:06 2009 [pid 1131] [user] FTP command: Client "",
"PASS "
Sat Sep 12 15:52:06 2009 [pid 1130] [user] OK LOGIN: Client ""

/etc/shells is correct, there is no chroot user list involved, there
are no pam-auth error events in /var/log/secure.

In fact, just for giggles, i made all of the possible auth errors that
i know of and they generally provide a very explicit error:  "530
Login incorrect."


I have restricted the port range for passv and opened iptables,
ip_conntrack_ftp (sp?) is loaded, and port 20 and 21 are opened.

Anyone seen this similar?




Regards,
Eugene Vilensky
evilen...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Inquiry:Migration from Linux 7.2 to CentOS 5

2009-09-12 Thread Les Mikesell
John R Pierce wrote:
> 
>> Can you please do me favor and let me know what are the highlights of 
>> major benefits of CentOS Release 5 (Final) over the RedHat Linux 7.2 
>> (Enigma) as we are going to migrate to it
> 
> Benefits are in the eye of the beholder.
> 
> Red Hat Linux 7.x is about 8 years old, and has been a discontinued and 
> unsupported product for about 6 years, which means no security updates 
> or anything.  It also won't have any support for any new hardware since 
> it was disccontinued circa 2003.
> 
> CentOS 5, based on RHEL 5, is a current actively supported product.   
> Its built with a much newer kernel, newer versions of all the major 
> components (GCC, glibc, apache, php, python, mysql, postgres, X windows, 
> gnomee, kde, lvm, md-raid, etc etc etc.

If 7.x is running as a server, you can probably replace it with CentOS 5 with 
all the same services and not notice the difference. The CIPE vpn is the only 
thing I can think of that has been dropped and if you use imap you'll have to 
switch to dovecot.  There are many new features, but assuming that not needing 
them is the reason you haven't upgraded sooner, the real reason to move to 
CentOS is that there are regular updates for security and bugfixes that are 
well 
tested to not break existing behavior.   If you haven't updated since the 
pre-RHEL days, this may come as a shock, but within the long lifespan of a 
major 
RHEL/CentOS release you can 'yum update' (and reboot if you get a new kernel or 
library set) and everything just keeps working the same as before or better.

One thing to watch out for is that if you have more than one network interface, 
there's a fair change that the 2.6 kernel will detect them in a new order.  If 
you configure them with the GUI interface the hardware MAC address will be 
picked up in the configs to keep them from changing again.

-- 
   Les Mikesell
lesmikes...@gmail.com

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


Re: [CentOS] Securely backing up Linux machines to NAS?

2009-09-12 Thread Les Mikesell
Scott Ehrlich wrote:
> I have been tasked with having a Buffalo Terastation Pro 2 NAS box,
> likely to be connected to a Linux box via samba, be the storage device
> to back up mostly Ubuntu and Centos systems.  The trick is, the
> machines to be backed up need to do so in an automated fashion and
> make a secure, encrypted connection to my Linux box hosting the NAS.
> The NAS does have SSL enabled for web admin access, though the same
> login credentials are used to authenticate the Linux host via samba to
> the NAS.
> 
> So what are the simplest options to back up the Linux hosts?   rsync
> does come to mind, but how to do so securely from each host?   I'd
> consider something via ssh, but that would mean an interactive login,
> and encrypting individual files on the hosts is not an option.
> 
> NFS is also available on the NAS, but considering the security
> concerns, I will not use that, nor do I want to enable any more
> services on the linux machines being backed up than necessary, meaning
> samba is not an option, unless it remains the ONLY one.
> 
> I ONLY plan to use samba to mount the NAS to my Linux server, unless
> someone comes up with a more secure method, or even away to negate the
> need of the Linux server and permit the hosts to back up directly to
> the NAS...

I always recommend looking at backuppc first for an online backup service 
because it gets almost everything right and has a simple web interface for 
configuration and acces.  It's not a real good fit for a NAS though.  You could 
probably make it work over NFS - and fix the security issue by connecting it 
directly to a 2nd NIC on the linux box and nothing else, but it would be much 
easier to just add some large drives either internally or via eSATA on the 
linux 
box itself.  It can't use samba-mounted storage for it's archive because it 
uses 
hard links to save space for duplicate files.

-- 
   Les Mikesell
lesmikes...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Securely backing up Linux machines to NAS?

2009-09-12 Thread Jake
You'll want to look into rsync over ssh with ssh key-based authentication.

On 9/12/09, Les Mikesell  wrote:
> Scott Ehrlich wrote:
>> I have been tasked with having a Buffalo Terastation Pro 2 NAS box,
>> likely to be connected to a Linux box via samba, be the storage device
>> to back up mostly Ubuntu and Centos systems.  The trick is, the
>> machines to be backed up need to do so in an automated fashion and
>> make a secure, encrypted connection to my Linux box hosting the NAS.
>> The NAS does have SSL enabled for web admin access, though the same
>> login credentials are used to authenticate the Linux host via samba to
>> the NAS.
>>
>> So what are the simplest options to back up the Linux hosts?   rsync
>> does come to mind, but how to do so securely from each host?   I'd
>> consider something via ssh, but that would mean an interactive login,
>> and encrypting individual files on the hosts is not an option.
>>
>> NFS is also available on the NAS, but considering the security
>> concerns, I will not use that, nor do I want to enable any more
>> services on the linux machines being backed up than necessary, meaning
>> samba is not an option, unless it remains the ONLY one.
>>
>> I ONLY plan to use samba to mount the NAS to my Linux server, unless
>> someone comes up with a more secure method, or even away to negate the
>> need of the Linux server and permit the hosts to back up directly to
>> the NAS...
>
> I always recommend looking at backuppc first for an online backup service
> because it gets almost everything right and has a simple web interface for
> configuration and acces.  It's not a real good fit for a NAS though.  You
> could
> probably make it work over NFS - and fix the security issue by connecting it
> directly to a 2nd NIC on the linux box and nothing else, but it would be
> much
> easier to just add some large drives either internally or via eSATA on the
> linux
> box itself.  It can't use samba-mounted storage for it's archive because it
> uses
> hard links to save space for duplicate files.
>
> --
>Les Mikesell
> lesmikes...@gmail.com
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>

-- 
Sent from my mobile device

Jake Paulus
jakepau...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] problem with a repo

2009-09-12 Thread Mr. X


--- On Fri, 9/11/09, Dave  wrote:

> From: Dave 
> Subject: [CentOS] problem with a repo
> To: "'CentOS mailing list'" 
> Date: Friday, September 11, 2009, 8:55 PM
> Hello,
> I've got rpmforge and epel on centos
> 5.3. I'm trying to do an
> install of perl-Image-Info for spamassassin image scanning.
> The package was
> picked up in rpmforge since first, but it is failing to
> install because a
> dependency is missing. 

if the missing depends is ExtUtils::MakeMaker or perl-ExtUtils-MakeMaker, then 
you have a problem. This perl module is provided by perl.rpm in C5.x and the 
RPM DB will generate errors if you try and update the module.

So take your medicine and don't force the install. One workaround is to install 
perl from source and run it somewhere other /usr/bin/.

-- 
Mark


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


Re: [CentOS] Inquiry:Migration from Linux 7.2 to CentOS 5

2009-09-12 Thread Bart Schaefer
On Sat, Sep 12, 2009 at 12:13 AM, hadi motamedi  wrote:
> Can you please do me favor and let me know what are the highlights of major
> benefits of CentOS Release 5 (Final) over the RedHat Linux 7.2 (Enigma) as
> we are going to migrate to it ?

The major benefits of upgrading, as I see it are:
(1) Ongoing support and security
(2) New software packages and more recent versions of many old ones

The major drawbacks are:
(1) Support for some older hardware is gone
(2) Several packages have been discontinued or replaced with inferior
alternatives [*]
(3) Any custom software that depends on libc5 is out of luck

[* due to stricter licensing constraints]
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Inquiry:Migration from Linux 7.2 to CentOS 5

2009-09-12 Thread Ron Loftin

One piece of information I have not seen in this thread is that the
"old" RHL 7.2 was the basis for RedHat Enterprise Linux 2.1, which had
its support ended earlier this year.

That being said, I will now add my voice to those pointing out that in
today's Internet environment, it is only prudent to get yourself onto
some OS that is currently maintained, with patches for bugs and fixes
for newly-discovered security issues.

My $0.02 ( US ) worth.

On Sat, 2009-09-12 at 10:00 -0700, Bart Schaefer wrote:
> On Sat, Sep 12, 2009 at 12:13 AM, hadi motamedi  wrote:
> > Can you please do me favor and let me know what are the highlights of major
> > benefits of CentOS Release 5 (Final) over the RedHat Linux 7.2 (Enigma) as
> > we are going to migrate to it ?
> 
> The major benefits of upgrading, as I see it are:
> (1) Ongoing support and security
> (2) New software packages and more recent versions of many old ones
> 
> The major drawbacks are:
> (1) Support for some older hardware is gone
> (2) Several packages have been discontinued or replaced with inferior
> alternatives [*]
> (3) Any custom software that depends on libc5 is out of luck
> 
> [* due to stricter licensing constraints]
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
-- 
Ron Loftin  relof...@twcny.rr.com

"God, root, what is difference ?"   Piter from UserFriendly

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


Re: [CentOS] Inquiry:Migration from Linux 7.2 to CentOS 5

2009-09-12 Thread Les Mikesell
Ron Loftin wrote:
> One piece of information I have not seen in this thread is that the
> "old" RHL 7.2 was the basis for RedHat Enterprise Linux 2.1, which had
> its support ended earlier this year.
> 
> That being said, I will now add my voice to those pointing out that in
> today's Internet environment, it is only prudent to get yourself onto
> some OS that is currently maintained, with patches for bugs and fixes
> for newly-discovered security issues.

And if there is some real need to stay on an old distribution or keep running a 
2.4 kernel, CentOS 3.x would still be an option, although at this point if you 
are going to update you might as well deal with the differences and use 5.x.

-- 
   Les Mikesell
lesmikes...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Securely backing up Linux machines to NAS?

2009-09-12 Thread John R Pierce
Jake wrote:
> You'll want to look into rsync over ssh with ssh key-based authentication.
>   

indeed, note, the Terastation is in fact an embedded linux box and quite 
'hackable'.first link on google for: terastation ssh rsync,  says 
its easy to enable ssh and rsync, see 
http://bigdiver.wordpress.com/2008/07/24/installing-rsync-and-unison-on-the-buffalo-terastation-live/



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


Re: [CentOS] SELinux Relabeling

2009-09-12 Thread A. Kirillov
> >  If I perform "matchpathcon  /var/whatever" I still get var_t as
> > its default type. Then again, why it kept the httpd_sys_content_t after the
> > relabel?
> 
> I did the same test on Fedora 10 (which of course is way newer than Centos) 
> and it behaves different (the way I had in mind):  after a relabel thru
> ./autorelabel, all the files & directories I create under /var return to 
> var_t 
> (if there's no override in file_contexts.local).  
> 
> In CentOS 5.3, If I manually change from var_t to something else, when I 
> relabel the filesystem, the file keeps the type I specified (and not the 
> default it should have based on its location). Please if anyone knows why 
> this happens i'd be glad to know.

Read this thread:
https://www.redhat.com/archives/fedora-selinux-list/2009-July/msg00141.html

HTH
Sasha


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


[CentOS] CentOS 4 not recognizing SAS / AIC 9410?

2009-09-12 Thread Benjamin Smith
I'm trying to install CentOS 4 on a new Supermicro 1U system with an Adaptec 
9410 SAS controller. I'm not interested in RAID or anything, just want to 
install bare on the drive. 

But while the installer "sees" the Adaptec controller well enough to load 
"Adaptec 94xx" drivers, the installer it tells me that there are no drives 
installed when I try to partition.

 I've checked out the drive using the adaptec BIOS utilities, tried formatting 
it, etc and I see a message about "1 JBOD DRIVE(S)" during the BIOS init 
before CentOS boots up. When I call SuperMicro, they tell me that I need to 
get the floppy disk image 

> ftp://ftp.supermicro.com/driver/SAS/Adaptec/Linux/11699/ 

but I don't have a floppy disk in the machine, and anaconda does install the 
94xx driver, which leads me to believe that there's something else going on. 

Any idea where I should go from here? I get the feeling that I'm just missing 
something basic 

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

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


Re: [CentOS] SELinux Relabeling

2009-09-12 Thread Jorge Fábregas
On Saturday 12 September 2009 03:31:25 pm A. Kirillov wrote:
> Read this thread:
> https://www.redhat.com/archives/fedora-selinux-list/2009-July/msg00141.html

Arrgh Sasha right on!!!  Thanks so much!  I had no idea 
about "Customizable Types" and indeed httpd_sys_content_t is one of them!!

 I've been trying to figure this out for a couple of days and now the search 
is over!   Thanks a milion! 

All the best,
Jorge
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Securely backing up Linux machines to NAS?

2009-09-12 Thread Benjamin Smith
... and you are welcome enough to use my rsync/ssh backup scripts... 

http://www.effortlessis.com/backupbuddy

On Saturday 12 September 2009 12:06:59 John R Pierce wrote:
> Jake wrote:
> > You'll want to look into rsync over ssh with ssh key-based
> > authentication.
>
> indeed, note, the Terastation is in fact an embedded linux box and quite
> 'hackable'.first link on google for: terastation ssh rsync,  says
> its easy to enable ssh and rsync, see
> http://bigdiver.wordpress.com/2008/07/24/installing-rsync-and-unison-on-the
>-buffalo-terastation-live/
>
>
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

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


Re: [CentOS] Persisting iproute2 routes and rules

2009-09-12 Thread David Hrbáč
Diogo Sperb Schneider napsal(a):
> Greetings!
> 
> I have defined a few routes and rules with:
> 
> ip route add ...
> ip rule add ...
> 
> And now I'd like to persist those so they're loaded when the system boots up.
> 
> I'm doing this by means of calling a specific script from
> /etc/rc.d/rc.local but I believe there must be something cleaner than
> that, like another existing file.
> 
> Thanks in advance,
> Diogo

Hi,

--[ File: /etc/sysconfig/static-routes ]--(0644, root, root,
122)---
any net 192.168.36.0 netmask 255.255.255.0 gw 192.168.38.254
any net 192.168.37.0 netmask 255.255.255.0 gw 192.168.38.253

David Hrbáč
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Persisting iproute2 routes and rules

2009-09-12 Thread John R Pierce
David Hrbáč wrote:
> Diogo Sperb Schneider napsal(a):
>   
>> I have defined a few routes and rules with:
>>
>> ip route add ...
>> ip rule add ...
>> 
>
> --[ File: /etc/sysconfig/static-routes ]--(0644, root, root,
> 122)---
> any net 192.168.36.0 netmask 255.255.255.0 gw 192.168.38.254
> any net 192.168.37.0 netmask 255.255.255.0 gw 192.168.38.253
>   

but how do you add

ip rule ...

with that?   AFAIK, that file is processed with the legacy route(8) 
command, which has somewhat different syntax than the newer ip(8) command





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


Re: [CentOS] CentOS vs Fedora?

2009-09-12 Thread Ron Blizzard
On Thu, Sep 10, 2009 at 4:28 PM, Lanny Marcus  wrote:
> On Tue, Sep 8, 2009 at 6:31 PM, David Suhendrik  wrote:
>> I'm newbie and i want to know Your opinion about CentOS vs Fedora, hopefully
>> this isn't make a flame, and just to curious..
>> Actucally now I'm using CentOS as some servers. ^_^'
>
> Catching up on reading the list and here are my 2 cents: We started
> out using Red Hat Linux on our home desktops. Then we tried several
> versions of Fedora, years ago. Some with excellent results and some
> with bad results. Using CentOS now and it's a winner. If you have some
> very recent HW, or a Laptop,  you may need to use Fedora, but if not,
> CentOS is the way to go, IMHO. Test your boxes with a CentOS LiveCD
> before you do an install onto bare metal, to be sure it will run OK on
> your HW.  If you need the latest and greatest, this isn't the distro
> you want, but if you want long life, stability and security, this is
> the way to go.

This basically describes my path and conclusions. Fedora is currently
much better than what it was, but for a couple of releases it was so
"cutting edge" that it had issues. I liked the  earlier versions and I
like the last two, but there was a while there where I didn't like
Fedora much at all. Still prefer CentOS, though.

-- 
RonB -- Using CentOS 5.3
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS vs Fedora?

2009-09-12 Thread Ron Blizzard
On Thu, Sep 10, 2009 at 4:59 PM, Les Mikesell  wrote:

> Unfortunately you often want a different tradeoff between stability and
> features in the base OS and the applications you use and the way
> distributions are packaged makes it difficult to get both right all the
> time.  In the first year or maybe even two after a CentOS version is
> released, the applications aren't two badly out of date.  After that,
> you are happy that your system isn't crashing but you'll start to miss
> the features that are included in fresher releases and probably start to
> run into bugs that won't ever have the fixes backed into the old
> application versions.  Sometimes you can find newer versions on 3rd
> party sites like rpmforge, sometimes you can build your own (both with
> some risk) and sometimes you just put up with what's there knowing you
> are years behind current development.

The only program that I want to run on CentOS that I can't (or haven't
figured out how to do it yet) is Celtx. Everything else that I've
thrown at it at has worked out of the box. Of course, that might have
something to do with the fact that I have the RPMForge repository set
up.

-- 
RonB -- Using CentOS 5.3
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] trouble playing quicktimes at apple.com/trailers

2009-09-12 Thread Ron Blizzard
On Thu, Sep 10, 2009 at 7:38 PM, fred smith
 wrote:

> Doggone those Apple folks. why would they be so stingy as to PREVENT people
> from using otherwise-compatible players from seeing the trailer? Just
> doesn't make sense in any way other than sheer meanness. I mean, what real
> business justification could there be?

Apple is weird that way. They tried to do the same thing with the Palm
Pre -- keep them from working with iTunes seemlessly. Okay, every
iTune Apples sells they make money, so why keep Palm Pre users from
making them money? Odd.

-- 
RonB -- Using CentOS 5.3
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 4 not recognizing SAS / AIC 9410?

2009-09-12 Thread Benjamin Smith
Found the problem. For some reason, JBOD drives won't be recognized by Linux 
when the card is set up to enable RAID, even with no RAID devices defined. 

Another weird thing: this system has a "keyboard controller frequency" setting 
and the USB keyboard won't be recognized by Linux when it's not set to 6 Mhz. 
(who woulda thunk?) 

Posted for posterity... 

-Ben 

On Saturday 12 September 2009 12:42:00 Benjamin Smith wrote:
> I'm trying to install CentOS 4 on a new Supermicro 1U system with an
> Adaptec 9410 SAS controller. I'm not interested in RAID or anything, just
> want to install bare on the drive.
>
> But while the installer "sees" the Adaptec controller well enough to load
> "Adaptec 94xx" drivers, the installer it tells me that there are no drives
> installed when I try to partition.
>
>  I've checked out the drive using the adaptec BIOS utilities, tried
> formatting it, etc and I see a message about "1 JBOD DRIVE(S)" during the
> BIOS init before CentOS boots up. When I call SuperMicro, they tell me that
> I need to get the floppy disk image
>
> > ftp://ftp.supermicro.com/driver/SAS/Adaptec/Linux/11699/
>
> but I don't have a floppy disk in the machine, and anaconda does install
> the 94xx driver, which leads me to believe that there's something else
> going on.
>
> Any idea where I should go from here? I get the feeling that I'm just
> missing something basic

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

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


Re: [CentOS] yum issue with extras repo? OMG OMFG OMFFG!!!

2009-09-12 Thread Dave Stevens
On Wednesday 09 September 2009 01:02:53 pm Dave Stevens wrote:
> Hello All,
>
> As you can see below I am having a problem checking for updates. This
> happens repeatedly. I have to kill the process then rerun. I have
> tried "yum clean all" but no joy - the process hangs again on "extras"
> - see second listing below. Suggestions?
>
> Dave

well, I didn't expect to stir up such a lot of contention, that's for sure.

I tried Akemi's suggestions to no avail. The suggestions others have made are 
worth pursuing too but I haven't got to them yet.

Yes, I do have a good reason for including third party repos. One of my sites 
uses a web GIS application hosted on the server and it needs the pgdg83 repo. 
I use Virtualmin to manage the server and so their repos are in there too.

In actual practice this issue is going to get solved in another way. I've just 
been given enough budget to replace the server so I plan to go to Centos 5.4 
and to provide a virtual machine for that one app on its own. Then it will be 
up to the developer to manage repos as needed.

Some of the remarks have referenced corrupt metadata. I thought of this, ran 
yum clean all, no joy. I assume that if there were a problem with a core 
Centos repo I'd hear about it on the list so I have not worried about that.

Thanks to all who answered.

Dave

>
> [r...@cserver ~]# yum check-update
> Loaded plugins: fastestmirror, priorities
> Loading mirror speeds from cached hostfile
>

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


Re: [CentOS] yum issue with extras repo?

2009-09-12 Thread Dave Stevens
On Friday 11 September 2009 10:47:31 am Jim Perrin wrote:
> yum -d6
> check-update

Like this:

[r...@cserver ~]# yum -d6 check-update
Loading "fastestmirror" plugin
Loading "priorities" plugin
Loaded plugins: fastestmirror, priorities
Running "config" handler for "priorities" plugin
Config time: 0.449
Running "init" handler for "fastestmirror" plugin
Yum Version: 3.2.19
COMMAND: yum -d6 check-update 
Installroot: /
Setting up Package Sacks
Running "postreposetup" handler for "fastestmirror" plugin
Determining fastest mirrors
 * epel: fedora.mirror.facebook.net
 * base: ftp.telus.net
 * updates: ftp.telus.net
 * addons: ftp.telus.net
 * extras: ftp.telus.net
epel | 2.1 kB 00:00 
primary.sqlite.bz2   | 2.6 MB 00:15 
virtualmin   |  951 B 00:00 
primary.xml.gz   |  70 kB 00:00 
virtualmin 254/254
pgdg83   | 1.9 kB 00:00 
primary.sqlite.bz2   | 120 kB 00:00 
virtualmin-universal |  951 B 00:00 
primary.xml.gz   |  11 kB 00:00 
base | 1.1 kB 00:00 
primary.xml.gz   | 878 kB 00:03 
base   2508/2508
updates  |  951 B 00:01 
primary.xml.gz   | 318 kB 00:01 
updates479/479
addons   |  951 B 00:00 
primary.xml.gz   |  157 B 00:00 
extras   | 1.1 kB 00:00 
primary.xml.gz   | 107 kB 00:00 
extras 324/324
Running "exclude" handler for "priorities" plugin
pkgsack time: 48.960
Reading Local RPMDB
rpmdb time: 0.001
Building updates object


hangs here

Dave


-- 
Canada must refuse to be entangled in any more wars fought to make the world 
safe for capitalism.

-- The Regina Manifesto, 1933
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] yum issue with extras repo?

2009-09-12 Thread John R. Dennison
On Sat, Sep 12, 2009 at 04:03:40PM -0700, Dave Stevens wrote:
>
> rpmdb time: 0.001
> Building updates object
> 
> hangs here

I've seen similar when the rpm sqlite databases are wedged.

You might want to try "rm -f /var/lib/rpm/__db.00?" to
remove the intermediate files, and then try running the
yum update again.




John

-- 
Much of what looks like rudeness in hacker circles is not intended to give
offence. Rather, it's the product of the direct, cut-through-the-bullshit
communications style that is natural to people who are more concerned about
solving problems than making others feel warm and fuzzy.
http://www.tuxedo.org/~esr/faqs/smart-questions.html


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


[CentOS] guestbook for centos 4 or 5 ???

2009-09-12 Thread R-Elists

does anyone have a very secure & reliable recommendation for a guestbook
solution for virtual hosting on centos 4 or 5 ?

 - rh

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


Re: [CentOS] guestbook for centos 4 or 5 ???

2009-09-12 Thread Rainer Duffner

Am 13.09.2009 um 01:45 schrieb R-Elists:

>
> does anyone have a very secure & reliable recommendation for a  
> guestbook
> solution for virtual hosting on centos 4 or 5 ?


May I ask what purpose the guestbook should serve?

You could just install wordpress and moderate every comment before  
it's posted.
Guestbooks only accumulate spams.
Who writes into guestbooks nowadays?
I've got a blog myself and of the 500 or so comments it has  
accumulated, 495 are spam.
Of those that are not spam, three are useless and one commenter could  
also have emailed me, because she has my address.

Guestbooks are sooo "90s"
;-)



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


Re: [CentOS] trouble playing quicktimes at apple.com/trailers

2009-09-12 Thread fred smith
On Sat, Sep 12, 2009 at 04:49:32PM -0500, Ron Blizzard wrote:
> On Thu, Sep 10, 2009 at 7:38 PM, fred smith
>  wrote:
> 
> > Doggone those Apple folks. why would they be so stingy as to PREVENT people
> > from using otherwise-compatible players from seeing the trailer? Just
> > doesn't make sense in any way other than sheer meanness. I mean, what real
> > business justification could there be?
> 
> Apple is weird that way. They tried to do the same thing with the Palm
> Pre -- keep them from working with iTunes seemlessly. Okay, every
> iTune Apples sells they make money, so why keep Palm Pre users from
> making them money? Odd.

yeah. similar to when Yahoo kept tweaking their messaging protocol to
prevent MSN messenger from connecting to it. Or AOL would mess with the
AIM protocol to keep GAIM from connecting. and so forth.

-- 
 Fred Smith -- fre...@fcshome.stoneham.ma.us -
The Lord detests the way of the wicked 
  but he loves those who pursue righteousness.
- Proverbs 15:9 (niv) -
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] trouble playing quicktimes at apple.com/trailers

2009-09-12 Thread Rainer Duffner

On 12.09.2009 at 23:49 Ron Blizzard wrote :

> On Thu, Sep 10, 2009 at 7:38 PM, fred smith
>  wrote:
>
>> Doggone those Apple folks. why would they be so stingy as to  
>> PREVENT people
>> from using otherwise-compatible players from seeing the trailer? Just
>> doesn't make sense in any way other than sheer meanness. I mean,  
>> what real
>> business justification could there be?
>
> Apple is weird that way. They tried to do the same thing with the Palm
> Pre -- keep them from working with iTunes seemlessly.


Well, I assume they did this because Palm is making money from the  
Pre, but they probably "forgot" to license iTunes for the use of  
syncing with the Pre.

I can't blame Apple for being "unhappy" with that.
In addition, if they would let Palm get through with that, other  
companies would soon follow. Maybe at some point, Apple will choose to  
actually allow that (maybe via some API), but currently this is not  
the case.

I should say that I do own an iPhone, together with most other people  
at my workplace (few exceptions, like the boss - but his wife has one)  
and it does most of the stuff I would have wanted from a Linux-powered  
phone.
Unfortunately, that one never materialized.



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


Re: [CentOS] CentOS 5.3 - Activating laptop wireless card - problems installing bcm4311 driver

2009-09-12 Thread Paul
Hey Andy,

I to am stuck trying to get my wireless working as well. It looks like I
am one step ahead of you. I am also trying to compile the same driver.
This is where I have gotten so far:


[r...@localhost hybrid_wl]# make -C /lib/modules/2.6.18-128.7.1.el5/build 
M=`pwd`
make: Entering directory `/usr/src/kernels/2.6.18-128.7.1.el5-x86_64'
  CC [M]  /home/ferrell/Downloads/hybrid_wl/src/wl/sys/wl_linux.o
In file included
from /home/ferrell/Downloads/hybrid_wl/src/wl/sys/wl_linux.c:33:
/home/ferrell/Downloads/hybrid_wl/src/include/typedefs.h:83: error:
conflicting types for ‘bool’
include/linux/types.h:36: error: previous declaration of ‘bool’ was here
make[1]: *** [/home/ferrell/Downloads/hybrid_wl/src/wl/sys/wl_linux.o]
Error 1
make: *** [_module_/home/ferrell/Downloads/hybrid_wl] Error 2
make: Leaving directory `/usr/src/kernels/2.6.18-128.7.1.el5-x86_64'
[r...@localhost hybrid_wl]# 

*

>From what I can see you need to check the kernel entry in your command
line. Also have you upgraded to the newer kernel? I did something
similar. I somehow got a mix of new kernel headers and source, but the
older kernel was still running. I also have a broken symbolic link in
for the /lib/modules/2.6.18-128.7.1.el5/build file. 

Once I got passed that issue, I ran into another. I had to install gcc. 

I used the command: yum install gcc*  and installed the packages.

Now I am getting the above error message: error: "conflicting types for
‘bool’" & "previous declaration of ‘bool’ was here"

So once again I am stuck. If anyone out there has any ideas -- I'm all
ears.

Thanks,
Ferrell 




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


[CentOS] Linux Zombie Web Servers

2009-09-12 Thread Johnny Hughes
Linked below are details about a new outbreak of hijacked linux web
servers that dispense malware.

http://blog.unmaskparasites.com/2009/09/11/dynamic-dns-and-botnet-of-zombie-web-servers/

I would highly recommend that you use nmap to scan all your Linux
webservers that are connected to the Internet to see if they are
listening on port 8080.

The best I can tell, there are no articles concerning how these guys
installed nginx or what is contained on a machine that has been
compromised.  But the best way to tell is to see if you are listening on
port 8080 (if you are not supposed to be listening there).  8080 is a
common port for java apps to be running on, so listening on 8080 is not
always necessarily bad.

Thanks,
Johnny Hughes




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


Re: [CentOS] cups / cli stopped print jobs problem

2009-09-12 Thread Paul Johnson
On Thu, Aug 13, 2009 at 9:51 AM, Blackburn, Marvin
 wrote:
> Thanks for the help.  There is a way to get the information, but its
> ugly.
> Was hoping for a more straight forward method.
>
> If a printer is down, I can us lpstat -l printer name to determine if a
> job is stopped, but I could not figure out a way to easily determine the
> status of jobs in the queue, such as stopped, processing, queued.
>
> _

I have the same problem.

Run

> lpq

to see the status of the jobs.

> lprm #job

to remove print #job.

This does not help, however, to understand why the printer just
randomly stops printing.  I have noticed that pdflatex seems to
generate some pdf files that Evince cannot print, but Adobe acroread
can open & print them.  My working hypothesis is that Evince or the
gtk print interface or CUPS fail on one of these jobs from Evince, and
then the whole print regime is hung.  If you have ideas, I'd be
delighted to hear it.

pj

-- 
Paul E. Johnson
Professor, Political Science
1541 Lilac Lane, Room 504
University of Kansas
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] guestbook for centos 4 or 5 ???

2009-09-12 Thread R-Elists
 

> 
> May I ask what purpose the guestbook should serve?
> 
> You could just install wordpress and moderate every comment 
> before it's posted.
> Guestbooks only accumulate spams.
> Who writes into guestbooks nowadays?
> I've got a blog myself and of the 500 or so comments it has 
> accumulated, 495 are spam.
> Of those that are not spam, three are useless and one 
> commenter could also have emailed me, because she has my address.
> 
> Guestbooks are sooo "90s"
> ;-) 
> Rainer

Ranier,

um basically a customer asked if i had something already for it...

i said ill look into it.

the first thing i also thought of was *wordpress*, yet then each person in
the family will want their own blog and i havent setup wordpress where it
will support multiple blogs with only one instance of wordpress in one
apache virtual domain space etc

 - rh

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


Re: [CentOS] guestbook for centos 4 or 5 ???

2009-09-12 Thread Ian Forde

On Sep 12, 2009, at 7:57 PM, "R-Elists"  wrote:

>
>
>>
>> May I ask what purpose the guestbook should serve?
>>
>> You could just install wordpress and moderate every comment
>> before it's posted.
>> Guestbooks only accumulate spams.
>> Who writes into guestbooks nowadays?
>> I've got a blog myself and of the 500 or so comments it has
>> accumulated, 495 are spam.
>> Of those that are not spam, three are useless and one
>> commenter could also have emailed me, because she has my address.
>>
>> Guestbooks are sooo "90s"
>> ;-)
>> Rainer
>
> Ranier,
>
> um basically a customer asked if i had something already for it...
>
> i said ill look into it.
>
> the first thing i also thought of was *wordpress*, yet then each  
> person in
> the family will want their own blog and i havent setup wordpress  
> where it
> will support multiple blogs with only one instance of wordpress in one
> apache virtual domain space etc
>

Why not try wordpress mu then?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Persisting iproute2 routes and rules

2009-09-12 Thread Barry Brimer
>>> I have defined a few routes and rules with:
>>>
>>> ip route add ...
>>> ip rule add ...
>
> but how do you add
>
>ip rule ...

/etc/syscontfig/network-scripts/rule-ethX
/etc/syscontfig/network-scripts/route-ethX

Check out /etc/sysconfig/network-scripts/ifup-routes to see exactly how 
things are processed.

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