CentOS is a free (as in beer and speech) GNU/Linux distribution that is community driven and based on source code released from RedHat.

learn more… | top users | synonyms

-2
votes
2answers
51 views

Cannot ping / ssh server after installing VirtualBox on CentOs 6.6 [closed]

Our server was running fine this morning. I installed VirtualBox and rebooted the server. Since rebooting the server I do not recieve a response when pinging the IP address and I cannot connect ...
0
votes
1answer
993 views

Installing mysql-devel to match MySQL version

I'm running MySQL 5.1.52 on CentOS 4.6 and I'm trying to install mysql-devel to match my MySQL version. If I do yum install mysql-devel it wants to upgrade MySQL to 5.1.58, yet if I do yum search ...
13
votes
8answers
25k views

CentOS 6 and locale error

I just installed CentOS 6 and whenever I login to the system via SSH remotely, I get the following error: -bash: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8) When I type "locale" on ...
0
votes
5answers
2k views

nginx: php-fastcgi running but php files not executing

I have recently set up a nginx server with PHP running as FastCGI process. The server is running with HTML files however PHP files are downloading instead of displaying and PHP code is not processed. ...
1
vote
0answers
27 views

slabtop command doesn't work

I've inherited Sys Admin duties on webserver and I'm a bit of out my element, but learning as I go. My newest issue is all the of the ram has been gobbled up and I'm not sure where it has gone. free ...
0
votes
2answers
259 views

HOw to make rsa key pairs work in CentOS 6

I am unable to make rsa key pair authentication work on my CentOS 6.2 vps. My understanding is that if rsa authentication is properly configured no password will be requested yet it is still required ...
0
votes
0answers
25 views

centos7 pam_authz_search for *.group.company.com

Upgrading from Centos6 where we were using ldap.conf entry "pam_check_host_attr=yes" previously, with wildcard 'host' attribute in ldap where the host attribute looked like 'host=*.group.company.com' ...
6
votes
2answers
228 views

cron job occasionally not running

I have a CentOS 6.6 server with the following packages installed: crontabs-1.10-33.el6.noarch cronie-1.4.4-12.el6.x86_64 cronie-anacron-1.4.4-12.el6.x86_64 kernel-2.6.32-504.3.3.el6.x86_64 ...
5
votes
3answers
2k views

How to Tee udp packets onto a different host

I would like to clone incoming UDP packets onto a different host, I found a way to do it Here but I could not build xtables-addons on centos 5.3 . Is there any other way to tee upd packets?
0
votes
0answers
57 views

Haproxy service fails in centos 7 with certificate in a mounted directory

I am having an issue getting haproxy to load my certificate from a mounted directory when it is started with systemd. I can start haproxy directly as root without issue. Everything works fine if the ...
0
votes
0answers
69 views

IPSec Tunnel AWS VPC <-> openSwan CentOS 6.6 Tunnel up, no traffic

I managed to get a tunnel up between a CentOS 6.6 box and our AWS VPC. It shows as connected on the box, and in AWS, but the problem is routing the traffic from the server. Everything I've tried ...
-1
votes
1answer
27 views

Scientific Linux 7 BIND not forwarding

I installed named-chroot and configured it for the internal network. Everything works great, but nothing gets forwarded. Here is my configuration: options { listen-on port 53 { 127.0.0.1; ...
1
vote
1answer
166 views

High CPU Usage and hangs randomly with HHVM

I'm using phpbb on Centos 7 with 512mb of ram and 1 core. And I'm having randomly hangs and high cpu usage when I get some url of my clean phpbb installation. This is my server.hdf file: idFile = ...
0
votes
1answer
76 views

Running CentOS7 on Hyper-V issue with integration service driver

I installed CentOS 7 on Hyper-V 2012 R2. It seems to be running OK, but I have issue with drivers. And not sure how do I go about updating: A storage device have a different version from ...
0
votes
1answer
65 views

Adding a new domain to my VPS not working (CentOS/Apache) [closed]

What I'm trying to do is to add a new domain to my VPS. So I added a new domain to my httpd.conf and updated the corresponding nameservers on my registrar. I used this code in httpd.conf file: ...
2
votes
2answers
4k views

CentOS 7 is not setting my gateway from DHCP

I have a Minimal Install of CentOS 7. I have disabled the Network Manager as I want to setup my network the "old school" way. systemctl stop NetworkManager systemctl disable NetworkManager ...
0
votes
2answers
232 views

Trouble Starting Snorby / Ruby dependency issue

I am trying to install Snorby on a CentOS 6.6 machine and keep getting an issue with ruby and my Gemfile. I believe I either have to edit my Gemfile or it has something to do with an installation ...
1
vote
1answer
47 views

how do I clone a disk that is represented by a vmdk file?

I have VirtualBox installed on Windows 8.1. I have created a CentOS 7 virtual machine that loads the contents of a detached hard drive that is connected to the PC via a SATA Wire. The virtual ...
0
votes
0answers
22 views

Centos - Extend root partition size on rescue mode

I was wondering what is the best way (and what are the command lines) to extend the root partition size on a rescue mode system, without losing data already in it. My server is running on CentOS 6.6 ...
0
votes
1answer
31 views

auditctl buffer setting - how large is this?

Within the default audit.rules file on CentOS 5, 6 and 7, the following is set: # Increase the buffers to survive stress events. # Make this bigger for busy systems -b 320 However, there is no ...
-1
votes
2answers
173 views

Jenkins unreachable at port 8080

I'm setting up Jenkins for the first time. HTTP ERROR: 503 Problem accessing /. Reason: Service Unavailable I turned off firewalld. The jenkins came from the official jenkins yum repo. java ...
0
votes
1answer
823 views

Spacewalk client OSAD service SSL error

I have some problems with my freshly Spacewalk setup. I have registered my test client, and installed osad service to avoid executing rhn_check. But when I start osad service, I get the following ...
1
vote
1answer
33 views

Super Micro Model 827-16 -> CentOS 6 RAID Controller driver

I have a Super Micro model 827-16 (part no: 6027TR-HTRF+) and need to get CentOS 6 installed. The problem is that I haven't been able to confirm if there are CentOS specific/supported RAID drivers ...
0
votes
2answers
168 views

kadmin cannot list principals “requires list privileges”

I can authenticate fine via kadmin however cannot list principals? [root@server ~]# kadmin -p admin Authenticating as principal admin with password. Password for admin@org.domain.com: kadmin: ...
0
votes
1answer
21 views

how to customize google compute engine sftp path?

I have configured sftp for my google compute engine VM instance by key method. I had generated a private and public key by Puttykey generator tool. Then i add that public key to my vm instance path ...
0
votes
0answers
22 views

creating a webserver (httpd) using vsftpd in centos

I want to create a webserver, to host websites, i have configured vsftpd, i have created user with default directory /home/sam , i am able to access the files using filezilla. but if i am creating a ...
0
votes
1answer
1k views

How to enable core files on CentOS 6

I am trying to enable core files on a machine running CentOS 6; however, nothing I have tried has produced core files…here is what I have done: Added the following two lines to ...
0
votes
2answers
36 views

Add custom 'allow' policy in SELinux

I would like allow httpd to executed files from a user's home directory. From audit2allow I understand that this implies the following policy: allow httpd_t user_home_t:file execute; How do I turn ...
1
vote
2answers
673 views

Missing ssl_crtd folder with Squid 3.5.2 / CentOS

I am attempting to install Squid 3.5.2 to utilize improved sslbump functionality with websites with HSTS. I'm following the documentation on a fresh CentOS 7 VM installation. The issue I'm having is ...
0
votes
0answers
24 views

Redirecting certain website paths to different webservers

Currently my primary web server is IIS8 on Server_2012r2 and I set up a secondary web server using Apache on CentOS that is running Own-cloud, is it possible to make it so when I type in ...
4
votes
1answer
136 views

CentOS/Redhat kickstart script cdrom mount point

Trying to copy some files from my custom CentOS 7 install ISO to the new install in the %post section. I've tried all of these: cp /dev/cdrom/scripts/myscript.sh /etc/myscripts/myscript.sh cp ...
22
votes
5answers
94k views

How do I install an rpm that complains about rpmlib(FileDigests) <= 4.6.0-1?

Im trying to install an rpm file on CentOS 5 and Im not sure how to resolve this issues it brings up: $ rpm --install epel-release-6-5.noarch.rpm warning: epel-release-6-5.noarch.rpm: Header V3 ...
0
votes
1answer
40 views

gnokii sometimes Initialization failed

I have problem with gnokii 0.6.31 +usb huawei e220 (centos 6.4 64 bit) Normaly works ok. echo "SMS from Huawei" | gnokii --phone huawei --config /etc/gnokiirc --sendsms 1234567890 GNOKII Version ...
0
votes
1answer
47 views

How to alias name for IP Address

I have a website which is hosted in local Server (CentOS 5.x) (Hostname: xxx.yyy.local, IP : 192.168.5.25). I can browse the site typing server ip in the browser from my Local Network. How can I get ...
18
votes
7answers
70k views

What is the value of JAVA_HOME for CentOS?

I have install java through yum on CentOS, however another java programme needs to know what the JAVA_HOME environmental variable is. I know all about setting environmental variables, but what do I ...
0
votes
1answer
99 views

Reverse Proxy multiple internal FTP Servers

I have setup a reverse proxy for http using Apache mod_proxy like this: Client ---> http:/abc.domain1.com --> Reverse Proxy Server ---> 192.168.50.1 (Internal Server) Client ---> ...
1
vote
2answers
55 views

What can go wrong with yum update? [closed]

I have to update a server this weekend and the process goes with yum update. I have made tests in virtual machines but I am not sure what can go wrong in a real production environment. The server ...
1
vote
2answers
586 views

CentOS 7 with Red Hat Satellite 6

We're using Satellite 6 to manage our RHEL servers. For some side projects, we'll be using CentOS 7 to limit the costs. Of course we'd like to use Satellite 6 as well to centrally manage these CentOS ...
0
votes
0answers
24 views

Stucking qemu-kvm process

What i have: CentOS 7.1 as KVM host - Xeon E3-1200 v2, 32GB RAM, with and without dedicated raid controller (i tried both options) 3x Ubuntu 14.04.2 as quest VM (3 CPU, 512MB RAM on each VM) host ...
0
votes
1answer
47 views

what are the folders in fstab without the device name or label or UUID

This is my /etc/fstab file on my CentOS6.6 : /dev/mapper/VolGroup-lv_root / ext4 usrjquota=quota.user,jqfmt=vfsv0,noatime,nodiratime,commit=120 1 1 ...
1
vote
1answer
53 views

Apache Redirecting All Sub directory Sub Folders Back to Root Directory [closed]

I have a website stored in a root folder. example.com correctly brings me to the website stored in /var/www/mainsite. I want to put multiple websites in sub folders. so example.com/website1, ..2, ..3 ...
1
vote
3answers
849 views

SSMTP to forward root@localhost mail

I would like to forward mail that gets sent root@localhost on multiple servers to our company admin account (e-mail is hosted on gmail) I have installed ssmtp on centos 5.5 via yum and configured ...
1
vote
1answer
870 views

High CPU usage by whois | CentOs 6

I am not a server guy and currently maintaining a small server for my own needs (Development and testing). I got a notification that my Server CPU usuage is around 99% from last 3+ hours.I know that ...
2
votes
1answer
31 views

creating new partition for backup

I got a new server form hosting company. It has 2x2tb hard drives. I told the provider I would be using one drive for data/OS and the other for backup.Before doing offsite backup. I moved all my ...
0
votes
1answer
29 views

centos free memory stats [duplicate]

I was curious to know about my 512mb ram vps and I checked my centos vps with the 'top' command Apparently out of there is like ~20Mb of free ram. Is that an issue? This vps has been running for ...
0
votes
1answer
42 views

How can I determine why a process is dying? [closed]

On a CentOS 6.5 server I am running a very simple HTTP listener with Sinatra that exists simply to accept POST requests and pass the payload content of the POST request to another service. I often ...
1
vote
2answers
5k views

nginx failed (13: Permission denied) uwsgi (502 bad gateway)

I am having trouble running my application on a new DigitalOcean droplet. The machine runs CentOS 6.5 My /etc/nginx/nginx.conf user nginx www-data; worker_processes 1; error_log ...
0
votes
1answer
162 views

“curl: (7) couldn't connect to host” only on www. subdomain [closed]

I'm running a server with Centos 6 and Plesk 11. I have curl installed and working on all domains except on a domain that has a www. as preferred domain. [root@www]# curl ...
1
vote
2answers
90 views

No Space left on device after Jenkins installation

Is there any reason i would get a 'No space left on device" error on mkdir. I have confirmed that i have enough space left. around 68% is free. and also i have 1% iNodes consumed. This is CentOS 7 ...
1
vote
0answers
30 views

VMware ESX Server - Automated infrastructure and VM Provisioning [closed]

We would like to automate test infrastructure deployment for test automation with Jenkins. That's greatly appreciated if you can share your experiences and any tools to be suggested. Should the script ...