[CentOS-docs] Multiple version documentation

2008-01-11 Thread Max Hetrick
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi guys,

How are we to handle multiple versions of How-Tos? Meaning, I have
document foo written for CentOS 4.x, but update it to reflect CentOS
5.x. Do you want a new page reflecting what release it's written for
while keeping the old one intact? Do you want it inside the same page?
Do you want a new page?

I have a few pages I was going to go through and update to using CentOS
5.x, but I know that many people might find the documents still useful
for 4.x, so I hate to completely wipe directions for something still
being used.

Is there a standard for this on the wiki? If not, should one be considered?

Regards,
Max
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFHiDpaIXSX/6LmsXkRAg+FAJ4wYyjIbSd1qnRlrr7rM6wIwmyqkgCggWCM
OXgPsQVFs+dFrsJWtCeBjCo=
=+MFw
-END PGP SIGNATURE-
___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


[CentOS-announce] CESA-2008:0039 Moderate CentOS 3 x86_64 postgresql - security update

2008-01-11 Thread Tru Huynh
CentOS Errata and Security Advisory CESA-2008:0039

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

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

x86_64:
updates/x86_64/RPMS/rh-postgresql-7.3.21-1.x86_64.rpm
updates/x86_64/RPMS/rh-postgresql-contrib-7.3.21-1.x86_64.rpm
updates/x86_64/RPMS/rh-postgresql-devel-7.3.21-1.x86_64.rpm
updates/x86_64/RPMS/rh-postgresql-docs-7.3.21-1.x86_64.rpm
updates/x86_64/RPMS/rh-postgresql-jdbc-7.3.21-1.x86_64.rpm
updates/x86_64/RPMS/rh-postgresql-libs-7.3.21-1.i386.rpm
updates/x86_64/RPMS/rh-postgresql-libs-7.3.21-1.x86_64.rpm
updates/x86_64/RPMS/rh-postgresql-pl-7.3.21-1.x86_64.rpm
updates/x86_64/RPMS/rh-postgresql-python-7.3.21-1.x86_64.rpm
updates/x86_64/RPMS/rh-postgresql-server-7.3.21-1.x86_64.rpm
updates/x86_64/RPMS/rh-postgresql-tcl-7.3.21-1.x86_64.rpm
updates/x86_64/RPMS/rh-postgresql-test-7.3.21-1.x86_64.rpm

source:
updates/SRPMS/rh-postgresql-7.3.21-1.src.rpm

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

yum update rh-postgresql\*

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


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


[CentOS-announce] CESA-2008:0039 Moderate CentOS 3 i386 postgresql - security update

2008-01-11 Thread Tru Huynh
CentOS Errata and Security Advisory CESA-2008:0039

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

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

i386:
updates/i386/RPMS/rh-postgresql-7.3.21-1.i386.rpm
updates/i386/RPMS/rh-postgresql-contrib-7.3.21-1.i386.rpm
updates/i386/RPMS/rh-postgresql-devel-7.3.21-1.i386.rpm
updates/i386/RPMS/rh-postgresql-docs-7.3.21-1.i386.rpm
updates/i386/RPMS/rh-postgresql-jdbc-7.3.21-1.i386.rpm
updates/i386/RPMS/rh-postgresql-libs-7.3.21-1.i386.rpm
updates/i386/RPMS/rh-postgresql-pl-7.3.21-1.i386.rpm
updates/i386/RPMS/rh-postgresql-python-7.3.21-1.i386.rpm
updates/i386/RPMS/rh-postgresql-server-7.3.21-1.i386.rpm
updates/i386/RPMS/rh-postgresql-tcl-7.3.21-1.i386.rpm
updates/i386/RPMS/rh-postgresql-test-7.3.21-1.i386.rpm

source:
updates/SRPMS/rh-postgresql-7.3.21-1.src.rpm

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

yum update rh-postgresql\*

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


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


[CentOS-announce] CESA-2008:0032 Important CentOS 3 i386 libxml2 - security update

2008-01-11 Thread Tru Huynh
CentOS Errata and Security Advisory CESA-2008:0032

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

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

i386:
updates/i386/RPMS/libxml2-2.5.10-8.i386.rpm
updates/i386/RPMS/libxml2-devel-2.5.10-8.i386.rpm
updates/i386/RPMS/libxml2-python-2.5.10-8.i386.rpm

source:
updates/SRPMS/libxml2-2.5.10-8.src.rpm

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

yum update libxml2\*

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


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


[CentOS-announce] CESA-2008:0032 Important CentOS 4 ia64 libxml2 - security update

2008-01-11 Thread Pasi Pirhonen
CentOS Errata and Security Advisory 2008:0032

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

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

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


-- 
Pasi Pirhonen - [EMAIL PROTECTED] - http://pasi.pirhonen.eu/
Top-postings silently ignored


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


[CentOS-announce] CESA-2008:0039 Moderate CentOS 3 ia64 postgresql - security update

2008-01-11 Thread Pasi Pirhonen
CentOS Errata and Security Advisory 2008:0039

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

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

ia64:
updates/ia64/RPMS/rh-postgresql-7.3.21-1.ia64.rpm
updates/ia64/RPMS/rh-postgresql-contrib-7.3.21-1.ia64.rpm
updates/ia64/RPMS/rh-postgresql-devel-7.3.21-1.ia64.rpm
updates/ia64/RPMS/rh-postgresql-docs-7.3.21-1.ia64.rpm
updates/ia64/RPMS/rh-postgresql-jdbc-7.3.21-1.ia64.rpm
updates/ia64/RPMS/rh-postgresql-libs-7.3.21-1.ia64.rpm
updates/ia64/RPMS/rh-postgresql-pl-7.3.21-1.ia64.rpm
updates/ia64/RPMS/rh-postgresql-python-7.3.21-1.ia64.rpm
updates/ia64/RPMS/rh-postgresql-server-7.3.21-1.ia64.rpm
updates/ia64/RPMS/rh-postgresql-tcl-7.3.21-1.ia64.rpm
updates/ia64/RPMS/rh-postgresql-test-7.3.21-1.ia64.rpm


-- 
Pasi Pirhonen - [EMAIL PROTECTED] - http://pasi.pirhonen.eu/
Top-postings silently ignored


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


[CentOS-announce] CESA-2008:0032 Important CentOS 3 ia64 libxml2 - security update

2008-01-11 Thread Pasi Pirhonen
CentOS Errata and Security Advisory 2008:0032

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

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

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


-- 
Pasi Pirhonen - [EMAIL PROTECTED] - http://pasi.pirhonen.eu/
Top-postings silently ignored


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


[CentOS-es] Problema con squid

2008-01-11 Thread Hector Martínez Romo

Estimados

 

Instale y configure squid y cuando intento iniciarlo me despliega el siguiente 
error...

 

FATAL: Failed to make swap directory /cache/proxy/cache_uno/00: (13) Permission 
denied

Squid Cache (Version 2.5.STABLE14): Terminated abnormally.

CPU Usage: 0.012 seconds = 0.000 user + 0.012 sys

Maximum Resident Size: 0 KB

Page faults with physical i/o: 0

 

Los permisos..

 

ll /cache/proxy

total 8

drwxrwxrwx  2 squid squid 4096 Jan 10 15:59 cache_uno

 

He cambiado los permisos y dueños del directorio para la cache, pero no he 
logrado subirlo.

 

Agradezco desde ya vuestros aportes.

 

Saludos a la lista.

Hector Martínez R.



*
La información contenida en esta transmisión es confidencial y no puede ser 
usada o difundida por personas distintas a su(s) destinatario(s).
El uso no autorizado de la información contenida en este correo  puede ser 
sancionado criminalmente de conformidad con la Ley Chilena.
Si ha recibido un correo por error, por favor destrúyalo y notifique al 
remitente.
El Departamento de Informática del Ministerio de Educación le recomienda, para 
el buen desempeño de su correo, lo siguiente:
- revise su correo diariamente
- pida confirmación de los correos que envía
- oriéntese de las buenas practicas en el uso del correo___
CentOS-es mailing list
CentOS-es@centos.org
http://lists.centos.org/mailman/listinfo/centos-es


Re: [CentOS-es] Problemas con Postfix y literales de dominio

2008-01-11 Thread William Alexander Brito Vinas
Puse en mynetworks el host desde el cual quiero recibir lo siguiente por
ejemplo:

 MAIl FROM [EMAIL PROTECTED]

 y que esto no haga que Postfix devuelva Bad Address Syntax, desechando
el mensaje completamente


Para esto le agregé en /etc/postfix/main.cf lo siguiente:

 smtpd_sender_restrictions = permit_mynetworks

No estoy usando header_cheks, ni para senders ni para receipts, pero el
problema persiste. No es posible la resolucion inversa de la direccion del
host.

Un ultimo detalle que no creo que tenga importancia, cuando escribi
[EMAIL PROTECTED], en realidad queria recalcar que el username está
todo en mayusculas y usan guiones, pero esto no está reñido (que yo sepa)
con el RFC.


 --- William Alexander Brito Vinas
 [EMAIL PROTECTED] wrote:

 gracias por la colaboracion y por lo de la ñ, ahora
 aparecio cuando no la
 necesitaba. jaja.

 La idea resulto cuando el mensaje tiene el
 encabezado:

 TO: [EMAIL PROTECTED]

 no hay lios si esa interfaz está declarada tal como
 me explicas, el
 problema está en que hay cierto host, llamemosle
 192.168.24.1 desde donde
 entran mensajes con encabezados como los siguientes:

 TO:[EMAIL PROTECTED]
 # -- Aceptado porque es un usuario de los mios
 FROM:  [EMAIL PROTECTED]

 no uses top-posting!!!

 tu problema es entonces en un chequeo que se hace de
 sintaxis del From del mensaje, en ese caso tienes
 que revisar los que chequeos que tienes implementados
 o quizas, si confias en ese servidor, poner su IP en
 la lista de servidores confiables.

 cu
 roger

 __
 RedHat Certified ( RHCE )
 Cisco Certified ( CCNA  CCDA )


   Ask a question on any topic and get answers from real people. Go to
 Yahoo! Answers and share what you know at
 http://ca.answers.yahoo.com
 ___
 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] NFS/NIS and firewalls

2008-01-11 Thread Johnny Hughes

Scott Ehrlich wrote:
I have a few C5 machines on an isolated LAN that connect to a RHEL5 
server via NFS and NIS for authentication.   I discovered that one of 
the C5 workstations worked fine for NFS exporting, but refused to 
collaborate with the EL5 server for NIS user authentication.


I had successfully connected other systems to this server without issue, 
but this machine was finicky.


I had initially enabled the EL5 firewall, then later disabled it, 
including selecting --disable-firewall.  Still, this one C5 workstation 
wouldn't cooperate for user authentication.


Then, as a bit of an experiment, I opted to visit the EL5 services and 
manually highlight IPtables, clicked STOP, and tried the verification 
again.  This time, the C5 system got the NIS data.



Now, if I want to enable a firewall on all machines -

As a server, EL5 does have an option to select NFS services be run on 
specific ports.   How do I configure the C5 clients to also communicate 
on those ports, thus allowing full NIS/NFS user authentication and 
directory exporting, all the while with built-in firewall protection on 
all systems?


These are all out-of-box setups, with no updates, and full package 
installs from the install media.


As time goes on, I will migrate to the OpenLDAP world, but I haven't had 
the opportunity to experiment with that just yet.


Thanks.

Scott


This guide talks about NFS and NIS and firewalls:

http://www.centos.org/docs/5/html/5.1/Deployment_Guide/




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


Re: [CentOS] CentOS 5.0 /proc Backup/Restore

2008-01-11 Thread Tony Molloy
On Thursday 10 January 2008 23:18:33 Krautkramer, John wrote:
 Hi,



 I've recently switched to CentOS 5.0 from RedHat 9.0 and found a new
 directory /proc which contains virtual files according to the docs.
 When I try to run my normal backup which uses cpio to create archives,
 it complains about not being able to access many files in the /proc
 directory. This is also true of some files in /sys/devices.



 Searching for something that wouldn't have this problem, I tried
 mondorescue. One of the first things I noticed is, by default,
 mondorescue skips the /proc directory. Does anyone know the details of
 my observations here? Are these files automatically generated at
 runtime?



 Thanks is advance for any insight someone can provide here!



 John

Yes, the /proc directory basically contains information on the running kernel 
and should never be backed up.

Tony 

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


[CentOS] PHP 5.2.5 when ?

2008-01-11 Thread Santa Claus
Hi

When (some) expected rpm package for the upgrade php to version 5.2.5(CentOS4) ?
Who knows?

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


Re: [CentOS] PHP 5.2.5 when ?

2008-01-11 Thread Johnny Hughes

Santa Claus wrote:

Hi

When (some) expected rpm package for the upgrade php to version 5.2.5(CentOS4) ?
Who knows?


ummm ... the answer is probably never.

Red Hat offers a RHWAS ... that has a php5 for EL4.  The version of php 
in there (and in our CentOSPlus repo) is php-5.1.6 ... it might go 
higher than that, but I doubt it will go to 5.2.x.  If it does go there 
in RHWAS, it will also go there in CentOSPlus, but I would not hold my 
breath :-D


Thanks,
Johnny Hughes



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


[CentOS] CentOS-announce Digest, Vol 35, Issue 3

2008-01-11 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. CEEA-2008:0028  CentOS 5 x86_64 tzdata Update (Karanbir Singh)
   2. CEEA-2008:0028  CentOS 5 i386 tzdata Update (Karanbir Singh)


--

Message: 1
Date: Fri, 11 Jan 2008 01:18:45 +
From: Karanbir Singh [EMAIL PROTECTED]
Subject: [CentOS-announce] CEEA-2008:0028  CentOS 5 x86_64 tzdata
Update
To: [EMAIL PROTECTED]
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=us-ascii


CentOS Errata and Enhancement Advisory 2008:0028 

Upstream details at : https://rhn.redhat.com/errata/RHEA-2008-0028.html

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

x86_64:
b866fd855849f6a81c1916187f4219ad  tzdata-2007k-1.el5.noarch.rpm

Source:
b20dacb215b1342c2011aed06b61c1cb  tzdata-2007k-1.el5.src.rpm


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



--

Message: 2
Date: Fri, 11 Jan 2008 01:18:45 +
From: Karanbir Singh [EMAIL PROTECTED]
Subject: [CentOS-announce] CEEA-2008:0028  CentOS 5 i386 tzdata Update
To: [EMAIL PROTECTED]
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=us-ascii


CentOS Errata and Enhancement Advisory 2008:0028 

Upstream details at : https://rhn.redhat.com/errata/RHEA-2008-0028.html

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

i386:
24d39598f5138eec781afbc3a3cf9a2f  tzdata-2007k-1.el5.noarch.rpm

Source:
b20dacb215b1342c2011aed06b61c1cb  tzdata-2007k-1.el5.src.rpm


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



--

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


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


[CentOS] Use CentOSplus to carry latest GUI packages

2008-01-11 Thread Ross S. W. Walker

I don't know if this has been talked about much in the past, but I was 
wondering if CentOSplus could be used to carry the latest stable versions of 
the GUI applications KDE/Gnome. These apps often lag behind quite a bit even on 
the selected stable branch upstream has chosen.

For example, would it decrease stability to update KDE from 3.5.4 to 3.5.8? I 
think it would add to stability as long as you stay within that 3.5 branch, but 
upstream thinks otherwise and tries to re-invent the wheel by backporting 
3.5.5-3.5.8 fixes into 3.5.4 which often don't work completely and have the 
potential of creating new bugs themselves.

Another thing, Xen, the Xen package says it's 3.0.3, but looking at the SRPM it 
turns out it's the Xen 3.1 kernel with the Xen 3.0.3 'xm' and 'xend' dom0 
utilities. In my book that's Xen 3.1, why not just fix the parts of the 3.1 
utilities that broke between releases?

Anyways Xen may not be a good candidate as others may have environmental 
dependencies on the upstream version, but upgrading to the latest minor version 
within a branch for a given application shouldn't break environmental 
dependencies, ie provide Xen 3.1.4 if it contains the xm and xend fixes that 
upstream was looking for.

What is the consenus on this?

-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] yum hangs when Reading Local RPMDB

2008-01-11 Thread David G. Miller

Kai Schaetzl [EMAIL PROTECTED] wrote:

Before I do this without need I have a question: if the rpm db is 
corrupt shouldn't rpm -q or -qa stop working? Kai 
Not necessarily.  A regular user can run rpm -q since it doesn't lock 
the database (your original posting showed rpm hanging on a FUTEX).  I 
don't know rpm internals but I'd guess that simple queries for a 
specific package or even a listing of all packages don't go very deep 
into the rpm database.  Also, since the database isn't being updated, 
there isn't any need to lock the database during the query.


Cheers,
Dave

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

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


Re: [CentOS] Howto for LDAP authentication with replication

2008-01-11 Thread Craig White
On Thu, 2008-01-10 at 22:10 -0600, Sean Carolan wrote:
 On Jan 10, 2008 6:38 PM, Craig White [EMAIL PROTECTED] wrote:
  On Thu, 2008-01-10 at 14:40 -0600, Sean Carolan wrote:
   Can anyone point me to a how to or beginners guide to setting up LDAP
   authentication on CentOS5 with replication?
  
  well, if you want something that's comprehensive, I probably can't offer
  much.
 
 Thanks for the pointers, Craig.  I'm finding that web documentation
 for LDAP authentication on CentOS is extremely sparse and/or
 inaccurate.  Here's what I've been able to do so far:
 
 *  Get slapd up and running
 *  Import my /etc/passwd, /etc/shadow, /etc/group using the migration scripts
 *  Run commands like ldapsearch -x -D cn=Admin,dc=example,dc=com
 -W, which successfully connects and gets info from slapd
 
 I would like to use Webmin to manage this, but unfortunately Webmin
 doesn't seem to find any ldap users or groups.  Anyone else have
 experience getting this to work?

sure, I use webmin's LDAP Users and Groups module on every network
server that I maintain. It's perfect for my needs.

The first question that occurs to me is if you did all that. When you do
'getent passwd' does each user in LDAP show up? Remember that if you
still have a user in /etc/passwd and in LDAP (which would be a fatal
setup), they would actually appear twice.

Craig

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


Re: [CentOS] remote desktop

2008-01-11 Thread Ignacio Vazquez-Abrams
On Fri, 2008-01-11 at 11:27 -0500, Jerry Geis wrote:
 What is the difference between the GUI (system-Preferences-Remote 
 Desktop) under centos 5.1
 and editing /etc/X11/xorg.conf and adding the vnc in the modules section?
 
 Is one better than the other?

The former is vino, and it only works if you're already logged in.

-- 
Ignacio Vazquez-Abrams [EMAIL PROTECTED]

PLEASE don't CC me; I'm already subscribed


signature.asc
Description: This is a digitally signed message part
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] remote desktop

2008-01-11 Thread Kai Schaetzl
Jerry Geis wrote on Fri, 11 Jan 2008 11:27:17 -0500:

 What is the difference between the GUI (system-Preferences-Remote 
 Desktop) under centos 5.1
 and editing /etc/X11/xorg.conf and adding the vnc in the modules section?

The GUI applies to the built-in Gnome VNC server vino (and it lacks 
options). I assume the xorg stuff is for vncserver.

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] yum hangs when Reading Local RPMDB

2008-01-11 Thread Filipe Brandenburger
Hi,

I used to have exactly the same problem when the machine rebooted in the
middle of an RPM installation or if the rpm process was killed -9.

On Jan 9, 2008 7:41 PM, Kai Schaetzl [EMAIL PROTECTED] wrote:

 The process doesn't die, but doesn't seem to do anything
 from that point on. strace shows this: futex(0xb76dcae8, FUTEX_WAIT, 2,
 NULL
 ...
 How can I resolve this?
 I see that one suggestion is rm /var/lib/rpm/__db*. How do I rebuild it
 then?


You can just remove the __db* files (if you're sure they're there because of
an rpm interrupted process, check first if there are no rpm processes
running). __db* are Berkeley DB's lockfiles and are used for transactions
inside Berkeley DB. You don't need to rebuild anything, the RPM database is
on the other files on that directory. Once you remove the locks you'll be
able to access it normally.


 I found that cleaning the metadata doesn't remove the sqlite databases, so
 I removed these from /var/yum/cache as well. The rebuilt databases were
 different, but it didn't solve the problem.


You don't have to clean /var/yum/cache since that's yum's cache and the
problem you have is with rpm. Cleaning it, however, won't hurt you, you'll
only have to download the RPM again.

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


[CentOS] service nfs start hangs on CentOS 4

2008-01-11 Thread Frank Büttner

Hello when I try to start nfs the command hangs.
I have found out, that the problem is, that I set an IP address at 
/etc/exports

sample:
/var/foo XXX.XXX.XXX(some rights)
when replace the IP address to * then service nfs start work, but no one 
can use the exports.

What goes wrong??


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


Re: [CentOS] Automount of USB drives

2008-01-11 Thread Bart Schaefer
On Jan 11, 2008 9:03 AM,  [EMAIL PROTECTED] wrote:
 Now when I connect any USB drive [hard drives  USB sticks], they
 show up in dmesg, and they are being properly recognized, but I
 have to mount them by hand.

I've had this happen (without the power failure part) on CentOS 4, and
found it to be a problem with the HAL daemon and/or
gnome-volume-manager.  Did HAL start up properly when the system
restarted?  Do you have a gnome-volume-manager process running?

As a partly-related aside, can anyone explain why the usermount
program has disappeared from the standard Gnome menus in CentOS 5?  In
3 and 4 it appeared under System Tools - Disk Management.  I presume
it's an upstream thing, but a few googlings have not found anything
about the motivation for the change.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] commercial wireless access for linux

2008-01-11 Thread Jerry Geis

All,

I have need to put a centos 5.1 box on a commercial wireless access like
verizon or sprint.

Does anyone have or use with these services?
Is that possible with linux?
Do you get a static IP address with those cards?

Thanks,

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


Re: [CentOS] Syslog timezone issue

2008-01-11 Thread Filipe Brandenburger
On Jan 11, 2008 2:51 PM, Bart Schaefer [EMAIL PROTECTED] wrote:

 With CentOS-5.1, they're dated in UTC *most* of the time,
 but occasionally in the local timezone.  This has seriously confused a
 couple of our homegrown process monitoring scripts.


IIRC, the datestamp is put by the process that is logging, not by syslog
itself. Maybe when that process started you hadn't configured the right
/etc/localtime and the process still thinks it's running in UTC (processes
read /etc/localtime only once).

Did you try rebooting the machine to see if it solves the problem?

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


[CentOS] Re: commercial wireless access for linux

2008-01-11 Thread Scott Silva

on 1/11/2008 10:30 AM Jerry Geis spake the following:

All,

I have need to put a centos 5.1 box on a commercial wireless access like
verizon or sprint.

Does anyone have or use with these services?
Is that possible with linux?
Do you get a static IP address with those cards?

Thanks,

Jerry

What might be easier are the ev-do routers like the Kyocera KR1.


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

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


[CentOS] Perhaps a Perl problem (Re: Syslog timezone issue)

2008-01-11 Thread Bart Schaefer
On Jan 11, 2008 11:51 AM, Bart Schaefer [EMAIL PROTECTED] wrote:
 It appears that any given process is consistent about which timezone
 it uses, but there's no obvious reason why any particular process gets
 the local zone vs. UTC.  For example, we have a couple of long-running
 daemons that fork children to handle network requests, and  although
 the parent daemon consistently logs in one timezone, its forks (which
 do not even do an exec, so they should be identical to the parent)
 randomly switch to the other timezone.

It just occurred to me that these particular daemons are perl programs
using Sys::Syslog, so maybe the problem is there.

The forked children continue using the same Sys::Sylog object created
by the parent, though, so that still leaves me wondering about the
inconsistent timezone after the fork.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Syslog timezone issue

2008-01-11 Thread Bart Schaefer
On Jan 11, 2008 12:13 PM, Filipe Brandenburger [EMAIL PROTECTED] wrote:

 IIRC, the datestamp is put by the process that is logging, not by syslog
 itself. Maybe when that process started you hadn't configured the right
 /etc/localtime and the process still thinks it's running in UTC (processes
 read /etc/localtime only once).

Our daemon is started after sendmail and before cron, and both the
sendmail and cron log files use the local timezone, so ...

Also there's the phenomenon of the timezone changing in what seems to
be a random fashion when the process forks.

 Did you try rebooting the machine to see if it solves the problem?

It's been rebooted several times for other reasons.  No change.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Centos 5 Samba File Server dropping files

2008-01-11 Thread J

Christopher Chan wrote:

Christopher Chan wrote:

J wrote:
Twice I've gotten the report that a user has attempted to move a 
folder of many files up one level, and all of the files 
disappeared.  Searching for the files in the share proves that they 
aren't there any more, nor are they where they should have been 
moved to.  I desperately need to find the cause of this.  Has anyone 
else seen this happen on their file server?


I think you are the first report for such a thing that I have ever 
heard.


I have stayed in Hong Kong far too long. Please let me rephrase that.

I think yours is the first report for such a thing that I have ever 
heard/I think you are the first to report such a thing.






The samba log file doesn't appear to be any help.  It just shows 
that some files were opened and closed.  The second user that I got 
this report from is a competent user.  From the Windows' client 
side, no error is generated.  They are just moved into a void.


Are the Windows clients Vista? Just wondering.

No, the clients were XP Home/Media XP Home.


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


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



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


Re: [CentOS] Centos 5 Samba File Server dropping files

2008-01-11 Thread J

Jim Perrin wrote:

On Jan 10, 2008 9:33 PM, Christopher Chan [EMAIL PROTECTED] wrote:
  

J wrote:


Twice I've gotten the report that a user has attempted to move a folder
of many files up one level, and all of the files disappeared.  Searching
for the files in the share proves that they aren't there any more, nor
are they where they should have been moved to.  I desperately need to
find the cause of this.  Has anyone else seen this happen on their file
server?
  

I think you are the first report for such a thing that I have ever heard.



The samba log file doesn't appear to be any help.  It just shows that
some files were opened and closed.  The second user that I got this
report from is a competent user.  From the Windows' client side, no
error is generated.  They are just moved into a void.
  

Are the Windows clients Vista? Just wondering.



Also, did any other users have one of the moved files open when the
move took place?
Any permissions issues on the *nix side?
Any special characters in the names which might cause LANG issues?
  

No idea, on the first question.
Regarding permissions, she was in a path that was restricted to her 
group (someone in her group had moved the folder into that restricted 
path somehow), and moving it out to a path with less restrictive access.
As for number 3, they are creating and naming these files in Windows XP, 
so there's no telling what kind of characters are in the names...

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


Re: [CentOS] Use CentOSplus to carry latest GUI packages

2008-01-11 Thread Kai Schaetzl
Ross S. W. Walker wrote on Fri, 11 Jan 2008 08:17:51 -0500:

 Another thing, Xen, the Xen package says it's 3.0.3, but looking at the SRPM 
 it turns out it's the Xen 3.1 kernel with the Xen 3.0.3 'xm' and 'xend' dom0 
 utilities. In my book that's Xen 3.1, why not just fix the parts of the 3.1 
 utilities that broke between releases?

see recent postings to centos-virt.

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] service nfs start hangs on CentOS 4

2008-01-11 Thread Frank Büttner

Milton Calnek schrieb:



Frank Büttner wrote:

[EMAIL PROTECTED] schrieb:

Hello when I try to start nfs the command hangs.
I have found out, that the problem is, that I set an IP address at 
/etc/exports

sample:
/var/foo XXX.XXX.XXX(some rights)
when replace the IP address to * then service nfs start work, but no 
one can use the exports.

What goes wrong??



You might want to make sure that the portmap daemon is running.

/etc/init.d/portmap status

 will tell you if it is runnning. If it is not..fire it up.



Not sure if it's just a notation issue, it may be that nfs will 
interpret 3 quads as a class c address.

I always use a.b.c.d/n

When you specify an IP/net in exports, what does showmount -e show?

You know that you have to restart nfs when you make changes to exports 
right?

Yes I know.
using a.b.c.d/n will let nfs start, but showmount -e will hang:(
And no client can mount the export:(






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


Re: [CentOS] service nfs start hangs on CentOS 4

2008-01-11 Thread Milton Calnek



Frank Büttner wrote:

[EMAIL PROTECTED] schrieb:

Hello when I try to start nfs the command hangs.
I have found out, that the problem is, that I set an IP address at 
/etc/exports

sample:
/var/foo XXX.XXX.XXX(some rights)
when replace the IP address to * then service nfs start work, but no 
one can use the exports.

What goes wrong??



You might want to make sure that the portmap daemon is running.

/etc/init.d/portmap status

 will tell you if it is runnning. If it is not..fire it up.



Not sure if it's just a notation issue, it may be that nfs will 
interpret 3 quads as a class c address.

I always use a.b.c.d/n

When you specify an IP/net in exports, what does showmount -e show?

You know that you have to restart nfs when you make changes to exports 
right?



--
Milton Calnek BSc, A/Slt(Ret.)
[EMAIL PROTECTED]
306-717-8737


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

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


[CentOS] remote desktop

2008-01-11 Thread Jerry Geis
What is the difference between the GUI (system-Preferences-Remote 
Desktop) under centos 5.1

and editing /etc/X11/xorg.conf and adding the vnc in the modules section?

Is one better than the other?

Jerry

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


[CentOS] Syslog timezone issue

2008-01-11 Thread Bart Schaefer
We recently upgraded (as in, backup, reinstall, selective restore) a
couple of servers from CentOS-3.9 to CentOS-5.1.  This generally went
smoothly but we've encountered one confusing problem with syslog.

Under CentOS-3, syslog entries were always dated in the host local
timezone.  With CentOS-5.1, they're dated in UTC *most* of the time,
but occasionally in the local timezone.  This has seriously confused a
couple of our homegrown process monitoring scripts.

The cron, secure, and maillog logs are all consistently in the local
timezone ... it's only /var/log/messages that wanders around.

It appears that any given process is consistent about which timezone
it uses, but there's no obvious reason why any particular process gets
the local zone vs. UTC.  For example, we have a couple of long-running
daemons that fork children to handle network requests, and  although
the parent daemon consistently logs in one timezone, its forks (which
do not even do an exec, so they should be identical to the parent)
randomly switch to the other timezone.

What we'd like is for the local timezone always to be used as it was
before.  What configuration option or whatever, have we missed?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] service nfs start hangs on CentOS 4

2008-01-11 Thread Frank Büttner

[EMAIL PROTECTED] schrieb:

Hello when I try to start nfs the command hangs.
I have found out, that the problem is, that I set an IP address at 
/etc/exports

sample:
/var/foo XXX.XXX.XXX(some rights)
when replace the IP address to * then service nfs start work, 
but no one 
can use the exports.

What goes wrong??



You might want to make sure that the portmap daemon is running.

/etc/init.d/portmap status

 will tell you if it is runnning. If it is not..fire it up.



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


Yes portmap is running and an restart of portmap will not help.:(


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


Re: [CentOS] yum hangs when Reading Local RPMDB

2008-01-11 Thread Kai Schaetzl
Filipe Brandenburger wrote on Fri, 11 Jan 2008 10:35:16 -0500:

 You can just remove the __db* files (if you're sure they're there because of 
 an 
rpm interrupted process, check first if there are no rpm processes running). 
__db* are Berkeley DB's lockfiles and are used for transactions inside Berkeley 
DB. You don't need to rebuild anything, the RPM database is on the other files 
on 
that directory. Once you remove the locks you'll be able to access it normally.

Hm, the files are __db.001, __db.002 and __db.003 and range up to a size of 
over 
one MB, so they cannot be lockfiles. Yeah, maybe they are interim transaction 
files. After removing and doing an rpm query they are back there, in exactly 
the 
same size. I'd rather think they are indexes, there is no transaction necessary 
for a read query.
Anyway, after removing and rebuilding them yum works! Thanks.


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] service nfs start hangs on CentOS 4

2008-01-11 Thread Frank Büttner

Frank Büttner schrieb:

Milton Calnek schrieb:



Frank Büttner wrote:

[EMAIL PROTECTED] schrieb:

Hello when I try to start nfs the command hangs.
I have found out, that the problem is, that I set an IP address at 
/etc/exports

sample:
/var/foo XXX.XXX.XXX(some rights)
when replace the IP address to * then service nfs start work, but 
no one can use the exports.

What goes wrong??



You might want to make sure that the portmap daemon is running.

/etc/init.d/portmap status

 will tell you if it is runnning. If it is not..fire it up.



Not sure if it's just a notation issue, it may be that nfs will 
interpret 3 quads as a class c address.

I always use a.b.c.d/n

When you specify an IP/net in exports, what does showmount -e show?

You know that you have to restart nfs when you make changes to exports 
right?

Yes I know.
using a.b.c.d/n will let nfs start, but showmount -e will hang:(
And no client can mount the export:(



After long waiting I get an RPC timeout error




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


Re: [CentOS] Automount of USB drives

2008-01-11 Thread MHR
On Jan 11, 2008 9:03 AM, [EMAIL PROTECTED] wrote:

 Hi,

 I am using 5.1, Until yesterday morning when we had a power cut
 for 9 hours [no proper UPS], the automount of USB drives worked
 properly.

 Now when I connect any USB drive [hard drives  USB sticks], they
 show up in dmesg, and they are being properly recognized, but I
 have to mount them by hand.

 Any suggestion?

Have you checked to see if the automount daemon is still running?

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


[CentOS] How do I change the default media player from Totem to anything-else?

2008-01-11 Thread MHR
On CentOS 5.1 (and before), the default player for CD and DVD media is
Totem, despite the fact (?) that it doesn't handle a whole bunch of media
very well (i.e., can't play them at all) by default.

Unfortunately, this is not one of the preferred applications controllable
from that applet (it only does browser, email and terminal emulator.

I'd like to change what plays the CDs and DVDs by default to something
else.  I tried a google on this, but nothing relevant showed up.

Any suggestions?  (Or is this a GNOME questions?)

Thanks.

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


Re: [CentOS] Syslog timezone issue

2008-01-11 Thread mouss
Bart Schaefer wrote:
 On Jan 11, 2008 12:13 PM, Filipe Brandenburger [EMAIL PROTECTED] wrote:
 IIRC, the datestamp is put by the process that is logging, not by syslog
 itself. Maybe when that process started you hadn't configured the right
 /etc/localtime and the process still thinks it's running in UTC (processes
 read /etc/localtime only once).
 
 Our daemon is started after sendmail and before cron, and both the
 sendmail and cron log files use the local timezone, so ...
 
 Also there's the phenomenon of the timezone changing in what seems to
 be a random fashion when the process forks.
 
 Did you try rebooting the machine to see if it solves the problem?
 
 It's been rebooted several times for other reasons.  No change.

does your daemon run chrooted? if so, you need to copy /etc/localtime to
the cage.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] centos command to monitor a process for exit

2008-01-11 Thread mouss
Les Mikesell wrote:
 Jerry Geis wrote:
 Is there a command that will monitor a process for exiting (crash or
 normal exit) and
 then execute another command based on the said process no longer being
 active?

 Or is there a wrapper command that runs a process and when that
 process exists
 due to crashing or just exiting normally) that another process can be
 run.

 
 Why not use a shell script as a wrapper?  If you don't put something in
 the background with an  on the line, the next line will execute when/if
 the program started on the current line exits.  There are nearly always
 other copies of the shell running anyway so you get shared-text
 efficiency.  If you just want to keep restarting the same program,
 something like this should run forever.
 
 while :
  do
   my_program
  done
 

This has two issues (at least):
- if the program is a daemon, it returns immediately, so the scrpit will
try to start the program again and again
- if the script gets a signal, it will be killed. back to start.


also, whatever method is used, one must not spend cpu restarting a
program that crashes after 2 seconds (thus looping on restart). if the
program keeps crashing, an alert should be sent (and the program fixed
or removed).





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


Re: [CentOS] centos command to monitor a process for exit

2008-01-11 Thread Bill Campbell
On Sat, Jan 12, 2008, mouss wrote:
Les Mikesell wrote:
 Jerry Geis wrote:
 Is there a command that will monitor a process for exiting (crash or
 normal exit) and
 then execute another command based on the said process no longer being
 active?

 Or is there a wrapper command that runs a process and when that
 process exists
 due to crashing or just exiting normally) that another process can be
 run.

 
 Why not use a shell script as a wrapper?  If you don't put something in
 the background with an  on the line, the next line will execute when/if
 the program started on the current line exits.  There are nearly always
 other copies of the shell running anyway so you get shared-text
 efficiency.  If you just want to keep restarting the same program,
 something like this should run forever.
 
 while :
  do
   my_program
  done
 

This has two issues (at least):
- if the program is a daemon, it returns immediately, so the scrpit will
try to start the program again and again
- if the script gets a signal, it will be killed. back to start.

If you use ``kill -0 pid'' it shouldn't affect the running process, and
will return success ($? = 0) if the process is running, and fail otherwise.

A fairly standard way of checking things like this is:

pidfile=/var/run/progname.pid
progname_signal() {
[ -f $progname_pidfile ]  kill -$1 `cat $progname_pidfile`
}
if progname_signal 0
then
echo is running
else
echo not running
fi

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

If taxation without consent is robbery, the United States government
has never had, has not now, and is never likely to have, a single honest
dollar in its treasury. -- Lysander Spooner, Letter to Grover Cleveland 1886
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Syslog timezone issue

2008-01-11 Thread Bart Schaefer
On Jan 11, 2008 3:45 PM, mouss [EMAIL PROTECTED] wrote:

 does your daemon run chrooted?

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


RE: [CentOS] Nic order detection

2008-01-11 Thread Guolin Cheng


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of MatsK
Sent: Thursday, January 10, 2008 12:42 PM
To: CentOS mailing list
Subject: Re: [CentOS] Nic order detection

Les Mikesell wrote:
 Can someone point me to the code where this 
 happens?  Until recently the machines were running centos 3.x and this

 seems to be a difference in behavior.

CentOS 3 and 4 uses dev structure but with 5 was udev introduced. Thats 
the reason for the changes, but if you uses the 
/etc/sysconfig/network-scripts will everything be fine. Read more about 
it in the RHEL manual.
___
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