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
votes
2answers
549 views

httpd unpacking error on installing subversion and mod_dav_svn

I am unable to make subversion working on centOS 6.4. I am getting httpd unpacking error on installing mod_dav_svn. I am getting the following error. Running Transaction Installing : ...
2
votes
2answers
45 views

How can I distinguish the base packages from the rest when running rpm -qa?

I wrote a script which along other tasks connects to a remote server and pulls a list of all installed packages and installs them, Like so: echo -e "\e[36m#===# Getting list of packages to install ...
0
votes
1answer
152 views

Change the default IP address of a CentOS 6 dedicated server

I have a dedicated box running CentOS 6. I'd like to change the default IP address, I googled a lot and I found this suggestion: (1) Run these two commands via SSH: sudo -n ifconfig eth0 down sudo ...
-2
votes
1answer
2k views

PHP 5.3.27 on CentOS 6.4

Can someone tell me how to setup PHP 5.3.27 on CentOS 6.4 without using remi repos and without compiling PHP myself? I tried googling a lot but it always gives me results for upgrade on CentOS 5.
0
votes
0answers
164 views

ccs_tool addnode and addfence error invalid option — 'C'

I'm installing GFS2 on centos 6 with SAN and fiber channel. I followed this link: ...
0
votes
1answer
505 views

How to grant privileges to mysql user? CentOS 6 and ZPAnel

Installed ZPanel on CentOS 6. Created user, added database. But user has no privileges. Tried to create in SQL shell with GRANT ALL PRIVILEGES ON db_name.* To 'name'@'localhost' IDENTIFIED BY ...
0
votes
1answer
1k views

Unable to access VLAN host from VLAN interface in CentOS

I am playing with VLAN (Virtual LAN) configuration on CentOS 6.4. I have 2 interfaces, eth0 and eth1. I have configured 2 VLAN interfaces eth0.20 and eth0.30 as #file: ifcfg-eth0.20 #------------- ...
2
votes
3answers
403 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
819 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
87 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
1k 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
1k 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
223 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 ...
1
vote
2answers
2k 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
votes
2answers
475 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 ...
1
vote
2answers
212 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
234 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
104 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
0answers
254 views

sendmail not sending email from commandline

I have a centos 6.3 machine and i've installed mailx and sendmail I would like to send a simple email from commandline with a command like this /bin/mail -s "subject" "info@mail.com" but after I ...
0
votes
1answer
505 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
308 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
959 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
726 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; ...
1
vote
1answer
1k 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
277 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 ...
1
vote
1answer
646 views

Milter rejecting all connections on Centos 6 with Plesk. Is it safe to disable?

CentOS 6.4 (Final) with Parallels Plesk Panel 11.0.9. It was supposed to be configured using the panel, but e-mails weren't getting in until I added a line to "/etc/postfix/master.cf": smtp inet n ...
0
votes
1answer
96 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 ...
1
vote
1answer
542 views

500 Internal Server Error after database import in phpMyAdmin (Apache on CentOS 6.4 x64)

We've got a server with Digital Ocean, LAMP stack on a CentOS 6.4 x64. This morning, I've attempted to import a database in phpMyAdmin and it kind of crashed by not reloading properly on completion ...
0
votes
1answer
60 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
365 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
578 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
854 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
365 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
232 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
96 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
220 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 ...
0
votes
1answer
444 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
2k 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
198 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
2k 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
4k 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
244 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
446 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
3k 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
398 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
492 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
192 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
2k 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
1k 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
1k 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 ...