[CentOS-docs] Help to translate...

2008-05-08 Thread Lester Espinosa Martínez
Thank you for all Alain, today I entered to WIKI and I was revising it, 
I saw that they lacked things to translate and others to revise, but I 
still continue without being able to make anything..., it doesn't leave 
me the edition menu...


--
Saludos,

Lester Espinosa Martínez
Especialista C en Ciencias de la Computación
Comercializadora ESCAMBRAY UCT Cienfuegos
E-Mail: [EMAIL PROTECTED]
[EMAIL PROTECTED]

Linux Counter: #390782

[Si el cerebro humano fuese tan simple como para comprender su funcionamiento, 
seríamos tan tontos que no lo entenderíamos]


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


Re: [CentOS-docs] Help to translate...

2008-05-08 Thread Ralph Angenendt
Lester Espinosa Martínez wrote:
 Thank you for all Alain, today I entered to WIKI and I was revising it, I 
 saw that they lacked things to translate and others to revise, but I still 
 continue without being able to make anything..., it doesn't leave me the 
 edition menu...

I was waiting for Alain to give his okay before I gave you write access
to the spanish part of the wiki.

As he seems to be okay with it, I'll give you access somewhen later
today.

Cheers,

Ralph


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


[CentOS-announce] CESA-2008:0224 Moderate CentOS 4 i386 thunderbird Update

2008-05-08 Thread Johnny Hughes

CentOS Errata and Security Advisory 2008:0224 Moderate

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

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

i386:
thunderbird-1.5.0.12-11.el4.centos.i386.rpm

src:
thunderbird-1.5.0.12-11.el4.centos.src.rpm




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


[CentOS-announce] CESA-2008:0224 Moderate CentOS 4 x86_64 thunderbird Update

2008-05-08 Thread Johnny Hughes

CentOS Errata and Security Advisory 2008:0224 Moderate

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

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

x86_64:
thunderbird-1.5.0.12-11.el4.centos.x86_64.rpm

src:
thunderbird-1.5.0.12-11.el4.centos.src.rpm



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


[CentOS-announce] CESA-2008:0262 Important CentOS 4 i386 gpdf Update

2008-05-08 Thread Johnny Hughes

CentOS Errata and Security Advisory 2008:0262 Important

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

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

i386:
gpdf-2.8.2-7.7.2.i386.rpm

src:
gpdf-2.8.2-7.7.2.src.rpm



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


[CentOS-announce] CESA-2008:0262 Important CentOS 4 x86_64 gpdf Update

2008-05-08 Thread Johnny Hughes

CentOS Errata and Security Advisory 2008:0262 Important

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

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

x86_64:
gpdf-2.8.2-7.7.2.x86_64.rpm

src:
gpdf-2.8.2-7.7.2.src.rpm



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


[CentOS-es] Problemas con Apache : [warn] FastCGI: (dynamic) server

2008-05-08 Thread Luis Solís
Estimados,

Estoy teniendo estos errores en el los de apache error_log:

[Thu May 08 11:57:19 2008] [warn] FastCGI: (dynamic) server
/var/httpd/htdocs/php-fastcgi/normal/php-fcgi (uid 0, gid 0) started (pid
9415)
[Thu May 08 11:57:22 2008] [warn] FastCGI: (dynamic) server
/var/httpd/htdocs/php-fastcgi/normal/php-fcgi (uid 0, gid 0) started (pid
9430)
[Thu May 08 11:57:30 2008] [warn] FastCGI: (dynamic) server
/var/httpd/htdocs/php-fastcgi/crm/php-fcgi (uid 1997, gid 48) started (pid
9447)
[Thu May 08 11:57:33 2008] [warn] FastCGI: (dynamic) server
/var/httpd/htdocs/php-fastcgi/crm/php-fcgi (uid 1997, gid 48) started (pid
9462)

Me podrían dar algunos conesjos por favor, es necesraio que algunos de
nuestro sitios usen cgi, y no tengo como quitarlo.

Gracias

-- 
Luis Solís
Cel. 082567403 / Fono (03)2853529
Ambato - Ecuador
___
CentOS-es mailing list
CentOS-es@centos.org
http://lists.centos.org/mailman/listinfo/centos-es


[CentOS-es] Iptables

2008-05-08 Thread Crashito
Hola listeros:

Tengo una consulta tengo en mi firewall unas rutas las cuales se conectan al
puerto 8080, a la cual acceden a una aplicacion los clientes de red lan.

el problema es que cuando coloco en fiewall en DROP solo algunas maquinas
conectan, pense q era las rutas asi q probe con ACCEPT y todo funciono a la
perfeccion, es mas pense que habia un problema con la instalacion del rpm o
de la tarjeta de red asi que la cambie pero el problema continua, lo que he
observado es que el en firewall colocando DROP en las cadenas INPUT y OUTPUT
se conecta normal todas las pc asi q el problema es en la cadena FORWARD aca
les coloco mi script haber si me pueden ayudar a resolver este percanse.

Gracias por sus respuestas



#! /bin/bash

# Activar el Reenvio de Paquetes
echo 1  /proc/sys/net/ipv4/ip_forward

# Deshabilitando ataques spoofing
echo 0  /proc/sys/net/ipv4/conf/all/rp_filter

depmod -a

modprobe ip_tables
modprobe ip_conntrack
modprobe iptable_nat
modprobe ip_nat_ftp
modprobe ip_conntrack_ftp
modprobe ip_nat_tftp
modprobe ip_conntrack_tftp
modprobe ip_vs_ftp

IPTABLES=/sbin/iptables
IF_WAN=eth0
IF_LAN=eth1
IP_WAN=2x..2x.0x.0x
IP_LAN=192.168.0.2
LAN_LAN=192.168.0.0/24

$IPTABLES -F
$IPTABLES -X
$IPTABLES -Z
$IPTABLES -t nat -F


$IPTABLES -P INPUT DROP
$IPTABLES -P OUTPUT DROP
$IPTABLES -P FORWARD DROP
$IPTABLES -A INPUT -i lo -j ACCEPT
$IPTABLES -A OUTPUT -o lo -j ACCEPT
$IPTABLES -A INPUT -i $IF_LAN -j ACCEPT
$IPTABLES -A OUTPUT -o $IF_LAN -j ACCEPT


$IPTABLES -A INPUT -i $IF_WAN -p udp --sport 53 -j ACCEPT
$IPTABLES -A OUTPUT -o $IF_WAN -p udp --dport 53 -j ACCEPT
$IPTABLES -A FORWARD -s 0/0 -i $IF_LAN -p udp --dport 53 -j ACCEPT

$IPTABLES -A INPUT -i $IF_WAN -p tcp --sport 80 -j ACCEPT
$IPTABLES -A OUTPUT -o $IF_WAN -p tcp --dport 80 -j ACCEPT
$IPTABLES -A FORWARD -s 0/0 -i $IF_LAN -p tcp --dport 80 -j ACCEPT


$IPTABLES -A INPUT -i $IF_WAN -p tcp --sport 443 -j ACCEPT
$IPTABLES -A OUTPUT -o $IF_WAN -p tcp --dport 443 -j ACCEPT
$IPTABLES -A FORWARD -s 0/0 -i $IF_LAN -p tcp --dport 443 -j ACCEPT


$IPTABLES -A INPUT -i $IF_WAN -p tcp --sport 20:21 -j ACCEPT
$IPTABLES -A OUTPUT -o $IF_WAN -p tcp --dport 20:21 -j ACCEPT
$IPTABLES -A FORWARD -s 0/0 -i $IF_LAN -p tcp --dport 20:21 -j ACCEPT

$IPTABLES -A INPUT -p tcp -i $IF_WAN --sport 8080 -j ACCEPT
$IPTABLES -A OUTPUT -p tcp -o $IF_WAN --dport 8080 -j ACCEPT
$IPTABLES -A FORWARD -s 0/0 -i $IF_LAN -p tcp --dport 8080 -j ACCEPT

$IPTABLES -A FORWARD -i $IF_WAN -d $LAN_LAN -o $IF_LAN -m state --state
ESTABLISHED,RELATED -j ACCEPT
$IPTABLES -t nat -A POSTROUTING -s $LAN_LAN -o $IF_WAN -j SNAT --to-source
$IP_WAN
___
CentOS-es mailing list
CentOS-es@centos.org
http://lists.centos.org/mailman/listinfo/centos-es


[CentOS-es] Consulta de Squid

2008-05-08 Thread Freddy Angulo


Amigos una consulta he instaldo un Centos 5, en el cual he configurado mi squid, este funciona y filtra sin ningun contratiempo.

El problema es que yo he habilitado la opcion 

emulate_httpd_log on
para poder ver la hora y dia del acceso a traves de los log, pero este solo me muestra lo siguiente:

1210268295.895 1 192.168.0.75 TCP_DENIED/403 1444 GET http://www.paginasblancas.com.pe/ - NONE/- text/html
y no me muestra como debria de ser, me podrian decir a que se debe este suceso. 

Gracias,






  Yahoo! Deportes Beta¡No te pierdas lo último sobre el torneo clausura  2008! Entérate aquí http://deportes.yahoo.com
___
CentOS-es mailing list
CentOS-es@centos.org
http://lists.centos.org/mailman/listinfo/centos-es


[CentOS] CentOS-announce Digest, Vol 39, Issue 2

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

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

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

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


Today's Topics:

   1. CESA-2008:0211 Important CentOS 3 i386 kernel -   security and
  bug fix update (Tru Huynh)
   2. CESA-2008:0211 Important CentOS 3 x86_64 kernel - security
  and bug fix update (Tru Huynh)


--

Message: 1
Date: Wed, 7 May 2008 16:58:01 +0200
From: Tru Huynh [EMAIL PROTECTED]
Subject: [CentOS-announce] CESA-2008:0211 Important CentOS 3 i386
kernel -security and bug fix update
To: [EMAIL PROTECTED]
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=us-ascii

CentOS Errata and Security Advisory CESA-2008:0211

kernel security update for CentOS 3 i386:
https://rhn.redhat.com/errata/RHSA-2008-0211.html

The following updated file has been uploaded and is currently syncing to
the mirrors:

i386:
updates/i386/RPMS/kernel-2.4.21-57.EL.i586.rpm
updates/i386/RPMS/kernel-2.4.21-57.EL.i686.rpm
updates/i386/RPMS/kernel-BOOT-2.4.21-57.EL.i386.rpm
updates/i386/RPMS/kernel-doc-2.4.21-57.EL.i386.rpm
updates/i386/RPMS/kernel-hugemem-2.4.21-57.EL.i686.rpm
updates/i386/RPMS/kernel-hugemem-unsupported-2.4.21-57.EL.i686.rpm
updates/i386/RPMS/kernel-smp-2.4.21-57.EL.i686.rpm
updates/i386/RPMS/kernel-smp-unsupported-2.4.21-57.EL.i686.rpm
updates/i386/RPMS/kernel-source-2.4.21-57.EL.i386.rpm
updates/i386/RPMS/kernel-unsupported-2.4.21-57.EL.i586.rpm
updates/i386/RPMS/kernel-unsupported-2.4.21-57.EL.i686.rpm
updates/i386/RPMS/kernel-2.4.21-57.EL.athlon.rpm
updates/i386/RPMS/kernel-smp-2.4.21-57.EL.athlon.rpm
updates/i386/RPMS/kernel-smp-unsupported-2.4.21-57.EL.athlon.rpm
updates/i386/RPMS/kernel-unsupported-2.4.21-57.EL.athlon.rpm

source:
updates/SRPMS/kernel-2.4.21-57.EL.src.rpm

You may update your CentOS-3 i386 installations by running the command:

yum update kernel\*

Tru
-- 
Tru Huynh (mirrors, CentOS-3 i386/x86_64 Package Maintenance)
http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0xBEFA581B
-- next part --
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : 
http://lists.centos.org/pipermail/centos-announce/attachments/20080507/16ad5037/attachment-0001.bin

--

Message: 2
Date: Wed, 7 May 2008 16:58:32 +0200
From: Tru Huynh [EMAIL PROTECTED]
Subject: [CentOS-announce] CESA-2008:0211 Important CentOS 3 x86_64
kernel -security and bug fix update
To: [EMAIL PROTECTED]
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=us-ascii

CentOS Errata and Security Advisory CESA-2008:0211

kernel security update for CentOS 3 x86_64:
https://rhn.redhat.com/errata/RHSA-2008-0211.html

The following updated file has been uploaded and is currently syncing to
the mirrors:

x86_64:
updates/x86_64/RPMS/kernel-2.4.21-57.EL.ia32e.rpm
updates/x86_64/RPMS/kernel-2.4.21-57.EL.x86_64.rpm
updates/x86_64/RPMS/kernel-doc-2.4.21-57.EL.x86_64.rpm
updates/x86_64/RPMS/kernel-smp-2.4.21-57.EL.x86_64.rpm
updates/x86_64/RPMS/kernel-smp-unsupported-2.4.21-57.EL.x86_64.rpm
updates/x86_64/RPMS/kernel-source-2.4.21-57.EL.x86_64.rpm
updates/x86_64/RPMS/kernel-unsupported-2.4.21-57.EL.ia32e.rpm
updates/x86_64/RPMS/kernel-unsupported-2.4.21-57.EL.x86_64.rpm

source:
updates/SRPMS/kernel-2.4.21-57.EL.src.rpm

You may update your CentOS-3 x86_64 installations by running the command:

yum update kernel\*

Tru
-- 
Tru Huynh (mirrors, CentOS-3 i386/x86_64 Package Maintenance)
http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0xBEFA581B
-- next part --
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : 
http://lists.centos.org/pipermail/centos-announce/attachments/20080507/197800ea/attachment-0001.bin

--

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


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


RE: [CentOS] Is it possible to lvrename the current root partition?

2008-05-08 Thread Ross S. W. Walker
Alfred von Campe wrote:
 
 On May 2, 2008, at 17:24, Ross S. W. Walker wrote:
  Sure you can do all this from rescue mode off the first CD.
 
  Boot the cd type in 'linux rescue' and continue to the command prompt.
 
 First, thanks for the detailed list, Ross.  It was very helpful.  I  
 was able to rename both the VG and the LVs, but it was slightly more  
 complicated than the items on the list.
 
  1) make sure swap isn't using the swap lv
  - swapoff -a
 
 What I did was say Skip when the rescue image asks you if you want  
 it to find existing Linux installations and mount them under /mnt/ 
 sysimage.  The reason I did this was that if you let it mount your  
 partitions, you need to go through a lot of additional steps to get  
 everything under /mnt/sysimage unmounted, and nothing in there is  
 needed to do the rename (unless you want to rename the VG -- 
 see below).
 
  2) unmount all lvs mounted
  - umount /mnt/sysimage/boot
  - umount /mnt/sysimage
 
 Not needed because of what I did in step 1, but there are additional  
 mount points to unmount if you do let the rescue image do the mounts  
 (do a mount | grep  sysimage to find all the mount points).
 
  3) mark all lvs as unavailable
  - lvchange -a n vgname
 
 This step is indeed required unless you chose to skip the mounting  
 of /mnt/sysimage altogether.  Do a lvm lvscan to find out 
 which LVs  
 are active (and use lvm lvchange as described below).
 
  4) rename the volume group
  - vgrename oldvgname newvgname
 
 Well, vgrename is not part of the rescue disk.  So if you want to do  
 this, you will have to mark the root LV as available, mount it, and  
 then copy /mnt/mountpoint/usr/sbin/vgrename to /tmp.  Then 
 you have  
 to unmount the root partition and mark the LV as unavailable.
 
  5) rename the logical volumes
  - lvrename vgname\oldlvname newlvname
 
  6) repeat #5 as necessary
 
 The lvrename binary (symbolic link) does not exit in rescue mode, so  
 you will have to type lvm lvrename (and lvm lvchange, etc.).   
 Also, you have to use a forward slash here.
 
 
  7) re-activate all the lvs
  - lvchange -a y vgname
 
 Remember to use the new names.
 
  8) re-mount the root and boot lvs,
  - mount /dev/vgname/rootlv /mnt/sysimage
  - mount /dev/vgname/bootlv /mnt/sysimage/boot
 
 I think this part worked as is.
 
  9) chroot to the mounts with, 'chroot /mnt/sysimage /bin/bash'
 
 Before I could do this, I had to use mknod to create the device  
 entries in /mnt/sysimage/dev/mapper/vgname-lvname and the  
 symbolic links in /mnt/sysimage/dev/vgname/lvname.  Make sure the  
 symbolic links point to /dev/mapper/... and not /mnt/sysimage/dev/ 
 mapper/...  I don't remember if this was required to mount it while  
 in rescue mode or to make the system bootable again.  But I remember  
 that I had to do it.
 
  10) edit /etc/fstab
 
  11) edit /boot/grub/grub.conf
 
  12) remake the initrd
  - mkinitrd -f /boot/initrd-$(uname -r).img $(uname -r)
 
 You will have to type the release version of the kernel instead of  
 relying on the output of uname -r.
 
 It turns out that I can skip steps 7-12 since I plan to upgrade the  
 systems from CentOS 4.6 to CentOS 5.1 immediately after doing the  
 rename, and the installer (anaconda) will take care of all these  
 details.   I just had to adjust my kickstart scripts to use the new  
 names.
 
 Anyway, thanks again for all the help.  I'm starting to upgrade my  
 two dozen or so desktops to CentOS 5.1 using the new VG and LV names.

Thanks for updating the points with your experience. I wrote it
from memory, so was bound to miss something. Maybe it can be
incorporated into a general how-to.

Yeah the lvm included in the busybox rescue is a little kludgy,
that's why I typically use the FC8 rescue CD as it is a little
more refined.

You can try making symlinks to 'lvm' for lvrename and vgrename
or even hard links and it should provide that function.

Good idea to skip the mounting, because once it's mounted it's
a PITA to umount everything and re-mount it.

Of course if your performing an upgrade there is no need to
regenerate the initrd as a new one is created during install.

-Ross

__
This e-mail, and any attachments thereto, is intended only for use by
the addressee(s) named herein and may contain legally privileged
and/or confidential information. If you are not the intended recipient
of this e-mail, you are hereby notified that any dissemination,
distribution or copying of this e-mail, and any attachments thereto,
is strictly prohibited. If you have received this e-mail in error,
please immediately notify the sender and permanently delete the
original and any copy or printout thereof.

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


Re: [CentOS] cups causing segfault

2008-05-08 Thread Gregory P. Ennis
On Wed, 2008-05-07 at 12:00 -0500, Gregory P. Ennis wrote:
 Everyone,
 
 I have a new installation of Centos 5.1 that I am using on a gateway
 server that also has dhcp, named servers.  I also have cups set up to
 function as a print server, and sendmail is being used as a relay to our
 mail server.  yum-cron appears to be updating everything daily as
 desired.
 
 This Centos 5.1 gateway was created to replace a Fedora Core 5 system
 with the same functions.  When I set up cups I copied the FC5
 subdirectory into the Centos 5.1 system.  Everything appears to work as
 expected.
 
 For some reason I am having sendmail crator without giving me a notice
 in the logs as far as I can determine.  However, when I looked at the
 messages logs I found it filled with many entries in the form of :
 
 kernel: ipp[24519]: segfault at  rip 2bf2abc0
 rsp 7fff25495348 error 4
 
 I've done a google search and there appeared to be a problem with
 doubled printer entries in the printer.conf causing the log entry, but
 after checking my printer.conf file everything appears to be ok.  This
 file also worked on FC5 without a problem.
 
 I am not sure if the cups problem is related to the sendmail problem.
 
 Any ideas?
 
 Greg Ennis
 

I have tried several things in the past 48 hours to try to understand
what is happening.  The only thing I have done that seems to have made a
difference is that I have switched 2.6.18-53.1.14.el5xen to
2.6.18-53.1.14.el5.  

I am still getting the following log entries :

May  8 08:23:14 DeGw kernel: ipp[11677]: segfault at 
rip 2bf2abc0 rsp 7fff7b7ff6b8 error 4
May  8 08:28:26 DeGw kernel: ipp[12925]: segfault at 
rip 2bf2abc0 rsp 7fffa5ab6988 error 4

However I have only received 7 of these since last night instead of
hundreds while running xen.

When I booted the system last night with 2.6.18-53.1.14.el5 I received
some additional messages log entries :

May  8 01:50:00 DeGw kernel: irq 193: nobody cared (try booting with the
irqpoll option)
May  8 01:50:00 DeGw kernel:
May  8 01:50:00 DeGw kernel: Call Trace:
May  8 01:50:00 DeGw kernel:  IRQ  [800b703a]
__report_bad_irq+0x30/0x7d
May  8 01:50:00 DeGw kernel:  [800b726d] note_interrupt
+0x1e6/0x227
May  8 01:50:00 DeGw kernel:  [800b677f] __do_IRQ+0xc7/0x105
May  8 01:50:00 DeGw kernel:  [80011cc5] __do_softirq
+0x5e/0xd5
May  8 01:50:00 DeGw kernel:  [8006b3bd] do_IRQ+0xe7/0xf5
May  8 01:50:00 DeGw kernel:  [80069d0e] default_idle+0x0/0x50
May  8 01:50:00 DeGw kernel:  [8005c615] ret_from_intr+0x0/0xa
May  8 01:50:00 DeGw kernel:  EOI  [80069d37] default_idle
+0x29/0x50
May  8 01:50:00 DeGw kernel:  [80046fb1] cpu_idle+0x95/0xb8
May  8 01:50:00 DeGw kernel:  [803d3806] start_kernel
+0x220/0x225
May  8 01:50:00 DeGw kernel:  [803d3237] _sinittext
+0x237/0x23e
May  8 01:50:00 DeGw kernel:
May  8 01:50:00 DeGw kernel: handlers:
May  8 01:50:00 DeGw kernel: [801dc154] (usb_hcd_irq+0x0/0x55)
May  8 01:50:00 DeGw kernel: Disabling IRQ #193

If any of you can help me get a start on this problem I would sure
appreciate your help.

Thanks,

Greg Ennis


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


Re: [CentOS] yum update did not update kernel on one box

2008-05-08 Thread lannyma
On 5/7/08, Kai Schaetzl maillists AT conactive.com wrote:
 Lanny Marcus wrote on Wed, 07 May 2008 15:10:58 -0500:
 Kai: I am not using Windows Boot Manager. Grub comes up, as on the 2
 boxes, where things are working properly.

 Just to be sure, it's really grub? You get a somewhat blueish screen that
 says booting centos in x seconds, press any key to see options or so? I
 think there's also a CentOS symbol on it, but am not sure. We have to be
 absolutely sure about that.

Kai:  On my box (dell2400) it is  GNU GRUB v.0.97, with 3 choices  (2
for Linux, 1 for WInXP). On my wife's box (compaq1300) it is also GNU
GRUB v.0.97, but with 2 choices (1 for the original Linux kernel, 1
for WinXP).

 And if you select Windows from that boot screen, does that boot right into
 Windows or do you get another boot menu that lists only Windows?

Ah. This is where the problem on her box probably comes from! Last
November, when I installed Windows XP, in English, my native language,
I did not understand something in Microsoft's English. There were four
(4) partitions for Windows (C,D,E,F) and apparently when it was
finished, I clicked incorrectly and it installed Windows again,  So,
it installed MS Windows XP onto the four (4) Windows partitions on her
box! If Windows is selected on the GNU GRUB menu, then there is a 2nd
boot menu, of Windows. The one to select is the 2nd from the top. I
would redo her box completely, if she goes out of town, but then she
will need to reinstall a lot of stuff. The installation of MS Windows
on her box is a disaster! Lots of wasted space on the HD too.

 Questions: (a) Can I copy /boot/grub/grub.conf on my box and replace
 that file on my wife's box, with my version? Would that work OK? Worth a
 try?

 No, this wouldn't help, because the grub.conf that *we know of* is fine.
 It's just not getting used, because you are booting from another one.
 AFAIK, grub cannot embed a boot menu in the MBR (Master Boot Record), so
 that information must be coming from somewhere else.
 You have *two* grub.conf's (and two /boot partitions) on the machine
 AFAIS. You would have to *merge* the two: you need the options for booting
 Windows from the first one and all the other options from the second one.
 AFAIK, the MBR on your disk does not boot from hd(0,2), but from another
 partition. You have to find out which one that is and change the grub.conf
 on that partition accordingly. The caveat of this is that you would have
 to do this each time the kernel changes or you would need to change a bit
 more, so that this becomes the new boot partition.
 Another option would be to grub-install again and overwrite the current
 information in the MBR, so that it then boots from hd(0,2).
 I'm not confident enough about both options to talk you thru.
 Maybe I'm missing other possibilities why that happens, but the basic
 problem is that your machine does not boot from that hd(0,2), but with
 information from elsewhere.

 There was confusion on my part, when I installed Windows XP on my wife's
 box. Hers was the first one I installed Win XP on, which I'd never
 installed before and it ended up getting installed more than once.

 Did you install it after CentOS or before it?

When I began using Linux, I read that for dual boot boxes, MS Windows
should always be installed first. So, I always install MS Windows
first and then Linux.

 You will need to make a list of all partitions. Not sure what the best way
 to do this would be. Probably fdisk. Run fdisk, then type p (for
 printing the partition table), then leave it with q. Be careful, as
 printing the table is only the least dangerous action in fdisk!

Per Scott Silva's suggestion:
[EMAIL PROTECTED] ~]# fdisk -l

Disk /dev/hda: 81.9 GB, 81964302336 bytes
240 heads, 63 sectors/track, 10587 cylinders
Units = cylinders of 15120 * 512 = 7741440 bytes

   Device Boot  Start End  Blocks   Id  System
/dev/hda1   *   1 783 5919448+   7  HPFS/NTFS
/dev/hda2 784534734503840f  W95 Ext'd (LBA)
/dev/hda35348   1058639606840   8e  Linux LVM
/dev/hda5 7841566 5919448+   7  HPFS/NTFS
/dev/hda61567292010236208+   7  HPFS/NTFS
/dev/hda729213733 6146248+   7  HPFS/NTFS
/dev/hda837343747  105808+  83  Linux
/dev/hda93748534712095968+  8e  Linux LVM
[EMAIL PROTECTED] ~]#

Trying to remember what I did on approximately 24 November 2007 is
difficult. Probably, after shrinking the Windows partition with
QTParted, to allow space for the CentOS installation, I let Windows do
the partitioning and formatting for Windows, since I'd read that it is
recommended to let Windows do that for Windows and Linux for Linux.
However, I may have done the Windows partitionnig with QTParted. Or,
the Windows XP installation may have given me the option to not use
all of the HD for Windows, and if so, I would 

[CentOS] FOSS Inventory Managment and Invoicing Application

2008-05-08 Thread Joseph L. Casale
I am trying to help a small shop migrate off an old DOS sales application and
was hoping to find a Linux alternative. Anyone have any experience with these
types of applications, it would likely be a 2-3 user setup.

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


[CentOS] Re: FOSS Inventory Managment and Invoicing Application

2008-05-08 Thread Tom Diehl

On Thu, 8 May 2008, Joseph L. Casale wrote:


I am trying to help a small shop migrate off an old DOS sales application and
was hoping to find a Linux alternative. Anyone have any experience with these
types of applications, it would likely be a 2-3 user setup.


Not sure what you mean by invoicing application but sql-ledger
http://sql-ledger.org/ and its fork Ledger-SMB http://www.ledgersmb.org/node/8
will do inventory and double entry accounting, including invoicing.

Both are GPL but the documentation and support for sql-ledger is by
subscription only. I have never actually used Ledger-SMB but it was forked from
sql-ledger as a result of a religious war between the Ledger-SMB people the
sql-ledger author [1].

I have used sql-ledger for the past 4 years. It is not perfect and I do pay for
support because I think the documnetation available for it is better then
what was available for Ledger-SMB the last time I looked. I need someone to
ping on when I get into a bind with the program. Fortunately now days I rarely
have problems I cannot resolve myself but I have needed this support in the past
and Dieter was very responsive and helpful.

Regards,

--
Tom Diehl   [EMAIL PROTECTED]   Spamtrap address [EMAIL 
PROTECTED]

1. I know there are people here who are VERY familiar with the actual situation.
PLEASE do not turn this thread into LedgerSMB is better than sql-ledger flame
fest. Google has the details and if one needs more info the mailing lists for
each program is a better place to ask constructive questions.

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


RE: [CentOS] cups causing segfault

2008-05-08 Thread Ross S. W. Walker
Gregory P. Ennis wrote:
 On Thu, 2008-05-08 at 10:46 -0400, Ross S. W. Walker wrote:
  Gregory P. Ennis wrote:
   
   On Wed, 2008-05-07 at 12:00 -0500, Gregory P. Ennis wrote:
Everyone,

I have a new installation of Centos 5.1 that I am using on a gateway
server that also has dhcp, named servers.  I also have cups set up to
function as a print server, and sendmail is being used as a relay to our
mail server.  yum-cron appears to be updating everything daily as
desired.

This Centos 5.1 gateway was created to replace a Fedora Core 5 system
with the same functions.  When I set up cups I copied the FC5
subdirectory into the Centos 5.1 system.  Everything appears to work as
expected.

For some reason I am having sendmail crator without giving me a notice
in the logs as far as I can determine.  However, when I looked at the
messages logs I found it filled with many entries in the form of :

kernel: ipp[24519]: segfault at  rip 2bf2abc0
rsp 7fff25495348 error 4

I've done a google search and there appeared to be a problem with
doubled printer entries in the printer.conf causing the log entry, but
after checking my printer.conf file everything appears to be ok.  This
file also worked on FC5 without a problem.

I am not sure if the cups problem is related to the sendmail problem.

Any ideas?

Greg Ennis

   
   I have tried several things in the past 48 hours to try to understand
   what is happening.  The only thing I have done that seems to have made a
   difference is that I have switched 2.6.18-53.1.14.el5xen to
   2.6.18-53.1.14.el5.  
   
   I am still getting the following log entries :
   
   May  8 08:23:14 DeGw kernel: ipp[11677]: segfault at 
   rip 2bf2abc0 rsp 7fff7b7ff6b8 error 4
   May  8 08:28:26 DeGw kernel: ipp[12925]: segfault at 
   rip 2bf2abc0 rsp 7fffa5ab6988 error 4
   
   However I have only received 7 of these since last night instead of
   hundreds while running xen.
   
   When I booted the system last night with 2.6.18-53.1.14.el5 I received
   some additional messages log entries :
   
   May  8 01:50:00 DeGw kernel: irq 193: nobody cared (try booting with the 
   irqpoll option)
   May  8 01:50:00 DeGw kernel:
   May  8 01:50:00 DeGw kernel: Call Trace:
   May  8 01:50:00 DeGw kernel:  IRQ  
   [800b703a]__report_bad_irq+0x30/0x7d
   May  8 01:50:00 DeGw kernel:  [800b726d] 
   note_interrupt+0x1e6/0x227
   May  8 01:50:00 DeGw kernel:  [800b677f] __do_IRQ+0xc7/0x105
   May  8 01:50:00 DeGw kernel:  [80011cc5] __do_softirq+0x5e/0xd5
   May  8 01:50:00 DeGw kernel:  [8006b3bd] do_IRQ+0xe7/0xf5
   May  8 01:50:00 DeGw kernel:  [80069d0e] default_idle+0x0/0x50
   May  8 01:50:00 DeGw kernel:  [8005c615] ret_from_intr+0x0/0xa
   May  8 01:50:00 DeGw kernel:  EOI  [80069d37] 
   default_idle+0x29/0x50
   May  8 01:50:00 DeGw kernel:  [80046fb1] cpu_idle+0x95/0xb8
   May  8 01:50:00 DeGw kernel:  [803d3806] 
   start_kernel+0x220/0x225
   May  8 01:50:00 DeGw kernel:  [803d3237] _sinittext+0x237/0x23e
   May  8 01:50:00 DeGw kernel:
   May  8 01:50:00 DeGw kernel: handlers:
   May  8 01:50:00 DeGw kernel: [801dc154] (usb_hcd_irq+0x0/0x55)
   May  8 01:50:00 DeGw kernel: Disabling IRQ #193
   
   If any of you can help me get a start on this problem I would sure
   appreciate your help.
  
  It appears to be a flakey USB controller. Is the printer USB?
  Is it plugged into a USB hub? Check your USB cables, hubs and
  try to plug it into a different port.
  
 
 Ross,
 
 Thanks for your response.  All the printers are networked and none are
 connected to the server's usb  ports.  In fact there is nothing
 connected to this server's usb ports.  
 
 In looking at the cups error logs I am getting abundant entries of :
 
 (/usr/lib/cups/backend/ipp) crashed on signal 11!
 
 I turned on cups debug, but did not learn anything else.
 
 Thanks again for your help,

Well the IRQ error is definitely USB related. Maybe a memory check
is in order here.

Sendmail and cups are not related and the fact that you see errors
in both and strange runaway IRQ errors seems to mean there is a
hardware problem here.

Check memory (low hanging fruit), then it may be time to start
looking at the motherboard.

-Ross

__
This e-mail, and any attachments thereto, is intended only for use by
the addressee(s) named herein and may contain legally privileged
and/or confidential information. If you are not the intended recipient
of this e-mail, you are hereby notified that any dissemination,
distribution or copying of this e-mail, and any attachments thereto,
is strictly prohibited. If you have received this e-mail in error,
please immediately notify the 

RE: [CentOS] NMAP - reveal MAC address

2008-05-08 Thread Clonch, Christopher A.
 This will only work on a local network: 
 once you have the IP address, you can do an arp -v
 
 You cannot get the MAC address of a routed IP address, it only exist
on a
 local network.

Heres the code snippet I've used to walk a router's MAC table:

snmpwalk -v 1 -c public ${GWADDR} ipNetToMediaPhysAddress \
|grep ${IPADDR} |awk '{print $4}'

${GWADDR} is your router's IP and ${IPADDR} is the target's IP.  This
allows you to qets MACs in another network.  Would probably only work
for one hop; everything I have tried it on was only a single hop away.

--
This electronic message transmission contains
confidential or privileged information from Mount
Carmel .  The information is intended for use by the
individual or entity named above.  If you are not the
intended recipient, be aware that any disclosure,
copying, distribution or use of the contents of this 
information is prohibited.  If you have received this
electronic transmission in error, please notify us
immediately by telephone (614-234-8700) or by electronic
mail ([EMAIL PROTECTED]).
==

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


RE: [CentOS] cups causing segfault

2008-05-08 Thread Gregory P. Ennis
On Thu, 2008-05-08 at 12:31 -0400, Ross S. W. Walker wrote:
 Gregory P. Ennis wrote:
  On Thu, 2008-05-08 at 10:46 -0400, Ross S. W. Walker wrote:
   Gregory P. Ennis wrote:

On Wed, 2008-05-07 at 12:00 -0500, Gregory P. Ennis wrote:
 Everyone,
 
 I have a new installation of Centos 5.1 that I am using on a gateway
 server that also has dhcp, named servers.  I also have cups set up to
 function as a print server, and sendmail is being used as a relay to 
 our
 mail server.  yum-cron appears to be updating everything daily as
 desired.
 
 This Centos 5.1 gateway was created to replace a Fedora Core 5 system
 with the same functions.  When I set up cups I copied the FC5
 subdirectory into the Centos 5.1 system.  Everything appears to work 
 as
 expected.
 
 For some reason I am having sendmail crator without giving me a notice
 in the logs as far as I can determine.  However, when I looked at the
 messages logs I found it filled with many entries in the form of :
 
 kernel: ipp[24519]: segfault at  rip 2bf2abc0
 rsp 7fff25495348 error 4
 
 I've done a google search and there appeared to be a problem with
 doubled printer entries in the printer.conf causing the log entry, but
 after checking my printer.conf file everything appears to be ok.  This
 file also worked on FC5 without a problem.
 
 I am not sure if the cups problem is related to the sendmail problem.
 
 Any ideas?
 
 Greg Ennis
 

I have tried several things in the past 48 hours to try to understand
what is happening.  The only thing I have done that seems to have made a
difference is that I have switched 2.6.18-53.1.14.el5xen to
2.6.18-53.1.14.el5.  

I am still getting the following log entries :

May  8 08:23:14 DeGw kernel: ipp[11677]: segfault at 
rip 2bf2abc0 rsp 7fff7b7ff6b8 error 4
May  8 08:28:26 DeGw kernel: ipp[12925]: segfault at 
rip 2bf2abc0 rsp 7fffa5ab6988 error 4

However I have only received 7 of these since last night instead of
hundreds while running xen.

When I booted the system last night with 2.6.18-53.1.14.el5 I received
some additional messages log entries :

May  8 01:50:00 DeGw kernel: irq 193: nobody cared (try booting with 
the irqpoll option)
May  8 01:50:00 DeGw kernel:
May  8 01:50:00 DeGw kernel: Call Trace:
May  8 01:50:00 DeGw kernel:  IRQ  
[800b703a]__report_bad_irq+0x30/0x7d
May  8 01:50:00 DeGw kernel:  [800b726d] 
note_interrupt+0x1e6/0x227
May  8 01:50:00 DeGw kernel:  [800b677f] __do_IRQ+0xc7/0x105
May  8 01:50:00 DeGw kernel:  [80011cc5] 
__do_softirq+0x5e/0xd5
May  8 01:50:00 DeGw kernel:  [8006b3bd] do_IRQ+0xe7/0xf5
May  8 01:50:00 DeGw kernel:  [80069d0e] default_idle+0x0/0x50
May  8 01:50:00 DeGw kernel:  [8005c615] ret_from_intr+0x0/0xa
May  8 01:50:00 DeGw kernel:  EOI  [80069d37] 
default_idle+0x29/0x50
May  8 01:50:00 DeGw kernel:  [80046fb1] cpu_idle+0x95/0xb8
May  8 01:50:00 DeGw kernel:  [803d3806] 
start_kernel+0x220/0x225
May  8 01:50:00 DeGw kernel:  [803d3237] 
_sinittext+0x237/0x23e
May  8 01:50:00 DeGw kernel:
May  8 01:50:00 DeGw kernel: handlers:
May  8 01:50:00 DeGw kernel: [801dc154] (usb_hcd_irq+0x0/0x55)
May  8 01:50:00 DeGw kernel: Disabling IRQ #193

If any of you can help me get a start on this problem I would sure
appreciate your help.
   
   It appears to be a flakey USB controller. Is the printer USB?
   Is it plugged into a USB hub? Check your USB cables, hubs and
   try to plug it into a different port.
   
  
  Ross,
  
  Thanks for your response.  All the printers are networked and none are
  connected to the server's usb  ports.  In fact there is nothing
  connected to this server's usb ports.  
  
  In looking at the cups error logs I am getting abundant entries of :
  
  (/usr/lib/cups/backend/ipp) crashed on signal 11!
  
  I turned on cups debug, but did not learn anything else.
  
  Thanks again for your help,
 
 Well the IRQ error is definitely USB related. Maybe a memory check
 is in order here.
 
 Sendmail and cups are not related and the fact that you see errors
 in both and strange runaway IRQ errors seems to mean there is a
 hardware problem here.
 
 Check memory (low hanging fruit), then it may be time to start
 looking at the motherboard.
 
 -Ross
 

Ross,

I was hoping it might be something else.  I'll check the memory tonight

Thanks for your suggestions!!!

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


RE: [CentOS] NMAP - reveal MAC address

2008-05-08 Thread Flaherty, Patrick
  The main function of a switch is to keep irrelevant 
 packets away from
 
  hosts, but packets to unknown (to the switch) hosts get sent 
  everywhere, just like a Hub would do.
 
 
 yes - thanks all, it appears its a cross network 'issue'
 
 thanks
 
 If you're trying to get a MAC address across your own switches, you
 could try walking the switch's forwarding table (assuming SNMP
 availability).  It's a cheesy way but works!

If you have CDP enabled switches, try one of the magic auto discovery
programs out there. I use  NetDisco (netdisco.org), but there is also
nTop and a ton of commercial apps. CDP is cisco, but all the major
vendors have a similar protocol. NetDisco has a web interface listing
what macs/vlans showed up on what ports, duplex mismatches, and all your
switch os/patch levels. 

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


[CentOS] problem with yumdownload?

2008-05-08 Thread John R Pierce
coworker wants to download a module with all its dependencies, for use 
in updating an offline system...   CentOS 5.latest ...


[EMAIL PROTECTED] home]# yum -y install yum-utils
..

[EMAIL PROTECTED] home]# yumdownloader --resolve gcc
Loading priorities plugin
Loading installonlyn plugin
Excluding Packages from CentOS-5 - Base
Finished
Excluding Packages from CentOS-5 - Updates
Finished
263 packages excluded due to repository priority protections
Traceback (most recent call last):
 File /usr/bin/yumdownloader, line 191, in ?
   main()
 File /usr/bin/yumdownloader, line 159, in main
   if not pkg in toDownload:
 File /usr/lib/python2.4/site-packages/yum/packages.py, line 191, in 
__eq__

   if other == None:
 File /usr/lib/python2.4/site-packages/yum/transactioninfo.py, line 
403, in __cmp__

   if self.name  other.name:
AttributeError: 'NoneType' object has no attribute 'name'
[EMAIL PROTECTED] home]#


um...  this a bug?


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


[CentOS] can't get Tomcat5 to work on centos 5.1, how do I get it to work?

2008-05-08 Thread Rudi Ahlers

Hi all

A client of ours wants Tomcat 5 to be installed on a CentOS 5 server, I 
naturally just ran yum -y install tomcat5 tomcat5-webapps 
tomcat5-admin-webapps which installed it without any errors. Then I 
typed in service tomcat5 start, and tries to access it as such lynx 
http://localhost:8080/; but keep on getting an error connection refused



[EMAIL PROTECTED] /]# service tomcat5 start
Starting tomcat5: lock file found but no process running for
pid 19684, continuing
  [  OK  ]

I don't see any tomcat errors in /var/log/messages but get this:

[EMAIL PROTECTED] /]# tail -f /var/log/tomcat5/catalina.out
  at 
org.apache.catalina.core.StandardService.start(catalina-5.5.23.jar.sonuy1u1.so)
  at 
org.apache.catalina.core.StandardServer.start(catalina-5.5.23.jar.sonuy1u1.so)
  at 
org.apache.catalina.startup.Catalina.start(catalina-5.5.23.jar.sonuy1u1.so)

  at java.lang.reflect.Method.invoke(libgcj.so.7rh)
  ...2 more
Exception in thread main java.lang.OutOfMemoryError: Cannot create 
additional threads

  at java.lang.Thread.start(libgcj.so.7rh)
  at java.lang.Runtime.runShutdownHooks(libgcj.so.7rh)
  at java.lang.Runtime.exitNoChecks(libgcj.so.7rh)
  at java.lang.Runtime.exitNoChecksAccessor(libgcj.so.7rh)


I don't know Tomcat at all.

Can someone please help me with this?


--

Kind Regards
Rudi Ahlers
CEO, SoftDux

Web:   http://www.SoftDux.com
Check out my technical blog, http://blog.softdux.com for Linux or other 
technical stuff, or visit http://www.WebHostingTalk.co.za for Web Hosting stuff

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


[CentOS] OFF-TOPIC: Job opening in Marin County, California

2008-05-08 Thread Bart Schaefer
I'm feeling rather sheepish about adding to topic drift, but like Jim
last week, I'm looking for a developer to work on either/both
front-/back-end components of our LAMP (with P as in Perl)
application.  Compared to Jim, I can probably promise a little less
abuse but just as many hours and as much stress.  More details here:

http://sfbay.craigslist.org/nby/eng/669189624.html

CentOS system administration skills would be a big plus, too.

With apologies, we now return you to your usual yum breakage and
miscellaneous rpm incompatibilities.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] yum update did not update kernel on one box

2008-05-08 Thread Kai Schaetzl
 wrote on Thu, 8 May 2008 09:39:15 -0500:

 Ah. This is where the problem on her box probably comes from! Last
 November, when I installed Windows XP, in English, my native language,
 I did not understand something in Microsoft's English. There were four
 (4) partitions for Windows (C,D,E,F) and apparently when it was
 finished, I clicked incorrectly and it installed Windows again,  So,
 it installed MS Windows XP onto the four (4) Windows partitions on her
 box!

No, surely not. Windows installs only to one partition, the one you selected 
for installation. The other three are only NTFS partitions and can be used by 
Windows, but unless your wife installs something on them or puts data on them 
they are empty. Anyway, it's not a problem.

If Windows is selected on the GNU GRUB menu, then there is a 2nd
 boot menu, of Windows.

Ah, okay. Grub probably copied the MBR to a file and when you select to boot 
from Windows it runs that MBR which then runs the boot.ini menu from the 
Windows system partition. I think that's the standard way.

  Did you install it after CentOS or before it?
 
 When I began using Linux, I read that for dual boot boxes, MS Windows
 should always be installed first. So, I always install MS Windows
 first and then Linux.

Yeah, that's fine. Although with Windows systems since 2000 you can just 
install them second, they integrate grub in their boot.ini.

Device Boot  Start End  Blocks   Id  System
 /dev/hda1   *   1 783 5919448+   7  HPFS/NTFS
that's the active primary partition
 /dev/hda2 784534734503840f  W95 Ext'd (LBA)
that's the extended partition that holds hda5-9
 /dev/hda35348   1058639606840   8e  Linux LVM
this is the third primary partition with LVM on it
 /dev/hda5 7841566 5919448+   7  HPFS/NTFS
 /dev/hda61567292010236208+   7  HPFS/NTFS
 /dev/hda729213733 6146248+   7  HPFS/NTFS
 /dev/hda837343747  105808+  83  Linux
this looks like the boot partition
 /dev/hda93748534712095968+  8e  Linux LVM
another LVM partition

hda3 and hda9 are your Linux LVM partitions, maybe they belong to one volume 
group, I don't know (your fstab would tell more, there's also a graphical 
frontend for LVM in your desktop).

From your grub.conf we know that it thinks it's installed on (hd0,2), but 
hd0,2 is hda3 (if I understand that correctly) and that is LVM, and grub can't 
boot from LVM because grub boots the kernel and only that knows about LVM. So, 
you are probably booting from hda8, but it's not in your fstab as the /boot 
partition.
What does a df say? Does it list hda8 among the partitions? Probably not?
Mount it and have a look at that partition, does it contain the same stuff as 
your /boot partition? If not mounted, do:
mkdir /mnt/hda8
mount /dev/hda8 /mnt/hda8
cat /mnt/hda8/boot/grub/grub.conf
Does this look like the grub.conf that is the *real* one booting your system?

 [EMAIL PROTECTED] ~]#
 
 Trying to remember what I did on approximately 24 November 2007 is
 difficult. Probably, after shrinking the Windows partition with
 QTParted, to allow space for the CentOS installation, I let Windows do
 the partitioning and formatting for Windows, since I'd read that it is
 recommended to let Windows do that for Windows and Linux for Linux.
 However, I may have done the Windows partitionnig with QTParted. Or,
 the Windows XP installation may have given me the option to not use
 all of the HD for Windows, and if so, I would have elected to do that
 and leave space for CentOS5. I believe that I created and formatted
 the 4 Windows partitions within the Win XP installation. Not sure what
 went on that confused day.

As you installed CentOS after Windows the whole problem probably hasn't 
anything to do with the Windows installation, but it's a mystery how and why 
you got two /boot partitions, one (non-accessable) on LVM and the real one 
(that doesn't seem to be known to the system).


Kai

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



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


Re: [CentOS] can't get Tomcat5 to work on centos 5.1, how do I get it to work?

2008-05-08 Thread Filipe Brandenburger
Hi,

On Thu, May 8, 2008 at 6:00 PM, Rudi Ahlers [EMAIL PROTECTED] wrote:
 Exception in thread main java.lang.OutOfMemoryError: Cannot create

It looks like it's running out of memory when starting more threads.
Did you check if you have enough memory in this server to run Tomcat?
I think you need at least 512MB for it, but I would recommend more.

I know there are some tunings made to the JVM for it to request more
memory. If you do ps -ef | grep java when Tomcat is started you will
see some parameters starting with -X that will specify memory sizes,
check how much it requests. I don't really know how to tweak those,
check the script that starts Tomcat to see if it allows changing them.

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


Re: [CentOS] problem with yumdownload?

2008-05-08 Thread Filipe Brandenburger
Hi,

On Thu, May 8, 2008 at 4:38 PM, John R Pierce [EMAIL PROTECTED] wrote:
 coworker wants to download a module with all its dependencies, for use in
 updating an offline system...   CentOS 5.latest ...

 [EMAIL PROTECTED] home]# yumdownloader --resolve gcc
...
  File /usr/lib/python2.4/site-packages/yum/packages.py, line 191, in
 __eq__
   if other == None:
...
 um...  this a bug?

Yes, it's a bug!

In line 191 of packages.py, the is operator should be used instead
of ==. The line should read:

is other is None:

I changed my file and after that it worked fine. I will open a bug
upstream for that.

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


[CentOS] Apache Redirects...

2008-05-08 Thread Craig White
I'm trying to require SSL for drupal login and admin pages and it seems
that this should work but it doesn't redirect if added to httpd.conf or
to .htaccess (I've tried both)

  RewriteCond %{REQUEST_URI} ^/(user|admin)
  RewriteRule ^(.*)$ https://%{SERVER_NAME}/$1 [L,R]

Shouldn't this be enough so that the URL...(googling suggests that it
is)

http://cms.tobyhouse.com/user/login
is automatically redirected to
https://cms.tobyhouse.com/user/login

?

Craig

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


Re: [CentOS] Apache Redirects...

2008-05-08 Thread Ian Blackwell

This is what I have in my /etc/httpd/conf/httpd.conf file:-
Directory /var/www/html
   RewriteEngine on
   RewriteBase /
   RewriteCond %{REQUEST_FILENAME} !-f
   RewriteCond %{REQUEST_FILENAME} !-d
   RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
   RewriteCond %{HTTPS} !=on
   RewriteRule .* https://%{HTTP_HOST}:443%{REQUEST_URI} 
[QSA,R=permanent,L]


I hope this helps,

Ian

Craig White wrote:

I'm trying to require SSL for drupal login and admin pages and it seems
that this should work but it doesn't redirect if added to httpd.conf or
to .htaccess (I've tried both)

  RewriteCond %{REQUEST_URI} ^/(user|admin)
  RewriteRule ^(.*)$ https://%{SERVER_NAME}/$1 [L,R]

Shouldn't this be enough so that the URL...(googling suggests that it
is)

http://cms.tobyhouse.com/user/login
is automatically redirected to
https://cms.tobyhouse.com/user/login

?

Craig

___
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] Apache Redirects...

2008-05-08 Thread Craig White
On Thu, 2008-05-08 at 18:06 -0700, Craig White wrote:
 I'm trying to require SSL for drupal login and admin pages and it seems
 that this should work but it doesn't redirect if added to httpd.conf or
 to .htaccess (I've tried both)
 
   RewriteCond %{REQUEST_URI} ^/(user|admin)
   RewriteRule ^(.*)$ https://%{SERVER_NAME}/$1 [L,R]
 
 Shouldn't this be enough so that the URL...(googling suggests that it
 is)
 
 http://cms.tobyhouse.com/user/login
 is automatically redirected to
 https://cms.tobyhouse.com/user/login

nevermind...the rules work but they had to be higher up in the re-write
rules to work

Craig

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


[CentOS] OT, but just a quick question.

2008-05-08 Thread Jimmy Bradley
  I know this is off topic, so please accept my apologies. This is
just out of curiosity, and a number of people I've talked to in the area
I live in have said the same thing. About 2 weeks ago, my one remaining
xp machine downloaded and installed an update from Microsoft. Ever since
then, the machine has run slower than a dead person. I was just
wondering if anyone here on the list who still has a xp machine or two
running has noticed the same thing?

Thanks

Jim

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


Re: [CentOS] OT, but just a quick question.

2008-05-08 Thread Jimmy Bradley
   And a crappy day to you too.

On Thu, 2008-05-08 at 21:13 -0700, Craig White wrote:
 On Thu, 2008-05-08 at 22:31 -0500, Jimmy Bradley wrote:
  I know this is off topic, so please accept my apologies. This is
  just out of curiosity, and a number of people I've talked to in the area
  I live in have said the same thing. About 2 weeks ago, my one remaining
  xp machine downloaded and installed an update from Microsoft. Ever since
  then, the machine has run slower than a dead person. I was just
  wondering if anyone here on the list who still has a xp machine or two
  running has noticed the same thing?
 
 there are Windows mail lists...
 
 this is one
 http://peach.ease.lsoft.com/archives/winnt-l.html
 
 Craig
 
 ___
 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