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

4
votes
1answer
5k 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
447 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. ...
-1
votes
1answer
965 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
7k 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
718 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
786 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
203 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 ...
2
votes
2answers
8k 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
518 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
267 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
108 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
158 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
168 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
464 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
0answers
763 views

Php doesn't get that Curl has SSL enabled

OS is Centos 6. I manually installed curl-7.27.0 with SSL enabled. curl --version curl 7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.27.0 OpenSSL/1.0.0 zlib/1.2.3 c-ares/1.9.1 But my PHP doesn't ...
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 ...
1
vote
2answers
484 views

KVM CLI install for CentOS 6.3 defaults to Minimal Install

So I now I've installed KVM (and its associated tools and packages- libvirt, VMM etc.). On the GUI (i.e using the VMM), installation works as its supposed to. However, when I try to create a VM using ...
0
votes
1answer
746 views

Make tomcat use Oracle Java, instead of OpenJDK

I have a webapp from Atlassian, called as Crowd, in order for this app to function, i need to have tomcat, and OracleJDK. the app provides a tomcat container, but that is not what i want. I want to ...
0
votes
1answer
133 views

Vsftpd access to /var/www

I'm trying to get ftp running locally to update a drupal install. I just need the FTP user to have full access to a directory and all subdirectories. I have done /usr/sbin/setsebool -P ftp_home_dir 1 ...
0
votes
1answer
876 views

Cloud Server Error - File Does Not Exist: /var/www/html/public

I recently moved a webapp, built using Laravel, to a rackspace cloud server. The homepage resolves just fine as I have the root set in the apache config. However, when a request is made to any of ...
-1
votes
1answer
782 views

The file system /dev/loop0, has reached critical status because it is 100% full

The file system /dev/loop0, which is mounted at /tmp, has reached critical status because it is 100% full. The problem is when I checked the space of hard disk I found that: /dev/loop0 space:485M ...
1
vote
1answer
3k views

How do I Install the “Basic Server” Profile onto a “Minimal” Install of CentOS 6?

Ok, I swear I know how to do this! However, it appears to have slipped my mind, and it's starting to frustrate me that I can't remember... ;) If I install CentOS 6 without the Anaconda installer it ...
1
vote
0answers
267 views

Updating Upstart on Centos 6.3

I have a Centos 6.3 server -- alone among all my Ubuntu servers for historical reasons -- with Upstart 0.6.5. I need to update that upstart to at least 1.4, and I'd prefer to do it through yum instead ...
0
votes
1answer
4k views

AD accounts on centos 6.4 not showing up despite successfull wbinfo -u

I have a centos 6.4 box with samba 3.6.9 which I have connected to MS server 2008 R2. That part seems to work fine, since I can see my AD users and groups with wbinfo -u and wbinfo -g. What does not ...
0
votes
2answers
3k views

openLDAP Client Config for CentOS 6

I have been trying to get the users on the LDAP server to get authenticated over centOS 6 clients, but, the client will not accept the passwords of the LDAP users. I have Ubuntu Systems which ...
0
votes
2answers
522 views

How to clear/flush ntp server peer in Centos

We were using centos.pool.ntp.org for our clock sync among servers. Now we do ave a local NTP server, but the problem is servers are using the old ntp. From centos.pool.ntp.org we can see, ...
1
vote
1answer
812 views

530 Login incorrect - vsftpd w/SSL (Not using PAM?)

I cannot log in with any local users on my vsftpd running on CentOS6 32-bit. The server simply reports login incorrect. My log files look like this: [doctorblue@guardian ~]$ sudo tail ...
-4
votes
3answers
1k views

Allow non-root process to listen on port 80 without doing anything drastic [duplicate]

For reasons beyond my comprehension, GlassFish refuses to play ball with iptables. That is, with all the correct redirection rules in place, it won't receive any redirected traffic. So I'm at plan B ...
0
votes
3answers
1k views

Httpd processes using more memory over time

I am using a 3gb memory VPS Centos 6 server.If I reboot it I get about 4 or 5 httpd services running and all of them use about 2.5% of memory (86m on the res column from top command). I am running ...
1
vote
2answers
446 views

Relationship between /etc/hosts and iptables?

I'm running a DigitalOcean Centos 6 VPS. Here's the script I used to set up iptables on Centos 6.4 64-bit: #!/bin/sh service iptables stop iptables -A INPUT -p tcp --tcp-flags ALL NONE -j DROP ...
0
votes
1answer
72 views

Remote client trying to connect to vsftpd in CentoOS returning Connection refused

I'm trying to configure the ftp service in my server. Everything seems in place, but the client always gets this response: Connection refused. This is the content of my iptables file # Generated by ...
-2
votes
1answer
2k views

Centos , /dev/root is getting full. Cannot find disk space usage [duplicate]

First of all I am not a sysadmin and so this is all new for me. Running on :CENTOS 6.4 x86_64 , Cpanel/WHM 11.36.1 (build 6) Problem : My root disk is getting full but I cannot find the files that ...
0
votes
1answer
346 views

mount -t cifs with krb5i

I am trying to mount a windows 2008 R2 share on my centos6 64 server and am getting the following message as a response to the mount: mount -t cifs //esb.local/dfs /mnt/win --verbose -o ...
2
votes
2answers
5k views

Installing CentOS 6.4 on Xen 6.0: Install hangs on “Switching to clocksource hyperv_clocksource”

When I tried to install CentOS 6.4 on a Citrix XenServer 6.0, after I hit install, the installation hangs at "Switching to clocksource hyperv_clocksource" I have installed CentOS 6.0 without this ...
2
votes
2answers
1k views

Error “Illegal instruction (core dumped)” while running Puppet agent (version 3.2.1)

I just upgraded puppet to version to 3.2.1, and when running the agent, I get an error saying "Illegal instruction (core dumped)". Here is some details: Both master and agent is run on the same ...
0
votes
1answer
726 views

Corosync with Pacemaker Resource explanation

I have the following resource: primitive WowzaMediaServer lsb:WowzaMediaServer \ op monitor interval="30s" timeout="60" \ op start interval="0" timeout="60" \ op stop ...
0
votes
1answer
195 views

install nginx on centos 6 but folders isnot working give me 404 not found

I've install Nginx on CentOS 6 without control panel following these steps. I got Nginx installed successfully, see this link. But I still have a folder that isn't showing and giving me "not found ...
2
votes
2answers
2k views

How do you remove attached FC LUNS from CentOS 6?

We have a Qlogic QLE2560 HBA running on a Centos 6 server. I am needing to remove the attached LUNS remotely. I do not have any software from qlogic installed on the device. Their are 2 LUNS ...
-2
votes
1answer
1k views

How to bind two ip to one domain name for failover solution in Linux (Bind) or Windows server 2008 DNS

How to bind two ip to one domain name for fail over solution in Linux (Bind) or Windows server 2008 DNS ?
0
votes
3answers
686 views

Preferred way to add a new name server to a host in Red Hat or CentOS

I am managing a particular host machine, and I would like to locally add a new name server for it to query (i.e. not changing its name server settings via the dhcp server). It seems that there are ...
0
votes
1answer
41 views

How is it determined which name server will be used for a particular interface?

According to the documentation for interface configuration files in RHEL 6, an interface can specify which name server it would like to use by including the directive DNS{1,2}=address . The ...
1
vote
1answer
439 views

iptables rule to allow Nimsoft connection over internal interface

The company I host with (Softlayer) requires me to open up port ranges 48000 to 48020 for their monitoring service. From ifconfig, these are my interfaces: eth0 Link encap:Ethernet HWaddr ...
0
votes
1answer
693 views

CentOS 6.4 SSSD + GDM problems

I'm having an issue where using SSSD it will not bring up a full desktop when using GDM. It seems to get to where it appears to be loading the desktop, then X crashes/stops then reloads GDM. If i ...
-1
votes
1answer
471 views

Problems with ImageMagick 6.8.5 on CentOS 6.3

I installed ImageMagick from source per their instructions since they didn't have a matching version for our OS. http://www.imagemagick.org/script/install-source.php However, I ran make check and ...