CentOS is a Linux distribution standing for "Community ENTerprise Operating System" and is a rebuild of "Red Hat Enterprise Linux" (RHEL). The "CentOS6" tag refers to versions 6.x of CentOS.

learn more… | top users | synonyms

1
vote
1answer
746 views

Zabbix not getting data for one filesystem

I have Zabbix monitoring disk space for several volumes on several servers. It works fine on all of them except for one of the volumes on one of the servers which always reports as 0. However, when I ...
3
votes
1answer
204 views

Sync virtual machine hostname to displayName in VMware ESXi 5.1

How can I read the paramater called displayName in the .vmx file or "Virtual Machine Name" in vSphere Client from within the VM. If this is possible with vmtoolsd I haven't found it yet. ...
1
vote
1answer
76 views

I need to mount directory from one hdd to public_html folder [duplicate]

Possible Duplicate: Hard drive on server which hosts public_html folder is full. What to do? i have a hard drive (1TB) which has a folder named "flvideo2" i need to mount into ...
1
vote
1answer
1k views

httpd, vsftpd and the annoying selinux

I have a CentOS 6.3 installed with httpd running and vsftpd but I am unable to balance permission between the user able to upload over ftp and their website working. What I do: I create a user with ...
2
votes
2answers
544 views

CIFS Mounting Permissions

I have an issue that I;m going round in circles with, I hope you can help. The Set up: Server 1 (CIFS Client) - CentOS 6.3 AD integrated uing Samba/Winbind & idmap_ad Server 2 (CIFS Server) - ...
0
votes
1answer
329 views

Windows 7 NFS client slow

I have a CentOS 6 VM running on a Windows 7 host. I have NFS server running on the VM, and mounting it via windows' built-in NFS client on the windows host. However, it is incredibly slow. Namely, ...
2
votes
2answers
551 views

anacron screws my crontab?

My system is CentOS 6.3 , I notice my /etc/cron.daily are not executed at 4:01 AM , instead , these scripts are executed at random time . I searched and seemed it is 'anacron' that screws up my ...
0
votes
1answer
84 views

Running adb from PHP

I moved from Ubuntu to CentOS and I now have a problem running adb from PHP. I am trying to execute shell_exec("/path/to/adb devices"); and I get: ADB server didn't ACK failed to start daemon error ...
0
votes
2answers
325 views

SSHFS on startup CentOS 6.3

I edited the file /etc/rc.d/rc.local and added the following lines in order to mount a remote directory through sshfs at boot time: su user -c "/usr/bin/sshfs -o idmap=user -o reconnect -o ...
2
votes
5answers
1k views

How do I automate OS installation on 500+ machines?

My company has to image a large amount of machines by the end of the year. Each of the machines will have hardware RAID 1 and running CentOS 6. What options do I have for automating the OS ...
1
vote
1answer
310 views

Doubled up RAM to 32 GB - now how to speed up a “LAPP” server?

I run a small Facebook game at a CentOS 6.3 quad core machine with PostgreSQL 8.4.3 + few PHP scripts (doing mostly select queries) + 1 Perl daemon and even though the server worked ok, I've suggested ...
0
votes
2answers
872 views

Create a super user in MySQL 5.5 not working: Permission denied for root@localhost

Using CentOS 6, logged in to MySQL as root, entering the command: create user 'user123' identified by 'pass123'; works fine. But when I try and give that user super user privileges with: grant ...
-1
votes
2answers
1k views

Where located /etc/ldap.conf in CentOS 6.3?

Where I can find /etc/ldap.conf file to configure system authentication through LDAP in CentOS 6.3?
1
vote
3answers
2k views

CentOS iscsi initiator has session but there is no block device

I have installed the scsi-target-utils package on CentOS and I used it to perform a discovery. The discovery did give me an active session. I restarted the iscsi service but I do not see any new ...
0
votes
1answer
1k views

CentOS 6 gnome-terminal font is garbled until Arabic Support is installed

My default VM images for CentOS 6 are always installed with the most minimal set of packages. When I need a machine with a graphical install, I upgrade with yum groupinstall Desktop. I've noticed ...
1
vote
0answers
32 views

Where to look for regular scripts?

It seems to me that our server freezes every 30 days around noon due to the huge utilization of xvda data transfer partition - writes are 50 times higher than normally (according to the health monitor ...
0
votes
1answer
360 views

Is this an OK way to install Apache with SSL on CentOS 6?

I'm setting up a CentOS 6 server on a VPS. I've worked with Apache before, but I've never dealt with CentOS 6. I guess it would just be this right? sudo yum install httpd -y sudo yum install mod_ssl ...
0
votes
1answer
698 views

VM does not show up in virt-manager, how to troubleshoot?

I spun up a VM using virsh create, and I am able to see the VM in virsh list, however, when I run virt-manager, I am unable to see the VM in the GUI I am trying to use virt-manager to access the VM ...
0
votes
1answer
36 views

Secondary backup server

I've been given a task to implement a backup solution in the event of our website goes down. It is a dedicated server running centos 6. From what i've experience on our server, our server may go down ...
1
vote
1answer
2k views

How to update Tomcat on Centos 6.3?

I'm running CentOS release 6.3 (Final) and I have Tomcat 6.0.24 installed: # yum info tomcat6 Loaded plugins: fastestmirror, presto, priorities Loading mirror speeds from cached hostfile * base: ...
0
votes
1answer
114 views

Installing a custom 'non-rpm' kernel in CentOS 6

I've built a custom kernel using kernel.org, it has no .rpm file. How do I manually: Install the Modules to /lib/modules (make moduleinstall or something?) Make the initial ramdisk Update grub I ...
0
votes
3answers
893 views

Is Linux 3 kernel series compatible with CentOS 6?

For proper TPROXY support I was looking for a STABLE Linux kernel of at least version 3.2.30. Do they want us to upgrade to version 3 of the kernel? And is that compatible with CentOS 6?
1
vote
1answer
160 views

OpenVZ VMs redirect to main node?

I have a new fresh CentOs 6 machine and have SoulsVM and OpenVz installed on it. When I create VPS it came online with no problem. When I try to SSH to the VPS it gave me "Access Denied." I reset ...
1
vote
2answers
162 views

Should logs for /opt go in /var/opt or /var/log?

A package I'm using (Graphite) insists on installing into /opt/graphite. Should logs go into /var/opt/graphite/log, or /var/log/graphite? Presume we want to be as FHS as possible. I'm using CentOS ...
1
vote
2answers
1k views

does KVM raw images support preallocation?

I was trying to create a raw image with this command: qemu-img create -f raw -o size=200G,preallocation=metadata file.img but seem that it raw images doesn't support preallocation. if so why there ...
0
votes
4answers
691 views

iSCSI timeouts under high load

I have two servers connected via Gigabit Ethernet. One is iSCSI target, the second one is initiator. When I run mkfs.ext4 at initiator, after a while disk IO slows down critically in target. In the ...
0
votes
3answers
3k views

Can't create LVM due to: not found (or ignored by filtering)

I'm planning to use LVM for KVM, and when I try to create a VG it fails, so how can I create my VG and LV ? Thanks [root@server ~]# vgcreate virtual-machines /dev/sda Device /dev/sda not found (or ...
0
votes
1answer
299 views

Lustre - issues with simple setup

Issue: I'm trying to assess the (possible) use of Lustre for our group. To this end I've been trying to create a simple system to explore the nuances. I can't seem to get past the 'llmount.sh' test ...
0
votes
1answer
102 views

Enabling one interface breaks connectivity on another

I got a server with 2 NIC's. One is the external interface, that has a public IP. When only that interface is up, I can ping it fine from our internal network. When I enable the second interface ...
1
vote
2answers
2k views

pg_dump not working - do I need to change order of $PATH?

I'm trying to set the $PATH to pick up the latest version of pg_dump as I'm currently getting a mismatch error while doing a migrate in my Rails app (I recently changed the schema type to SQL). I ...
0
votes
1answer
388 views

APC module causing strange error

When I run php -v I get: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/apc.so' - /usr/lib64/php/modules/apc.so: undefined symbol: php_pcre_exec in Unknown on ...
0
votes
2answers
509 views

howto remove udev from centos(lxc-guest) without dependencies

i downloaded a openvz template for my lxc server to create a new centos 6.3 guest. Now the guest is not starting because udev is hanging in the boot process. Last time i didn't had this problem but ...
1
vote
4answers
5k views

How to install php-devel under CentOS 6.3 x64?

I'm trying to install php-devel on my CentOS 6.3 VPS and get a failed dependencies test. From phpinfos(): SYSTEM Linux 2.6.32-279.5.2.el6.x86_64 #1 x86_64 NTS error: Failed dependencies: ...
2
votes
2answers
8k views

How to add interface alias on RHEL6 or CentOS6 with NetworkManager?

How to add a network interface alias (for example eth0:0) on CentOS6 or RHEL6 in the "correct" way that is through NetworkManager without NM_CONTROLLED=no. And this has to be done without GUI. Thank ...
0
votes
1answer
106 views

Error installing Vips

I am trying to install Vips, I've downloaded the latest files: wget http://www.vips.ecs.soton.ac.uk/supported/current/vips-7.30.0.tar.gz wget ...
0
votes
2answers
256 views

Grep /var/log for hacker/script kiddy activity and e-mail?

CentOS 6 Apache Server version: Apache/2.2.15 (Unix) Thinking about how to automatically, once a day, grep all the logs in /var/log/httpd for hacker, phishing, etc activity and e-mail it to myself so ...
0
votes
3answers
115 views

MySQL replicate multiple places

Very trick task to find a good title for this question, but here goes the q: I have a few development machines, where I develop my PHP applications on, and testing via a local webserver. This works ...
0
votes
1answer
2k views

Can't access server running CentOS 6.3 in vmware

I just installed CentOS on a vmware machine that uses a bridged connection, installed apache, php and mysql, but when I run service httpd start I get a warning(?): Starting httpd: httpd: Could not ...
0
votes
1answer
184 views

Sphinx search on RHEL / CentOS MySQL cluster

Is it possible to add a new resource type to an RHEL or CentOS 6.x cluster, in order to allow Sphinx fulltext search to run alongside MySQL? The clusters are managed using luci/ricci and cman.
1
vote
3answers
2k views

PHP short_open_tag Won't Enable (CentOS 6)

I'm setting up an Apache2, PHP 5.3.3 server running on CentOS 6. My web application uses the short tags <? and <?=. I can't seem to get the short tags enabled. When I run phpinfo() I see ...
1
vote
2answers
245 views

Cannot start httpd service with SSL

Have an issue where I have installed new certificates on Centos 5 and modified the conf file for the following lines: SSLCertificateFile /etc/pki/tls.certs/name.crt SSLCertificateKeyFile ...
1
vote
2answers
538 views

CentOS 6 Kickstart Minimal Install: for JVM, MySQL, and Apache VMs

Trying to put together a kickstart as per this file for "true" minimal installations of CentOS 6 to run on an ESXi (v4.1u2) virtualization server (lives behind a Cisco ASA) Ideally the OS footprint ...
0
votes
1answer
906 views

Changing Active Directory password over LDAP using passwd/ldappasswd/Samba

I am trying to change the Active Directory (on a Windows 2008 server) from a CentOS 6.2 machine over openLDAP. I have tried passwd, ldappasswd and trying to see if I can do it with Samba without the ...
0
votes
1answer
106 views

How to manage an unmanaged Virtual Private Server [duplicate]

Possible Duplicate: Setting up and configuring a new VPS server I just bought a VPS from constant.com. It is unmanaged. I'm wondering if anyone has a good 101 guide or any tutorial to help ...
0
votes
1answer
274 views

Rsync delta copy not working for virtual disk

I have tried rsync for copying VMs to remote host but the deltacopy does not seem to work. I am using Virtualbox on CentOS 6.2. My VM has 1 snapshot so I just copy the snapshot file instead of the ...
0
votes
1answer
193 views

replace an IP@ by a URL using Apache [closed]

I've just installed a webapp (sakai precisely) in a CentOs 6.2 server. sakai is accessible via @ip:8080/portal, and I need to replace that adresse by a normal URL: www.exapmle.com/sakai I've already ...
1
vote
1answer
171 views

Add module to custom compiled PHP

In CentOS I have a compiled version of PHP but it is missing IMAP module. Is it possible to add that module without re-compiling php?
1
vote
5answers
813 views

CentOS replacement for PHP development machine?

I'm just starting learning Linux. I'm using CentOS 6.3 and i really like it. However I need PHP 5.4, currently not available for CentOS. I've read that CentOS, for its very own nature, doesn't update ...
1
vote
3answers
753 views

Install Java EE 6 on CentOS 6

Having problems installing Java EE 6 in CentOS 6 x32. I have removed all previous version of Java and freshly installed temporally jdk1.6.0_34. So my $PATH variable goes to: ...
3
votes
4answers
355 views

Install packages that must be self-compiled on CentOS server is a bad practice?

I have a CentOS 6 server that is in production and actually is hosting a few sites. I should now install Redmine which runs on Ruby. The remi/ephel repository gives me Ruby 1.8.7 but I would like to ...