Re: [CentOS] CentOS 5.2 with IBM SERVERAID 6i

2008-11-19 Thread Tim Verhoeven
On Tue, Nov 18, 2008 at 9:43 PM, Miguel Medalha <[EMAIL PROTECTED]> wrote:
>
>> It's a real raid adapter and the linux kernel is able to handle it with
>> the standard ips module
>>
> I found some references in Google that seemed to indicate a "fakeraid"
> controller, one that depends on the driver to do the RAID calculations...

All ServeRAID adapters from IBM are real hardware-based RAID cards.
The only exception are some cards then end with "e" in their name. But
all "ServerRAID Xi" cards are real HW RAID. Anyway, see here
"http://www.redbooks.ibm.com/abstracts/tips0054.html"; for a complete
overview of all IBM ServeRAID cards.

I've run a lot of machines with these type of ServeRAIDs and they all
worked fine.

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


[CentOS] I need help with CentOS installation on a Core 2 Duo Laptop

2008-11-19 Thread Sadaruwan Samaraweera
Hi,

 I've tried to install CentOS 5.2 on Core 2 Duo T5750 2.0Ghz laptop
but what happens is every thing hangs up when anconda system installer
starts. So I tried PCLinuxOS in it's text-based installer it detects
the CPU core 1 and when it try to detected the other one system gets
stuck. I tried these same two distro's  on another PC that have a AMD
X2 CPU on this PC I didn't had that problem everything went smoothly.

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


[CentOS] Migration from VMWare to HP Blade

2008-11-19 Thread Matthew Walster
Hi all,
A few months ago, I migrated some of our internal servers to HP blades, as
the VMWare box they were previously running on was getting too slow.

However, it wasn't without it's problems, and eventually the only way I
could get them to work was:

Install the same version of CentOS on the blade (believed to be 5.0, but
/etc/redhat-release says 5.2)
Took down both servers, booting them off the SystemRescueCD, mounting all
the partition on /mnt/transfer etc
Ran rsync to copy all the data from one to the other - except /boot and
/lib/modules
Brought the blade up, and saw that it booted fine.

However, a new kernel has been released and we tried rebooting... And it
panicked. It seems to be LVM related, in that it can't mount /dev/root - and
I've tried manually running mkinitrd to regenerate the initrd to no avail.

I was just wondering if anyone had encountered similar problems, and knew of
any solutions?

I'm from a debian background, so am a little unused to certain aspects -
when a yum upgrade installs a new kernel, where does it pull the information
for boot from? A configuration stanza from within grub's menu.lst?

Regards,



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


[CentOS] amd mobile on 1 cpu listed in /proc/cpuinfo

2008-11-19 Thread Jerry Geis

I just noticed that my Dual core mobile AMD ZM-82 is only showing
one processor in /proc/cpuinfo and not two.

Is there a reason? I am running centos 5.2 x86_64.
uname -a
Linux demobox.msgnet.com 2.6.18-92.el5 #1 SMP Tue Jun 10 18:51:06 EDT 
2008 x86_64 x86_64 x86_64 GNU/Linux



Jerry
--

more /proc/cpuinfo
processor   : 0
vendor_id   : AuthenticAMD
cpu family  : 17
model   : 3
model name  : AMD Turion(tm) X2 Ultra Dual-Core Mobile ZM-82
stepping: 1
cpu MHz : 600.000
cache size  : 1024 KB
physical id : 0
siblings: 1
core id : 0
cpu cores   : 1
fpu : yes
fpu_exception   : yes
cpuid level : 1
wp  : yes
flags   : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge 
mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext 
fxsr_opt rdtscp lm 3dnowext 3dn
ow constant_tsc up pni cx16 lahf_lm cmp_legacy svm extapic cr8_legacy 
misalignsse 3dnowprefetch

bogomips: 4393.73
TLB size: 1024 4K pages
clflush size: 64
cache_alignment : 64
address sizes   : 40 bits physical, 48 bits virtual
power management: ts ttp tm stc 100mhzsteps hwpstate [8]
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] New installation woes

2008-11-19 Thread Kai Schaetzl
Ralph Angenendt wrote on Wed, 19 Nov 2008 13:27:24 +0100:

> You seem to have the rpmforge repository installed, because the package
> in the base repositories is called perl-DBD-MySQL (note the mixed case
> MySQL).

and got replaced because the default install of yum-priorities doesn't 
check_obsoletes. base package perl-DBD-MySQL was indeed obsoleted by the 
rpmforge perl-DBD-mysql a few weeks ago. I fear a lot of people got caught 
by this without guard. I wonder why rpmforge did this.

Kai

-- 
Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com



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


Re: [CentOS] I need help with CentOS installation on a Core 2 Duo Laptop

2008-11-19 Thread Ralph Angenendt
Sadaruwan Samaraweera wrote:
> Hi,
> 
>  I've tried to install CentOS 5.2 on Core 2 Duo T5750 2.0Ghz laptop
> but what happens is every thing hangs up when anconda system installer
> starts. So I tried PCLinuxOS in it's text-based installer it detects
> the CPU core 1 and when it try to detected the other one system gets
> stuck. I tried these same two distro's  on another PC that have a AMD
> X2 CPU on this PC I didn't had that problem everything went smoothly.

Try installing with "linux acpi=off" (as the kernel command line for
syslinux).

The kernel which gets installed should be able to handle the system
after installation, the installer kernel sometimes has a few problems.

Cheers,

Ralph


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


[CentOS] CentOS-announce Digest, Vol 45, Issue 12

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

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

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

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


Today's Topics:

   1. CESA-2008:0988 Important CentOS 3 ia64 libxml2 -  security
  update (Pasi Pirhonen)
   2. CESA-2008:0988 Important CentOS 4 ia64 libxml2 -  security
  update (Pasi Pirhonen)
   3. CESA-2008:0967 Moderate CentOS 4 ia64 httpd - security update
  (Pasi Pirhonen)
   4. CESA-2008:0988 Important CentOS 3 s390(x) libxml2 - security
  update (Pasi Pirhonen)
   5. CESA-2008:0967 Moderate CentOS 4 s390(x) httpd -  security
  update (Pasi Pirhonen)
   6. CESA-2008:0988 Important CentOS 4 s390(x) libxml2 - security
  update (Pasi Pirhonen)
   7. CESA-2008:0977 Critical CentOS 4 i386 seamonkey   security
  update (Karanbir Singh)
   8. CESA-2008:0977 Critical CentOS 4 x86_64 seamonkey security
  update (Karanbir Singh)


--

Message: 1
Date: Tue, 18 Nov 2008 20:54:55 +0200
From: Pasi Pirhonen <[EMAIL PROTECTED]>
Subject: [CentOS-announce] CESA-2008:0988 Important CentOS 3 ia64
libxml2 -   security update
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="us-ascii"

CentOS Errata and Security Advisory 2008:0988

https://rhn.redhat.com/errata/RHSA-2008-0988.html

The following updated files have been uploaded and are currently
syncing to the mirrors:

ia64:
updates/ia64/RPMS/libxml2-2.5.10-14.ia64.rpm
updates/ia64/RPMS/libxml2-devel-2.5.10-14.ia64.rpm
updates/ia64/RPMS/libxml2-python-2.5.10-14.ia64.rpm


-- 
Pasi Pirhonen - [EMAIL PROTECTED] - http://pasi.pirhonen.eu/
Top-postings silently ignored
-- next part --
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : 
http://lists.centos.org/pipermail/centos-announce/attachments/20081118/73916436/attachment-0001.bin

--

Message: 2
Date: Tue, 18 Nov 2008 21:02:59 +0200
From: Pasi Pirhonen <[EMAIL PROTECTED]>
Subject: [CentOS-announce] CESA-2008:0988 Important CentOS 4 ia64
libxml2 -   security update
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="us-ascii"

CentOS Errata and Security Advisory 2008:0988

https://rhn.redhat.com/errata/RHSA-2008-0988.html

The following updated files have been uploaded and are currently
syncing to the mirrors:

ia64:
updates/ia64/RPMS/libxml2-2.6.16-12.6.ia64.rpm
updates/ia64/RPMS/libxml2-devel-2.6.16-12.6.ia64.rpm
updates/ia64/RPMS/libxml2-python-2.6.16-12.6.ia64.rpm


-- 
Pasi Pirhonen - [EMAIL PROTECTED] - http://pasi.pirhonen.eu/
Top-postings silently ignored
-- next part --
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : 
http://lists.centos.org/pipermail/centos-announce/attachments/20081118/9220bd57/attachment-0001.bin

--

Message: 3
Date: Tue, 18 Nov 2008 21:04:18 +0200
From: Pasi Pirhonen <[EMAIL PROTECTED]>
Subject: [CentOS-announce] CESA-2008:0967 Moderate CentOS 4 ia64 httpd
-   security update
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="us-ascii"

CentOS Errata and Security Advisory 2008:0967

https://rhn.redhat.com/errata/RHSA-2008-0967.html

The following updated files have been uploaded and are currently
syncing to the mirrors:

ia64:
updates/ia64/RPMS/httpd-2.0.52-41.ent.2.centos4.ia64.rpm
updates/ia64/RPMS/httpd-devel-2.0.52-41.ent.2.centos4.ia64.rpm
updates/ia64/RPMS/httpd-manual-2.0.52-41.ent.2.centos4.ia64.rpm
updates/ia64/RPMS/httpd-suexec-2.0.52-41.ent.2.centos4.ia64.rpm
updates/ia64/RPMS/mod_ssl-2.0.52-41.ent.2.centos4.ia64.rpm


-- 
Pasi Pirhonen - [EMAIL PROTECTED] - http://pasi.pirhonen.eu/
Top-postings silently ignored
-- next part --
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : 
http://lists.centos.org/pipermail/centos-announce/attachments/20081118/a582854a/attachment-0001.bin

--

Message: 4
Date: Tue, 18 Nov 2008 21:18:35 +0200
From: Pasi Pirhonen <[EMAIL PROTECTED]>
Subject: [CentOS-announce] CESA-2008:0988 Important CentOS 3 s390(x)
libxml2 - security update
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="us-ascii"

CentOS Errata and Security Advisory 2008:0988

https://rhn.redhat.com/errata/RHSA-200

Re: [CentOS] New installation woes

2008-11-19 Thread Ralph Angenendt
Sam Drinkard wrote:
> I've just installed CentOS 5.2 for the x86_64 on a SuperMicro X6DA8-G
> board with two 250g SATA drives configured in the bios as a raid 1
> array.  After getting the base installed, I've tried to yum update the
> system and I wind up with these errors
>
> --> Finished Dependency Resolution
> Error: Missing Dependency:
> libmysqlclient.so.14(libmysqlclient_14)(64bit) is needed by package
> perl-DBD-mysql

You seem to have the rpmforge repository installed, because the package
in the base repositories is called perl-DBD-MySQL (note the mixed case
MySQL). 

You should use the priorities plugin to clear that up. And you need to
exclude perl-DBD-mysql from the rpmforge repository, as the priorities
plugin seems to be case sensitive.

More information on Priorities:

http://wiki.centos.org/PackageManagement/Yum/Priorities

More info on Repositories:

http://wiki.centos.org/AdditionalResources/Repositories

Cheers,

Ralph


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


Re: [CentOS] I need help with CentOS installation on a Core 2 Duo Laptop

2008-11-19 Thread Jussi Hirvi
Ralph Angenendt ([EMAIL PROTECTED]) kirjoitteli (19.11.2008 14:29):
>> I've tried to install CentOS 5.2 on Core 2 Duo T5750 2.0Ghz laptop
>> but what happens is every thing hangs up when anconda system installer
>> starts. So I tried PCLinuxOS in it's text-based installer it detects
>> the CPU core 1 and when it try to detected the other one system gets
>> stuck. I tried these same two distro's  on another PC that have a AMD
>> X2 CPU on this PC I didn't had that problem everything went smoothly.
> 
> Try installing with "linux acpi=off" (as the kernel command line for
> syslinux).
> 
> The kernel which gets installed should be able to handle the system
> after installation, the installer kernel sometimes has a few problems.

Also the following option might be necessary: pci=nommconf

That is, for example
linux acpi=off pci=nommconf

- Jussi

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


[CentOS] Restricting dhcpd to an interface

2008-11-19 Thread Robert Moskowitz
I want to run dhcpd on my notebook to support test systems connecting on 
a separate interfaces.


I have looked at both the dhcpd and dhcpd.conf man pages and did not 
find an 'interface' option.


I will have 3 interfaces on my notebook.  One for the notebooks network 
access and two for test systems.  I want to serve different subnets on 
each of those interfaces, and have not figured this out yet.



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


Re: [CentOS] Restricting dhcpd to an interface

2008-11-19 Thread Laurentiu Coica
Try to use DHCPDARGS, like in :

# cat /etc/sysconfig/dhcpd
# Command line options here
DHCPDARGS=eth0

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


Re: [CentOS] CentOS 5.2 with IBM SERVERAID 6i

2008-11-19 Thread Ralph Angenendt
Fabian Arrotin wrote:
> If you use the hw raid, you can easily manager your raid array with  
> either ipssend cli or ServeRAID manager gui (both are downloadable from  
> IBM support website)

Faultdetection sucks with that, but you can use ipmitool for that:

[EMAIL PROTECTED] ~]# ipmitool sdr|grep Drive
Drive 1 Status   | 0x01  | ok
Drive 2 Status   | 0x01  | ok
Drive 3 Status   | Not Readable  | ns
Drive 4 Status   | Not Readable  | ns
[EMAIL PROTECTED] ~]# 

Cheers,

Ralph


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


[CentOS] Re: CentOS 5.2 with IBM SERVERAID 6i

2008-11-19 Thread Tom Diehl


Ralph Angenendt wrote:


Fabian Arrotin wrote:
> If you use the hw raid, you can easily manager your raid array with
> either ipssend cli or ServeRAID manager gui (both are downloadable from
> IBM support website)

Faultdetection sucks with that, but you can use ipmitool for that:

[EMAIL PROTECTED] ~]# ipmitool sdr|grep Drive
Drive 1 Status   | 0x01  | ok
Drive 2 Status   | 0x01  | ok
Drive 3 Status   | Not Readable  | ns
Drive 4 Status   | Not Readable  | ns
[EMAIL PROTECTED] ~]#


I installed the OpenIPMI packages but when I run the above command
I get the following:

(geppetto pts5) # ipmitool sdr
Could not open device at /dev/ipmi0 or /dev/ipmi/0 or /dev/ipmidev/0: No such 
file or directory
Get Device ID command failed
Unable to open SDR for reading
(geppetto pts6) # rpm -qa | grep -i ipmi
OpenIPMI-libs-2.0.6-6.el5
OpenIPMI-2.0.6-6.el5
OpenIPMI-tools-2.0.6-6.el5
(geppetto pts6) # lsmod | grep -i ipmi
(geppetto pts6) #

Is there something special that needs to be done to enable ipmitool? lsmod
shows that
none of the ipmi modules are loaded. Do I need some magic incantation in
/etc/modules.conf or is there some other package I need?

the machine is an ibm X3655 with C5 installed on it.

Regards,

--
Tom Diehl   [EMAIL PROTECTED]   Spamtrap address [EMAIL 
PROTECTED]
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] New installation woes

2008-11-19 Thread Sam Drinkard



Kai Schaetzl wrote:

Ralph Angenendt wrote on Wed, 19 Nov 2008 13:27:24 +0100:

  

You seem to have the rpmforge repository installed, because the package
in the base repositories is called perl-DBD-MySQL (note the mixed case
MySQL).



and got replaced because the default install of yum-priorities doesn't 
check_obsoletes. base package perl-DBD-MySQL was indeed obsoleted by the 
rpmforge perl-DBD-mysql a few weeks ago. I fear a lot of people got caught 
by this without guard. I wonder why rpmforge did this.


Kai

  
Yes, I did place rpmforge, mirrors.rpmforge, rhel-mondo, and rpmforge in 
the repos.  I had not installed the protect base or the priorities at 
the time of the intitial update.  Just now, I ran update with the other 
repos disabled and got about 5 libraries updated.  Now, what is the fix 
to update the rest of the things that amount to about 30 or so 
packages?  I will get the priorities and protect base before running any 
further updates.


Sam

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


Re: [CentOS] Re: CentOS 5.2 with IBM SERVERAID 6i

2008-11-19 Thread Ralph Angenendt
Tom Diehl wrote:
> I installed the OpenIPMI packages but when I run the above command
> I get the following:
>
> (geppetto pts5) # ipmitool sdr
> Could not open device at /dev/ipmi0 or /dev/ipmi/0 or /dev/ipmidev/0: No such 
> file or directory
> Get Device ID command failed
> Unable to open SDR for reading

service ipmi start 

And turn it on:

chkconfig ipmi on

Cheers,

Ralph


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


Re: [CentOS] New installation woes

2008-11-19 Thread Dag Wieers

On Wed, 19 Nov 2008, Kai Schaetzl wrote:


Ralph Angenendt wrote on Wed, 19 Nov 2008 13:27:24 +0100:


You seem to have the rpmforge repository installed, because the package
in the base repositories is called perl-DBD-MySQL (note the mixed case
MySQL).


and got replaced because the default install of yum-priorities doesn't
check_obsoletes. base package perl-DBD-MySQL was indeed obsoleted by the
rpmforge perl-DBD-mysql a few weeks ago. I fear a lot of people got caught
by this without guard. I wonder why rpmforge did this.


We did not do anything. It is a bug in the priorities plugin.

The reason we have a perl-DBD-mysql is because that is the upstream name 
and the naming convention dictates to use the upstream name. That is the 
only reliable way for not having RPM clashes.


Maybe someone should report to Red Hat that perl-DBD-MySQL has a packaging 
bug ?


http://search.cpan.org/dist/DBD-mysql/

--
--   dag wieers,  [EMAIL PROTECTED],  http://dag.wieers.com/   --
[Any errors in spelling, tact or fact are transmission errors]
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 5.2 with IBM SERVERAID 6i

2008-11-19 Thread Miguel Medalha



I've installed RHEL 4 on several IBM eSeries servers with ServeRaid
controllers and I despise them.  They fail too often and often don't
tell you that they are having problems until it is too late.  My
suggestion is to use Linux software for your RAID array, and bypass the
ServeRaid controller entirely.
  

Are you referring to the SATA controllers or to the SCSI ones?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Re: [CentOS-devel] CentOS for router product

2008-11-19 Thread Karanbir Singh

Arut Selvan wrote:
I have been told by my boss to do a feasability study of using CentOS 
for our routing product.


I have some basic questions regarding CentOS. Please clarify.

1. Is the kernel used by CentOS pre-emptible/non-preemptible ?

2. Does CentOS allow for assigning of process priorities (e.g in VxWorks 
task priorities can be set at creation time)


3. What is the clock resolution provided ?


a) you have the wrong list, you want the centos@centos.org list ( which 
is where I am replying )


b) where did you look to find answers for these questions, what did you 
come up with ? All of these can be answered via a trivial look at the 
sources, if you intend to use CentOS, that might be a good idea anyway



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


Re: [CentOS] Migration from VMWare to HP Blade

2008-11-19 Thread Lanny Marcus
On Wed, Nov 19, 2008 at 7:59 AM, Matthew Walster <[EMAIL PROTECTED]> wrote:
> A few months ago, I migrated some of our internal servers to HP blades, as
> the VMWare box they were previously running on was getting too slow.
> However, it wasn't without it's problems, and eventually the only way I
> could get them to work was:
> Install the same version of CentOS on the blade (believed to be 5.0, but
> /etc/redhat-release says 5.2)
> Took down both servers, booting them off the SystemRescueCD, mounting all
> the partition on /mnt/transfer etc
> Ran rsync to copy all the data from one to the other - except /boot and
> /lib/modules
> Brought the blade up, and saw that it booted fine.
> However, a new kernel has been released and we tried rebooting... And it
> panicked. It seems to be LVM related, in that it can't mount /dev/root - and
> I've tried manually running mkinitrd to regenerate the initrd to no avail.
> I was just wondering if anyone had encountered similar problems, and knew of
> any solutions?
> I'm from a debian background, so am a little unused to certain aspects -
> when a yum upgrade installs a new kernel, where does it pull the information
> for boot from? A configuration stanza from within grub's menu.lst?

I think you will find that in /boot/grub/grub.conf

Other, far more knowledgeable people on the list will, hopefully,
answer your questions.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] kmod-kvm

2008-11-19 Thread Jamie Wilch
I use qemu-kvm on a Centos 5.2 server to run Windows XP virtually.
Usually a new kmod-kvm packages is released shortly after a kernel
update, and yum updates them both very nicely.  However, two new kernel
updates have been released now without a kmod-kvm update.  Does anyone
know if this package is still being supported?

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


[CentOS] Re: CentOS 5.2 with IBM SERVERAID 6i

2008-11-19 Thread Tom Diehl

Ralph Angenendt wrote:

Tom Diehl wrote:
> I installed the OpenIPMI packages but when I run the above command
> I get the following:
>
> (geppetto pts5) # ipmitool sdr
> Could not open device at /dev/ipmi0 or /dev/ipmi/0 or /dev/ipmidev/0: No such 
file or directory
> Get Device ID command failed
> Unable to open SDR for reading

service ipmi start

And turn it on:

chkconfig ipmi on


That will do it. I did not realize it was a daemon. DUH!!

Thanks for the help.

Regards,

--
Tom Diehl   [EMAIL PROTECTED]   Spamtrap address [EMAIL 
PROTECTED]
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Migration from VMWare to HP Blade

2008-11-19 Thread Matthew Walster
2008/11/19 Lanny Marcus <[EMAIL PROTECTED]>
>
> I think you will find that in /boot/grub/grub.conf


$ mount
/dev/cciss/c0d0p2 on / type ext3 (rw,noatime)

$ sudo cat /etc/grub/menu.list #symlinked to /etc/grub/grub.conf
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You have a /boot partition.  This means that
#  all kernel and initrd paths are relative to /boot/, eg.
#  root (hd0,0)
#  kernel /vmlinuz-version ro root=/dev/cciss/c0d0p2
#  initrd /initrd-version.img
#boot=/dev/cciss/c0d0
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.18-92.1.17.el5)
root (hd0,0)
kernel /vmlinuz-2.6.18-92.1.17.el5 ro root=/dev/cciss/c0d0p2
initrd /initrd-2.6.18-92.1.17.el5.img
title CentOS (2.6.18-92.1.13.el5)
root (hd0,0)
kernel /vmlinuz-2.6.18-92.1.13.el5 ro root=/dev/cciss/c0d0p2
initrd /initrd-2.6.18-92.1.13.el5.img
title CentOS (2.6.18-53.el5)
root (hd0,0)
kernel /vmlinuz-2.6.18-53.el5 ro root=LABEL=/1
initrd /initrd-2.6.18-53.el5.img

$ uname -a
Linux (HOSTNAME) 2.6.18-53.el5 #1 SMP Mon Nov 12 02:14:55 EST 2007 x86_64
x86_64 x86_64 GNU/Linux

And yes, I've tried altering the root= lines to match the working kernel,
but that didn't work either, and it gets overwritten anyway after every
kernel upgrade.

Other, far more knowledgeable people on the list will, hopefully,
> answer your questions.


Thanks ;)

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


Re: [CentOS] Migration from VMWare to HP Blade

2008-11-19 Thread Matthew Walster
2008/11/19 Matthew Walster <[EMAIL PROTECTED]>
>
> $ sudo cat /etc/grub/menu.list #symlinked to /etc/grub/grub.conf
>

I, of course, meant /boot/grub/menu.lst and /boot/grub/grub.conf

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


[CentOS] Clean serial console setup when using an USB to serial converter

2008-11-19 Thread David Knecht

Hello all,

I'd like to connect to a CentOS 5.2 system's console through a 
null-modem cable. An USB to serial converter is connected to that 
system's USB port.


When using this configuration statement in "/etc/inittab"...

...
# Run gettys on serial line (that is, a serial line connected to USB0)
usb0:12345:respawn:/sbin/agetty -L ttyUSB0 9600 vt100
...

...I get these messages if (and only if) the converter is *not* 
connected to the system (thus, if no ttyUSB0 device has been dynamically 
created):


Nov 18 15:58:41 anyvizor init: Id "usb0" respawning too fast: disabled 
for 5 minutes
Nov 18 16:05:22 anyvizor init: Id "usb0" respawning too fast: disabled 
for 5 minutes
Nov 18 16:12:03 anyvizor init: Id "usb0" respawning too fast: disabled 
for 5 minutes


Apart from that, connectivity to the serially attached console works 
fine of the serial line is connected.


Obviously, I would like to have a clean setup without any errors where 
this kind of console setup works like a charm.


As a workaround (since I did not get any further on an inittab-based 
solution), I tried to configure udev to spawn "/sbin/agetty -L ttyUSB0 
9600 vt100" once the converter gets connected. This is my udev 
configuration:


[EMAIL PROTECTED] rules.d]# pwd
/etc/udev/rules.d

[EMAIL PROTECTED] rules.d]# cat 10-custom.rules
BUS=="usb", KERNEL=="ttyUSB*" SYMLINK+="usb_attached_console"
SUBSYSTEM=="usb_device", ACTION=="add", 
RUN+="/etc/udev/scripts/respawn_usb_attached_console.sh"

[EMAIL PROTECTED] rules.d]#

[EMAIL PROTECTED] scripts]# pwd
/etc/udev/scripts

[EMAIL PROTECTED] scripts]# cat respawn_usb_attached_console.sh
#!/bin/env sh

getty_command_line="/sbin/agetty -L usb_attached_console 9600 vt100"

while [[ -e /dev/usb_attached_console && $(/usr/bin/pgrep -xf 
"${getty_command_line}" | /usr/bin/wc --lines) -eq 0 ]]

do
eval "${getty_command_line}"
done
[EMAIL PROTECTED] scripts]#

Again, connectivity to the serially attached console works fine once the 
system is up and running. However, the system does not pass the


Starting udev...

message displayed on the console (here, I mean the normal console 
screen, not the serially attached console) if (and only if) the USB to 
serial converter is connected when booting. The boot process continues 
fine once the converter gets disconnected.


Any hints for an inittab-based as well as an udev-based solution (or 
another concept to achieve the same result) is very welcome!


Thanks, David


smime.p7s
Description: S/MIME Cryptographic Signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] New installation woes

2008-11-19 Thread Vandaman
Dag Wieers wrote:

> We did not do anything. It is a bug in the priorities
> plugin.
> 
> The reason we have a perl-DBD-mysql is because that is the
> upstream name and the naming convention dictates to use the
> upstream name. That is the only reliable way for not having
> RPM clashes.
> 
> Maybe someone should report to Red Hat that perl-DBD-MySQL
> has a packaging bug ?
> 
>   http://search.cpan.org/dist/DBD-mysql/
> 

What is the bug? It does not appear in the site you linked to.
It would be surprising if Red Hat are unaware of upstream changes 
as one would expect it to be rolled out into Fedora rawhide at least
even if the changes are backported int RHEL.

Regards,
Vandaman.




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


[CentOS] net-snmp puzzle

2008-11-19 Thread drew einhorn
I have a bunch of centos 5.2 boxes.

I'm trying to run smtp on all of them.
Using indentical net-snmp configuration files.
/etc/snmp/snmpd.conf

com2sec notConfigUser  localhost   smssnmp
com2sec notConfigUser  10.1.1.0/24 smssnmp

group   notConfigGroup v1   notConfigUser
group   notConfigGroup v2c   notConfigUser

viewsystemviewincluded   .1

access  notConfigGroup ""  any   noauthexact
systemview none none

syslocation SMS - North Carolina
syscontact [EMAIL PROTECTED]

pass .1.3.6.1.4.1.4413.4.1 /usr/bin/ucd5820stat

I came up with this config file by tweaking some examples from howto
docs on the web,
I have not gotten to them point where I feel like I really understand
it as well as I should.

On some boxes it just works
On some boxes it complains with:

Nov 19 01:15:08 s1s0105 snmpd[7073]: /etc/snmp/snmpd.conf: line 1:
Error: bad source address
Nov 19 01:15:08 s1s0105 snmpd[7073]: net-snmp: 1 error(s) in config file(s)
Nov 19 01:15:08 s1s0105 snmpd[7073]: NET-SNMP version 5.3.1

But it works anyway.

On other boxes, it complains with:

Nov 19 10:55:03 s1s0106 snmpd[22621]: Warning: no access control
information configured.   It's unlikely this agent can serve any
useful purpose in this state.   Run "snmpconf -g basic_setup" to help
you configure the snmpd.conf file for this agent.
Nov 19 10:55:03 s1s0106 snmpd[22621]: NET-SNMP version 5.3.1

And does not work.  Fooling around with snmpconf leads to much
different config files but they don't work any better.

Any ideas?
-- 
Drew Einhorn
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] nagios-plugins 1.4.13?

2008-11-19 Thread Matthew Kent
On Tue, 2008-11-18 at 10:09 +, Marcelo M. Garcia wrote:
> Hi
> 
> Does anyone knows when nagios-plugins 1.4.13 will be available?
> 

EPEL packages them quite nicely

http://fedoraproject.org/wiki/EPEL
-- 
Matthew Kent \ SA \ bravenet.com

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


Re: [CentOS] New installation woes

2008-11-19 Thread Nicolas Thierry-Mieg



Vandaman wrote:

Dag Wieers wrote:


We did not do anything. It is a bug in the priorities
plugin.

The reason we have a perl-DBD-mysql is because that is the
upstream name and the naming convention dictates to use the
upstream name. That is the only reliable way for not having
RPM clashes.

Maybe someone should report to Red Hat that perl-DBD-MySQL
has a packaging bug ?

http://search.cpan.org/dist/DBD-mysql/



What is the bug? It does not appear in the site you linked to.
It would be surprising if Red Hat are unaware of upstream changes 
as one would expect it to be rolled out into Fedora rawhide at least

even if the changes are backported int RHEL.


*packaging bug*
the link shows that upstream is named all lowercase for mysql, so the 
rpm should also.


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


Re: [CentOS] New installation woes

2008-11-19 Thread Dag Wieers

On Wed, 19 Nov 2008, Nicolas Thierry-Mieg wrote:


Vandaman wrote:


 What is the bug? It does not appear in the site you linked to.
 It would be surprising if Red Hat are unaware of upstream changes as one
 would expect it to be rolled out into Fedora rawhide at least
 even if the changes are backported int RHEL.


*packaging bug*
the link shows that upstream is named all lowercase for mysql, so the rpm 
should also.


And the other bug is in yum-priorities. It is not protecting base against 
certain dependencies being pulled that obsolete base packages. The plugin 
should reject non-base packages that replace base packages much like it 
protects from updating base packages with non-base packages.


Someone interested to become famous by looking into and fixing this ?

--
--   dag wieers,  [EMAIL PROTECTED],  http://dag.wieers.com/   --
[Any errors in spelling, tact or fact are transmission errors]
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] kickstart install on SAN with multipath

2008-11-19 Thread Matthew Kent
On Fri, 2008-11-14 at 15:06 -0800, nate wrote:
> Using CentOS 5.1, though with a few hours work I could update
> to 5.2.. I can install to SAN with a single path no problem
> but I'd like to be able to use dm-multipath. From the kickstart
> docs it seems this is supported but there is no information
> as to what the various options mean
> 
> http://www.centos.org/docs/5/html/5.1/Installation_Guide/s1-kickstart2-options.html
> 
> --
>  multipath (optional)
> 
> multipath --name= --device= --rule=
> --

Ah! I just ran through this exact scenario a week ago. Turns out in
inspecting the anaconda code I couldn't actually find any support for
that directive, it looks to be more of a placeholder, but I'm no python
wizard. 

What is does support though is auto detecting and creating a simple
multipath.conf, good enough configure lvm with during the install.

This setup can be triggered by passing 'mpath' as a kernel parameter
during kickstart.

Only other thing I had to do was add a bit of %post scripting to tweak
multipath.conf and lvm.conf for our particular drive/controller setup.
-- 
Matthew Kent \ SA \ bravenet.com

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


Re: [CentOS] kickstart install on SAN with multipath

2008-11-19 Thread nate
Matthew Kent wrote:
>
> Ah! I just ran through this exact scenario a week ago. Turns out in
> inspecting the anaconda code I couldn't actually find any support for
> that directive, it looks to be more of a placeholder, but I'm no python
> wizard.
>
> What is does support though is auto detecting and creating a simple
> multipath.conf, good enough configure lvm with during the install.

I played with it for a couple hours and my experience was:

- It created the multipath configuration, though in %pre I had to
  run multipath to enable multipathing support
- It could then see the device but would not install to it, after
  creating a partition in my experience multipathing has to be
  restarted, so the only way I think to get it to work is to come
  up with a way to manually partition in %pre and then tell kickstart
  to use the pre-existing partitions after restarting multipathing
  in %pre. Quite a bit more work than I expected given the few notes
  I have seen saying that it should "work". Given my timetable I
  decided to give up on this for now and use internal disks, I can
  re-visit it again later.

VMWare ESX 3.5 works flawlessly when booting from SAN by contrast!

>
> This setup can be triggered by passing 'mpath' as a kernel parameter
> during kickstart.
>
> Only other thing I had to do was add a bit of %post scripting to tweak
> multipath.conf and lvm.conf for our particular drive/controller setup.


thanks for the info!

nate

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


Re: [CentOS] CentOS 5.2 with IBM SERVERAID 6i

2008-11-19 Thread Miguel Medalha



I've installed RHEL 4 on several IBM eSeries servers with ServeRaid
controllers and I despise them.  They fail too often and often don't
tell you that they are having problems until it is too late.
  

Are you referring to the SATA controllers or to the SCSI ones?

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


[CentOS] noauto option ignored in CentOS 5.1?

2008-11-19 Thread nate
I have worked quite a bit with CentOS 4.x with
SAN, multipathing, LVM etc. The way I mount my
file systems is using a script that is called during
startup that runs fsck, imports the physical volumes,
and volume groups, activates the logical volumes, creates
the mount point if needed then mounts the volume, I mainly
made it for software iSCSI due to the iscsi stack loading
after the system mount process. I adapted it to my fiber
channel systems as well and it worked great(mainly so
I could have a consistent experience between FC and
iSCSI).

In testing with CentOS 5.1 it seems that my entries
in /etc/fstab that are marked "noauto" are still infact
queried when the system boots (before multipathing, etc
fires up). These devices don't exist at the time which
causes the boot to halt(so I can fsck the file system
manually). I have worked around it by commenting out the
line in fstab, and just adjusting my script to look for
the commented line, but this never happened under
CentOS 4.x, seems like a bug ? I peeked at Red Hat's
bugzilla but didn't see much.

If so I can file one..

thanks

nate

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


Re: [CentOS] Migration from VMWare to HP Blade

2008-11-19 Thread Kai Schaetzl
Matthew Walster wrote on Wed, 19 Nov 2008 15:39:18 +:

> And yes, I've tried altering the root= lines to match the working kernel,
> but that didn't work either, and it gets overwritten anyway after every
> kernel upgrade.

change default to 1 if that was your working kernel. If that doesn't help 
the problem is not what/where you think it is.

Kai

-- 
Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com



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


Re: [CentOS] New installation woes

2008-11-19 Thread Kai Schaetzl
Dag Wieers wrote on Wed, 19 Nov 2008 15:23:56 +0100 (CET):

> The reason we have a perl-DBD-mysql is because that is the upstream name 
> and the naming convention dictates to use the upstream name. That is the 
> only reliable way for not having RPM clashes.

But was it necessary to obsolete perl-DBD-MySQL? The older versions (up to 
4.007) obviously didn't and there was no priorities problem until then 
(with 4.008). There was another package (I don't recall the name, python 
stuff?) that had the same problems recently. I agree that check_obsoletes 
should have been in the yum config in the first place, but on first glance 
and from my point of view as just being a user and not a packager the 
obsoletion seems to have been unnecessary.

Kai

-- 
Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com



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


[CentOS] qlogic driver not scanning scsi bus on load CentOS 5.1

2008-11-19 Thread nate
Very strange behavior, been banging my head against the
wall on this one too. It works fine on CentOS 4.6, the
behavior is when the driver loads the bus is not scanned
or at least the devices that are exported are not detected.
(they are detected in the HBA bios no problem). If I issue
the qlogic bus scan command it doesn't get anything back
either. If I manually add the devices with "scsi add-single-device"
they immediately pop up.

I am new to using FC on CentOS 5.x with 4.x it was so easy
perhaps I should just stick to what works.

Filing a support case with my vendors as well though not
sure how much help they'll end up being.

Running a "QLogic Corp. ISP2432-based 4Gb Fibre Channel to
PCI Express HBA". Tried both the drivers from qlogic's site
and the ones that ship with CentOS.  Once the devices are
detected everything works fine. Though I don't want to
hard code the "scsi add-single-device" commands into my
startup scripts if I can avoid it, rather use CentOS 4.6
instead.

Anyone seen this kind of behavior before?

thanks

nate




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


[CentOS] Samba Source

2008-11-19 Thread Bo Lynch
I am trying to install the source code for samba.
I have samba-3.0.28-1.el5_2.1

When I try and install the  samba-3.0.28-1.el5_2.1.src.rpm. I get the
following.
rpm -ihv samba-3.0.28-1.el5_2.1.src.rpm
   1:samba  warning: user mockbuild does not exist - using
root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
### [100%]
error: unpacking of archive failed on file
/usr/src/redhat/SOURCES/samba-3.0.28.tar.gz;492423fc: cpio: read

Installing the original samba src rpm samba-3.0.28-0.el5.8.src.rpm works
with no probs just the latest.
Thanks in advance for any info.

-- 
Bo Lynch


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


[CentOS] L2ARC (disk caching) for Linux?

2008-11-19 Thread Ray Van Dolson
First off; are there any storage-centric mailing lists that target
Linux specifically?

Secondly, I'm wondering if there's anything in the works or already out
there similar to Sun's L2ARC[1] for ZFS.  Basically this is a
filesystem (or maybe lower-level) cache for reads, writes that can be
comprised of faster media like SSD.  I think it could make SATA-based
JBOD solutions a lot more attractive from a performance perspective.

Anything out there along these lines already or suggestions on a better
place to dig for information?

Ray

[1] http://blogs.sun.com/brendan/entry/test
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] noauto option ignored in CentOS 5.1?

2008-11-19 Thread Matthew Kent
On Wed, 2008-11-19 at 10:29 -0800, nate wrote:
> I have worked quite a bit with CentOS 4.x with
> SAN, multipathing, LVM etc. The way I mount my
> file systems is using a script that is called during
> startup that runs fsck, imports the physical volumes,
> and volume groups, activates the logical volumes, creates
> the mount point if needed then mounts the volume, I mainly
> made it for software iSCSI due to the iscsi stack loading
> after the system mount process. I adapted it to my fiber
> channel systems as well and it worked great(mainly so
> I could have a consistent experience between FC and
> iSCSI).
> 

Hmm.. not sure about older versions of CentOS but for lvm over iscsi in
5.2 all you should need is 

/dev/foo.vg/foo.lv /foo xfs _netdev,noatime,rw 0 0

in /etc/fstab and iscsi node startup set to automatic (which is the
default I believe). _netdev being the key as it will mount it after
iscsi is loaded and connected. 

And since the volume is being asked to mount at boot time, the startup
scripts are smart enough to find and activate the volume group and
logical volume.

Nothing extra required. 

Only issue I've had is sometimes after unclean shutdowns the volume
group gets deactivated and must be manually activated and mounted,
though this has never prevented booting.

Though this doesn't include the fsck'ing you mentioned..
-- 
Matthew Kent \ SA \ bravenet.com

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


Re: [CentOS] noauto option ignored in CentOS 5.1?

2008-11-19 Thread nate
Matthew Kent wrote:

> Hmm.. not sure about older versions of CentOS but for lvm over iscsi in
> 5.2 all you should need is
>
> /dev/foo.vg/foo.lv /foo xfs _netdev,noatime,rw 0 0

Any idea if that takes into account multipathing as well?

thanks for the info!

nate

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


RE: [CentOS] Migration from VMWare to HP Blade

2008-11-19 Thread Miskell, Craig
> Hi all,
>
> A few months ago, I migrated some of our internal servers to HP
> blades, as the VMWare box they were previously running on was getting
> too slow.
>
> However, it wasn't without it's problems, and eventually the only way I
> could get them to work was:
>
> Install the same version of CentOS on the blade (believed to be 5.0, but
> /etc/redhat-release says 5.2)
> Took down both servers, booting them off the SystemRescueCD,
> mounting all the partition on /mnt/transfer etc
> Ran rsync to copy all the data from one to the other - except /boot and
> /lib/modules
> Brought the blade up, and saw that it booted fine.
>
> However, a new kernel has been released and we tried rebooting... And
> it panicked. It seems to be LVM related, in that it can't mount /dev/root -
> and I've tried manually running mkinitrd to regenerate the initrd to no
> avail.
>
> I was just wondering if anyone had encountered similar problems, and
> knew of any solutions?
Having just done the opposite (test migrating a CentOS server from physical 
hardware to VMWare), I have a very good idea  :-)  It was CentOS 4, but the 
basic bits should be the same

You need to edit /etc/modprobe.conf, and change the line (or lines) that start 
with:
"alias scsi_hostadapter"

If the server was vmware, the existing lines are probably
alias scsi_hostadapter mptbase
alias scsi_hostadapter1 mptscsih

I'm not sure what you'll have to change mptbase and mptscsih to be; on HP 
servers, cciss is the correct driver.  Others will vary (you could try a quick 
basic manual install on the target hardware and see what gets put in that file 
by the OS installer).

After you've changed modprobe.conf, re-run mkinitrd and reboot.  Should be good 
to go.  You'll also have to watch out for HWADDR in 
/etc/sysconfig/network-scripts/ifcfg-eth*, either changing it to match your new 
hardware, or removing it entirely.  Kudzu will probably take care of sorting 
out the network card driver entries in modprobe; follow your nose and take a 
guess, you'll probably get it right.  Either way, mkinitrd is only necessary 
(in this case) to get access to your root device

Hope that helps,
Craig Miskell

===
Attention: The information contained in this message and/or attachments
from AgResearch Limited is intended only for the persons or entities
to which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipients is prohibited by AgResearch
Limited. If you have received this message in error, please notify the
sender immediately.
===
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] noauto option ignored in CentOS 5.1?

2008-11-19 Thread Matthew Kent
On Wed, 2008-11-19 at 10:48 -0800, nate wrote:
> Matthew Kent wrote:
> 
> > Hmm.. not sure about older versions of CentOS but for lvm over iscsi in
> > 5.2 all you should need is
> >
> > /dev/foo.vg/foo.lv /foo xfs _netdev,noatime,rw 0 0
> 
> Any idea if that takes into account multipathing as well?
> 

Yeah it does. multipathd is started by default just after iscsi so
everything works nicely.

> thanks for the info!

No problem :)
-- 
Matthew Kent \ SA \ bravenet.com

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


Re: [CentOS] noauto option ignored in CentOS 5.1?

2008-11-19 Thread nate
Matthew Kent wrote:
> On Wed, 2008-11-19 at 10:29 -0800, nate wrote:
>> I have worked quite a bit with CentOS 4.x with
>> SAN, multipathing, LVM etc. The way I mount my
>> file systems is using a script that is called during
>> startup that runs fsck, imports the physical volumes,
>> and volume groups, activates the logical volumes, creates
>> the mount point if needed then mounts the volume, I mainly
>> made it for software iSCSI due to the iscsi stack loading
>> after the system mount process. I adapted it to my fiber
>> channel systems as well and it worked great(mainly so
>> I could have a consistent experience between FC and
>> iSCSI).
>>
>
> Hmm.. not sure about older versions of CentOS but for lvm over iscsi in
> 5.2 all you should need is
>
> /dev/foo.vg/foo.lv /foo xfs _netdev,noatime,rw 0 0
>
> in /etc/fstab and iscsi node startup set to automatic (which is the
> default I believe). _netdev being the key as it will mount it after
> iscsi is loaded and connected.

Found the root issue here I believe in /etc/rc.sysinit

if [ "${RHGB_STARTED}" != "0" -a -w /etc/rhgb/temp/rhgb-console ]; then
fsck -T -t noopts=_netdev -A $fsckoptions >
/etc/rhgb/temp/rhgb-console
else
fsck -T -t noopts=_netdev -A $fsckoptions
fi

It scans all file systems by default unless the _netdev option
is set, whereas in CentOS 4.x it ONLY scans the root file system

if [ "${RHGB_STARTED}" != "0" -a -w /etc/rhgb/temp/rhgb-console ]; then
fsck -T -a $rootdev $fsckoptions > /etc/rhgb/temp/rhgb-console
else
initlog -c "fsck -T -a $rootdev $fsckoptions"
fi


I'll think about filing a bug/feature request I think the 'noauto'
option should be included in the exclusion list.

Perhaps fsck should be fixed as well, according to the manpage
'noauto' means it won't get mounted when you do mount -a, perhaps
it should not get fsck'd either if you do fsck -A

nate

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


Re: [CentOS] Migration from VMWare to HP Blade

2008-11-19 Thread Lanny Marcus
On Wed, Nov 19, 2008 at 10:39 AM, Matthew Walster <[EMAIL PROTECTED]> wrote:
> 2008/11/19 Lanny Marcus <[EMAIL PROTECTED]>
>> I think you will find that in /boot/grub/grub.conf
>
> $ mount
> /dev/cciss/c0d0p2 on / type ext3 (rw,noatime)
> $ sudo cat /etc/grub/menu.list #symlinked to /etc/grub/grub.conf
> # grub.conf generated by anaconda
> #
> # Note that you do not have to rerun grub after making changes to this file
> # NOTICE:  You have a /boot partition.  This means that
> #  all kernel and initrd paths are relative to /boot/, eg.
> #  root (hd0,0)
> #  kernel /vmlinuz-version ro root=/dev/cciss/c0d0p2
> #  initrd /initrd-version.img
> #boot=/dev/cciss/c0d0
> default=0
> timeout=5
> splashimage=(hd0,0)/grub/splash.xpm.gz
> hiddenmenu
> title CentOS (2.6.18-92.1.17.el5)
> root (hd0,0)
> kernel /vmlinuz-2.6.18-92.1.17.el5 ro root=/dev/cciss/c0d0p2
> initrd /initrd-2.6.18-92.1.17.el5.img
> title CentOS (2.6.18-92.1.13.el5)
> root (hd0,0)
> kernel /vmlinuz-2.6.18-92.1.13.el5 ro root=/dev/cciss/c0d0p2
> initrd /initrd-2.6.18-92.1.13.el5.img
> title CentOS (2.6.18-53.el5)
> root (hd0,0)
> kernel /vmlinuz-2.6.18-53.el5 ro root=LABEL=/1
> initrd /initrd-2.6.18-53.el5.img
> $ uname -a
> Linux (HOSTNAME) 2.6.18-53.el5 #1 SMP Mon Nov 12 02:14:55 EST 2007 x86_64
> x86_64 x86_64 GNU/Linux
> And yes, I've tried altering the root= lines to match the working kernel,
> but that didn't work either, and it gets overwritten anyway after every
> kernel upgrade.
>>
>> Other, far more knowledgeable people on the list will, hopefully,
>> answer your questions.
>
> Thanks ;)

Matthew:  You're welcome. As Kai wrote earlier, you need to change the
line that says default=n to the "title" line for the kernel you want
to use (I think it defaults to 0, after a Kernel upgrade). Every time
you install a new kernel, it will change this file, so you may need to
go back and tweak it, after a kernel upgrade. Lanny
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Samba Source

2008-11-19 Thread Nicolas Thierry-Mieg



Bo Lynch wrote:

I am trying to install the source code for samba.
I have samba-3.0.28-1.el5_2.1

When I try and install the  samba-3.0.28-1.el5_2.1.src.rpm. I get the
following.
rpm -ihv samba-3.0.28-1.el5_2.1.src.rpm



error: unpacking of archive failed on file
/usr/src/redhat/SOURCES/samba-3.0.28.tar.gz;492423fc: cpio: read


works for me
try do dl it again, your rpm is corrupted
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [Centos] Promise EX16650 under 5.2?

2008-11-19 Thread Guy Boisvert

Karanbir Singh wrote:

Guy Boisvert wrote:
... and we have many problems with that approach which most of the 
time uses Java.


I've never seen one that did use java, having used the proxy's for 
Areca, 3ware, adaptec and MSI.


I have many servers in production (mostly Winblows boxes, i know it's 
bad but it's not my choice!) that have 2-3 of these bad admin apps and 
we have many compatibility problems.


Get a proper raid card ?

- KB


I'm totally with you Karanbir!

I mean, i'm a consultant and i have to live with things i didn't chose!

I'd like to change many hardware at my client's offices but sometimes, 
the budget is just not there.  SMBs are not always up to understand TCO, 
ROI, etc.  I do my best but sometimes, it's difficult!


The guy was talking about Promise and that was the reason i tried to 
warn him about their bad management app and so-so support.


That's it!


Regards,


Guy Boisvert, ing.
IngTegration inc.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] how can I stress a server?

2008-11-19 Thread Guy Boisvert

Rudi Ahlers wrote:


John, just cause the machines we use to serve web content to our
clients doesn't use the grade of equipment you prefer to use, and can
afford, doesn't mean equipment that other people use is inferior, or
worthless.

I have a problem with one of my machines, and have narrowed down that
it could either be the CPU, RAM or motherboard, but before I take it
back to the suppliers, I need to know what is wrong. They will switch
it on, and see that it works. But it's not taking the load that I
expect it could. In fact, it's not taking the same load as a machine
with a Intel E6750 Core 2 Duo & 4GB RAM. This server should be 2 - 4
times faster & handle 2 - 4 times the load of the E6750, yet it
doesn't and I need to know why. I don't appreciate being told that the
hardware I have if inferior.





Hi Rudy,

	John is a veteran on this list and you could probably learn many things 
from him.  I suggest you read:


http://www.mit.edu/~jcb/tact.html

(that could maybe explain why you seemed irritated by John!)

	By the way, server grade hardware is just that: Meant to serv and 
include specific features for that particular kind of job.  That doesn't 
mean that a workstation board won't be able to do a server job at all. 
Having said that, i manage servers since a long time and i can assure 
you that using serious server hardware with ECC translates in lower 
costs in the long run.


	Sure you can still have problems with server grade hardware!  But then, 
we could try to obtain statistics and MTBF to get a better idea.


	But i find ECC error indicator to be invaluable and there a many other 
features that will help to pinpoint problems rapidly.


	So Rudy, i can understand that you may have hardware problems and 
probably pressure to solve them but IMHO, it's just a classic example of 
TCO.  And i read that you had problems with Dell servers, then try 
something else!  It's OT but can say that i have many Tyan and HP 
servers in production and no problem at all.


Hope you'll solve your problem.

Regards,

Guy Boisvert, ing.
IngTegration inc.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Samba Source

2008-11-19 Thread Bo Lynch

On Wed, November 19, 2008 3:21 pm, Nicolas Thierry-Mieg wrote:
>
>
> Bo Lynch wrote:
>> I am trying to install the source code for samba.
>> I have samba-3.0.28-1.el5_2.1
>>
>> When I try and install the  samba-3.0.28-1.el5_2.1.src.rpm. I get the
>> following.
>> rpm -ihv samba-3.0.28-1.el5_2.1.src.rpm
> 
>> error: unpacking of archive failed on file
>> /usr/src/redhat/SOURCES/samba-3.0.28.tar.gz;492423fc: cpio: read
>
> works for me
> try do dl it again, your rpm is corrupted

That worked. First time I've had that problem. Thanks again for the help

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


Re: [Centos] Promise EX16650 under 5.2?

2008-11-19 Thread Lanny Marcus
On Wed, Nov 19, 2008 at 4:00 PM, Guy Boisvert <[EMAIL PROTECTED]> wrote:
> Karanbir Singh wrote:
>> Guy Boisvert wrote:
>>> ... and we have many problems with that approach which most of the time
>>> uses Java.
>>
>> I've never seen one that did use java, having used the proxy's for Areca,
>> 3ware, adaptec and MSI.
>>
>>> I have many servers in production (mostly Winblows boxes, i know it's bad
>>> but it's not my choice!) that have 2-3 of these bad admin apps and we have
>>> many compatibility problems.
>>
>> Get a proper raid card ?
>>
>> - KB
>
> I'm totally with you Karanbir!
>
> I mean, i'm a consultant and i have to live with things i didn't chose!
>
> I'd like to change many hardware at my client's offices but sometimes, the
> budget is just not there.  SMBs are not always up to understand TCO, ROI,
> etc.  I do my best but sometimes, it's difficult!

I believe, as a Consultant, one has a legal and moral obligation, to
give the client the best advice one can. If they do not go that route,
we've tried our best I've seen them go both ways.
>
> The guy was talking about Promise and that was the reason i tried to warn
> him about their bad management app and so-so support.

If my memory hasn't failed,  Promise has gotten many bad comments,
over time, in this mailing list. 3Ware is much more respected here,
but again, not positive my memory is working
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] New installation woes

2008-11-19 Thread Vandaman
Steve Huff wrote:

> On Nov 19, 2008, at 10:57 AM, Vandaman wrote:
> 
> > What is the bug? It does not appear in the site you
> linked to.
> > It would be surprising if Red Hat are unaware of
> upstream changes
> > as one would expect it to be rolled out into Fedora
> rawhide at least
> > even if the changes are backported int RHEL.
> 
> 
> we went over this last month:
> 
> http://lists.centos.org/pipermail/centos/2008-October/065972.html
> http://lists.centos.org/pipermail/centos/2008-October/066185.html
> 
> and also on the rpmforge users list:
> 
> http://lists.rpmforge.net/pipermail/users/2008-October/001973.html
> 
> you were on the CentOS list then, i'm surprised you
> don't remember.  please search the archives before
> posting; what you said has nothing to do with the issue.
> 

Seems a little impertinent what our learned friend Steve Huff
has sent to me off-list in a huff :- 

- I was subscribed for a few days last month.
- Many of us don't do "just CentOS". We have other mailing lists
and OS's installed. We also happen to have lives as well to live.
- Even this month when I'm subscribed fulltime to the list, 
I don't read all messages on the list (nuff' said).
- What is posted on the list is "not Gospel". If something
affects all CentOS users, perhaps a prominent announcement
could be made on the website or somewhere.
- I'm sure there are issues other than the Debian Openssl
bug that affect all CentOS users.

Regards,
Vandaman.




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


Re: [CentOS] how can I stress a server?

2008-11-19 Thread Guy Boisvert

Rudi Ahlers wrote:

John, I know what ECC does. I have 2 Dell PE860 servers with 8GB ECC
DDRII RAM as well, and they're both giving RAM problems. I had top
swap-out the RAM 2 times with the suppliers already, and swapped out a
motherboard on the one of the servers. Honestly, ECC isn't my
favourate to use.


Wow!  Everybody doing serious business wouldn't go without it (i work 
for a couple of Banks and government agencies), but that's your choice 
and i respect that.  But if you want to talk about five 9's, then you'd 
surely go with ECC and other invaluable features like watchdog timer, 
management cards, BIOS serial redirection, chip kill, etc.


It all depend on your needs i agree but don't reject server grade 
hardware so easily!




At the same time, I have about 8 servers with cheap Gigabyte
motherboards and non-ECC RAM, which have been running for close to 4
years now, without any hickups at all.


That's bad stats.  It's not because my neighbour has a problem with his 
Mercedes and that i have no problem with my 4 Hyundai that Hyundai are 
better than Mercedes!!!  Not only that, but sitting 6 adults in a mini 
Hyundai may be possible but we'll be much more confortable in the big 
Mercedes!  Know what i mean?




It's the first time I try the Intel board, since it's supposed to be a
step-up from the desktop boards, and has 4 memory slots as apposed to
only 2.


... and limited by the fanout of the CPU / Chipset... As you put more 
memory, you'll have to relax timing and use proper memory brand that is 
certified for the mainboard.



The server had the same problems when I only had 4GBM RAM (2 slots
used & 2 slots open), so I don't think that the capacitive load is the
problem here. Right now the server is still at the datacentre - which
is 2 hours drive there & back with traffic, so I'm going to get it
later today / tonight, as soon as I've moved all the data across to
the slower gigabyte server, and then I can try the RAM timings thing
in the BIOS.


This could be a chipset problem, bad power supply, and the list goes on.



But, how can I put a LOT of load onto it, and see what's causing the
problem? For all I know, the motherboard could be faulty, or the CPU,
or maybe even the SATA bus?



Putting high load without having hardware monitoring won't tell you much 
IMHO.


I'd first test the power supply.  Then remove everything you can and 
test with Memtest86+ (let's say, overnight, and while you're at it watch 
the power supply under load).


Swap memory with some you know is good.  If the problem persist, you 
could possibly have a chipset problem.



Good luck.


Guy Boisvert, ing
IngTegration inc.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Samba Source

2008-11-19 Thread Vandaman
Bo Lynch wrote:

> > Bo Lynch wrote:
> >> I am trying to install the source code for samba.
> >> I have samba-3.0.28-1.el5_2.1
> >>
> >> When I try and install the 
> samba-3.0.28-1.el5_2.1.src.rpm. I get the
> >> following.
> >> rpm -ihv samba-3.0.28-1.el5_2.1.src.rpm
> > 
> >> error: unpacking of archive failed on file
> >>
> /usr/src/redhat/SOURCES/samba-3.0.28.tar.gz;492423fc: cpio:
> read
> >
> > works for me
> > try do dl it again, your rpm is corrupted
> 
> That worked. First time I've had that problem. Thanks
> again for the help
> 

This might be a little aside, but why build rpms as root?
Are you rolling out your own patches for Samba? If so can
you share them with the list?

Regards,
Vandaman.




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


[CentOS] redirecting output

2008-11-19 Thread Joseph L. Casale
How does one redirect output of a command such as 'make' to a file
_and_ the console?

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


Re: [CentOS] redirecting output

2008-11-19 Thread Tim Nelson
man tee

Tim Nelson
Systems/Network Support
Rockbochs Inc.
(218)727-4332 x105

- "Joseph L. Casale" <[EMAIL PROTECTED]> wrote:

> How does one redirect output of a command such as 'make' to a file
> _and_ the console?
> 
> Thanks!
> jlc
> ___
> 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] syslog remote computers

2008-11-19 Thread Craig White
Trying to figure out if there's a way to get syslog.conf to direct
remote logging from a wireless access point to log to a separate file
instead of the main syslog and can't figure out how that could be done
from man syslog.conf (or man 2/3 of syslog)

this clearly doesn't work

192.168.1.251.*   /var/log/WAP-2.log

which according to the man page, makes sense since this the IP address
is not a facility.

Is there a way to do this that I am missing?

Craig

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


[CentOS] Re: syslog remote computers

2008-11-19 Thread Scott Silva
on 11-19-2008 4:02 PM Craig White spake the following:
> Trying to figure out if there's a way to get syslog.conf to direct
> remote logging from a wireless access point to log to a separate file
> instead of the main syslog and can't figure out how that could be done
> from man syslog.conf (or man 2/3 of syslog)
> 
> this clearly doesn't work
> 
> 192.168.1.251.*   /var/log/WAP-2.log
> 
> which according to the man page, makes sense since this the IP address
> is not a facility.
> 
> Is there a way to do this that I am missing?
> 
> Craig
I'm not 100% sure that you can do this with the stock syslogd. You might need
something like rsyslog to handle that.

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



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


Re: [CentOS] syslog remote computers

2008-11-19 Thread Larry Vaden
On Wed, Nov 19, 2008 at 6:02 PM, Craig White <[EMAIL PROTECTED]> wrote:
> Trying to figure out if there's a way to get syslog.conf to direct
> remote logging from a wireless access point to log to a separate file
> instead of the main syslog and can't figure out how that could be done
> from man syslog.conf (or man 2/3 of syslog)
>
> this clearly doesn't work
>
> 192.168.1.251.*   /var/log/WAP-2.log
>
> which according to the man page, makes sense since this the IP address
> is not a facility.
>
> Is there a way to do this that I am missing?

The AP's syslog parms must match the syslog.conf parms.

e.g., for a MikroTik AP,

[EMAIL PROTECTED] ~]# grep -i mikrotik /etc/syslog.conf
# MikroTik router messages
user.*  /var/log/mikrotik.log
[EMAIL PROTECTED] ~]#

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


Re: [CentOS] syslog remote computers

2008-11-19 Thread Craig White
On Wed, 2008-11-19 at 18:19 -0600, Larry Vaden wrote:
> On Wed, Nov 19, 2008 at 6:02 PM, Craig White <[EMAIL PROTECTED]> wrote:
> > Trying to figure out if there's a way to get syslog.conf to direct
> > remote logging from a wireless access point to log to a separate file
> > instead of the main syslog and can't figure out how that could be done
> > from man syslog.conf (or man 2/3 of syslog)
> >
> > this clearly doesn't work
> >
> > 192.168.1.251.*   /var/log/WAP-2.log
> >
> > which according to the man page, makes sense since this the IP address
> > is not a facility.
> >
> > Is there a way to do this that I am missing?
> 
> The AP's syslog parms must match the syslog.conf parms.
> 
> e.g., for a MikroTik AP,
> 
> [EMAIL PROTECTED] ~]# grep -i mikrotik /etc/syslog.conf
> # MikroTik router messages
> user.*  /var/log/mikrotik.log

I suspect I'm SOL...(Linksys WAP is Linux I think. They do have the
source code available for D/L)

local0.*/var/log/local0.log
local1.*/var/log/local1.log
local2.*/var/log/local2.log
local3.*/var/log/local3.log
local4.*/var/log/local4.log
local5.*/var/log/local5.log
local6.*/var/log/local6.log
user.*  /var/log/user.log

restarted syslog service and then rebooted WAP but all of those files
are still empty  ;-(

Thanks

Craig

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


Re: [CentOS] syslog remote computers

2008-11-19 Thread Larry Vaden
On Wed, Nov 19, 2008 at 6:36 PM, Craig White <[EMAIL PROTECTED]> wrote:
> On Wed, 2008-11-19 at 18:19 -0600, Larry Vaden wrote:
>> On Wed, Nov 19, 2008 at 6:02 PM, Craig White <[EMAIL PROTECTED]> wrote:
>> > Trying to figure out if there's a way to get syslog.conf to direct
>> > remote logging from a wireless access point to log to a separate file
>> > instead of the main syslog and can't figure out how that could be done
>> > from man syslog.conf (or man 2/3 of syslog)
>> >
>> > this clearly doesn't work
>> >
>> > 192.168.1.251.*   /var/log/WAP-2.log
>> >
>> > which according to the man page, makes sense since this the IP address
>> > is not a facility.
>> >
>> > Is there a way to do this that I am missing?
>>
>> The AP's syslog parms must match the syslog.conf parms.
>>
>> e.g., for a MikroTik AP,
>>
>> [EMAIL PROTECTED] ~]# grep -i mikrotik /etc/syslog.conf
>> # MikroTik router messages
>> user.*  /var/log/mikrotik.log
> 
> I suspect I'm SOL...(Linksys WAP is Linux I think. They do have the
> source code available for D/L)
>
> local0.*/var/log/local0.log
> local1.*/var/log/local1.log
> local2.*/var/log/local2.log
> local3.*/var/log/local3.log
> local4.*/var/log/local4.log
> local5.*/var/log/local5.log
> local6.*/var/log/local6.log
> user.*  /var/log/user.log
>
> restarted syslog service and then rebooted WAP but all of those files
> are still empty  ;-(


suggests that perhaps daemon.info would work, I dunno.  At any rate,
one of the articles found by Google should reveal the answer.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] syslog remote computers

2008-11-19 Thread Craig White
On Wed, 2008-11-19 at 19:19 -0600, Larry Vaden wrote:
> On Wed, Nov 19, 2008 at 6:36 PM, Craig White <[EMAIL PROTECTED]> wrote:
> > On Wed, 2008-11-19 at 18:19 -0600, Larry Vaden wrote:
> >> On Wed, Nov 19, 2008 at 6:02 PM, Craig White <[EMAIL PROTECTED]> wrote:
> >> > Trying to figure out if there's a way to get syslog.conf to direct
> >> > remote logging from a wireless access point to log to a separate file
> >> > instead of the main syslog and can't figure out how that could be done
> >> > from man syslog.conf (or man 2/3 of syslog)
> >> >
> >> > this clearly doesn't work
> >> >
> >> > 192.168.1.251.*   /var/log/WAP-2.log
> >> >
> >> > which according to the man page, makes sense since this the IP address
> >> > is not a facility.
> >> >
> >> > Is there a way to do this that I am missing?
> >>
> >> The AP's syslog parms must match the syslog.conf parms.
> >>
> >> e.g., for a MikroTik AP,
> >>
> >> [EMAIL PROTECTED] ~]# grep -i mikrotik /etc/syslog.conf
> >> # MikroTik router messages
> >> user.*  
> >> /var/log/mikrotik.log
> > 
> > I suspect I'm SOL...(Linksys WAP is Linux I think. They do have the
> > source code available for D/L)
> >
> > local0.*/var/log/local0.log
> > local1.*/var/log/local1.log
> > local2.*/var/log/local2.log
> > local3.*/var/log/local3.log
> > local4.*/var/log/local4.log
> > local5.*/var/log/local5.log
> > local6.*/var/log/local6.log
> > user.*  /var/log/user.log
> >
> > restarted syslog service and then rebooted WAP but all of those files
> > are still empty  ;-(
> 
> 
> suggests that perhaps daemon.info would work, I dunno.  At any rate,
> one of the articles found by Google should reveal the answer.

tcpdump is my friend (but also the bearer of what appears to be bad
news)...

# tcpdump -nvvX udp port 514 -s 1500 -i eth1
tcpdump: listening on eth1, link-type EN10MB (Ethernet), capture size
1500 bytes
18:32:16.412516 IP (tos 0x0, ttl  64, id 0, offset 0, flags [DF], proto:
UDP (17), length: 74) 192.168.1.251.clearvisn > 192.168.1.5.syslog: [udp
sum ok] SYSLOG, length: 46 
Facility kernel (0), Severity info (6)
Msg: WAP-2 rg_system_full:255: killall rt2500apd
0x:  3c36 3e57 4150 2d32 2072 675f 7379 7374
0x0010:  656d 5f66 756c 6c3a 3235 353a 206b 696c
0x0020:  6c61 6c6c 2072 7432 3530 3061 7064
0x:  4500 004a  4000 4011 a452 c0a8 0afb
[EMAIL PROTECTED]@..R 
0x0010:  c0a8 0a05 0804 0202 0036 2c32 3c36
3e57  .6,2<6>W
0x0020:  4150 2d32 2072 675f 7379 7374 656d 5f66
AP-2.rg_system_f
0x0030:  756c 6c3a 3235 353a 206b 696c 6c61 6c6c
ull:255:.killall
0x0040:  2072 7432 3530 3061 7064 .rt2500apd

I gather that this means that it's facility is kernel and thus I can't
separate it from the local machine.

Craig

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


Re: [CentOS] Samba Source

2008-11-19 Thread Bo Lynch
On Wed, November 19, 2008 4:52 pm, Vandaman wrote:
> Bo Lynch wrote:
>
>> > Bo Lynch wrote:
>> >> I am trying to install the source code for samba.
>> >> I have samba-3.0.28-1.el5_2.1
>> >>
>> >> When I try and install the
>> samba-3.0.28-1.el5_2.1.src.rpm. I get the
>> >> following.
>> >> rpm -ihv samba-3.0.28-1.el5_2.1.src.rpm
>> > 
>> >> error: unpacking of archive failed on file
>> >>
>> /usr/src/redhat/SOURCES/samba-3.0.28.tar.gz;492423fc: cpio:
>> read
>> >
>> > works for me
>> > try do dl it again, your rpm is corrupted
>>
>> That worked. First time I've had that problem. Thanks
>> again for the help
>>
>
> This might be a little aside, but why build rpms as root?
> Are you rolling out your own patches for Samba? If so can
> you share them with the list?
>
> Regards,
> Vandaman.

Not rolling out patches just trying out samba-vscan with clamav on a few
of our samba boxes. Anyone has any experience,advice or recommendations I
would greatly appreciate it.
Thanks
Bo Lynch



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


Re: [CentOS] syslog remote computers

2008-11-19 Thread Jim Perrin
On Wed, Nov 19, 2008 at 7:02 PM, Craig White <[EMAIL PROTECTED]> wrote:
> Trying to figure out if there's a way to get syslog.conf to direct
> remote logging from a wireless access point to log to a separate file
> instead of the main syslog and can't figure out how that could be done
> from man syslog.conf (or man 2/3 of syslog)
>
> this clearly doesn't work
>
> 192.168.1.251.*   /var/log/WAP-2.log
>
> which according to the man page, makes sense since this the IP address
> is not a facility.
>
> Is there a way to do this that I am missing?


The stock syslog package can't do this. You need rsyslog to make this
happen. You can set up various templates and filters based on the log
file information also. See
http://www.bofh-hunter.com/2007/12/31/centralized-logging-with-centos-and-rsyslog/
for a brief walkthrough on the basics.

-- 
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


[CentOS] XFS or JFS on CentOS 5?

2008-11-19 Thread Ray Van Dolson
Hi folks... trying to pick between jfs and xfs for a filesystem.  In
the past we've used jfs with CentOS + centosplus, however, an older
post indicated that this may not be the best choice as the version of
jfs included with the centosplus kernel would only be as new as the
version that was included in the 2.6.18 kernel as RH doesn't backport
fixes...

It looks like xfs isn't part of the centosplus kernel, but instead is
provided as a kmod -- so I'm thinking it might be the better choice
based purely on the fact that it's likely to be current.  Is my
understanding correct there?

What would stop us from building a kmod-jfs against the latest jfs from
the up-upstream kernel and not building jfs.ko in the centosplus kernel
at all?  It looks like jfsutils is a fairly recent version...

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


[CentOS] CentOS/RHEL, PHP and zip archives

2008-11-19 Thread David G. Miller
I'm trying to get bulk photo uploads working with a Drupal web site.  
The person who coded the Drupal photos module I'm using decided to use a 
zip archive as a means of batching together a collection of picture 
files for a bulk upload.  Apache is reporting the following PHP error 
when the bulk upload feature is used:


[Sun Nov 16 22:05:38 2008] [error] [client 192.168.0.192] PHP Fatal 
error:  Class 'ZipArchive'
not found in 
/var/www/fraud/html/davesBlog/sites/all/modules/photos/photos.module on 
line 1375,

referer: http://davenjudy.org/davesBlog/node/39/photos

The PHP code at line 1375 in photos.module is an unremarkable 
instantiation of the zip archive handling object.  Some Google searches 
indicate that zip archive handling is a compile time option of PHP and 
lack of it would cause this error.  Running php -i tells me that the 
CentOS/RHEL PHP was not built with the --enable-zip configuration option.


Does anyone know of a way to get PHP to correctly handle zip archives 
short of rebuilding my PHP installation from the source RPM with 
--enable-zip as a configuration option?


Thanks,
Dave Miller

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

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


Re: [CentOS] XFS or JFS on CentOS 5?

2008-11-19 Thread John R Pierce

Ray Van Dolson wrote:

Hi folks... trying to pick between jfs and xfs for a filesystem.  In
the past we've used jfs with CentOS + centosplus, however, ...


CentOS and its upstream source, RHEL, support ex3fs.   I'm not sure why 
you'd want to use anything else.   If you have a specific requirement 
for JFS, I'd suggest running a BSD or AIX system where JFS is native...  
If you need XFS, I'd run a Linux distribution that supports it natively.


If you roll your own hybrid operating system, you get to test and 
validate it, and if it breaks, you get to keep both pieces.



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


Re: [CentOS] XFS or JFS on CentOS 5?

2008-11-19 Thread Ray Van Dolson
On Wed, Nov 19, 2008 at 10:46:00PM -0800, John R Pierce wrote:
> Ray Van Dolson wrote:
>> Hi folks... trying to pick between jfs and xfs for a filesystem.  In
>> the past we've used jfs with CentOS + centosplus, however, ...
>
> CentOS and its upstream source, RHEL, support ex3fs.   I'm not sure why 
> you'd want to use anything else.   If you have a specific requirement for 
> JFS, I'd suggest running a BSD or AIX system where JFS is native...  If you 
> need XFS, I'd run a Linux distribution that supports it natively.
>
> If you roll your own hybrid operating system, you get to test and validate 
> it, and if it breaks, you get to keep both pieces.

Thanks for the reply John.  However, my question wasn't so much "if I
should" but how the xfs support in CentOS compares to jfs.  It seems to
me that xfs is a bit more up-to-date.

If you'd like, consider the question academic vs giving me a
recommendation that pushes me down the path of unsupported filesystem
doom. :-)

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


Re: [CentOS] CentOS/RHEL, PHP and zip archives

2008-11-19 Thread Pintér Tibor


[Sun Nov 16 22:05:38 2008] [error] [client 192.168.0.192] PHP Fatal 
error:  Class 'ZipArchive'
not found in 
/var/www/fraud/html/davesBlog/sites/all/modules/photos/photos.module on 
line 1375,

referer: http://davenjudy.org/davesBlog/node/39/photos

The PHP code at line 1375 in photos.module is an unremarkable 
instantiation of the zip archive handling object.  Some Google searches 
indicate that zip archive handling is a compile time option of PHP and 
lack of it would cause this error.  Running php -i tells me that the 
CentOS/RHEL PHP was not built with the --enable-zip configuration option.


Does anyone know of a way to get PHP to correctly handle zip archives 
short of rebuilding my PHP installation from the source RPM with 
--enable-zip as a configuration option?


http://pecl.php.net/package/zip

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


Re: [CentOS] XFS or JFS on CentOS 5?

2008-11-19 Thread Bill Campbell
On Wed, Nov 19, 2008, Ray Van Dolson wrote:
>On Wed, Nov 19, 2008 at 10:46:00PM -0800, John R Pierce wrote:
>> Ray Van Dolson wrote:
>>> Hi folks... trying to pick between jfs and xfs for a filesystem.  In
>>> the past we've used jfs with CentOS + centosplus, however, ...
>>
>> CentOS and its upstream source, RHEL, support ex3fs.   I'm not sure why 
>> you'd want to use anything else.   If you have a specific requirement for 
>> JFS, I'd suggest running a BSD or AIX system where JFS is native...  If you 
>> need XFS, I'd run a Linux distribution that supports it natively.
>>
>> If you roll your own hybrid operating system, you get to test and validate 
>> it, and if it breaks, you get to keep both pieces.
>
>Thanks for the reply John.  However, my question wasn't so much "if I
>should" but how the xfs support in CentOS compares to jfs.  It seems to
>me that xfs is a bit more up-to-date.

I have not tried either of these on CentOS, but have on SuSE
Enterprise Linux.  I have lost data on both jfs and xfs on SuSE
so now use ext3 for everything as it's the only file system that
has never bitten me in the butt.

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

Unix is simple. It just takes a genius to understand its simplicity --
Dennis Ritchie
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] XFS or JFS on CentOS 5?

2008-11-19 Thread Dunc

Ray Van Dolson wrote:

On Wed, Nov 19, 2008 at 10:46:00PM -0800, John R Pierce wrote:
  

Ray Van Dolson wrote:


Hi folks... trying to pick between jfs and xfs for a filesystem.  In
the past we've used jfs with CentOS + centosplus, however, ...
  
CentOS and its upstream source, RHEL, support ex3fs.   I'm not sure why 
you'd want to use anything else.   If you have a specific requirement for 
JFS, I'd suggest running a BSD or AIX system where JFS is native...  If you 
need XFS, I'd run a Linux distribution that supports it natively.


If you roll your own hybrid operating system, you get to test and validate 
it, and if it breaks, you get to keep both pieces.



Thanks for the reply John.  However, my question wasn't so much "if I
should" but how the xfs support in CentOS compares to jfs.  It seems to
me that xfs is a bit more up-to-date.

If you'd like, consider the question academic vs giving me a
recommendation that pushes me down the path of unsupported filesystem
doom. :-)

  
I've been using XFS on centos for a couple of years with no problems. 
Only minor annoyance was when the kmod for new kernels was slow to 
appear, but thats not a problem any more due to the non kernel version  
dependant kmods.


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


Re: [CentOS] XFS or JFS on CentOS 5?

2008-11-19 Thread Jiann-Ming Su
On Thu, Nov 20, 2008 at 1:55 AM, Ray Van Dolson <[EMAIL PROTECTED]> wrote:
>
> Thanks for the reply John.  However, my question wasn't so much "if I
> should" but how the xfs support in CentOS compares to jfs.  It seems to
> me that xfs is a bit more up-to-date.
>

Which one to use seems to come down to what you're using that
particular filesystem for.  I'm using xfs with CentOS 5.2 on one of my
system's non-root filesystem.  Seems to work well.  I haven't used jfs
on CentOS in a while, but not for any of the reasons you've listed.

-- 
Jiann-Ming Su
"I have to decide between two equally frightening options.
 If I wanted to do that, I'd vote." --Duckman
"The system's broke, Hank.  The election baby has peed in
the bath water.  You got to throw 'em both out."  --Dale Gribble
"Those who vote decide nothing.
Those who count the votes decide everything."  --Joseph Stalin
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] I need help with CentOS installation on a Core 2 Duo Laptop

2008-11-19 Thread Sadaruwan Samaraweera
Hi,
I tried this option "linux acpi=off pci=nommconf" as well but the
problem is when I use this I can install the OS but when try to boot
on to the OS it's hang up on the boot up progress bar screen of the
CentOS and I can't do  any thing. So I checked it with the text mode
loader it was the same problem can any one help me to over come this.

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