Re: [CentOS-es] Conectarse a un recurso compartido en

2008-09-22 Thread carlos restrepo
Compañero, vas bién enfocado, estos links te ayudara a implementar ACL'S:


 http://www.vanemery.com/Linux/ACL/linux-acl.html

http://dns.bdat.net/documentos/samba/acls-linux-samba/x115.html


El 18 de septiembre de 2008 16:34, Héctor Suárez Planas 
[EMAIL PROTECTED] escribió:

 ...

  Hector, conoces LinNeighborhood?, es excelente para acceder a recursos
  compartidos en servidores de archivo Samba.

 Sí, pero no es exactamente lo que necesito. Te explico.

 Entre un amigo mío y yo montamos un Fedora Directory Server 1.0.4 en un
 servidor con CentOS 5.2 y configuramos el Samba como PDC usando al FDS como
 almacén de usuarios y contraseñas. O sea, un dominio en Linux.

 Los datos de los usuarios y las contraseñas las tomamos de un servidor
 Active Directory que está en funcionamiento, o sea, logramos sincronizar
 los
 usuarios y contraseñas del ADS con el FDS.

 Además de eso, existe un servidor de archivos donde se encuentran los
 perfiles de usuarios al cuál se conectan las estaciones de trabajo Windows
 montando en una unidad el recurso compartido que apunta al perfil del
 usuario.

 Lo que quiero hacer es lograr que cuando un usuario autentique en su
 estación de trabajo, tomar ese mismo token y montar en un subdirectorio
 local el recurso compartido del servidor de archivos (el perfil del
 usuario)
 mediante el comando mount.cifs. He leído que cuando no se especifica las
 opciones del usuario y la contraseña, estos se toman de las variables de
 entorno $USER y $PASSWD.

 La ventaja que tengo es que el usuario que se encuentra en el Fedora
 Directory Server tiene un equivalente en el Active Directory y quiero
 seguir
 usando el mismo servidor de archivos para no afectar el servicio.

 Hasta ahora me da un error de permisos:

 mount error 13 = Permission denied
 Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)



 ---
Red Telematica de Salud - Cuba
  CNICM - Infomed
 ___
 CentOS-es mailing list
 CentOS-es@centos.org
 http://lists.centos.org/mailman/listinfo/centos-es




-- 
Carlos Restrepo M.
___
CentOS-es mailing list
CentOS-es@centos.org
http://lists.centos.org/mailman/listinfo/centos-es


Re: [CentOS-es] Conectarse a un recurso compartido en

2008-09-22 Thread Wilder Deza
Olas k talkos... disculpa me intereza implementar un FDS..no se si seria 
mucho pedir que me pases si esk has utilizado una guia de la instalacion 
para yo tb poder guiarme..gracias espero tu respuesta help..


correos: [EMAIL PROTECTED], [EMAIL PROTECTED]

* *

Saludos,






carlos restrepo escribió:

Compañero, vas bién enfocado, estos links te ayudara a implementar ACL'S:


 http://www.vanemery.com/Linux/ACL/linux-acl.html

http://dns.bdat.net/documentos/samba/acls-linux-samba/x115.html


El 18 de septiembre de 2008 16:34, Héctor Suárez Planas 
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] escribió:


...

 Hector, conoces LinNeighborhood?, es excelente para acceder a
recursos
 compartidos en servidores de archivo Samba.

Sí, pero no es exactamente lo que necesito. Te explico.

Entre un amigo mío y yo montamos un Fedora Directory Server 1.0.4
en un
servidor con CentOS 5.2 y configuramos el Samba como PDC usando al
FDS como
almacén de usuarios y contraseñas. O sea, un dominio en Linux.

Los datos de los usuarios y las contraseñas las tomamos de un servidor
Active Directory que está en funcionamiento, o sea, logramos
sincronizar los
usuarios y contraseñas del ADS con el FDS.

Además de eso, existe un servidor de archivos donde se encuentran los
perfiles de usuarios al cuál se conectan las estaciones de trabajo
Windows
montando en una unidad el recurso compartido que apunta al perfil del
usuario.

Lo que quiero hacer es lograr que cuando un usuario autentique en su
estación de trabajo, tomar ese mismo token y montar en un
subdirectorio
local el recurso compartido del servidor de archivos (el perfil
del usuario)
mediante el comando mount.cifs. He leído que cuando no se
especifica las
opciones del usuario y la contraseña, estos se toman de las
variables de
entorno $USER y $PASSWD.

La ventaja que tengo es que el usuario que se encuentra en el Fedora
Directory Server tiene un equivalente en el Active Directory y
quiero seguir
usando el mismo servidor de archivos para no afectar el servicio.

Hasta ahora me da un error de permisos:

mount error 13 = Permission denied
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)



---
   Red Telematica de Salud - Cuba
 CNICM - Infomed
___
CentOS-es mailing list
CentOS-es@centos.org mailto:CentOS-es@centos.org
http://lists.centos.org/mailman/listinfo/centos-es




--
Carlos Restrepo M.


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

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


Re: [CentOS-es] Conectarse a un recurso compartido en

2008-09-22 Thread carlos restrepo
Hola...

Este links tiene toda la documentación que necesitas para la implementación
de FDS.


http://directory.fedoraproject.org/


Saludos.


Carlos R.

El 22 de septiembre de 2008 14:48, Wilder Deza [EMAIL PROTECTED]escribió:

 Olas k talkos... disculpa me intereza implementar un FDS..no se si seria
 mucho pedir que me pases si esk has utilizado una guia de la instalacion
 para yo tb poder guiarme..gracias espero tu respuesta help..

 correos: [EMAIL PROTECTED], [EMAIL PROTECTED]

 * *

 Saludos,






 carlos restrepo escribió:

 Compañero, vas bién enfocado, estos links te ayudara a implementar ACL'S:


  http://www.vanemery.com/Linux/ACL/linux-acl.html

 http://dns.bdat.net/documentos/samba/acls-linux-samba/x115.html


 El 18 de septiembre de 2008 16:34, Héctor Suárez Planas 
 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] escribió:


...

 Hector, conoces LinNeighborhood?, es excelente para acceder a
recursos
 compartidos en servidores de archivo Samba.

Sí, pero no es exactamente lo que necesito. Te explico.

Entre un amigo mío y yo montamos un Fedora Directory Server 1.0.4
en un
servidor con CentOS 5.2 y configuramos el Samba como PDC usando al
FDS como
almacén de usuarios y contraseñas. O sea, un dominio en Linux.

Los datos de los usuarios y las contraseñas las tomamos de un servidor
Active Directory que está en funcionamiento, o sea, logramos
sincronizar los
usuarios y contraseñas del ADS con el FDS.

Además de eso, existe un servidor de archivos donde se encuentran los
perfiles de usuarios al cuál se conectan las estaciones de trabajo
Windows
montando en una unidad el recurso compartido que apunta al perfil del
usuario.

Lo que quiero hacer es lograr que cuando un usuario autentique en su
estación de trabajo, tomar ese mismo token y montar en un
subdirectorio
local el recurso compartido del servidor de archivos (el perfil
del usuario)
mediante el comando mount.cifs. He leído que cuando no se
especifica las
opciones del usuario y la contraseña, estos se toman de las
variables de
entorno $USER y $PASSWD.

La ventaja que tengo es que el usuario que se encuentra en el Fedora
Directory Server tiene un equivalente en el Active Directory y
quiero seguir
usando el mismo servidor de archivos para no afectar el servicio.

Hasta ahora me da un error de permisos:

mount error 13 = Permission denied
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)



---
   Red Telematica de Salud - Cuba
 CNICM - Infomed
___
CentOS-es mailing list
CentOS-es@centos.org mailto:CentOS-es@centos.org
http://lists.centos.org/mailman/listinfo/centos-es




 --
 Carlos Restrepo M.
 

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


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




-- 
Carlos Restrepo M.
___
CentOS-es mailing list
CentOS-es@centos.org
http://lists.centos.org/mailman/listinfo/centos-es


RE: [CentOS-es] Conectarse a un recurso compartido en

2008-09-22 Thread Héctor Suárez Planas
...

 Compañero, vas bién enfocado, estos links te ayudara a implementar ACL'S:

 http://www.vanemery.com/Linux/ACL/linux-acl.html

 http://dns.bdat.net/documentos/samba/acls-linux-samba/x115.html

Gracias hermano. Las imprimiré y las leeré.



---
Red Telematica de Salud - Cuba
  CNICM - Infomed
___
CentOS-es mailing list
CentOS-es@centos.org
http://lists.centos.org/mailman/listinfo/centos-es


Re: [CentOS] usb irq problem

2008-09-22 Thread Pasi Kärkkäinen
On Fri, Sep 19, 2008 at 06:58:21PM +0530, partha chowdhury wrote:
 i add the irqpoll option to kernel line. after the system booted i log
 into X with tty1 also login as root with the command  tail
 -f /var/log/messages for monitoring . After 10 to 20 minutes i got the
 same message again but this time immediately the system froze up !
 
 i tried it 5 times now and each time is the same result.i also noticed
 that the system was behaving very slowly till the message came up like
 usually folder copy operation - i usually get 70-90MB/s according to
 vmstat 1  comand, but with irqpoll  the maximum i noticed was like
 10MB/s.
 
 Am i doing something wrong ?
 

I'm seeing this same problem on IBM HS21-8853 blades.

It _seems_ like a bug in IRQ routing in BIOS/motherboard.. ACPI issue? 

With IBM blades I'm able to fix the problem by generating the initrd image
with --without-usb switch.. this delays the USB module initialization/loading,
somehow fixing the problem.. giving different IRQ to USB controller.

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


Re: [CentOS] netfilter kernel crash in ip_ct_refresh_acct / ip_conntrack with centos 5.x

2008-09-22 Thread Pasi Kärkkäinen
On Fri, Sep 19, 2008 at 03:55:22PM -0400, Jake Holmquist wrote:
  Hello!
 
  Has anyone seen this netfilter kernel crash?
 
  Images from the console of the crashed firewall:
  http://pasik.reaktio.net/centos5-kernel-crash/
 
  Firewall is HP DL360 G4 server running CentOS 5.x 32 bit.
 
  I've seen this firewall crashing multiple times, but I only started
 investigating it lately..
 
  It has happened using CentOS 5.0, 5.1 and now also with 5.2. I'm not sure
 if
  it was the same bug earlier, but at least the last two times (with CentOS
 5.2)
  it has been the same, see screenshots.
 
  Last lines of the console output:
 
  EIP: [f8af2c5c] __ip_ct_refresh_acct+0xa1/0x129 [ip_conntrack] SS:ESP
 0068:c0724e4c
   0Kernel panic - not syncing: Fatal exception in interrupt
 
  At the moment firewall is running CentOS 5.2, Linux kernel
 2.6.18-92.1.10.el5.centos.plus.
 
  Any tips how to resolve this?
 
 
 Take a look here:
 https://bugzilla.redhat.com/show_bug.cgi?id=433661
 
 Looks like a test kernel is available
 
 
 We've been having this problem for quite some time - actually moved our
 production box to RHEL 4.x
 

Thanks! This looks like a same bug I'm seeing.. 

I think I'll try latest RHEL 5.3 test kernel on that fw box..

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


[CentOS] Problem with booting/grub (?)

2008-09-22 Thread Mark Hull-Richter
Earlier this evening, I had the interesting experience of shutting down
my machine (because of that lp out-of-sync problem, discussed
elsewhere), and watching it not come back up.  I admit that I changed
out one of my DVD writers for another one, but I don't understand how
that could have had any effect on this:

When I restarted the machine, it came up to the point where it normally
shows: GRUB Loading Stage 2...

Except, it stopped at the GRUB and hung - no stage 2, no disk
activity, nothing, just hung.

One of the changes I made a little while ago was to modify the boot
order of my drives.  I had been booting off of the hda drive, but now
I'm booting from the sda drive.  I went through the
grub-install /dev/sda back then, then fixed the grub.conf because the
disk id for the root was wrong (it was showing hd2, but in order to
boot, this had to be set to hd0 because grub couldn't find anything on
hd2 - weird, 'cuz that's where the /boot and / partitions both live, but
I digress).

I thought I'd be able to recover from this by booting from hda again,
but that didn't work.  So I put in my Live CD, booted from that and
tried to fix it via grub-install from there - no go.  Grub couldn't
find /dev/mapper/livecd-rw (which wasn't there,
although /dev/mapper/live-rw was - is that a bug in the live cd?)

Then I went to my installation DVD, booted up into linux rescue mode
(which took a few tries because I forgot to boot with linux rescue
noapic), chroot'd to the right /dev and THEN I could finally run
grub-install, and finally, the system rebooted from /dev/sda.

I'm wondering:

1) What would cause the system not to get to the Loading stage 2 part
but be able to load GRUB?  This one is really the key - if I can
understand this, I can prevent it from happening again.

2) What's with the live CD not being able to run grub-install properly?
(It also would not install using grub - I don't recall the exact error
message, but it was something about there not being a stage 1 area on
the drive, which makes no sense because it _does_ boot from that drive).

3) Is this the only way to recover from such an error (GRUB, no stage 2,
not the lp error), or was there an easier way I missed?

My configuration is:

OS :CentOS 5.2 (2.6.18-92.1.10 Linux kernel) x86_64 with latest
updates

Hardware:
AMD Athlon 64 x2 4200+ (2 x 2.0GHz), ECS NFORCE4M-A
4GB OCZ DDR2 800MHz (PC6400)
/dev/hdaMaxtor 160MB PATA UDMA-133
/dev/hdbMaxtor 120MB PATA UDMA-133
/dev/sdaSeagate 300GB SATA-150/300
/dev/sdbWD 320GB SATA-150/300
/dev/hdcPioneer 1810 (DVR-112D) 18x DVD+/-RW/DL
/dev/hddPioneer 1810 (DVR-112D) 18x DVD+/-RW/DL
 
Thanks.

mhr

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


[CentOS] ProLiant Support Pack PSP 8.11: hpplduinstaller takes 100% CPU and hangs / hpplduioss defunct

2008-09-22 Thread Sven
Hi folks,

We use CentOS 5.2 (with latest errata) 64bit on DL380 G5 and trying to
install psp-8.11.rhel5.x86_64.en.tar.gz. After installing dependencies
(like kernel-devel, rpm-devel, etc):

# ./install811.sh
Saving user-defined agent thresholds... [ Done ]


Checking system for required packages...[ Done ]

./hpplduioss: error while loading shared libraries: libXi.so.6: cannot
open shared object file: No such file or directory

HP ProLiant Deployment Utility for Linux
  Copyright 2003-2008 Hewlett-Packard Development Company, L.P.

The current log file name is now /var/log/hppldu.log

# ps -ef
[...]
root 30463 1  0 10:24 ?00:00:00 /usr/sbin/snmpd -Lsd
-Lf /dev/null -p /var/run/snmpd.pid -a
root 30577  7742  0 10:24 pts/000:00:00 /bin/bash ./install811.sh
root 31012 30577  0 10:24 pts/000:00:00 ./hppldu
root 31020 31012  0 10:24 pts/000:00:00 ./hpplduparserss MG
root 31021 31012 99 10:24 pts/000:25:28 ./hpplduinstallerss MG
root 31022 31012  0 10:24 pts/000:00:00 [hpplduioss] defunct
root 31023 31012  0 10:24 pts/000:00:00 ./hpplduverchkdbss MG
root 31026 31012  0 10:24 pts/000:00:00 ./hppldudepchkss MG
root 31286  7740  0 10:28 pts/100:00:00 -bash
[...]

#  top
  PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  COMMAND
31021 root  18   0 32516  764  560 S  101  0.0  27:08.24 hpplduinstaller

# strace -p 31021
Process 31021 attached - interrupt to quit
[ Process PID=31021 runs in 32 bit mode. ]
futex(0xf7569bd8, FUTEX_WAIT, 31037, NULL unfinished ...
Process 31021 detached

Any idea how to troubleshoot and successfully install? Anybody running
PSP on ProLiant/CentOS?
Is there a ProLiant specific mailing list?

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


[CentOS] Centos and Oracle

2008-09-22 Thread Szemerédy Gábor

Hello llist!
I have Centos 5.2 installed!
Would like to use Oracle on it.So I downloaded Oracle Apllication server 
10g rel. 3.
We need to develop and use Oracle Forms applications. Do we need to 
install 10g Developer Suite also or are the forms contained in the 
application server?
If we need the Developer Suite also , please tell us where from to 
download it.

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


Re: [CentOS] Re: Install X from DVD

2008-09-22 Thread Ralph Angenendt
Robert wrote:
 (You did read the 1st sentence of Ralph's 1st reply, right?  -- If you  
 haven't done *any* upgrade on that machine yet,)? 

 Once that system has been cross-pollinated, all bets are off.  If you  
 *have* loaded that baby down with updates and/or packages from Fedora,  
 EPEL, rpmforge, sourceforge, etc., then you will likely have a bunch of  
 head-scratchin' in your near and distant future. Un-bastardization is  
 kinda like un-ringing a bell.

Having stuff on there from other repos isn't even the problem: As soon
as you update *one* package on the machine, the centos media repository
isn't able to satisfy dependencies anymore, as it only knows about stuff
which is *on* the install medium.

Ralph


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


Re: [CentOS] Up2date for 4.7?

2008-09-22 Thread Ralph Angenendt
Josh Donovan wrote:
 Jason Pyeron wrote:
 
  The mirrors are missing the headers folders which prevents up2date from 
  working.
 
 Use yum. Apt4rpm, Up2date used to work back in the day but that is long ago..

apt4rpm uses the same metadata as yum does. 

Cheers,

Ralph


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


Re: [CentOS] Up2date for 4.7?

2008-09-22 Thread Ralph Angenendt
Jason Pyeron wrote:
 No, as it seemd that up2date support was pulled by the previous reply.

Don't believe everyone, please file a bug report :)

Cheers,

Ralph


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


Re: [CentOS] Up2date for 4.7?

2008-09-22 Thread Josh Donovan
Ralph Angenendt wrote:
 Don't believe everyone, please file a bug report :)

Read the following long post on yum vs up2date
http://lists.centos.org/pipermail/centos/2006-September/027265.html
Don't quote me on this but I believe the reason apt4rpm was pulled
from upstream was it had multilib issues.

Filing a bug is by all means welcome but will that mean the
bastardized version of up2date that CentOS uses (Johhny's words)
have the functionality of yum and its plugins?

Perhaps we could have a little fun with a 2008 version of
yum vs Up2date vs Apt? Ha Ha Ha...

Thanks,
Josh.




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


Re: [CentOS] netfilter kernel crash in ip_ct_refresh_acct / ip_conntrack with centos 5.x

2008-09-22 Thread Pasi Kärkkäinen
On Mon, Sep 22, 2008 at 11:53:36AM +0300, Pasi Kärkkäinen wrote:
 On Fri, Sep 19, 2008 at 03:55:22PM -0400, Jake Holmquist wrote:
   Hello!
  
   Has anyone seen this netfilter kernel crash?
  
   Images from the console of the crashed firewall:
   http://pasik.reaktio.net/centos5-kernel-crash/
  
   Firewall is HP DL360 G4 server running CentOS 5.x 32 bit.
  
   I've seen this firewall crashing multiple times, but I only started
  investigating it lately..
  
   It has happened using CentOS 5.0, 5.1 and now also with 5.2. I'm not sure
  if
   it was the same bug earlier, but at least the last two times (with CentOS
  5.2)
   it has been the same, see screenshots.
  
   Last lines of the console output:
  
   EIP: [f8af2c5c] __ip_ct_refresh_acct+0xa1/0x129 [ip_conntrack] SS:ESP
  0068:c0724e4c
0Kernel panic - not syncing: Fatal exception in interrupt
  
   At the moment firewall is running CentOS 5.2, Linux kernel
  2.6.18-92.1.10.el5.centos.plus.
  
   Any tips how to resolve this?
  
  
  Take a look here:
  https://bugzilla.redhat.com/show_bug.cgi?id=433661
  
  Looks like a test kernel is available
  
  
  We've been having this problem for quite some time - actually moved our
  production box to RHEL 4.x
  
 
 Thanks! This looks like a same bug I'm seeing.. 
 
 I think I'll try latest RHEL 5.3 test kernel on that fw box..
 

Just a followup to netfilter-devel too.. as it was missing from CC field.

So this seems to be Redhat/RHEL bug: 
https://bugzilla.redhat.com/show_bug.cgi?id=433661

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


Re: [CentOS] Up2date for 4.7?

2008-09-22 Thread Ralph Angenendt
Josh Donovan wrote:
 Ralph Angenendt wrote:
  Don't believe everyone, please file a bug report :)
 
 Read the following long post on yum vs up2date
 http://lists.centos.org/pipermail/centos/2006-September/027265.html
 Don't quote me on this but I believe the reason apt4rpm was pulled
 from upstream was it had multilib issues.

Upstream never had apt4rpm in the enterprise product.

 Filing a bug is by all means welcome but will that mean the
 bastardized version of up2date that CentOS uses (Johhny's words)
 have the functionality of yum and its plugins?

No. But it will work as before, when the headers/ directory is there.

 Perhaps we could have a little fun with a 2008 version of
 yum vs Up2date vs Apt? Ha Ha Ha...

As said: apt4rpm works on the same metadata yum does, up2date doesn't
and is just there for convenience mode. And as up2date still is in
CentOS 4, it should work. For limited values of work, but ...

Ralph


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


[CentOS] Sendmail and headers

2008-09-22 Thread Bob Hoffman
Hi all,
Hope someone out there has experience with this.
I can send, receive, and smtp my mail with my centos server fine and dandy.
All the virtual domains headers for from and reply to and such are good.

However, there is one field that I cannot change.
(centos 5.2, dns, sendmail, virtualhosts all on same server)

The ip and hostname of the server is coming up when the ehlo is called from
the receiving server (like yahoo.com and gmail)..instantly tagging all mail
as spam, but not deleting it.


The header on the mails shows this

Received: from 45.45.01.01 (EHLO server.myserverhostname.com) (45.45.01.01) 

Where it should have the ip address of the website and the website
mail.website.com...

I have played with masquerade_envelope, masquerade_as, masquerade_domain,
etc...and about 100 different combinations.
I have added the websites to etc/hosts in an effort to make that work too.

I am assuming it is masquerade that will do it. But lost as to how to
proceed. Is there anyone out there hosting some websites who could point me
in the right direction.

All the books and websites deal with multiple machines and masquerading all
domains as the same...and not making them all different.

I cannot conclude or solve this. Any help deply appreciated.

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


Re: [CentOS] Up2date for 4.7?

2008-09-22 Thread Josh Donovan
Ralph Angenendt wrote:
 Upstream never had apt4rpm in the enterprise product.

Fedora  RHEL  CentOS

CentOS 4 is based on Fedora Core 3 which at the time used
apt4rpm. Why didn't it make its way to RHEL 4, while yum 
made its way to RHEL 5?

As the OP mentioned learning curve issues, he may be
used to up2date and he can look at the following from upstream.

Q : What are the yum equivalents of former up2date common tasks?
http://kbase.redhat.com/faq/FAQ_80_11223.shtm

Thanks,
Josh.




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


Re: [CentOS] Up2date for 4.7?

2008-09-22 Thread Ralph Angenendt
Josh Donovan wrote:
 Ralph Angenendt wrote:
  Upstream never had apt4rpm in the enterprise product.
 
 Fedora  RHEL  CentOS
 
 CentOS 4 is based on Fedora Core 3 which at the time used
 apt4rpm. Why didn't it make its way to RHEL 4, while yum 
 made its way to RHEL 5?

Because FC3 used yum? 

 As the OP mentioned learning curve issues, he may be
 used to up2date and he can look at the following from upstream.
 
 Q : What are the yum equivalents of former up2date common tasks?
 http://kbase.redhat.com/faq/FAQ_80_11223.shtm

There still is the fact that we are *SHIPPING* up2date and it *DOES NOT*
work at the moment. This has nothing to do with equivalents in yum or
FC3 having apt4rpm or whatnot.

Ralph


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


[CentOS] Re: CentOS on a Sunfire 880

2008-09-22 Thread Tom G. Christensen

John R Pierce wrote:
  Solaris 7 (2.7, sunos 5.7) is way past end of service life, and 8 is

nearly there.   9 is nearing the end.


Let's stick to the facts:
http://www.sun.com/service/eosl/solaris/solaris_vintage_eol_5.2005.xml

Solaris 7 reached its EOSL just last month. Solaris 8 won't reach it for 
another 3½ years!


Solaris 9 hasn't even stopped shipping yet so it's not nearing the end 
in any way.


-tgc

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


Re: [CentOS] Up2date for 4.7?

2008-09-22 Thread Ralph Angenendt
Ralph Angenendt wrote:
 There still is the fact that we are *SHIPPING* up2date and it *DOES NOT*
 work at the moment. This has nothing to do with equivalents in yum or
 FC3 having apt4rpm or whatnot.

BTW: In the meantime the headers have reappeared in 4.7:

[EMAIL PROTECTED] 4.7]# ls -1 os/i386/headers/|wc -l
1591


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


Re: [CentOS] Centos and Oracle

2008-09-22 Thread Jorge Fábregas
On Monday 22 September 2008 05:23:51 am Szemerédy Gábor wrote:
 We need to develop and use Oracle Forms applications. Do we need to
 install 10g Developer Suite also or are the forms contained in the
 application server?

Yes, you need to install the Developer Suite in order to use Forms Builder, 
Report Builder etc...

 If we need the Developer Suite also , please tell us where from to
 download it.

http://www.oracle.com/technology/software/index.html

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


Re: [CentOS] Centos and Oracle

2008-09-22 Thread Szemerédy Gábor

Jorge Fábregas wrote:

On Monday 22 September 2008 05:23:51 am Szemerédy Gábor wrote:
  

We need to develop and use Oracle Forms applications. Do we need to
install 10g Developer Suite also or are the forms contained in the
application server?



Yes, you need to install the Developer Suite in order to use Forms Builder, 
Report Builder etc...


  

If we need the Developer Suite also , please tell us where from to
download it.



http://www.oracle.com/technology/software/index.html

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

  

Thank you Mr. Fábregas!
Just to be sure!I need Oracle Application server 10g as a database and 
the Developer Suite 10g?Is that correct?

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


Re: [CentOS] Sendmail and headers

2008-09-22 Thread Stephen Harris
 Received: from 45.45.01.01 (EHLO server.myserverhostname.com) (45.45.01.01) 
 
 Where it should have the ip address of the website and the website
 mail.website.com...

This line is added by the RECEIVING machine.  The IP address is that which
connected to the receiving machine.  The ehlo value reported is that
used by the sending machine, and is set by the Dj line in sendmail.cf
(confDOMAIN_NAME in sendmail.mc) on the sending machine.

-- 

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


RE: [CentOS] Sendmail and headers

2008-09-22 Thread Bob Hoffman
At last a lifeline.
That would be the canonical hostname right, the $j?

So would you use masquerade or some kind of local_domain setting to make the
receiving client see the proper information in ehlo relating to the domain
that sent it?
So the server would respond to the request with the proper ip and
mailmydomain.com instead of server ip and serverhostname.

Hey...and thanks for any help. This last bit is killing me. 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Stephen Harris
 Sent: Monday, September 22, 2008 8:51 AM
 To: CentOS mailing list
 Subject: Re: [CentOS] Sendmail and headers
 
  Received: from 45.45.01.01 (EHLO server.myserverhostname.com) 
  (45.45.01.01)
  
  Where it should have the ip address of the website and the website 
  mail.website.com...
 
 This line is added by the RECEIVING machine.  The IP address 
 is that which connected to the receiving machine.  The ehlo 
 value reported is that used by the sending machine, and is 
 set by the Dj line in sendmail.cf (confDOMAIN_NAME in 
 sendmail.mc) on the sending machine.
 
 -- 
 
 rgds
 Stephen
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

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


RE: [CentOS] Sendmail and headers

2008-09-22 Thread Josh Donovan
Bob Hoffman wrote:
 At last a lifeline.

Wow fantastic stuff. You would be a star if you followed
some of the tips at 
http://lists.centos.org/pipermail/centos/2008-September/064533.html
particularly bottom posting.

Thanks,
Josh.





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


RE: [CentOS] Sendmail and headers

2008-09-22 Thread Bob Hoffman
 

 
 The IP address reported is the _actual_ IP address of the 
 machine connecting, not the IP address of the ehlo 
 response.  You can't masquerade that in sendmail at all.
 
 If you set the canonical name (Dj, confDOMAIN_NAME) then your 
 machine will pretend to be that name for 
 sending/receiving/EHLO etc etc.
 
 So the _hostname_ shown in the EHLO response can be changed, 
 but the IP address can _not_.
 

(hopefully this is right, text, bottom, cut text)

I am thinking there is no way then, to use virtual domains and have the mail
server show up as mail.mydomain.com at all. It will be my hostname I have
now and that is it.

I tried resetting the DNS records so the mail servers pointed to the domain
on the IP for the hostname, but that did not work, still came up as 'flakey'
in the headers and bounced as spam from yahoo and stuff.

Well...at least I can stop dealing with masquerade, that was annoying as
heck.

Stephen, thank you for clearing this up a bit. I see the answer to
virtualhost mails working correctly are gonna be hard, and obviously in a
different direction.

Oh what fun programming is..

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


Re: [CentOS] Sendmail and headers

2008-09-22 Thread Stephen Harris
On Mon, Sep 22, 2008 at 08:56:18AM -0400, Bob Hoffman wrote:
 At last a lifeline.
 That would be the canonical hostname right, the $j?
 
 So would you use masquerade or some kind of local_domain setting to make the
 receiving client see the proper information in ehlo relating to the domain
 that sent it?
 So the server would respond to the request with the proper ip and
 mailmydomain.com instead of server ip and serverhostname.
 
 Hey...and thanks for any help. This last bit is killing me. 

The IP address reported is the _actual_ IP address of the machine
connecting, not the IP address of the ehlo response.  You can't
masquerade that in sendmail at all.

If you set the canonical name (Dj, confDOMAIN_NAME) then your machine
will pretend to be that name for sending/receiving/EHLO etc etc.

So the _hostname_ shown in the EHLO response can be changed, but the
IP address can _not_.

-- 

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


Re: [CentOS] Sendmail and headers

2008-09-22 Thread Stephen Harris
  The IP address reported is the _actual_ IP address of the 
  machine connecting, not the IP address of the ehlo 
  response.  You can't masquerade that in sendmail at all.

 I am thinking there is no way then, to use virtual domains and have the mail
 server show up as mail.mydomain.com at all. It will be my hostname I have
 now and that is it.

If these are virtual machines (uml, xen, vmware, whatever) then the
host could do IP NAT so that traffic _looks_ like it's coming from the
host (or another of the virtual machines).  If they're physically
seperate boxes then you need to arrange for a smart-host type setup
and have mail forwarding through that.

-- 

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


Re: [CentOS] Strange ! characters inserted into emails

2008-09-22 Thread Sean Carolan
Thanks, gents!
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


RE: [CentOS] Sendmail and headers

2008-09-22 Thread Bob Hoffman
 

 
 If these are virtual machines (uml, xen, vmware, whatever) 
 then the host could do IP NAT so that traffic _looks_ like 
 it's coming from the host (or another of the virtual 
 machines).  If they're physically seperate boxes then you 
 need to arrange for a smart-host type setup and have mail 
 forwarding through that.

Nope, just one server with some domains. One server with the dns, sendmail
and domains all bundled up in a nice pile.
I am gonna try to do the different ip listen thing with sendmail since they
all have their own ip first...

Gonna sleep now... A long night of getting no where with the sendmail
books...well at least the issue is solved finally.. Whew.

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


[CentOS] building php4 against stock mysql on centos 5.2 64bit

2008-09-22 Thread Ivan Levchenko
HI,

I'm building php4.4.9 on centos 5.2 x64, and I need it to use the
systems mysql libs, not the bundled ones

./configure --with-libdir=lib64 --with-dbx --with-openssl --with-pcre
--with-pgsql --with-posix \
--with-xml --with-zlib --with-gd=/usr --enable-gd-native-ttf
--enable-bcmath --enable-fastcgi \
--disable-ipv6 --enable-force-cgi-redirect --with-bz2 --enable-ftp
--with-apxs2 --with-iconv \
--with-freetype-dir=/usr --with-ttf --with-jpeg-dir=/usr
--with-xpm-dir=/usr --with-png \
--with-mysql=/usr --prefix=/usr/local

and all i'm getting is this:
checking for mysql_close in -lmysqlclient... no
checking for mysql_error in -lmysqlclient... no
configure: error: mysql configure failed. Please check config.log for
more information.

this is what is going on in config.log:
/usr/bin/ld: skipping incompatible /usr/lib/mysql/libmysqlclient.so
when searching for -lmysqlclient
/usr/bin/ld: skipping incompatible /usr/lib/mysql/libmysqlclient.a
when searching for -lmysqlclient
/usr/bin/ld: cannot find -lmysqlclient

I've tried sooo many config combinations. config finishes if using
bundled mysql libs, but thats not enough... =(...

Any hope on this? Has anybody solved this before?

Thanks in advance!

# rpm -qa | grep mysql
mysql-5.0.45-7.el5
mysql-devel-5.0.45-7.el5
mysql-devel-5.0.45-7.el5
mysql-5.0.45-7.el5

--

Best Regards,

Ivan Levchenko
[EMAIL PROTECTED]
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Sendmail and headers

2008-09-22 Thread Stephen Harris
On Mon, Sep 22, 2008 at 09:55:47AM -0400, Bob Hoffman wrote:
 Nope, just one server with some domains. One server with the dns, sendmail
 and domains all bundled up in a nice pile.

I don't know what you mean by some domains.  How are you implementing
the domains?

-- 

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


RE: [CentOS] Sendmail and headers

2008-09-22 Thread Bob Hoffman
 

 I don't know what you mean by some domains.  How are you 
 implementing the domains?

I have a server. It has centos.
I run apache. I have domains on there, websites.. Each is listed in the dns
and some are ip based and some name based.

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


Re: [CentOS] Centos and Oracle

2008-09-22 Thread John R Pierce

Szemerédy Gábor wrote:


Just to be sure!I need Oracle Application server 10g as a database and 
the Developer Suite 10g?Is that correct?




This would be a question best answered by Oracle pre-sales support, not 
a CentOS email list.




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


Re: [CentOS] Sendmail and headers

2008-09-22 Thread John R Pierce

Bob Hoffman wrote:
 

  
I don't know what you mean by some domains.  How are you 
implementing the domains?



I have a server. It has centos.
I run apache. I have domains on there, websites.. Each is listed in the dns
and some are ip based and some name based.
  


a mail server needs REVERSE DNS that matches its announced name for best 
results.   have all your domains use the same 'real' hostname for the MX 
record, and whatever IP this server needs to reverse to that same name, 
or at least a name in the same domain  (my server reverses to 
hogranch.com, and uses mail.hogranch.com as its email MX, this seems 
acceptable to most... this server delivers mail for several different 
domains)



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


Re: [CentOS] Re: CentOS on a Sunfire 880

2008-09-22 Thread John R Pierce

Tom G. Christensen wrote:

John R Pierce wrote:
  Solaris 7 (2.7, sunos 5.7) is way past end of service life, and 8 is

nearly there.   9 is nearing the end.


Let's stick to the facts:
http://www.sun.com/service/eosl/solaris/solaris_vintage_eol_5.2005.xml

Solaris 7 reached its EOSL just last month. Solaris 8 won't reach it 
for another 3½ years!




Ok, I jumped the gun a bit, and should have double checked my facts.

However, for all practical purposes, the EOL Phase 1 dates are the ones 
to go by as no patches are rreleased after that.   7 was EOL Phase 1 in 
2005, and 8 reaches that in March 09.


Solaris 9 hasn't even stopped shipping yet so it's not nearing the 
end in any way.


I suspect this will be pretty soon now, however, and EOL phase 1 is 2 
years later.


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


[CentOS] Re: Request info on managing MySQL

2008-09-22 Thread Scott Silva

on 9-20-2008 6:40 PM Joe Klemmer spake the following:

Good day/night/whatever fellow techies,

I've come to a small problem managing mysql on CentOS 4.7 box[1].  When
I have done things on mysql on my desktop systems it was always just for
personal use so I would be lazy and put everything under the test db
so I didn't have to deal with all that security.  But I find that I need
to put some db's on the production box and could use a little
assistance.

I can manage with the bulk of the work but since mysql is all
pre-configured on RH based systems I don't know where to find the root
password or any other tidbits needed to get started.  Access to the
grant and other admin db's and tables is all I believe I need.  Looking
through the docs on centos.org didn't reveal anything to me (or I just
missed it).




I do believe that a default install of Mysql leaves no root password, which 
you *should* add as soon as you start the service.




So the end result of this message is simply can someone point me to the
howto use mysql on CentOS/RHEL info.  I just need to be able to start
adding db's and such.  Once there I'm good to go.

Thank you in advance,
Joe


[1] I know, I should upgrade but, as I mentioned, I'm a real lazy guy.



4.7 just came out. So what are you lazy about upgrading?


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



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


[CentOS] Utility of Centos liveCD

2008-09-22 Thread David Dyer-Bennet
It appears that the liveCD (CentOS-5.2-i386-LoveCD.iso that I downloaded
late last week) does not contain either netcat or tcpdump.  Given the
frequent use of a livecd for testing and debugging, those would seem to be
key tools that should be available.

Obviously a LiveCD can't contain everything anybody might ever want, but
I'd give those two tools a pretty high priority; certainly much higher
than, oh, sound-juicer, say, or openoffice.org-impress.

(See me *not* asking for emacs in this space.  Well, unless there was
actually spare space just sitting there.)
-- 
David Dyer-Bennet, [EMAIL PROTECTED]; http://dd-b.net/
Snapshots: http://dd-b.net/dd-b/SnapshotAlbum/data/
Photos: http://dd-b.net/photography/gallery/
Dragaera: http://dragaera.info

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


RE: [CentOS] Centos and Oracle [offtopic]

2008-09-22 Thread Jason Pyeron
If you have access to metalink there is a wealth of resources there too.

--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-   -
- Jason Pyeron  PD Inc. http://www.pdinc.us -
- Principal Consultant  10 West 24th Street #100-
- +1 (443) 269-1555 x333Baltimore, Maryland 21218   -
-   -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
This message is copyright PD Inc, subject to license 20080407P00.
 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of John R Pierce
 Sent: Monday, September 22, 2008 10:56 AM
 To: CentOS mailing list
 Subject: Re: [CentOS] Centos and Oracle
 
 Szemerédy Gábor wrote:
 
  Just to be sure!I need Oracle Application server 10g as a 
 database and 
  the Developer Suite 10g?Is that correct?
 
 
 This would be a question best answered by Oracle pre-sales 
 support, not a CentOS email list.
 
 
 
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos
 

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


Re: [CentOS] Utility of Centos liveCD

2008-09-22 Thread Akemi Yagi
On Mon, Sep 22, 2008 at 8:15 AM, David Dyer-Bennet [EMAIL PROTECTED] wrote:
 It appears that the liveCD (CentOS-5.2-i386-LoveCD.iso that I downloaded
 late last week) does not contain either netcat or tcpdump.  Given the
 frequent use of a livecd for testing and debugging, those would seem to be
 key tools that should be available.

 Obviously a LiveCD can't contain everything anybody might ever want, but
 I'd give those two tools a pretty high priority; certainly much higher
 than, oh, sound-juicer, say, or openoffice.org-impress.

You might want to file a request at:

https://projects.centos.org/trac/livecd/

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


RE: [CentOS] Re: Request info on managing MySQL

2008-09-22 Thread Bob Hoffman
 

 I do believe that a default install of Mysql leaves no root 
 password, which you *should* add as soon as you start the service.
  So the end result of this message is simply can someone 
 point me to the
  howto use mysql on CentOS/RHEL info.  I just need to be 
 able to start
  adding db's and such.  Once there I'm good to go.
  
  Thank you in advance,
  Joe


A standard install of centos and mysql will have 4 items you need to be
concerned with.

There will be 2 anonymous users databases and 2 roots...

You should delete the 2 anaonymous immediately and add a password for the
two roots.

For the root

shell mysql -u root
mysql SET PASSWORD FOR 'root'@'localhost' = 'paswrd1';
mysql SET PASSWORD FOR 'root'@'host_name' = 'passwrd2';

While in mysql as root, 
delete from mysql.user where user='';
(this will get rid of anonymous users.

Anonymous will allow people to access your mysql server without a password.
Until you add passwords to root, you are also highly insecure.

Im too busy trying to figure out sendmail right now...lol

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


RE: [CentOS] Re: Request info on managing MySQL

2008-09-22 Thread Bob Hoffman
 

shell mysql -u root
 mysql SET PASSWORD FOR 'root'@'localhost' = 'paswrd1';
mysql SET  PASSWORD FOR mysql 'root'@'host_name' = 'passwrd2';

Do not know why the mail messed those lines up

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


RE: [CentOS] Re: Request info on managing MySQL

2008-09-22 Thread Bob Hoffman
 

 
 shell mysql -u root
  mysql SET PASSWORD FOR 'root'@'localhost' = 'paswrd1';
 mysql SET  PASSWORD FOR mysql 'root'@'host_name' = 'passwrd2';
 

Host_name is usually localdomain..

But check first with show databases to see..

Sorry for the many emails

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


[CentOS] Getting perl CGI programs to work on CentOS 5 server

2008-09-22 Thread Andrew Allen
I'm trying to get perl CGI programs to work from the cgi-bin (actually a
sub-directory cgi-bin/various) and have set appropriate permissions
using chmod 755. I'm currently testing using the simplest cgi program,
you know the one:
#!/usr/bin/perl
# howdy--the easiest of CGI programs

use CGI;

print END_of_Multiline_Text;
Content-type: text/html

HTML
 HEAD
TITLEHello World/TITLE
/HEAD
BODY
H1Greetings, Terrans!/H1
/BODY
/HTML

END_of_Multiline_Text

This has worked absolutely fine in the past, but now when I invoke it,
either nothing appears in the browser (Mozilla Firefox) or I get
Internal Server Error - any ideas please?

Thanks,
Andy

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


[CentOS] Re: Need help transfering CentOS5 from desktop to laptop

2008-09-22 Thread Scott Silva

on 9-21-2008 4:43 PM Lanny Marcus spake the following:

On Sun, Sep 21, 2008 at 6:38 PM, Lanny Marcus [EMAIL PROTECTED] wrote:

On Sun, Sep 21, 2008 at 12:25 PM, Robert Arkiletian [EMAIL PROTECTED] wrote:

I gave up. I tried everything. Don't know what the problem was (buggy
bios/corrupt fs ) and don't care now. Taking too much time to
simply re-install grub (6hrs). I'm doing a complete re-install on the
laptop.

Sorry you had a bad problem with this. Possibly this page on the Wiki
will give you some pointers:
http://wiki.centos.org/HowTos/Laptops

For those of us who are newbies, it's frequently frustrating, but when
you get something that was problematic to work properly, it feels good
and something was learned.


A  follow on to my previous reply. During the week, you would probably
have gotten some very knowledgeable replies and received them quickly.
The list has been very slow this weekend.

Last weekend of summer!



--
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] Getting perl CGI programs to work on CentOS 5 server

2008-09-22 Thread Raja Subramanian
On Mon, Sep 22, 2008 at 9:18 PM, Andrew Allen [EMAIL PROTECTED] wrote:
 This has worked absolutely fine in the past, but now when I invoke it,
 either nothing appears in the browser (Mozilla Firefox) or I get
 Internal Server Error - any ideas please?

Check your web server logs to find out what went wrong.

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


[CentOS] Restarting failed processes

2008-09-22 Thread Matty
We are running a process on a CentOS box, and periodically it dies.
Does anyone happen
to have any recommendations for a lightweight tool that can be used to
monitor processes
and restart them if they happen to fail? I looked at monit, but it
appears to be a bit much
for restarting a process.

Thanks for any feedback,
- Ryan
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Update troubles for wxGTK apps

2008-09-22 Thread Marcus Moeller
Good Evening.

 I believe what Dag is saying is that, if you wish to use audacity, you
 cannot update wxGTK.  Conversely, if you update wxGTK, you cannot use
 audacity.  I'm sure he will eventually resolve the issue.

 In the meantime, how are we supposed to go about to install AMule, VLC and
 Audacity on a *new* install? No problem to write an 'exclude=' line in
 /etc/yum.conf on existing systems so updates get currently ignored. IMHO
 these things should have been put to some testing repo first. I prefer
 having slightly outdated software rather than mutually excluding updates :o/

 Because this is not really a CentOS issue, I think it is best to take
 it to the rpmforge packagers' mailing list.  For example, Fabian
 recently discussed wxGTK here:

 http://lists.rpmforge.net/pipermail/packagers/2008-September/000709.html

Are there any updates on that? yum still complains about missing
dependencies on an installation with aMule and wxGTK.

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


Re: [CentOS] Getting perl CGI programs to work on CentOS 5 server

2008-09-22 Thread Paul Heinlein

On Mon, 22 Sep 2008, Andrew Allen wrote:

I'm trying to get perl CGI programs to work from the cgi-bin 
(actually a sub-directory cgi-bin/various) and have set appropriate 
permissions using chmod 755. I'm currently testing using the 
simplest cgi program, you know the one: []


This has worked absolutely fine in the past, but now when I invoke 
it, either nothing appears in the browser (Mozilla Firefox) or I get 
Internal Server Error - any ideas please?


Is SELinux enabled? If so, the problem will show up in the audit logs:

  ausearch -c httpd -m avc

In general, you'll want to

1. make sure the security context on the CGI script and the directory
   tree that contains it is httpd_sys_script_exec_t, and

2. make sure that no SELinux booleans are in the way, httpd_enable_cgi
   in particular:

 getsebool httpd_enable_cgi

   If it's set to off, then you'll want to enable it:

 setsebool httpd_enable_cgi=1

--
Paul Heinlein  [EMAIL PROTECTED]  http://www.madboa.com/
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] ProLiant Support Pack PSP 8.11: hpplduinstaller takes 100% CPU and hangs / hpplduioss defunct

2008-09-22 Thread Marcelo Roccasalva
On Mon, Sep 22, 2008 at 5:59 AM, Sven [EMAIL PROTECTED] wrote:
 Hi folks,

 We use CentOS 5.2 (with latest errata) 64bit on DL380 G5 and trying to
 install psp-8.11.rhel5.x86_64.en.tar.gz. After installing dependencies
 (like kernel-devel, rpm-devel, etc):

 # ./install811.sh
 Saving user-defined agent thresholds... [ Done ]


 Checking system for required packages...[ Done ]

 ./hpplduioss: error while loading shared libraries: libXi.so.6: cannot
 open shared object file: No such file or directory

Install xorg-x11-libs (both 64 and 32 bits versions) and try again.

-- 
Marcelo

¿No será acaso que ésta vida moderna está teniendo más de moderna que
de vida? (Mafalda)
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Restarting failed processes

2008-09-22 Thread nate
Matty wrote:
 We are running a process on a CentOS box, and periodically it dies.
 Does anyone happen
 to have any recommendations for a lightweight tool that can be used to
 monitor processes
 and restart them if they happen to fail? I looked at monit, but it
 appears to be a bit much
 for restarting a process.

Depending on the task it doesn't get too much more light
weight than init. Oracle even uses it for their Cluster
Synchronization services (CSS).

And of course init is available in almost all versions
of unix and linux.

nate

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


Re: [CentOS] Restarting failed processes

2008-09-22 Thread Peter Hinse
Matty schrieb:

 We are running a process on a CentOS box, and periodically it dies. 
 Does anyone happen to have any recommendations for a lightweight tool
 that can be used to monitor processes and restart them if they happen
 to fail? I looked at monit, but it appears to be a bit much for
 restarting a process.

I like monit, it is easy to configure - if you only need to monitor one
service, than just configure that single service - no need to use the
whole set of features.

Regards,

Peter




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


[CentOS] Re: Problem with booting/grub (?)

2008-09-22 Thread Scott Silva

on 9-22-2008 1:53 AM Mark Hull-Richter spake the following:
Earlier this evening, I had the interesting experience of shutting down 
my machine (because of that lp out-of-sync problem, discussed 
elsewhere), and watching it not come back up.  I admit that I changed 
out one of my DVD writers for another one, but I don't understand how 
that could have had any effect on this:


When I restarted the machine, it came up to the point where it normally 
shows: GRUB Loading Stage 2...


Except, it stopped at the GRUB and hung - no stage 2, no disk 
activity, nothing, just hung.


One of the changes I made a little while ago was to modify the boot 
order of my drives.  I had been booting off of the hda drive, but now 
I'm booting from the sda drive.  I went through the grub-install 
/dev/sda back then, then fixed the grub.conf because the disk id for 
the root was wrong (it was showing hd2, but in order to boot, this had 
to be set to hd0 because grub couldn't find anything on hd2 - weird, 
'cuz that's where the /boot and / partitions both live, but I digress).


I thought I'd be able to recover from this by booting from hda again, 
but that didn't work.  So I put in my Live CD, booted from that and 
tried to fix it via grub-install from there - no go.  Grub couldn't find 
/dev/mapper/livecd-rw (which wasn't there, although /dev/mapper/live-rw 
was - is that a bug in the live cd?)


Then I went to my installation DVD, booted up into linux rescue mode 
(which took a few tries because I forgot to boot with linux rescue 
noapic), chroot'd to the right /dev and THEN I could finally run 
grub-install, and finally, the system rebooted from /dev/sda.


I'm wondering:

1) What would cause the system not to get to the Loading stage 2 part 
but be able to load GRUB?  This one is really the key - if I can 
understand this, I can prevent it from happening again.


Grub boot code is in the mbr so it loads. If it can't find the stage 2 it 
usually quietly dies. I believe it has to load stage 1 to have enough code to 
actually give error messages. The mbr is just too small to get all the code 
into. So changing drives also changed the bios disk order on your system, and 
grub got confused.



2) What's with the live CD not being able to run grub-install properly?  
(It also would not install using grub - I don't recall the exact error 
message, but it was something about there not being a stage 1 area on 
the drive, which makes no sense because it _does_ boot from that drive).
The live CD isn't really a proper rescue disk for grub, but it is adequate to 
copy/move data off. I wish it had the rescue cd code from an install disk at 
least as a boot option.


3) Is this the only way to recover from such an error (GRUB, no stage 2, 
not the lp error), or was there an easier way I missed?


My configuration is:

OS :CentOS 5.2 (2.6.18-92.1.10 Linux kernel) x86_64 with latest updates

Hardware:
AMD Athlon 64 x2 4200+ (2 x 2.0GHz), ECS NFORCE4M-A
4GB OCZ DDR2 800MHz (PC6400)
/dev/hdaMaxtor 160MB PATA UDMA-133
/dev/hdbMaxtor 120MB PATA UDMA-133
/dev/sdaSeagate 300GB SATA-150/300
/dev/sdbWD 320GB SATA-150/300
/dev/hdcPioneer 1810 (DVR-112D) 18x DVD+/-RW/DL
/dev/hddPioneer 1810 (DVR-112D) 18x DVD+/-RW/DL

Thanks.

mhr




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



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



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


[CentOS] Re: Sendmail and headers

2008-09-22 Thread Scott Silva

on 9-22-2008 7:25 AM Bob Hoffman spake the following:
 

I don't know what you mean by some domains.  How are you 
implementing the domains?


I have a server. It has centos.
I run apache. I have domains on there, websites.. Each is listed in the dns
and some are ip based and some name based.
If you want each server to have different sendmail processes and ip addresses, 
you need some sort of virtual server setup. Sendmail won't work the same as 
your apache setup works. The mail goes out over a certain ip address, and the 
receiving machine sees that address and does a reverse DNS on it.


What you use is not as important. Youi could use zen, vmware, freeVPS, or 
whatever else is available.

http://en.wikipedia.org/wiki/Comparison_of_virtual_machines
lists many

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



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


[CentOS] Re: Sendmail and headers

2008-09-22 Thread Scott Silva

on 9-22-2008 7:25 AM Bob Hoffman spake the following:
 

I don't know what you mean by some domains.  How are you 
implementing the domains?


I have a server. It has centos.
I run apache. I have domains on there, websites.. Each is listed in the dns
and some are ip based and some name based.

If you want each server to have different sendmail processes and ip addresses,
you need some sort of virtual server setup. Sendmail won't work the same as
your apache setup works. The mail goes out over a certain ip address, and the
receiving machine sees that address and does a reverse DNS on it.

What you use is not as important. You could use zen, vmware, freeVPS, or
whatever else is available.
http://en.wikipedia.org/wiki/Comparison_of_virtual_machines
lists many

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


signature.asc
Description: PGP signature


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


Re: [CentOS] Re: Problem with booting/grub (?)

2008-09-22 Thread MHR
On Mon, Sep 22, 2008 at 10:08 AM, Scott Silva [EMAIL PROTECTED] wrote:

 Grub boot code is in the mbr so it loads. If it can't find the stage 2 it
 usually quietly dies. I believe it has to load stage 1 to have enough code
 to actually give error messages. The mbr is just too small to get all the
 code into. So changing drives also changed the bios disk order on your
 system, and grub got confused.


I sympathize (I'm confused, too).

I can't swear to it, but I'm pretty sure I had rebooted several times
after changing the boot drive and the boot drive order, all without a
hitch.  Then this happened.

I can swear (now) that I have rebooted several times since recovering,
so if I muddled through this correctly, you're saying that it
shouldn't happen again as long as I don't change the drive order
again, right?

One of the things that I found rather irritating in all this was the
utter lack of clarity provided in both the man pages for grub and
grub-install, and the info pages (which are supposed to be more in
detail but are not, really).  How do I know which disk is which from
grub's p.o.v.?  There is no command to list the drives, and I wound up
using the geometry command and my personal knowledge of what those
were supposed to be to figure out which one grub thought was which,
and even that made no sense because what grub saw as hd0 was my
/dev/hda drive (which is not the boot drive) and hd2 was my /dev/sda,
which _is_ the boot drive.  Or do the drive designations change once
the system is up?  (I.e., in my grub.conf, the boot drive is hd0, but
when the system comes up, it's hd2.)

I've looked through the documentation for grub at
http://www.gnu.org/software/grub/manual/html_node/index.html and this
particular ideosyncrasy is not clear.

Thanks, all.

PS: My apologies for the earlier html post - I sent that via Evolution
from home, and apparently it is not configured for text-only by
default (which I completely forgot).

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


[CentOS] Re: Problem with booting/grub (?)

2008-09-22 Thread Scott Silva

on 9-22-2008 11:06 AM MHR spake the following:

On Mon, Sep 22, 2008 at 10:08 AM, Scott Silva ssilva-m4n3GYAQT2lWk0Htik3J/[EMAIL 
PROTECTED] wrote:

Grub boot code is in the mbr so it loads. If it can't find the stage 2 it
usually quietly dies. I believe it has to load stage 1 to have enough code
to actually give error messages. The mbr is just too small to get all the
code into. So changing drives also changed the bios disk order on your
system, and grub got confused.



I sympathize (I'm confused, too).

I can't swear to it, but I'm pretty sure I had rebooted several times
after changing the boot drive and the boot drive order, all without a
hitch.  Then this happened.

I can swear (now) that I have rebooted several times since recovering,
so if I muddled through this correctly, you're saying that it
shouldn't happen again as long as I don't change the drive order
again, right?

One of the things that I found rather irritating in all this was the
utter lack of clarity provided in both the man pages for grub and
grub-install, and the info pages (which are supposed to be more in
detail but are not, really).  How do I know which disk is which from
grub's p.o.v.?  There is no command to list the drives, and I wound up
using the geometry command and my personal knowledge of what those
were supposed to be to figure out which one grub thought was which,
and even that made no sense because what grub saw as hd0 was my
/dev/hda drive (which is not the boot drive) and hd2 was my /dev/sda,
which _is_ the boot drive.  Or do the drive designations change once
the system is up?  (I.e., in my grub.conf, the boot drive is hd0, but
when the system comes up, it's hd2.)

I've looked through the documentation for grub at
http://www.gnu.org/software/grub/manual/html_node/index.html and this
particular ideosyncrasy is not clear.

Thanks, all.

PS: My apologies for the earlier html post - I sent that via Evolution
from home, and apparently it is not configured for text-only by
default (which I completely forgot).

mhr

It is more common with the systems that have pata and sata interfaces on them.
The bios first starts its int13 code and maps drives in a certain order, then 
when linux starts, its drivers load and everything re-maps again.

 If you have hard drives on both, it is a crapshoot sometimes.
The newer kernels have supposedly moved the old ide code into the base sata 
drivers, so someday all the drives will show up as sd?.


http://linuxgazette.net/141/anonymous.html

http://linux.knightnet.org.uk/2008/01/more-on-grub-bug-with-mixed-pata-and.html



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



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


[CentOS] RHEL RPC Automatic multithreading

2008-09-22 Thread lingu
Hi all,


 *I am porting my  POSIX multi threaded application from SOLARIS to RHEL.

My application uses SUN RPC (with Automatic multi threading option.)

In RHEL RPC  I Could not find any option for  Automatic multi threading.
*

*Please Help me.*

Regards,

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


Re: [CentOS] usb irq problem

2008-09-22 Thread partha chowdhury

On Mon, 2008-09-22 at 11:43 +0300, Pasi Kärkkäinen wrote:
 I'm seeing this same problem on IBM HS21-8853 blades.
 
 It _seems_ like a bug in IRQ routing in BIOS/motherboard.. ACPI issue? 
 
 With IBM blades I'm able to fix the problem by generating the initrd image
 with --without-usb switch.. this delays the USB module 
 initialization/loading,
 somehow fixing the problem.. giving different IRQ to USB controller.
 
 -- Pasi
 ___

i just tried your fix and it solved the problem. now the usb drive does
not disappear any more. Thank you !

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


Re: [CentOS] Re: Problem with booting/grub (?)

2008-09-22 Thread William L. Maltby

On Mon, 2008-09-22 at 11:06 -0700, MHR wrote:
 On Mon, Sep 22, 2008 at 10:08 AM, Scott Silva [EMAIL PROTECTED] wrote:
 
  Grub boot code is in the mbr so it loads. If it can't find the stage 2 it
  usually quietly dies. I believe it has to load stage 1 to have enough code
  to actually give error messages. The mbr is just too small to get all the
  code into. So changing drives also changed the bios disk order on your
  system, and grub got confused.
 
 
 I sympathize (I'm confused, too).
 
 I can't swear to it, but I'm pretty sure I had rebooted several times
 after changing the boot drive and the boot drive order, all without a
 hitch.  Then this happened.
 
 I can swear (now) that I have rebooted several times since recovering,
 so if I muddled through this correctly, you're saying that it
 shouldn't happen again as long as I don't change the drive order
 again, right?
 
 One of the things that I found rather irritating in all this was the
 utter lack of clarity provided in both the man pages for grub and
 grub-install, and the info pages (which are supposed to be more in
 detail but are not, really).  How do I know which disk is which from
 grub's p.o.v.?  There is no command to list the drives, and I wound up

BIOS assigns hex drive ID to the boot disk 0f 0x80. From BIOS POV,
next is 0x81, 0x82, ...

Now, say you set in BIOS to boot from hdd. It becomes 0x80, hda becomes
0x81, ...

This is the code passed to GRUB, which interprets hd{0,1,2,3} relative
to 0x80, 0x81, ...

Note that with hdd selected as boot, we have a shuffle up:

hda-hdb, hdb-hdc, hdc-hdd and, of course, hdd-hda.

OTOH (IIRC - be careful now I'm recalling deep dark stuff) if you select
hdb as the boot device, it becomes 0x80, ... NEVER MIND!

Read this instead (from 2003)

http://www.linuxfromscratch.org/hints/downloads/files/boot_any_hd.txt

 snip

HTH
-- 
Bill

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


[CentOS] Touch Screen on Centos 5 UPDATE 2

2008-09-22 Thread lingu
HI,

*
 Any one help me in configuring Touch Screen Monitor on centos 5 update 2.Is
there is any special driver or  xorg.conf to be tuned  for the touch screen
to work.


 I am trying with Touch  Screen from 3M-MICROTOUCH Connected to my SAMSUNG
CRT MONITOR .
*

Regards,

Lingu
*
***http://www.google.co.in/url?sa=tsource=webct=rescd=8url=http%3A%2F%2Fwww.barcodesinc.com%2Fcats%2Ftouchscreens%2Fei=5urXSIGCNoSC7QPchN2HDgusg=AFQjCNHoXEzZm_1pwlvL7RYHqrryQrB8vAsig2=_LDgOkERLZmm7ykar2-92w
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Re: RHEL RPC Automatic multithreading

2008-09-22 Thread Scott Silva

on 9-22-2008 11:56 AM lingu spake the following:

Hi all,


 *I am porting my  POSIX multi threaded application from SOLARIS to RHEL.

My application uses SUN RPC (with Automatic multi threading option.)

In RHEL RPC  I Could not find any option for  Automatic multi threading.
*

*Please Help me.*

Regards,

lingu

Posting again in *bold* won't make any one suddenly know the answer to your 
request. Maybe you should try *shouting* at the devel forums.


--
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] Up2date for 4.7?

2008-09-22 Thread Josh Donovan
Ralph Angenendt wrote:

 BTW: In the meantime the headers have reappeared in 4.7:
 [EMAIL PROTECTED] 4.7]# ls -1 os/i386/headers/|wc -l

From a quick look at http://bugs.centos.org I note neither 
you nor the OP has filed a bug. Isn't the lack of headers 
similar to bug 3018 http://bugs.centos.org/view.php?id=3018

Therefore would there be any need to file a bug if its 
already been filed before? I would agree with Johnny's Hughes
statement You would be much better off using yum for updates on CentOS-4.

Thanks,
Josh.




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


Re: [CentOS] Request info on managing MySQL

2008-09-22 Thread Josh Donovan
Joe Klemmer wrote:

 So the end result of this message is simply can someone point me to the
 howto use mysql on CentOS/RHEL info.  I just need to be able to start
 adding db's and such.  Once there I'm good to go.

1. Install mysql

# yum install mysql-server mysql

2. Start MySQL Service

To start mysql server type the following command:
# chkconfig mysqld on
# /etc/init.d/mysqld start

3. Setup mysql root password

Type the following command to setup a password for root user:
# mysqladmin -u root password NEWPASSWORD
Test mysql connectivity

Type the following command to connect to MySQL server:
$ mysql -u root -p

4. Install phpmyadmin and configure it.

5. You are good to go.

Thanks,
Josh.





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


[CentOS] RAID / OS Monitoring tools ?

2008-09-22 Thread kevin kempter

Hi List;

I just got a new server (my first **real** server).

It's a dell 2900 :
quad core XEON (with a spare slot for a 2nd quad core chip)
8G memory (expandable to 64G)
8 hot swap SATA HD slots onboard
PERC6i RAID controller
etc

I initially setup the system / RAID as follows:

1)  booted off the dell setup CD
2) walked through the RAID setup and formatted the drives
3) the setup bombed when it asked for a RHEL install media (I suspect  
cause I gave it a CentOS 5 install DVD instead)

4) powered off
5) restarted the box with the CentOS DVD in the drive and installed  
CentOS 5


The RAID configuration was as I had set it up in the DELL setup cd so  
I'm happy.



Now I want to be able to monitor the box, specifically with respect to  
the RAID drives so I'll know if one has gone bad and the RAID  
configuration has failed over to it. Anyone have any suggestions for  
tools to use ?


Thanks in advance...








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


RE: [CentOS] RAID / OS Monitoring tools ?

2008-09-22 Thread Fred Kienker
 -Original Message-
 From: kevin kempter [mailto:[EMAIL PROTECTED] 
 Sent: Monday, September 22, 2008 5:28 PM
 To: CentOS mailing list
 Subject: [CentOS] RAID / OS Monitoring tools ?
 
 Hi List;
 
 I just got a new server (my first **real** server).
 
 It's a dell 2900 :
 quad core XEON (with a spare slot for a 2nd quad core chip) 
 8G memory (expandable to 64G)
 8 hot swap SATA HD slots onboard
 PERC6i RAID controller
 etc
 
 I initially setup the system / RAID as follows:
 
 1)  booted off the dell setup CD
 2) walked through the RAID setup and formatted the drives
 3) the setup bombed when it asked for a RHEL install media (I 
 suspect cause I gave it a CentOS 5 install DVD instead)
 4) powered off
 5) restarted the box with the CentOS DVD in the drive and 
 installed CentOS 5
 
 The RAID configuration was as I had set it up in the DELL 
 setup cd so I'm happy.
 
 
 Now I want to be able to monitor the box, specifically with 
 respect to the RAID drives so I'll know if one has gone bad 
 and the RAID configuration has failed over to it. Anyone have 
 any suggestions for tools to use ?
 
 Thanks in advance...
 
 
 
 
 
 
 
 
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos
 
 


You need the Dell OMSA tools. They are easy to install and work great with 
CentOS. Google Dell and OMSA to find them. You can add the Dell repository to 
yum to make it even easier to install and maintain them.

Best regards, 
Fred 

Fred Kienker
AT4B
5261 Sunset Trail
Marietta, GA 30068

[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
770.518.6166 Phone
770.518.6992 Fax

Advanced Technologies For Business


This transmission may contain information that is privileged, confidential 
and/or exempt from disclosure under applicable law. If you are not the intended 
recipient, you are hereby notified that any disclosure, copying, distribution, 
or use of the information contained herein (including any reliance thereon) is 
STRICTLY PROHIBITED. If you received this transmission in error, please 
immediately contact the sender and destroy the material in its entirety, 
whether in electronic or hard copy format. Thank you.

 

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


RE: [CentOS] RAID / OS Monitoring tools ?

2008-09-22 Thread Joshua Baker-LePain

On Mon, 22 Sep 2008 at 5:53pm, Fred Kienker wrote


It's a dell 2900 :
quad core XEON (with a spare slot for a 2nd quad core chip)
8G memory (expandable to 64G)
8 hot swap SATA HD slots onboard
PERC6i RAID controller

*snip*

Now I want to be able to monitor the box, specifically with
respect to the RAID drives so I'll know if one has gone bad
and the RAID configuration has failed over to it. Anyone have
any suggestions for tools to use ?


You need the Dell OMSA tools. They are easy to install and work great 
with CentOS. Google Dell and OMSA to find them. You can add the Dell 
repository to yum to make it even easier to install and maintain them.


If you're like me and generally hate vendor tools, I believe that Dell's 
PERC controllers are rebadged LSIs.  LSI has a command line tool you can 
use to monitor them.  MegaCli is more than just a bit obtuse, but a little 
bit of scripting goes a long way.


--
Joshua Baker-LePain
QB3 Shared Cluster Sysadmin
UCSF
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] RAID / OS Monitoring tools ?

2008-09-22 Thread Spiro Harvey
 Now I want to be able to monitor the box, specifically with respect
 to the RAID drives so I'll know if one has gone bad and the RAID  
 configuration has failed over to it. Anyone have any suggestions for  
 tools to use ?

We use 3Ware RAID cards, and they have a CLI util called tw_cli. We run
tw_cli info c0 every hour into a rotating file. Then from crontab we
run a script that diffs the current output to the last hour's output.

If there's a difference, it emails us.



-- 
Spiro Harvey  Knossos Networks Ltd
021-295-1923www.knossos.net.nz

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


[CentOS] install of Pod::Simple through CPAN

2008-09-22 Thread Al Sparks
I'm running CentOS 4.4.

I'm trying to install swatch (a log watcher) using CPAN.

It's getting hung up on trying to install a dependency, Pod::Simple

So before I get too wrapped up in this, I have the following
questions:

1.  Is there an alternative way to install swatch?  I didn't get a hit
when I tried yum.

2.  I'm not wedded to swatch.  Is there another log checker out there
that will work with CentOS?

3.  Lastly, here's the error I get when I attempt to install
Pod::Simple through CPAN:

   Test Summary Report
   ---
   t/xhtml01 (Wstat: 512 Tests: 26 Failed: 2)
 Failed tests:  24, 26
 Non-zero exit status: 2
   Files=53, Tests=1095,  9 wallclock secs ( 1.30 usr  0.10 sys +  7.22 cusr  
0.78 csys =  9.40 CPU)
   Result: FAIL
   Failed 1/53 test programs. 2/1095 subtests failed.
   make: *** [test_dynamic] Error 255
 ARANDAL/Pod-Simple-3.07.tar.gz
 /usr/bin/make test -- NOT OK
   //hint// to see the cpan-testers results for installing this module, try:
 reports ARANDAL/Pod-Simple-3.07.tar.gz
   Running make install
 make test had returned bad status, won't install without force
   Failed during this command:
ARANDAL/Pod-Simple-3.07.tar.gz   : make_test NO
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] install of Pod::Simple through CPAN

2008-09-22 Thread Filipe Brandenburger
Hi,

On Mon, Sep 22, 2008 at 18:36, Al Sparks [EMAIL PROTECTED] wrote:
 I'm trying to install [...whatever...] using CPAN.

DON'T!

http://wiki.centos.org/PackageManagement/SourceInstalls#head-cfd9f0e0d2b93af6f3ada5326e80577efc82fd2b

 1.  Is there an alternative way to install swatch?  I didn't get a hit
when I tried yum.

Look at RPMforge, they have swatch 3.1 here:
http://dag.wieers.com/rpm/packages/swatch/

 2.  I'm not wedded to swatch.  Is there another log checker out there
that will work with CentOS?

logwatch comes with CentOS and is installed by default.

 3.  Lastly, here's the error I get when I attempt to install
Pod::Simple through CPAN:

That's why you should never use CPAN on a RHEL/CentOS box.

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


Re: [CentOS] install of Pod::Simple through CPAN

2008-09-22 Thread Akemi Yagi
On Mon, Sep 22, 2008 at 3:47 PM, Filipe Brandenburger
[EMAIL PROTECTED] wrote:

 On Mon, Sep 22, 2008 at 18:36, Al Sparks [EMAIL PROTECTED] wrote:
 I'm trying to install [...whatever...] using CPAN.

 DON'T!

 3.  Lastly, here's the error I get when I attempt to install
Pod::Simple through CPAN:

 That's why you should never use CPAN on a RHEL/CentOS box.

Famous quote by Jim Perrin:

CPAN on rpm based machines is EVIL in so many ways it's not even funny.

To start, nothing installed via cpan identifies itself to the rpm
database, so anything you install which depends on a perl (CPAN)
module will fail because of missing dependencies. If you install
something via CPAN and upgrade the perl rpm for some reason (a perl
upgrade is released which translates regex into plain understandable
english perhaps) it's entirely possible that it will overwrite things
installed via cpan. This will cause you headaches down the road. In
addition, if a cpan module gets overly greedy with its dependency
build, you can end up with a broken or otherwise non-working perl
install.

It's much better to use the perl modules in the rpmforge and c.k.o
repositories, or cpan2rpm, or cpanflute. These will not interfere in
such a manner.

( http://lists.centos.org/pipermail/centos/2007-February/033001.html )
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Re: install of Pod::Simple through CPAN

2008-09-22 Thread Scott Silva

on 9-22-2008 3:56 PM Akemi Yagi spake the following:

On Mon, Sep 22, 2008 at 3:47 PM, Filipe Brandenburger
[EMAIL PROTECTED] wrote:


On Mon, Sep 22, 2008 at 18:36, Al Sparks data345-/[EMAIL PROTECTED] wrote:

I'm trying to install [...whatever...] using CPAN.

DON'T!


3.  Lastly, here's the error I get when I attempt to install
   Pod::Simple through CPAN:

That's why you should never use CPAN on a RHEL/CentOS box.


Famous quote by Jim Perrin:

CPAN on rpm based machines is EVIL in so many ways it's not even funny.

To start, nothing installed via cpan identifies itself to the rpm
database, so anything you install which depends on a perl (CPAN)
module will fail because of missing dependencies. If you install
something via CPAN and upgrade the perl rpm for some reason (a perl
upgrade is released which translates regex into plain understandable
english perhaps) it's entirely possible that it will overwrite things
installed via cpan. This will cause you headaches down the road. In
addition, if a cpan module gets overly greedy with its dependency
build, you can end up with a broken or otherwise non-working perl
install.

It's much better to use the perl modules in the rpmforge and c.k.o
repositories, or cpan2rpm, or cpanflute. These will not interfere in
such a manner.

( http://lists.centos.org/pipermail/centos/2007-February/033001.html )
I really wish upstream would break or otherwise disable the CPAN shell and 
access mechanisms and keep this from happening.


--
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] Re: Sendmail and headers

2008-09-22 Thread Bob Hoffman
 
 making 'received from ' header work with virtual domains

 SOLVED

Brent Bates pointed me in a direction... And with some guess work and some
hours (all day) in the books...and trials...this is accomplishable.

All you have to do is add a b modifier to your daemon options and a h
modifier to client_options.
Then just add mail.mydomain.com for each domain and ip to etc/hosts

Now all header show up correctly.

My earlier mails had a server.creatcom received from...now look at you
headers on this mail... It now says mail.bobhoffman.com and the proper ip
address.

So... It can be done, easily and simply.
Save this mail since it is the only one in existance with the answer

End of this post in the thread will show more specifics.
http://www.bobhoffman.com/forums/viewtopic.php?f=4t=5#p8

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


Re: [CentOS] Update troubles for wxGTK apps

2008-09-22 Thread fred smith
On Mon, Sep 22, 2008 at 06:27:45PM +0200, Marcus Moeller wrote:
 Good Evening.
 
  I believe what Dag is saying is that, if you wish to use audacity, you
  cannot update wxGTK.  Conversely, if you update wxGTK, you cannot use
  audacity.  I'm sure he will eventually resolve the issue.
 
  In the meantime, how are we supposed to go about to install AMule, VLC and
  Audacity on a *new* install? No problem to write an 'exclude=' line in
  /etc/yum.conf on existing systems so updates get currently ignored. IMHO
  these things should have been put to some testing repo first. I prefer
  having slightly outdated software rather than mutually excluding updates 
  :o/
 
  Because this is not really a CentOS issue, I think it is best to take
  it to the rpmforge packagers' mailing list.  For example, Fabian
  recently discussed wxGTK here:
 
  http://lists.rpmforge.net/pipermail/packagers/2008-September/000709.html
 
 Are there any updates on that? yum still complains about missing
 dependencies on an installation with aMule and wxGTK.

So what's the proper workaround here? As far as I'm concerned, Dag
has broken the update system on our Centos boxes. Is there any other
way to allow my system to be updated than to disable using Dag's repo?

(not including removing Audacity--which I don't use a LOT, but I do
use it.)

-- 
 Fred Smith -- [EMAIL PROTECTED] -
   But God demonstrates his own love for us in this: 
 While we were still sinners, 
  Christ died for us.
--- Romans 5:8 (niv) --


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


RE: [CentOS] RAID / OS Monitoring tools ?

2008-09-22 Thread John
JohnStanley Writes:

 Please see linux.dell.com and search for OMSA. With just one machine it
may be a little over kill but provides a GUI for all administration of the
server. Other wise you can direct all inquiries to
[EMAIL PROTECTED], just sgn up for the list.

There are also depending on your raid card, Mega-Cli or PERC Non GUI tools
to assist you.


JohnStanley

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of kevin kempter
Sent: Monday, September 22, 2008 5:28 PM
To: CentOS mailing list
Subject: [CentOS] RAID / OS Monitoring tools ?

Hi List;

I just got a new server (my first **real** server).

It's a dell 2900 :
quad core XEON (with a spare slot for a 2nd quad core chip) 8G memory
(expandable to 64G)
8 hot swap SATA HD slots onboard
PERC6i RAID controller
etc

I initially setup the system / RAID as follows:

1)  booted off the dell setup CD
2) walked through the RAID setup and formatted the drives
3) the setup bombed when it asked for a RHEL install media (I suspect cause
I gave it a CentOS 5 install DVD instead)
4) powered off
5) restarted the box with the CentOS DVD in the drive and installed CentOS 5

The RAID configuration was as I had set it up in the DELL setup cd so I'm
happy.


Now I want to be able to monitor the box, specifically with respect to the
RAID drives so I'll know if one has gone bad and the RAID configuration has
failed over to it. Anyone have any suggestions for tools to use ?

Thanks in advance...








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

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


Re: [CentOS] Update troubles for wxGTK apps

2008-09-22 Thread Robert



fred smith wrote:

On Mon, Sep 22, 2008 at 06:27:45PM +0200, Marcus Moeller wrote:
  

Good Evening.



I believe what Dag is saying is that, if you wish to use audacity, you
cannot update wxGTK.  Conversely, if you update wxGTK, you cannot use
audacity.  I'm sure he will eventually resolve the issue.
  

In the meantime, how are we supposed to go about to install AMule, VLC and
Audacity on a *new* install? No problem to write an 'exclude=' line in
/etc/yum.conf on existing systems so updates get currently ignored. IMHO
these things should have been put to some testing repo first. I prefer
having slightly outdated software rather than mutually excluding updates :o/


Because this is not really a CentOS issue, I think it is best to take
it to the rpmforge packagers' mailing list.  For example, Fabian
recently discussed wxGTK here:

http://lists.rpmforge.net/pipermail/packagers/2008-September/000709.html
  

Are there any updates on that? yum still complains about missing
dependencies on an installation with aMule and wxGTK.



So what's the proper workaround here? As far as I'm concerned, Dag
has broken 

echo I have `rpm -qa | grep rf | wc -l` reasons to apologize.


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


[CentOS] database diff's?

2008-09-22 Thread Gabriel Norton
Hi,

I'm trying to figure out what bits of info I need to ad to a DB to
manualy add users to an app (eGW) and was wondering if anyone had a
better way to find the differances in two states (pre/post change) of a
database. Only thing I could come up with was to do a DB dump to a file
before and after then run diff on them.

Anyone have a slicker, better, faster, not a as gee-wiz there should be
a better way to do this.

Thanks,

Gabe

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


RE: [CentOS] Update troubles for wxGTK apps

2008-09-22 Thread John

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of fred smith
Sent: Monday, September 22, 2008 7:59 PM
To: CentOS mailing list
Subject: Re: [CentOS] Update troubles for wxGTK apps

snip
snip/

So what's the proper workaround here? As far as I'm concerned, Dag has
broken the update system on our Centos boxes. Is there any other way to
allow my system to be updated than to disable using Dag's repo?

(not including removing Audacity--which I don't use a LOT, but I do use it.)

###
JohnStanley Writes:

Sure is, just use yum prioritys so when you do yum update it will exclude
DAGS-Repo. Just follow the tutorial on wiki.centos.org.

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


Re: [CentOS] database diff's?

2008-09-22 Thread Barry Brimer

Hi,

I'm trying to figure out what bits of info I need to ad to a DB to
manualy add users to an app (eGW) and was wondering if anyone had a
better way to find the differances in two states (pre/post change) of a
database. Only thing I could come up with was to do a DB dump to a file
before and after then run diff on them.

Anyone have a slicker, better, faster, not a as gee-wiz there should be
a better way to do this.


I suppose you could turn on some debug level logging and watch when the 
query runs that adds users.


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


Re: [CentOS] install of Pod::Simple through CPAN

2008-09-22 Thread Al Sparks

 logwatch comes with CentOS and is installed by default.

Logwatch doesn't seem to do real-time monitoring of logs.

It seems to just write up stats over a period of time you
can specify.

As for using CPAN, the warnings are noted.
   === Al
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Re: Request info on managing MySQL

2008-09-22 Thread Chris Boyd


On Sep 22, 2008, at 10:27 AM, Bob Hoffman wrote:


Host_name is usually localdomain..

But check first with show databases to see..


Use this to make sure:

SELECT Host, User FROM mysql.user;


--Chris

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


Re: [CentOS] Sendmail and headers

2008-09-22 Thread Chris Boyd


On Sep 22, 2008, at 5:58 AM, Bob Hoffman wrote:

Received: from 45.45.01.01 (EHLO server.myserverhostname.com)  
(45.45.01.01)


You should have a PTR record for your IP address that matches the name  
that the server has configured in the

define(`confDOMAIN_NAME', `server.foo.com')
line of your .mc file.

Then you should have an A record that resolves the domain name  
server.foo.com to the IP address that your server is connecting with.


Do this and your email will flow much more smoothly.

You should not have to fuss with masquerades just to deliver email for  
a bunch of Apache virtual host sites.


For extra credit you can configure SPF and Domain Keys, but this can  
have adverse side effects if the virtual host users are not careful  
about their email client configuration.


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


Re: [CentOS] Update troubles for wxGTK apps

2008-09-22 Thread fred smith
On Mon, Sep 22, 2008 at 08:19:37PM -0400, John wrote:
 
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
 Of fred smith
 Sent: Monday, September 22, 2008 7:59 PM
 To: CentOS mailing list
 Subject: Re: [CentOS] Update troubles for wxGTK apps
 
 snip
 snip/
 
 So what's the proper workaround here? As far as I'm concerned, Dag has
 broken the update system on our Centos boxes. Is there any other way to
 allow my system to be updated than to disable using Dag's repo?
 
 (not including removing Audacity--which I don't use a LOT, but I do use it.)
 
 ###
 JohnStanley Writes:
 
 Sure is, just use yum prioritys so when you do yum update it will exclude
 DAGS-Repo. Just follow the tutorial on wiki.centos.org.

I've had that set up ever since I first added any repositories.
I've got it set to a priority of 10, is there a better value to use?

# Name: RPMforge RPM Repository for Red Hat Enterprise 5 - dag
# URL: http://rpmforge.net/
[rpmforge]
name = Red Hat Enterprise $releasever - RPMforge.net - dag
#baseurl = http://apt.sw.be/redhat/el5/en/$basearch/dag
mirrorlist = http://apt.sw.be/redhat/el5/en/mirrors-rpmforge
#mirrorlist = file:///etc/yum.repos.d/mirrors-rpmforge
enabled = 1
protect = 0
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag
gpgcheck = 1
priority=10

-- 
 Fred Smith -- [EMAIL PROTECTED] -
   For the word of God is living and active. Sharper than any double-edged 
   sword, it penetrates even to dividing soul and spirit, joints and marrow; 
  it judges the thoughts and attitudes of the heart.  
 Hebrews 4:12 (niv) --


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


Re: [CentOS] usb irq problem

2008-09-22 Thread partha chowdhury

On Tue, 2008-09-23 at 00:27 +0530, partha chowdhury wrote:
 On Mon, 2008-09-22 at 11:43 +0300, Pasi Kärkkäinen wrote:
  I'm seeing this same problem on IBM HS21-8853 blades.
  
  It _seems_ like a bug in IRQ routing in BIOS/motherboard.. ACPI issue? 
  
  With IBM blades I'm able to fix the problem by generating the initrd image
  with --without-usb switch.. this delays the USB module 
  initialization/loading,
  somehow fixing the problem.. giving different IRQ to USB controller.
  
  -- Pasi
  ___
 
 i just tried your fix and it solved the problem. now the usb drive does
 not disappear any more. Thank you 

well I spoke too soon .Now the error message i am getting :

Sep 23 00:37:46 station2 kernel:  [c044e6fa] __report_bad_irq
+0x2b/0x69
Sep 23 00:37:46 station2 kernel:  [c044e8e7] note_interrupt
+0x1af/0x1e8
Sep 23 00:37:46 station2 kernel:  [c057afb4] usb_hcd_irq+0x23/0x50
Sep 23 00:37:46 station2 kernel:  [c044df27] handle_IRQ_event
+0x23/0x49
Sep 23 00:37:46 station2 kernel:  [c044dfe8] __do_IRQ+0x9b/0xd6
Sep 23 00:37:46 station2 kernel:  [c04073f4] do_IRQ+0x93/0xae
Sep 23 00:37:46 station2 kernel:  [c040592e] common_interrupt
+0x1a/0x20
Sep 23 00:37:46 station2 kernel:  [c0403b98] default_idle+0x0/0x59
Sep 23 00:37:46 station2 kernel:  [c0403bc9] default_idle+0x31/0x59
Sep 23 00:37:46 station2 kernel:  [c0403c90] cpu_idle+0x9f/0xb9
Sep 23 00:37:46 station2 kernel:  [c06ed9ee] start_kernel+0x379/0x380
Sep 23 00:37:46 station2 kernel:  ===
Sep 23 00:37:46 station2 kernel: handlers:
Sep 23 00:37:46 station2 kernel: [c057af91] (usb_hcd_irq+0x0/0x50)
Sep 23 00:37:46 station2 kernel: Disabling IRQ #58

and the same thing happens i.e i am unable to remount the usb drive.

can someone tell me if its a centos/rhel bug and if it is how and where
i should file a bug report ?

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