Re: [CentOS] Choosing a CentOS version

2011-10-04 Thread Christopher Chan
On Tuesday, October 04, 2011 02:17 PM, Emmanuel Noobadmin wrote: > On 10/4/11, m.r...@5-cent.us wrote: >> Note that the above is true of every single o/s: for example, I think >> Windows XP is approaching EoL, while Internet Exploder 6 is *past* that >> (and there was much rejoicing). > > IIRC Win

Re: [CentOS] Problems with Intel Ethernet and module e1000e

2011-10-04 Thread Volker Poplawski
On 26.09.2011 14:40, John Doe wrote: > From: Volker Poplawski > >> I'm facing a serious problem with the e100e kernel module for Intel >> 82574L gigabit nics on Centos 6. > > I had pbms with my Intel 1000e too. > Installed elrepo's kmod-e1000e and so far so good... > > http://elrepo.org/tiki/kmod-e

Re: [CentOS] guest vms crash host systems

2011-10-04 Thread Brian Mathis
On Mon, Oct 3, 2011 at 10:16 PM, Negative wrote: > I built guest vm's one for Windows 7 and one for Windows XP using the > virtual machine manager on a  just updated to centos 5.7, and they are both > crashing the host machine. They run only  for a few minutes, but suddenly > freeze, crashing the

[CentOS] CentOS 6: hostname and timezone

2011-10-04 Thread Alexander Farber
Hello, I've purchased a new dedicated CentOS 6.0 / 64 bit server and have 2 minor problems please: 1) The "hostname" is reported as CentOS-60-64-minimal at CLI - eventhough I've edited /etc/hosts and changed the 2nd line: 127.0.0.1 localhost 176.9.123.123 preferans 2) Why is /etc/localtim

Re: [CentOS] CentOS 6: hostname and timezone

2011-10-04 Thread John Kennedy
On Tue, Oct 4, 2011 at 15:22, John Kennedy wrote: > For changing the hostname without restart use the hostname command: > hostname newhost.domain.com > > To keep the new hostname between restarts edit /etc/sysconfig/network, and > change the hostname there. > > Also its a good idea to check /etc/

Re: [CentOS] CentOS 6: hostname and timezone

2011-10-04 Thread John Kennedy
For changing the hostname without restart use the hostname command: hostname newhost.domain.com To keep the new hostname between restarts edit /etc/sysconfig/network, and change the hostname there. Also its a good idea to check /etc/hosts, it can contain the old hostname, change/delete it. John

Re: [CentOS] CentOS 6: hostname and timezone

2011-10-04 Thread Alexander Farber
Thank you all, On Tue, Oct 4, 2011 at 4:26 PM, lists-centos wrote: >  2 - you can do the symbolic link, but i believe that RH moved >     away from that approach for some reason. the appropriate >     TZ file is copied to /etc/localtime when the TZ is selected >     on install or changed. is the

Re: [CentOS] CentOS 6: hostname and timezone

2011-10-04 Thread Alexander Farber
And also, which /etc/localtime do I have now? Is there a way to find out besides running "diff"? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] CentOS 6: hostname and timezone

2011-10-04 Thread Alexander Farber
Actually I already seem to have the correct timezone file, but why is the time wrong? afarber@CentOS-60-64-minimal:~> sudo diff /usr/share/zoneinfo/Europe/Berlin /etc/localtime afarber@CentOS-60-64-minimal:~> date Wed Oct 5 00:35:39 CEST 2011 Should I: chkconfig ntp on service ntp start

Re: [CentOS] guest vms crash host systems

2011-10-04 Thread m . roth
Brian Mathis wrote: > On Mon, Oct 3, 2011 at 10:16 PM, Negative > wrote: >> I built guest vm's one for Windows 7 and one for Windows XP using the >> virtual machine manager on a  just updated to centos 5.7, and they are >> both crashing the host machine. They run only  for a few minutes, but >>

Re: [CentOS] CentOS 6: hostname and timezone

2011-10-04 Thread lhecking
Alexander Farber writes: > Actually I already seem to have the correct timezone file, > but why is the time wrong? > > > afarber@CentOS-60-64-minimal:~> sudo diff > /usr/share/zoneinfo/Europe/Berlin /etc/localtime > > afarber@CentOS-60-64-minimal:~> date > Wed Oct 5 00:35:39 CEST 2011 > > Shou

[CentOS] CentOS 6: Increase shared memory limits permanently

2011-10-04 Thread Alexander Farber
Hello again, on CentOS 6 / 64 bit what is please the best way to permanently increase the shared memory? I'd like to give shared_buffers = 4096MB to PostgreSQL 8.4 on my machine with 16 GB RAM, but I currently only have: # sysctl -A|grep shm kernel.shmmax = 33554432 kernel.shmall = 2097

Re: [CentOS] CentOS 6: Increase shared memory limits permanently

2011-10-04 Thread John R Pierce
On 10/04/11 8:45 AM, Alexander Farber wrote: > on CentOS 6 / 64 bit what is please the best way > to permanently increase the shared memory? /etc/sysctl.conf -- john r pierceN 37, W 122 santa cruz ca mid-left coast __

[CentOS] CentOS-announce Digest, Vol 80, Issue 1

2011-10-04 Thread centos-announce-request
Send CentOS-announce mailing list submissions to centos-annou...@centos.org 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 centos-announce-requ..

Re: [CentOS] CentOS 6: Increase shared memory limits permanently

2011-10-04 Thread Yavor Nikolov
* shmall is total for all processes (in pages) * shmmax is the maximum size of single contiguous shared memory segment (in bytes) Both should be tuned to be large enough (obviously shmmax should be able to fit into shmall) If the memory is locked you may need to tune /etc/security/limits.conf too

Re: [CentOS] guest vms crash host systems

2011-10-04 Thread Negative
On Tue, Oct 4, 2011 at 10:41 AM, wrote: > Brian Mathis wrote: > > On Mon, Oct 3, 2011 at 10:16 PM, Negative > > wrote: > >> I built guest vm's one for Windows 7 and one for Windows XP using the > >> virtual machine manager on a  just updated to centos 5.7, and they are > >> both crashing the ho

Re: [CentOS] guest vms crash host systems

2011-10-04 Thread Brian Mathis
On Tue, Oct 4, 2011 at 12:05 PM, Negative wrote: > On Tue, Oct 4, 2011 at 10:41 AM, wrote: > >> Brian Mathis wrote: >> > On Mon, Oct 3, 2011 at 10:16 PM, Negative >> > wrote: >> >> I built guest vm's one for Windows 7 and one for Windows XP using the >> >> virtual machine manager on a  just upd

Re: [CentOS] CentOS 6: hostname and timezone

2011-10-04 Thread ken
On 10/04/2011 10:33 AM Alexander Farber wrote: > And also, which /etc/localtime do I have now? > > ... Please run these commands and copy-paste them w/ output back to me: cat /etc/sysconfig/clock /etc/init.d/ntpd status /sbin/hwclock date ___ CentOS m

Re: [CentOS] CentOS 6: hostname and timezone

2011-10-04 Thread Alexander Farber
Actually it is working now, thank you all! [root@preferans afarber]# cat /etc/sysconfig/clock ZONE="Europe/Berlin" [root@preferans afarber]# /etc/init.d/ntpd status ntpd (pid 1365) is running... [root@preferans afarber]# /sbin/hwclock Tue 04 Oct 2011 07:10:06 PM CEST -0.797338 seconds [root@pref

Re: [CentOS] CentOS 6: Increase shared memory limits permanently

2011-10-04 Thread m . roth
Alexander Farber wrote: > Hello again, > > on CentOS 6 / 64 bit what is please the best way > to permanently increase the shared memory? > > I'd like to give shared_buffers = 4096MB > to PostgreSQL 8.4 on my machine with > 16 GB RAM, but I currently only have: > ># sysctl -A|grep shm >kerne

Re: [CentOS] guest vms crash host systems

2011-10-04 Thread m . roth
Negative wrote: > On Tue, Oct 4, 2011 at 10:41 AM, wrote: >> Brian Mathis wrote: >> > On Mon, Oct 3, 2011 at 10:16 PM, Negative >> > wrote: I built guest vm's one for Windows 7 and one for Windows XP using the virtual machine manager on a  just updated to centos 5.7, and they are

Re: [CentOS] guest vms crash host systems

2011-10-04 Thread Negative
On Tue, Oct 4, 2011 at 1:18 PM, wrote: > Negative wrote: > > On Tue, Oct 4, 2011 at 10:41 AM, wrote: > >> Brian Mathis wrote: > >> > On Mon, Oct 3, 2011 at 10:16 PM, Negative > > >> > wrote: > I built guest vm's one for Windows 7 and one for Windows XP using the > virtual machine mana

Re: [CentOS] guest vms crash host systems

2011-10-04 Thread m . roth
Negative wrote: > On Tue, Oct 4, 2011 at 1:18 PM, wrote: >> Negative wrote: >> > On Tue, Oct 4, 2011 at 10:41 AM, wrote: >> >> Brian Mathis wrote: >> >> > On Mon, Oct 3, 2011 at 10:16 PM, Negative >> > > >> >> > wrote: >> I built guest vm's one for Windows 7 and one for Windows XP using >> >

Re: [CentOS] guest vms crash host systems

2011-10-04 Thread Toby Bluhm
If you haven't already, check the mainboard & power supply for bad capacitors: http://en.wikipedia.org/wiki/Capacitor_plague ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] CentOS 6: Increase shared memory limits permanently

2011-10-04 Thread Alexander Farber
Thanks, I've put (for my 16GB RAM / 64 bit machine) into /etc/sysctl.conf: kernel.shmmax = 50 And into postgresql.conf: shared_buffers = 4096MB I didn't change shmall from the default - # sysctl -A|grep shm kernel.shmmax = 50 kernel.shmall = 2097152 kernel.shmmni = 4096 because

[CentOS] postmap: fatal: open database /etc/postfix/sasl_passwd.db: Permission denied

2011-10-04 Thread Alexander Farber
I'm trying to configure mail forwarding through Gmail on CentOS 6 with postfix, following the blog http://carlton.oriley.net/blog/?p=31 and I think the blog has missed the step: # postmap /etc/postfix/sasl_passwd - as I've seen in the /var/log/maillog: postfix/smtp[1926]: fatal: open database /

Re: [CentOS] postmap: fatal: open database /etc/postfix/sasl_passwd.db: Permission denied

2011-10-04 Thread m . roth
Alexander Farber wrote: > I'm trying to configure mail forwarding through Gmail > on CentOS 6 with postfix, following the blog > http://carlton.oriley.net/blog/?p=31 > and I think the blog has missed the step: > > # postmap /etc/postfix/sasl_passwd > > - as I've seen in the /var/log/maillog: > > p

Re: [CentOS] postmap: fatal: open database /etc/postfix/sasl_passwd.db: Permission denied

2011-10-04 Thread Alexander Farber
Nevermind - solved that by # sudo chown root.root sasl_passwd (sorry, too tired in the evening) On Tue, Oct 4, 2011 at 9:04 PM, Alexander Farber wrote: > I'm trying to configure mail forwarding through Gmail > on CentOS 6 with postfix, following the blog > http://carlton.oriley.net/blog/?p=31 >

Re: [CentOS] postmap: fatal: open database /etc/postfix/sasl_passwd.db: Permission denied

2011-10-04 Thread Alexander Farber
Thank you, the "ls -laF" tip is good And now I unfortunately get: postfix/postfix-script[2054]: starting the Postfix mail system postfix/master[2056]: daemon started -- version 2.6.6, configuration /etc/postfix postfix/qmgr[2059]: F10CC31D62CC: from=, size=609, nrcpt=1 (queue active) postfix/

Re: [CentOS] postmap: fatal: open database /etc/postfix/sasl_passwd.db: Permission denied

2011-10-04 Thread Alexander Farber
Eventhough I have at the bottom of main.cf: GMail SSL SMTP Relay relayhost = [smtp.gmail.com]:587 #auth smtp_sasl_auth_enable=yes smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd #tls smtp_use_tls = yes smtp_sasl_security_options = noanonymous smtp_sasl_tls_security_options = noanonym

Re: [CentOS] CentOS 6: Increase shared memory limits permanently

2011-10-04 Thread Yavor Nikolov
Seems OK for PostgreSQL. You should also take into account the requirements of the other applications on that server too (if any). Actually it's 5 000 000 000 < 2097152 * 4096 == 8 589 934 592. Which is OK. You can use ipcs monitor the allocated shared memory segments and their actual size. http:

Re: [CentOS] guest vms crash host systems

2011-10-04 Thread Negative
On Tue, Oct 4, 2011 at 2:24 PM, wrote: > Negative wrote: > > On Tue, Oct 4, 2011 at 1:18 PM, wrote: > >> Negative wrote: > >> > On Tue, Oct 4, 2011 at 10:41 AM, wrote: > >> >> Brian Mathis wrote: > >> >> > On Mon, Oct 3, 2011 at 10:16 PM, Negative > >> >> > > >> >> > wrote: > >> I built g

Re: [CentOS] Expunge Old Email

2011-10-04 Thread Adam Tauno Williams
On Tue, 2011-09-27 at 08:31 -0400, John Hinton wrote: > For those of you running mailservers on CentOS 6, what are the > suggestions for programs to expunge old email? For instance, deleting > email from a Spam folder that is 2 weeks old or older. > I see that Dovecot does have a solution, but wa

Re: [CentOS] guest vms crash host systems

2011-10-04 Thread Les Mikesell
On Tue, Oct 4, 2011 at 2:51 PM, Negative wrote: > > > Since the crashes can be duplicated and are only caused by this one > combination of events, I don't know. > > On another machine, I had a case where none of the kvm guests would boot. It > turned out to be a conflict between libvirt and the nv

Re: [CentOS] Problems with Intel Ethernet and module e1000e

2011-10-04 Thread Dennis Jacobfeuerborn
On 10/04/2011 03:54 PM, Volker Poplawski wrote: > On 26.09.2011 14:40, John Doe wrote: >> From: Volker Poplawski >> >>> I'm facing a serious problem with the e100e kernel module for Intel >>> 82574L gigabit nics on Centos 6. >> >> I had pbms with my Intel 1000e too. >> Installed elrepo's kmod-e1000

Re: [CentOS] Problems with Intel Ethernet and module e1000e

2011-10-04 Thread Lorenzo Martínez Rodríguez
El 04/10/11 22:18, Dennis Jacobfeuerborn escribió: > On 10/04/2011 03:54 PM, Volker Poplawski wrote: >> On 26.09.2011 14:40, John Doe wrote: >>> From: Volker Poplawski >>> I'm facing a serious problem with the e100e kernel module for Intel 82574L gigabit nics on Centos 6. >>> I had pbms w

Re: [CentOS] postmap: fatal: open database /etc/postfix/sasl_passwd.db: Permission denied

2011-10-04 Thread Craig White
On Oct 4, 2011, at 12:18 PM, Alexander Farber wrote: > Thank you, the "ls -laF" tip is good > > And now I unfortunately get: > > postfix/postfix-script[2054]: starting the Postfix mail system > postfix/master[2056]: daemon started -- version 2.6.6, configuration > /etc/postfix > postfix/qmg

Re: [CentOS] postmap: fatal: open database /etc/postfix/sasl_passwd.db: Permission denied

2011-10-04 Thread Alexander Farber
Hello, On Tue, Oct 4, 2011 at 10:37 PM, Craig White wrote: >> postfix/smtp[2061]: warning: TLS library problem: >> 2061:error:0906D06C:PEM routines:PEM_read_bio:no start >> line:pem_lib.c:698:Expecting: TRUSTED CERTIFICATE: >> postfix/smtp[2061]: warning: TLS library problem: >> 2061:error:140DC0

[CentOS] Migrating CentOS 5 -> 6: where to put /etc/inittab respawn scripts?

2011-10-04 Thread Alexander Farber
Hello, sorry, for 1 more question on CentOS 5 -> CentOS 6 migration. On my old CentOS 5.7 machine I have the following line: pref:3:respawn:/bin/su -c '/usr/local/pref/pref.pl >/tmp/pref-`date +%a`.txt 2>&1' afarber and this has served me well, I don't want to install anything else like daemont

Re: [CentOS] Migrating CentOS 5 -> 6: where to put /etc/inittab respawn scripts?

2011-10-04 Thread Brian Mathis
On Tue, Oct 4, 2011 at 5:44 PM, Alexander Farber wrote: > Hello, > > sorry, for 1 more question on CentOS 5 -> CentOS 6 migration. > > On my old CentOS 5.7 machine I have the following line: > > pref:3:respawn:/bin/su -c '/usr/local/pref/pref.pl >/tmp/pref-`date > +%a`.txt 2>&1' afarber > > and th

Re: [CentOS] postmap: fatal: open database /etc/postfix/sasl_passwd.db: Permission denied

2011-10-04 Thread Craig White
On Oct 4, 2011, at 1:46 PM, Alexander Farber wrote: > Hello, > > On Tue, Oct 4, 2011 at 10:37 PM, Craig White wrote: >>> postfix/smtp[2061]: warning: TLS library problem: >>> 2061:error:0906D06C:PEM routines:PEM_read_bio:no start >>> line:pem_lib.c:698:Expecting: TRUSTED CERTIFICATE: >>> postfi

Re: [CentOS] Migrating CentOS 5 -> 6: where to put /etc/inittab respawn scripts?

2011-10-04 Thread Johnny Tan
On Oct 4, 2011 5:45 PM, "Alexander Farber" wrote: > > Where should I move my line, which docs to read? Like recent Ubuntus, C6 uses upstart in place of traditional Sys V init. Likely, you will want this in /etc/init/ -- note!, not the same as /etc/init.d/ johnny

Re: [CentOS] guest vms crash host systems

2011-10-04 Thread Negative
On Tue, Oct 4, 2011 at 4:16 PM, Les Mikesell wrote: > On Tue, Oct 4, 2011 at 2:51 PM, Negative > wrote: > > > > > Since the crashes can be duplicated and are only caused by this one > > combination of events, I don't know. > > > > On another machine, I had a case where none of the kvm guests wou

Re: [CentOS] guest vms crash host systems

2011-10-04 Thread Les Mikesell
On Tue, Oct 4, 2011 at 11:41 PM, Negative wrote: > >> Do you have to use the local video at all?   What happens if you use >> freenx and run in a session started from a remote NX client? >> > > Doesn't freenx use X? I haven't installed but will try it. Yes, it uses X, but it doesn't use the local

[CentOS] Migrating CentOS 5 -> 6: where to put /etc/inittab respawn scripts?

2011-10-04 Thread R P Herrold
On Tue, 4 Oct 2011, Johnny Tan wrote: > Like recent Ubuntus, C6 uses upstart in place of traditional Sys V init. > > Likely, you will want this in /etc/init/ -- note!, not the same as > /etc/init.d/ I don't know WHAT you are looking at, if anything, but it is not a CentOS 6 install; 'upstart' i

Re: [CentOS] Migrating CentOS 5 -> 6: where to put /etc/inittab respawn scripts?

2011-10-04 Thread Alexander Farber
Hello, unfortunately /etc/init.d doesn't seem to suit me: I want my (sockets) script to be restarted when crashed or killed (I kill it every night to solve memory issues with perl interpreter) Regards Alex ___ CentOS mailing list CentOS@centos.org htt