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

0
votes
1answer
473 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
744 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
118 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
376 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
2k 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
365 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
1k 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
3k 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
2k 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
377 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
861 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
37 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
125 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
999 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
173 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
207 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
2k 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
839 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
5k 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
437 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
114 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
3k 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
540 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
736 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
6k 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
10k 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
152 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
1answer
285 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
130 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
215 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
4answers
4k 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
441 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
682 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
2k 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
145 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
380 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
202 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
283 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
861 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
926 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
412 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 ...
1
vote
1answer
757 views

mdadm and blkid give different uuid

We recently replaced a hard disk in a server and reinstalled the operating system (Centos 6) The raid rebuilds itself every boot; /dev/md2 is losing a disk each time apparently. Always the same ...
4
votes
1answer
2k views

Can't connect to Ruby on Rails Development Server on Centos 6.3

I've having trouble connecting to my Ruby on Rails development server: When I type in 192.168.0.10:3000 into a web browser on a different the connection just times out. I suspect the problem is with ...
1
vote
1answer
1k views

Can't ping website but can browse it

I have server with CentOS 6.2 installed. The problem is that i can browse the website on it, but i can't ping it. What can cause this?
2
votes
2answers
1k views

Installing lighttpd on CentOS 6.3 yum 404 errors

I have a CentOS 6.3 x86_64 server and I am trying to install lighttpd. I have installed the EPEL repo on the server using the following: rpm -Uvh ...
2
votes
1answer
2k views

CentOS Install - Starting a Kickstart

I have a kickstart file hosted. Let's say it is hosted at http://example.com/ks/ks.cfg I booted the CentOS 6.2 media and hit tab. Before editing anything this shows: vmlinuz initrd=initrd.img I ...