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

2011-10-05 Thread Alexander Farber
Thanks Craig for your comments. I've got my sendmail on CentOS 6 working with: # yum erase postfix # yum install sendmail sendmail-cf # mkdir /etc/mail/auth # chmod 700 /etc/mail/auth # mkdir /etc/mail/certs # chmod 700 /etc/mail/certs Create the file /etc/mail/auth/client-info: AuthInfo:smtp.

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

2011-10-05 Thread Alexander Farber
Also needed for Gmail in sendmail.mc: define(`confAUTH_MECHANISMS', `EXTERNAL GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl FEATURE(`authinfo',`hash /etc/mail/auth/client-info')dnl ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/

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

2011-10-05 Thread Michael Gliwinski
On Wednesday 05 Oct 2011 07:04:36 Alexander Farber wrote: > unfortunately /etc/init.d doesn't seem to suit me: > > I want my (sockets) script to be restarted when crashed or killed It's not /etc/init.d but /etc/init. That's what upstart is for, by default it considers jobs to be services that n

[CentOS] Howto use Gmail with sendmail on CentOS 6

2011-10-05 Thread Alexander Farber
Hello, I hope nobody minds, if I post a short summary here for archives - How to forward mails via Gmail account from CentOS 6 (I use sendmail, because haven't figured out how to setup Postfix yet): # yum erase postfix # yum install sendmail sendmail-cf cyrus-sasl-plain cyrus-sasl-md5 # mkdir

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

2011-10-05 Thread Jim Perrin
On Wed, Oct 5, 2011 at 12:54 AM, R P Herrold wrote: > > I don't know WHAT you are looking at, if anything, but it is > not a CentOS 6 install; 'upstart' is a non-starter for the > future, and certainly not in CentOS' upstream's plans > > Yeah, about that. -> http://docs.redhat.com/docs/en-US/Red

Re: [CentOS] guest vms crash host systems

2011-10-05 Thread Negative
On Wed, Oct 5, 2011 at 1:10 AM, Les Mikesell wrote: > 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 in

[CentOS] Firefox 7 on CentOS 5

2011-10-05 Thread Wade Hampton
Anyone have any luck running updated Firefox on CentOS 5? We have CentOS 5 workstations and need to update their Firefox but it dumps core even when using the libstdc++ from Fedora 9. I would like anything stable and secure beyond Firefox 3 but can't find tarballs for anything other than 7.0.1.

Re: [CentOS] Firefox 7 on CentOS 5

2011-10-05 Thread m . roth
Wade Hampton wrote: > Anyone have any luck running updated Firefox > on CentOS 5? We have CentOS 5 workstations > and need to update their Firefox but it dumps > core even when using the libstdc++ from Fedora 9. > > I would like anything stable and secure beyond > Firefox 3 but can't find tarballs

Re: [CentOS] Firefox 7 on CentOS 5

2011-10-05 Thread fred smith
On Wed, Oct 05, 2011 at 09:23:46AM -0400, Wade Hampton wrote: > Anyone have any luck running updated Firefox > on CentOS 5? We have CentOS 5 workstations > and need to update their Firefox but it dumps > core even when using the libstdc++ from Fedora 9. > > I would like anything stable and secure

Re: [CentOS] Firefox 7 on CentOS 5

2011-10-05 Thread Lars Hecking
Wade Hampton writes: > Anyone have any luck running updated Firefox > on CentOS 5? We have CentOS 5 workstations > and need to update their Firefox but it dumps > core even when using the libstdc++ from Fedora 9. > > I would like anything stable and secure beyond > Firefox 3 but can't find tarbal

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

2011-10-05 Thread Alexander Farber
Hello again, I still have 1 minor problem - I've created a new file /etc/init/pref.conf: start on stopped rc RUNLEVEL=3 stop on starting rc RUNLEVEL=[!3] console output respawn chdir /tmp exec /bin/su -c '/usr/local/pref/pref.pl >/tmp/pref-`date +%a`.txt 2>&1' afarber And started my script (a T

Re: [CentOS] guest vms crash host systems

2011-10-05 Thread Les Mikesell
On Wed, Oct 5, 2011 at 8:17 AM, Negative wrote: >> Not sure what that means.   Freenx would at least keep the sesson >> active when you disconnect. >> > > I was trying to say, but not very well, that when qemu-kvm is running a > guest and X is running, whether it's on the local video hardware or

Re: [CentOS] guest vms crash host systems

2011-10-05 Thread m . roth
Les Mikesell wrote: > On Wed, Oct 5, 2011 at 8:17 AM, Negative > wrote: >> So now I've found I can run X without problems and I can run qemu-kvm >> without problems, but I cannot run both at the same time. > > 'X' should be split cleanly into client and server programs where in > X-speak the ser

Re: [CentOS] guest vms crash host systems

2011-10-05 Thread Negative
On Wed, Oct 5, 2011 at 11:00 AM, wrote: > Les Mikesell wrote: > > On Wed, Oct 5, 2011 at 8:17 AM, Negative > > wrote: > > >> So now I've found I can run X without problems and I can run qemu-kvm > >> without problems, but I cannot run both at the same time. > > > > 'X' should be split cleanly i

Re: [CentOS] guest vms crash host systems

2011-10-05 Thread m . roth
Negative wrote: > On Wed, Oct 5, 2011 at 11:00 AM, wrote: >> Les Mikesell wrote: >> > On Wed, Oct 5, 2011 at 8:17 AM, Negative >> > wrote: >> >> >> So now I've found I can run X without problems and I can run qemu-kvm >> >> without problems, but I cannot run both at the same time. >> > >> > 'X'

Re: [CentOS] guest vms crash host systems

2011-10-05 Thread m . roth
Negative wrote: > On Wed, Oct 5, 2011 at 11:00 AM, wrote: >> Les Mikesell wrote: >> > On Wed, Oct 5, 2011 at 8:17 AM, Negative >> > wrote: >> >> >> So now I've found I can run X without problems and I can run qemu-kvm >> >> without problems, but I cannot run both at the same time. >> > >> > 'X'

Re: [CentOS] guest vms crash host systems

2011-10-05 Thread m . roth
Negative wrote: > On Wed, Oct 5, 2011 at 11:00 AM, wrote: >> Les Mikesell wrote: >> > On Wed, Oct 5, 2011 at 8:17 AM, Negative >> > wrote: >> >> >> So now I've found I can run X without problems and I can run qemu-kvm >> >> without problems, but I cannot run both at the same time. >> > >> > 'X'

Re: [CentOS] guest vms crash host systems

2011-10-05 Thread Negative
On Wed, Oct 5, 2011 at 11:15 AM, wrote: > Negative wrote: > > On Wed, Oct 5, 2011 at 11:00 AM, wrote: > >> Les Mikesell wrote: > >> > On Wed, Oct 5, 2011 at 8:17 AM, Negative > >> > wrote: > >> > >> >> So now I've found I can run X without problems and I can run qemu-kvm > >> >> without proble

Re: [CentOS] guest vms crash host systems

2011-10-05 Thread m . roth
Negative wrote: > On Wed, Oct 5, 2011 at 11:15 AM, wrote: > >> Negative wrote: >> > On Wed, Oct 5, 2011 at 11:00 AM, wrote: >> >> Les Mikesell wrote: >> >> > On Wed, Oct 5, 2011 at 8:17 AM, Negative >> >> >> > wrote: >> >> >> >> >> So now I've found I can run X without problems and I can run >>

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

2011-10-05 Thread Michael Gliwinski
On Wednesday 05 Oct 2011 15:03:43 Alexander Farber wrote: > I still have 1 minor problem - > > I've created a new file /etc/init/pref.conf: > > start on stopped rc RUNLEVEL=3 > stop on starting rc RUNLEVEL=[!3] > console output > respawn > chdir /tmp > exec /bin/su -c '/usr/local/pref/pref.pl >/t

Re: [CentOS] guest vms crash host systems

2011-10-05 Thread Les Mikesell
On Wed, Oct 5, 2011 at 10:11 AM, Negative wrote: >> > VMware's a possibility. Would I need to remove the kvm package?  Do I have > to keep libvirtd off? > You could use VMware server or player as an alternative to kvm under Centos. VMware ESXi loads as the base OS, so you have to wipe everything

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

2011-10-05 Thread Alexander Farber
Hello Michael and others - On Wed, Oct 5, 2011 at 5:42 PM, Michael Gliwinski wrote: > On Wednesday 05 Oct 2011 15:03:43 Alexander Farber wrote: >> >> start on stopped rc RUNLEVEL=3 >> stop on starting rc RUNLEVEL=[!3] >> console output >> respawn >> chdir /tmp >> exec /bin/su -c '/usr/local/pref/

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

2011-10-05 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] guest vms crash host systems

2011-10-05 Thread m . roth
Les Mikesell wrote: > On Wed, Oct 5, 2011 at 10:11 AM, Negative > wrote: >>> >> VMware's a possibility. Would I need to remove the kvm package?  Do I >> have to keep libvirtd off? >> > You could use VMware server or player as an alternative to kvm under > Centos. VMware ESXi loads as the base OS,

Re: [CentOS] guest vms crash host systems

2011-10-05 Thread Les Mikesell
On Wed, Oct 5, 2011 at 11:02 AM, wrote: >> You could use VMware server or player as an alternative to kvm under >> Centos.  VMware ESXi loads as the base OS, so you have to wipe >> everything and start over.  The latest release (5.0) claims that >> virtualization can be 'nested' - that is you cou

Re: [CentOS] guest vms crash host systems

2011-10-05 Thread Stephen Harris
On Wed, Oct 05, 2011 at 11:31:29AM -0500, Les Mikesell wrote: > On Wed, Oct 5, 2011 at 11:02 AM, wrote: > >> Centos. ?VMware ESXi loads as the base OS, so you have to wipe > >> everything and start over. ?The latest release (5.0) claims that > >> virtualization can be 'nested' - that is you could

Re: [CentOS] guest vms crash host systems

2011-10-05 Thread m . roth
Negative wrote: > On Wed, Oct 5, 2011 at 11:15 AM, wrote: > Negative wrote: > On Wed, Oct 5, 2011 at 11:15 AM, wrote: >> Negative wrote: >> > I still wonder what is causing this. I couldn't find any mention of a >> > similar problem, including on my desktop in my office, where I have a >> > very

Re: [CentOS] guest vms crash host systems

2011-10-05 Thread m . roth
Les Mikesell wrote: > On Wed, Oct 5, 2011 at 11:02 AM, wrote: >>> You could use VMware server or player as an alternative to kvm under >>> Centos.  VMware ESXi loads as the base OS, so you have to wipe >>> everything and start over.  The latest release (5.0) claims that >>> virtualization can be

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

2011-10-05 Thread Alexander Farber
My script has 2 pecularities: 1) When it gets SIGTERM or SIGINT, it writes some data into PostgreSQL and this takes 10-15 seconds 2) When it is started numerous times, then the subsequent runs will fail immediately, because only the 1st instance will be able to listen at the TCP-port 8080 And in

Re: [CentOS] guest vms crash host systems

2011-10-05 Thread Les Mikesell
On Wed, Oct 5, 2011 at 12:01 PM, wrote: > > It was - the docs for the version that was around in early '09 *said* that > the latest release was based on RHEL 3. > You are supposed to be able to download the open source components here: http://downloads.vmware.com/d/info/datacenter_cloud_infrastr

Re: [CentOS] guest vms crash host systems

2011-10-05 Thread m . roth
Les Mikesell wrote: > On Wed, Oct 5, 2011 at 12:01 PM, wrote: >> >> It was - the docs for the version that was around in early '09 *said* >> that the latest release was based on RHEL 3. > > You are supposed to be able to download the open source components here: > http://downloads.vmware.com/d/in

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

2011-10-05 Thread Les Mikesell
On Wed, Oct 5, 2011 at 12:04 PM, Alexander Farber wrote: > My script has 2 pecularities: > > 1) When it gets SIGTERM or SIGINT, it writes some data into PostgreSQL > and this takes 10-15 seconds > > 2) When it is started numerous times, > then the subsequent runs > will fail immediately, because o

Re: [CentOS] guest vms crash host systems

2011-10-05 Thread Les Mikesell
On Wed, Oct 5, 2011 at 12:16 PM, wrote: > >>> It was - the docs for the version that was around in early '09 *said* >>> that the latest release was based on RHEL 3. >> >> You are supposed to be able to download the open source components here: >> http://downloads.vmware.com/d/info/datacenter_clou

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

2011-10-05 Thread Alexander Farber
Good idea, thank you! On Wed, Oct 5, 2011 at 7:22 PM, Les Mikesell wrote: > Can you make it sleep a bit and retry the socket open a few times if > it fails due to the previous process not releasing the port yet? ___ CentOS mailing list CentOS@centos.org

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

2011-10-05 Thread m . roth
Les Mikesell wrote: > On Wed, Oct 5, 2011 at 12:04 PM, Alexander Farber > wrote: >> My script has 2 pecularities: >> >> 1) When it gets SIGTERM or SIGINT, it writes some data into PostgreSQL >> and this takes 10-15 seconds >> >> 2) When it is started numerous times, then the subsequent runs >> wil

Re: [CentOS] guest vms crash host systems

2011-10-05 Thread m . roth
Les Mikesell wrote: > On Wed, Oct 5, 2011 at 12:16 PM, wrote: >> It was - the docs for the version that was around in early '09 *said* that the latest release was based on RHEL 3. >>> >>> You are supposed to be able to download the open source components >>> here: >>> http://downloads.v

Re: [CentOS] guest vms crash host systems

2011-10-05 Thread Les Mikesell
On Wed, Oct 5, 2011 at 12:36 PM, wrote: > >>> Yeah, well, the RHEL stuff I assume is released; their own heavy >>> enhancements, I don't know. >> >> It doesn't matter if someone else released source.  Anyone >> distributing binaries containing GPL code is supposed to also supply >> the matching s

Re: [CentOS] guest vms crash host systems

2011-10-05 Thread Home Account
On 2011-10-05, at 12:14 PM, Les Mikesell wrote: > On Wed, Oct 5, 2011 at 12:36 PM, wrote: >> Yeah, well, the RHEL stuff I assume is released; their own heavy enhancements, I don't know. >>> >>> It doesn't matter if someone else released source. Anyone >>> distributing binaries con

Re: [CentOS] guest vms crash host systems

2011-10-05 Thread John R Pierce
On 10/05/11 11:14 AM, Les Mikesell wrote: > The whole point of the GPL is to require the release of source (to > anyone who gets binaries) of any derived work. Kernel modules aren't > strictly considered to be derived from the kernel, although there has > been some speculation that they could be.

Re: [CentOS] Firefox 7 on CentOS 5

2011-10-05 Thread Wade Hampton
Turns out it works find as a user installed in their directory but not as root when installed in /usr/local/firefox. Not sure what's up but I'm good for now. On my CentOS 5 workstation, I see some artifacts when displaying graphical bullets, especially at specific resolutions. This was supposedly

Re: [CentOS] guest vms crash host systems

2011-10-05 Thread Negative
On Wed, Oct 5, 2011 at 1:00 PM, wrote: > Negative wrote: > > On Wed, Oct 5, 2011 at 11:15 AM, wrote: > > Negative wrote: > > On Wed, Oct 5, 2011 at 11:15 AM, wrote: > >> Negative wrote: > > >> > I still wonder what is causing this. I couldn't find any mention of a > >> > similar problem, inclu

Re: [CentOS] guest vms crash host systems, gnow, Gnome 3

2011-10-05 Thread m . roth
Negative wrote: > Now I, too, can start complaining about Gnome 3. I've read it's like > Windows, but it's the spitting image of the Mac OS. Maybe, but I was having to deal with it on a user's fedora 15 machine, and I ACTIVELY dislike it, with it's scroll-over-and-the-transparent-menu-fades-in cr

Re: [CentOS] guest vms crash host systems

2011-10-05 Thread Negative
On Wed, Oct 5, 2011 at 3:06 PM, Negative wrote: > On Wed, Oct 5, 2011 at 1:00 PM, wrote: > >> Negative wrote: >> > On Wed, Oct 5, 2011 at 11:15 AM, wrote: >> > Negative wrote: >> > On Wed, Oct 5, 2011 at 11:15 AM, wrote: >> >> Negative wrote: >> >> >> > I still wonder what is causing this. I

[CentOS] Permission question

2011-10-05 Thread Victor Padro
Hello, We own a CentOS Server which hosts a few domains using Cpanel, however each host or domain has its own user and its own folder under /home, we want a separate user(newuser1) to have read and write privileges in all home's subdirectories so we can do some tasks remotely using WinSCP, that us

Re: [CentOS] Permission question

2011-10-05 Thread Nicolas Thierry-Mieg
Victor Padro wrote: > Hello, > > We own a CentOS Server which hosts a few domains using Cpanel, however > each host or domain has its own user and its own folder under /home, > we want a separate user(newuser1) to have read and write privileges in > all home's subdirectories so we can do some tas

[CentOS] CentOS 6 USB changes

2011-10-05 Thread m . roth
Ok, I just managed, after much effort, to rebuild my USB key to install CentOS 6. There are a number of changes. Partition the USB key, but make partition 1, Win 95 (FAT32) (I think that's partition type "b"), bigger. I made it 500M. The rest should be ext3 (or whatever). Format the partitions. M

Re: [CentOS] Permission question

2011-10-05 Thread John R Pierce
On 10/05/11 1:01 PM, Victor Padro wrote: > chmod -R owneruser:newuser1 /home/owneruserdir chMOD changes the access modes, not the owner:group. rather, you likely should have done... chgrp -R newuser1 /home/owneruserdir chmod -R g+rwx /home/owneruserdir AND you likely want to set the

[CentOS] Formatting an external USB drive

2011-10-05 Thread Todd Cary
I have an external USB drive that was formatted with NTFS and I want to use it to backup some files from my Centos 5.5 system. When I check my documentation, I am not certain of the best way to do the formatting. Suggestions welcomed Todd -- Ariste Software Petaluma, CA 94952 http://www

Re: [CentOS] Odd issue with C6 and NIS

2011-10-05 Thread Steve Rikli
In article , Jim Perrin wrote: >... >Current versions of fedora do this as well, in addition to f15 having a >buggy startup script for yp*. I agree with you that if you specify auth, the >tools for it should be there. > >That said, NIS needs to die. Quickly. Why? I'll grant NIS is insecure at

Re: [CentOS] Permission question

2011-10-05 Thread Victor Padro
On Wed, Oct 5, 2011 at 3:20 PM, Nicolas Thierry-Mieg wrote: > > > Victor Padro wrote: >> Hello, >> >> We own a CentOS Server which hosts a few domains using Cpanel, however >> each host or domain has its own user and its own folder under /home, >> we want a separate user(newuser1) to have read and

Re: [CentOS] Formatting an external USB drive

2011-10-05 Thread David C. Miller
- Original Message - > From: "Todd Cary" > To: "CentOS mailing list" > Sent: Wednesday, October 5, 2011 3:34:54 PM > Subject: [CentOS] Formatting an external USB drive > > I have an external USB drive that was formatted with NTFS and I > want to use it to backup some files from my Cento

Re: [CentOS] Permission question

2011-10-05 Thread Victor Padro
On Wed, Oct 5, 2011 at 5:29 PM, John R Pierce wrote: > On 10/05/11 1:01 PM, Victor Padro wrote: >> chmod -R owneruser:newuser1 /home/owneruserdir > > chMOD changes the access modes, not the owner:group.  rather, you likely > should have done... > >     chgrp -R newuser1 /home/owneruserdir >     ch

Re: [CentOS] Permission question

2011-10-05 Thread John R Pierce
On 10/05/11 5:01 PM, Victor Padro wrote: > I did what you just suggest and now I can't see the contents of /home, > seems like I'm jailed on my own home directory, is there a way to know > if I'm jailed and a way to be unjailed if that's the case? I have no idea what you're talking about. "Jail" i

[CentOS] Confgure SAN with Linux

2011-10-05 Thread MARMEY Cyril
Hi, i'm new to this subject. I try to present a san attachment on my Linux server (OEL 5.5). I'm running a HP server with qlogic 2462 and my SAN Storage is a HP EVA. Zoning is good. I installed HP SanSurfer and i see the vdisk with this utility. But, impossible to see the volume from the os. F

Re: [CentOS] Formatting an external USB drive

2011-10-05 Thread Todd Cary
Dave - I recieved this response and I am not sure what the next step should be: [root@centos5 todd]# /sbin/fdisk /dev/sda1 The number of cylinders for this disk is set to 30514. There is nothing wrong with that, but this is larger than 1024, and could in certain setups cause problems with: 1) s

Re: [CentOS] guest vms crash host systems

2011-10-05 Thread Negative
On Wed, Oct 5, 2011 at 3:11 PM, Negative wrote: > On Wed, Oct 5, 2011 at 3:06 PM, Negative wrote: > >> On Wed, Oct 5, 2011 at 1:00 PM, wrote: >> >>> Negative wrote: >>> > On Wed, Oct 5, 2011 at 11:15 AM, wrote: >>> > Negative wrote: >>> > On Wed, Oct 5, 2011 at 11:15 AM, wrote: >>> >> Negative

Re: [CentOS] Formatting an external USB drive

2011-10-05 Thread David C. Miller
- Original Message - > From: "Todd Cary" > To: centos@centos.org > Sent: Wednesday, October 5, 2011 6:43:10 PM > Subject: Re: [CentOS] Formatting an external USB drive > > Dave - > > I recieved this response and I am not sure what the next step > should be: > > [root@centos5 todd]# /s

Re: [CentOS] Confgure SAN with Linux

2011-10-05 Thread John R Pierce
On 10/05/11 5:58 PM, MARMEY Cyril wrote: > I try to present a san attachment on my Linux server (OEL 5.5). call Oracle Support for OEL, thats not CentOS. -- john r pierceN 37, W 122 santa cruz ca mid-left coast __

Re: [CentOS] Formatting an external USB drive

2011-10-05 Thread Tom Bishop
..or the OP might want to try to get gparted loaded up, would make things much easier on him. I think the last time I looked I found it on one of the repo's but not sure which one. It provides a very nice and easy gui to do all of this from, although of course it is all available from the cli, de

Re: [CentOS] Permission question

2011-10-05 Thread Victor Padro
On Wed, Oct 5, 2011 at 7:38 PM, John R Pierce wrote: > On 10/05/11 5:01 PM, Victor Padro wrote: >> I did what you just suggest and now I can't see the contents of /home, >> seems like I'm jailed on my own home directory, is there a way to know >> if I'm jailed and a way to be unjailed if that's th