Re: [CentOS] any tutorial/how to for su-exec php under selinux on centos 5?

2011-03-14 Thread Lucian
On Mon, Mar 14, 2011 at 12:07 AM, Eero Volotinen wrote: > Hi, > > Any good tutorial how to setup su-exec php unders selinux on centos 5? > > -- > Eero > ___ > CentOS mailing list > CentOS@centos.org > http://lists.centos.org/mailman/listinfo/centos > Sl

Re: [CentOS] Apache/Active Directory authentication

2011-03-14 Thread John Hodrien
On Mon, 14 Mar 2011, Michael B Allen wrote: > Hi Asya, > > You must set the servicePrincipalName attribute on the service account > (MYSERVER$ in this case) to include all of the hostnames that will be > used to access the web server which in this case would be at least > "HTTP/myserver.server.com

Re: [CentOS] Apache/Active Directory authentication

2011-03-14 Thread John Hodrien
On Fri, 11 Mar 2011, David Brian Chait wrote: > It appears as though you need to create a proper SPN/keytab from the AD > server: > > http://publib.boulder.ibm.com/infocenter/wasinfo/v6r1/index.jsp?topic=/com.ibm.websphere.express.doc/info/exp/ae/tsec_SPNEGO_config_dc.html I've done this just wi

Re: [CentOS] Apache/Active Directory authentication

2011-03-14 Thread John Hodrien
On Fri, 11 Mar 2011, David Brian Chait wrote: >> I looked in AD configuration and see that my server does not have >> appropriate ServicePrincipalName for HTTP (only host). > > Of course it doesn't, you gathered that ticket by joining the domain with > Samba, but are not using samba auth with apa

Re: [CentOS] Apache/Active Directory authentication

2011-03-14 Thread John Hodrien
On Fri, 11 Mar 2011, Dvorkin, Asya wrote: > [root@myserver conf]# klist -k > Keytab name: FILE:/etc/krb5.keytab > KVNO Principal > > -- > 2 host/myserver.server@core.host.edu > 2 host/rmyserver.server@core.ho

[CentOS] internal ip

2011-03-14 Thread mattias
cool! i reinstall centos yestoday and xen and forgot to put bridge=xenbr0 in the config and my vm automaticley tooks a internal ip 192.168 something and i haven't set it in xend-config.sxp will xen not automaticley have bridge set? ___ CentOS mailing list

Re: [CentOS] Apache/Active Directory authentication

2011-03-14 Thread Dvorkin, Asya
Thank you! I'm working on it right now and will give my progress report soon :) Asya On Mar 14, 2011, at 6:11 AM, John Hodrien wrote: > On Fri, 11 Mar 2011, Dvorkin, Asya wrote: > >> [root@myserver conf]# klist -k >> Keytab name: FILE:/etc/krb5.keytab >> KVNO Principal >> >> ---

Re: [CentOS] Server locking up everyday around 3:30 AM - (INFO: task wget:13608 blocked for more than 120 seconds) need sleep, help.

2011-03-14 Thread Shen, Xin (Sinux)
Update the kernel will probably be the way to fix your problem. Best Regards Sinux 在 2011-3-12,10:08,"Ross Walker" 写道: > On Mar 11, 2011, at 12:33 PM, PJ wrote: > >> This may or may not be CentOS related, but am out of ideas at this >> point and wanted to bounce this off the list. >> >> I'm

[CentOS] NFS still serving old directory after rename

2011-03-14 Thread neubyr
Howdy, I have renamed a directory on NFS ver 3 server and then created a new directory again with the same name. # mv dir dir-hosed # mkdir dir The directory is auto-mounted on client side. I had unmounted directories on client side before making above changes. Now when I try to mount back 'dir',

Re: [CentOS] NFS still serving old directory after rename

2011-03-14 Thread neubyr
Seems like some clients (especially new connections) are mounting the new dir correctly. Not sure what's the problem though. -- thanks, neuby. On Mon, Mar 14, 2011 at 9:49 AM, neubyr wrote: > Howdy, > > I have renamed a directory on NFS ver 3 server and then created a new > directory again with

Re: [CentOS] NFS still serving old directory after rename

2011-03-14 Thread Nico Kadel-Garcia
On Mon, Mar 14, 2011 at 10:49 AM, neubyr wrote: > Howdy, > > I have renamed a directory on NFS ver 3 server and then created a new > directory again with the same name. > # mv dir dir-hosed > # mkdir dir > > The directory is auto-mounted on client side. I had unmounted > directories on client side

Re: [CentOS] NFS still serving old directory after rename

2011-03-14 Thread neubyr
On Mon, Mar 14, 2011 at 10:04 AM, Nico Kadel-Garcia wrote: > On Mon, Mar 14, 2011 at 10:49 AM, neubyr wrote: >> Howdy, >> >> I have renamed a directory on NFS ver 3 server and then created a new >> directory again with the same name. >> # mv dir dir-hosed >> # mkdir dir >> >> The directory is aut

Re: [CentOS] NFS still serving old directory after rename

2011-03-14 Thread Stephen Harris
On Mon, Mar 14, 2011 at 10:33:11AM -0500, neubyr wrote: > Thanks for the reply Nico. I unmounted dir in a clean manner. I made > sure that no other process is trying to access that mounted dir on > client side. Not sure what was the problem, but it seems to be working NFS shares are done via inod

Re: [CentOS] Web server becoming unresponsive : high load

2011-03-14 Thread Kai Schaetzl
The ius packages are fine, you shouldn't use an unpatched old PHP version. Kai ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

[CentOS] CentOS 5.5 php configure errors

2011-03-14 Thread Ron Young
I am attempting to install odbtp on my newly created lamp server running CentOS 5.5 and php 5.2.17. The odbtp compile failed looking for lots of zend related files supposedly in the php install dir. I learned from the odbtp project forum that I need to run configure in the php source directory.

[CentOS] FTP accounts

2011-03-14 Thread Huib Laurens
Hello, I have setup a centos server running 5.5 and I have a problem with the FTP settings. Currently I have two FTP accounts based on that server, they lead to: /home/bella /home/carmen Currently the FPT accounts starts in the home directory when they are logged in. But they are able to see al

Re: [CentOS] FTP accounts

2011-03-14 Thread Roberto Alvarado
If you are using proftpd, you have to add this line to the config file: DefaultRoot ~ More info at: http://www.proftpd.org/docs/directives/linked/config_ref_DefaultRoot.html Regards. On 14-03-2011 14:27, Huib Laurens wrote: Hello, I have setup a centos server running 5.5 and I have a proble

Re: [CentOS] FTP accounts

2011-03-14 Thread Josh
On Mon, Mar 14, 2011 at 1:27 PM, Huib Laurens wrote: > Hello, > > I have setup a centos server running 5.5 and I have a problem with the FTP > settings. > > Currently I have two FTP accounts based on that server, they lead to: > > /home/bella > /home/carmen > > Currently the FPT accounts starts in

Re: [CentOS] wich filesystem to store > 250E6 small files in same or hashed dire

2011-03-14 Thread Alain Spineux
On Sat, Mar 12, 2011 at 10:14 PM, Nico Kadel-Garcia wrote: > On Sat, Mar 12, 2011 at 4:04 PM, Alain Spineux wrote: >> Thanks to everybody for answering. >> >> I thing >250E6 is a lot and keep decent read and write access speed is unreal >> using mutli-purpose filesystems like ext? and other ?FS.

Re: [CentOS] FTP accounts

2011-03-14 Thread Nico Kadel-Garcia
On Mon, Mar 14, 2011 at 1:27 PM, Huib Laurens wrote: > Hello, > > I have setup a centos server running 5.5 and I have a problem with the FTP > settings. > > Currently I have two FTP accounts based on that server, they lead to: > > /home/bella > /home/carmen > > Currently the FPT accounts starts in

Re: [CentOS] CentOS 5.5 php configure errors

2011-03-14 Thread Roberto Alvarado
You need to install the devel packages: libxml2-devel.i386 libxml2-devel.x86_64 Regards. On 14-03-2011 14:22, Ron Young wrote: I am attempting to install odbtp on my newly created lamp server running CentOS 5.5 and php 5.2.17. The odbtp compile failed looking for lots of zend related files

Re: [CentOS] FTP accounts

2011-03-14 Thread Huib Laurens
Hello, Its fixed now, it seems to be it was a easy fix and I was kind of waisting your time, but thanks for the answers. I did google it and couldn't get a good answer. @ Nico Kadel-Garcia Currently this server is setup for back-up the our other 3 servers and people can get FTP for backing-up th

Re: [CentOS] wich filesystem to store > 250E6 small files in same or hashed dire

2011-03-14 Thread Les Mikesell
On 3/14/2011 12:33 PM, Alain Spineux wrote: > >> File aaa12345 goes in >> >>$DIR/a/a/a/12345 >> >> File abc6789 goes in >> >> $DIR/a/b/c/6789 > > Try to create this king of tree yourself and when done, remove it. > I took hours on my box and it is even faster to keep all files in the > same

Re: [CentOS] FTP accounts

2011-03-14 Thread Always Learning
On Mon, 2011-03-14 at 13:32 -0400, Josh wrote: > It depends on the FTP server software you use. If you are using VSFTP, > then you want to add or uncomment the following line in > /etc/vsftpd/vsftpd.conf > chroot_local_user=YES > Save the changes. Restart VSFTPD. This will jail the user to their

Re: [CentOS] wich filesystem to store > 250E6 small files in same or hashed dire

2011-03-14 Thread Dr. Ed Morbius
on 13:10 Sat 12 Mar, Alain Spineux (aspin...@gmail.com) wrote: > Hi > > I need to store about 250.000.000 files. Files are less than 4k. > > On a ext4 (fedora 14) the system crawl at 10.000.000 in the same directory. > > I tried to create hash directories, two level of 4096 dir = 16.000.000 > b

Re: [CentOS] Server locking up everyday around 3:30 AM

2011-03-14 Thread Scott Silva
> > (those commands should run the cron normally except starting at 03:00, > where it should kick off at 3:15 instead of 03:05) > > If it also fails to start at 03:15 then that would suggest that > something is happening to the cron job the last time it is run to make > it hang (or make the syst

Re: [CentOS] wich filesystem to store > 250E6 small files in same or hashed dire

2011-03-14 Thread Adam Tauno Williams
On Mon, 2011-03-14 at 13:10 -0700, Dr. Ed Morbius wrote: > on 13:10 Sat 12 Mar, Alain Spineux (aspin...@gmail.com) wrote: > > Hi > > I need to store about 250.000.000 files. Files are less than 4k. > > On a ext4 (fedora 14) the system crawl at 10.000.000 in the same directory. > > I tried to creat

Re: [CentOS] Server locking up everyday around 3:30 AM

2011-03-14 Thread Les Mikesell
On 3/14/2011 3:24 PM, Scott Silva wrote: > >> >> (those commands should run the cron normally except starting at 03:00, >> where it should kick off at 3:15 instead of 03:05) >> >> If it also fails to start at 03:15 then that would suggest that >> something is happening to the cron job the last tim

[CentOS] Swap space for kvm virtual host

2011-03-14 Thread Nataraj
I have a kvm virtual host running on what will become CentOS 6 with 12GB of memory and a Quad Xeon X5560 2.8Ghz . The store for virtual machines will be a software raid 6 array of 6 disks with an LVM layered on top. I'm not initially planning any major overcommitment of resources, though there c

Re: [CentOS] Swap space for kvm virtual host

2011-03-14 Thread Kwan Lowe
On Mon, Mar 14, 2011 at 5:24 PM, Nataraj wrote: [snip] >  In recent years people seem to configure a wide range of different swap > allocations.  I was thinking initially to spread swap across seperate > non-raid partitions on 4 of these disks, but the downside of that is if I > put 2gb on each di

Re: [CentOS] Swap space for kvm virtual host

2011-03-14 Thread Dr. Ed Morbius
on 14:24 Mon 14 Mar, Nataraj (incoming-cen...@rjl.com) wrote: > I have a kvm virtual host running on what will become CentOS 6 with 12GB > of memory and a Quad Xeon X5560 2.8Ghz . The store for virtual > machines will be a software raid 6 array of 6 disks with an LVM layered > on top. I'm not in

Re: [CentOS] Swap space for kvm virtual host

2011-03-14 Thread John R Pierce
On 03/14/11 3:02 PM, Dr. Ed Morbius wrote: > I'd allocate swap to the raw devices rather than the RAID devices, why would you use RAID and not RAID your swap?the primary (many say, only) purpose of RAID is to maintain uptime, and having any swap device fail will ensure your system immediate

Re: [CentOS] Swap space for kvm virtual host

2011-03-14 Thread Nataraj
On 03/14/2011 03:07 PM, John R Pierce wrote: > On 03/14/11 3:02 PM, Dr. Ed Morbius wrote: >> I'd allocate swap to the raw devices rather than the RAID devices, > > why would you use RAID and not RAID your swap?the primary (many say, > only) purpose of RAID is to maintain uptime, and having any

Re: [CentOS] Swap space for kvm virtual host

2011-03-14 Thread Lucian
On Mon, Mar 14, 2011 at 11:45 PM, Nataraj wrote: > Do you have any sense of whether this takes a big performance hit with > software raid?  (I was actually planning on hardware raid but the system > got ordered incorrectly). I have lots of machines running linux raid and swap on top of it, haven'

Re: [CentOS] Swap space for kvm virtual host

2011-03-14 Thread John R Pierce
On 03/14/11 4:45 PM, Nataraj wrote: > Do you have any sense of whether this takes a big performance hit with > software raid? (I was actually planning on hardware raid but the system > got ordered incorrectly). if you have adequate memory for your workload, very little data gets written to swap,