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

3
votes
3answers
2k views

Centos: How to install all packages of one server on another?

I've done rpm -qa > file and now I want to copy the file to another server and run through it and install all these packages on the new server. I did something like this: for pkg incat file; do yum ...
1
vote
2answers
2k views

CentOS 6.4 and Audio Conversion

I'm having issues with setting up a Centos 6.4 server to convert audio tracks needed for a project I'm currently involved in. So users of a site I've been working on can Upload tracks, but because ...
0
votes
1answer
108 views

Centos6.4: User home directory for sftp

Currently setting up a Centos6.4 box and are wanting to jail sftp users upon login. I've been following the notes here http://www.thisisnotsupported.com/sftp-chrootjail-on-centos6. But I have one ...
2
votes
1answer
3k views

How to Install php ssh2 in CentOS 6 powered Nginx VPS

I'm trying to install php-ssh2 on my CentOS 6 powered VPS. I'm using Nginx as web server. I want to tell you guys that I've installed php-fpm using REMI's repo. I'm not a VPS expert. While setting up ...
0
votes
2answers
2k views

How To Install Xcache on CentOS 6 and Nginx?

I've bought a new VPS and I'm not a linux geek. I've already installed LEMP stack on CentOS 6. I just tried to install Xcache on my VPS. I've used the below command to install Xcache but it shows an ...
0
votes
1answer
485 views

Error 500 when accessing URL - Centos 6 (selinux disabled) - NGINX - PHP-fpm and GITList

Installed Centos 6 (selinux disabled) - NGINX - PHP-fpm and GITList. when I access my URL I get a server error (The website encountered an error while retrieving http://git.sastratechnologies.net/. It ...
3
votes
2answers
5k views

Incrond running but not executing commands CentOS 6.4

I have copied this question over here from StackOverflow... I have installed incron from the EPEL repository (0.5.9) (before you ask; YES, I also tried downloading the source and compiling locally (0....
0
votes
2answers
973 views

MySQL won't start: “Can't start server : Bind on unix socket: Operation not permitted”

Running a minimal Centos 6.0 build as a vagrant box, with SELINUX=permissive. Right off the bat, performing a "yum install mysql-server" and then "service mysqld start" it fails. Inside /var/log/...
1
vote
2answers
375 views

I'd like all files created in a specific directory to automatically get 755 permissions, is that possible?

The relevant folder is over-written every couple of days but I want it's content to retain the 755 permissions. I've tried chmod g+s dir but to no avail. Is that even possible?
1
vote
1answer
504 views

yum update fails to unpack archives for nodejs dependencies on centos 6.4

I run "yum update" on my CentOS 6.4, but the Node.js package and dependencies fail with multiple errors like this: Error unpacking rpm package nodejs-fstream-0.1.23-1.el6.noarch error: unpacking of ...
2
votes
2answers
110 views

Dividing sets of services on a single server

A group which I'm part of has grown and is about to move from using DigitalOcean VPSes to a single colocated server. At this point, we don't have a need to distribute our service very highly. This ...
0
votes
1answer
827 views

How to Isolate source of spam on Centos 6.3 Plesk 11 server

Been spammed and the header is showing: X-No-Relay not in my network X-No-Relay not in my network X-No-Relay not in my network X-No-Relay not in my network X-No-Relay not in my network Received ...
-1
votes
1answer
481 views

Cannot ping, neither can use the server as the DNS. but can ssh to the server from any IP address

I have a server that holds my server services. I'm able to ssh to the server: ssh root@example.com enter password: root@example:# But, I can't ping the server: $ ping example.com PING example.com ...
0
votes
1answer
2k views

Max connections limit confiquration on Appache server - CentOs 6.4

We have an Apache's and a CherryPy (Python) server running on on CentOs 6.4. Yesterday the Apache server suddenly went down while the CherryPy which uses the port 8080 works fine. We are trying to ...
0
votes
1answer
3k views

Centos BIND server: Unable to start named daemon

I've installed a fresh Centos server and installed bind and bind-utils to it. The content of /etc/named.conf is: # create new options { directory "/var/named"; allow-query { localhost; 10.1....
2
votes
1answer
3k views

Disable root login for dropbear? [closed]

Linux noob here. How can I disable root login for dropbear? What I've done so far adding DROPBEAR_EXTRA_ARGS="-w -g" into /etc/default/dropbear (not working) adding DROPBEAR_EXTRA_ARGS="-w -g" into ...
0
votes
2answers
562 views

Centos: error Configuring a DNS server for the first time, “options: command not found”

I'm configuring a DNS server from scratch and it's the first time i'm doing it. I've used yum install -y bind bind-utils in order to installe the required tools. I then edited /etc/sysconfig/named ...
0
votes
1answer
98 views

How can I configure my server to make it into a Virtualization Host?

I have an IBM server running Centos 6.4, I have only one Public IP. I need to create two virtual servers (a full guest OS running on emulated virtual hardware) in it and point them to two different ...
0
votes
1answer
81 views

Effects of using mock to rebuild packages on Centos 6.4

Currently I have rebuild ossec on centos 6.4 using mock. Will this have any effect on the stability of the os and also with regards to any other updates on the system? Any chance to cause crashes?
-1
votes
1answer
1k views

Install ssl on linux centos 6 apache 2.2 server

I have to install SSL on my server centos 6 apache 2.2 server. First I have genetraeted CSR files as directed on below link http://www.hosting.com/support/ssl/generate-a-csr-on-a-linux-server and ...
1
vote
1answer
2k views

Squid Proxy and AD auth generating errors on Squid startup

I need some advice with an error i am getting when trying to start Squid which has integrated NTLM / AD auth setup. heres the back story: I've followed this guide word for word on the setup, ...
2
votes
1answer
2k views

Centos server rebooted unexpectedly and i'm unable to process crash file, what am i doing wrong?

One of my Mysql replication servers has rebooted during the night and i'm trying to find the reason. Running the command last shows this line: reboot system boot 2.6.32-71.29.1.e Wed Jul 31 04:37 - ...
1
vote
0answers
719 views

How to configure cluster.conf for failover routing two networks?

I'm routing between an "external" subnet with Internet connectivity and two "internal" subnets, using iptables forwarding on a Linux box running CentOS 6.4: I'd like to now duplicate this router ...
1
vote
0answers
363 views

Problems with kvno + Consultation with kerberos authentication settings

I have clearly identified a problem that I can not solve. I suspect I'm missing something when setting the service running on Centos 6 on Windows Server 2003. First I tell the environment that I'm ...
3
votes
1answer
176 views

puppet inserts two lines as one into a configuration file

I've created the next Puppet manifest file: node 'puppetmaster' { package { "screen": ensure => "installed"} $enhancers = [ "pixman","pixman-devel","libXfont","tigervnc-server" ] ...
-1
votes
2answers
406 views

run ntpdate from rc.local [closed]

My /etc/rc.local is: #!/bin/sh touch /var/lock/subsys/local /data/automatic/ntpdate.sh My /data/automatic/ntpdate.sh is: #!/bin/sh echo "RWQERWER" >> /data/logs/1.log ntpdate ntp.fudan.edu....
0
votes
1answer
736 views

Creating raid1 array with mdadm cuts space

I'm trying to create RAID1 mirrored disks on already deployed system (CentOS 6.4). I have two disks: source /dev/sda with the OS and /dev/sdb which will be the mirror. The disks are connected from ...
1
vote
2answers
5k views

Getting started with KVM coming from Vmware

In order to test new ideas and reduce cost I would like to test KVM. I think Vmware has these 3 things which are valuable: - HA which restart VMs (Virtual Machines) in other hosts when a Hardware ...
2
votes
4answers
337 views

Implement server-side (CentOS) measures to prevent hosted mailboxes sending bucket loads of spam

We have a number of hosted clients on one of our servers. One client in particular, which has four active mailboxes is repeatedly getting just one (and always the same one) mailbox infected so that ...
4
votes
1answer
7k views

Unable to delete a user from a Linux CentOS 6.3 machine, what can be done?

When I try deleting my user (from a root shell) it says userdel: cannot remove entry 'itaig' from /etc/passwd The user isn't even displayed on /etc/passwd. [root@ab2c1 ~]# su - itaig su: warning: ...
-2
votes
1answer
5k views

Cannot find a valid baseurl for any repo in centos 6.4

when I want to install any repo I found this error Error: Cannot find a valid baseurl for repo: rpmfusion-free I'm using centos 6.4 I tried to check other packages I found the same error ... so ...
1
vote
3answers
565 views

clamav can't find viruses in rar files on centos 6.4

I use ClamAV 0.97.8/17494 on CentOS 6.4. It's good but can't find viruses in rar files. It can detect same virus file as it is or in a zip file but in rar file ClamAV reports no virus. ScanArchive=...
-1
votes
1answer
1k views

pecl can't find PHP - 'No such file or directory'

I have updated PHP on a CentOS install to PHP 5.5 via the Remi repository. The php-pear package is installed. However, when I try and run pecl, it can't find the PHP install; [root@box etc]# pecl /...
2
votes
3answers
8k views

fail2ban iptables having port 22 and fails to block ssh on custom port

This question is almost same problem like mine but accepted answer doesn't solve my issues In Fail2Ban, How to Change the SSH port number? SSH on port 22 everything works great. After 5 attempts ...
0
votes
1answer
759 views

Unable to authentication after manual edit of /etc/passwd and /etc/shadow

On Scientific Linux 6.4 ( like CentOs6.4) When configuring a new server I have manually edited the file /etc/shadow so as to copy the password. Now I can only log in as user root and I can not use ...
9
votes
3answers
870 views

IPA dynamic DNS updates only the AAAA record. Where are my A records?

I'm setting up a FreeIPA domain. In my lab are three virtual machines: the domain controller ipadc1, and two clients puppet and wordpress (creative, yes, I know). All three VMs are running freshly ...
2
votes
3answers
208 views

Is it necessary to disable root account on linux servers?

I am planning to deploy some CentOS linux servers and I've read many articles that suggested to disabled root account. I am just wondering is that necessary? If not, what's the best security policy?
-3
votes
2answers
4k views

centos 6.4 sendmail SMTP-AUTH not working

I want cinfugiure centos 6.4 server with sendmail and dovecot to SMTP-AUTH , I configure saslauthd and sendmail, but the SMTP-AUTH is not function,actual configuration is [root@server sasl2]# rpm -...
0
votes
3answers
2k views

CentOS 6.4 [postfix+dovecot] Can send external mail but CANT receive

Im trying to set up a mail server with postfix, dovecot and roundcube/thunderbird on a centos 6.4 VPS where my weberver is hosted... I have this situation: I can send and receive internal mails ok. I ...
4
votes
2answers
11k views

Creating SSH key on Jenkins Master - Centos Yum Install

I have installed Jenkins on a Centos VM as I am looking at replacing Bamboo, I have it all up and running by following the install instructions. That went fine, I then wanted to spin up a Slave, I ...
0
votes
1answer
546 views

Hardening CentOS 6 web server security [duplicate]

There is a web server installed as a virtual machine in the cloud. I've configured it myself, and it has two corporate web sites on it. I'am not planning anything else to be there. So before it goes ...
0
votes
2answers
324 views

How to run tcpdump on Centos right after reboot?

I see that my Amazon EC2 has a lot of traffic coming inbound after I reboot my Linux machine. I would like to find out what is going on right after the servers comes back after reboot. I thought ...
0
votes
2answers
2k views

How to determine SSL Cipher strength

I have updated my ssl.conf file on my Apache2 configuration to use the following SSLCipherSuite SSLProtocol all -SSLv2 SSLCipherSuite HIGH:MEDIUM:!ADH However the PCI scan seems to detect that WEAK ...
-1
votes
1answer
112 views

Can a named (bind) crash make a server unreachable?

My server recently became unreachable, and after restart a named error was the last line I found in /var/log/messages before restart: Jun 26 00:15:06 host named[1303]: error (network unreachable) ...
0
votes
1answer
174 views

pptpd mostly works, but strange internet/dns behavior

I'm running Centos 6.4, and I got pptpd working, for the most part. I am connecting from a Windows 7 machine, and once connected I can access all the intranet sites as well as sites that are already ...
0
votes
1answer
173 views

Adding an interface-specific gateway

Desired result: Assign an interface-specific gateway in the circumstance that are also receiving general DHCP-supplied gateway settings. Current situation: Interface-specific gateway setting is not ...
1
vote
1answer
1k views

OpenLdap 2.4 on centos 6 doesn't listen on port 636

I have an openldap 2.4 server on centos 6 whose confg I copied from those I have running under openldap 2.3 servers on centos 5 machines. On openldap 2.3, specifying TLSCACertificateFile, ...
3
votes
1answer
3k views

RSA server certificate CommonName (CN) `MYSERVER' does NOT match server name

I just launched a new website and installed a certificate on it and I started getting the following error messages in the ssl_erro_log: [Fri Jun 21 15:24:53 2013] [warn] RSA server certificate is a ...
0
votes
3answers
532 views

Dramatic disk I/O performance difference for two disks on same machine

A small machine (1 core, 1 GB RAM, CentOs 6.3) virtualized via Citrix Xen has 3 virtual disks with very different sizes. > cat /etc/fstab (snippet) ... /dev/mapper/vg_stagingnfs-lv_root / ext4 ...
0
votes
1answer
67 views

Configuring sendmail to to route all mails externally throws errors

I had this issue of sendmail delivering mails meant for the domain locally instead of reading the mx records, but couldn't resolve it. Maybe someone could tell me if I am missing any step. I have a ...