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

0
votes
1answer
11 views

Centos 7 ERROR /etc/sysconfig/network-scripts/ifup-eth some other host already uses address x.x.x.x

I've just installed Centos 7 and I am trying to create vlans in this new setup. Since this is Centos 7, it uses ifcfg-ens3 instead of the eth0 device we're used to. So now I'm trying to create a ...
16
votes
4answers
23k views

Upgrade Subversion 1.6 to 1.7 on CentOS? (can't find yum repository)

I want to upgrade my SVN Server from 1.6 to 1.7. Unfortunately I can't find anything on the internet how to do this with yum. I have checked rpmforge-extras but it has only svn 1.6 and not 1.7 I ...
20
votes
10answers
128k views

Check if port is open or closed on a Linux server using SSH?

How can I check if a port is open or closed on a Linux server (running Cent OS 5 and cPanel) using SSH? EDIT: And how can I open the port if it is closed? Thanks, James
0
votes
1answer
664 views

Mail server will send out going mail but will not receive

I've just set up my first mail server with Postfix and Dovecot . I can send out going mail (via squirrel mail) fine but cannot recive them. Pingability tells me that ConnectException: Connection ...
-1
votes
1answer
13 views

WHM - php.ini in public_html stops default php.ini

I have a server with WHM panel. OS is CentOS. When I put a php.ini in public_html PHP stops reading /usr/local/lib/php.ini. When I compare results of phpinfo() what I see is; error_log error_log ...
12
votes
4answers
1k views

/dev/null file became regular file

In our production server suddenly /dev/null became a regular file and due to this sshd service got stopped and not able to login the server. And also we tried to the below steps to configure back to ...
0
votes
0answers
26 views

Nginx Server break images on web browser after refreshed 3 to 4 times

Hi I am in very confusing state now. I have configured Nginx 1.6 on Centos 6 for serving only Code (js, css, html) pages all other images coming and calls happened through load balancer. My problem ...
2
votes
1answer
3k views

Starting Tomcat 7 as a user - init.d script can't write pid

I want to run Tomcat 7 as a user on CentOS 6. I've created a user tomcat:tomcat and changed the ownership under /var/lib/apache-tomcat* etc... There are lots of docs online on how to do that but I ...
0
votes
0answers
27 views

CentOS MySQL Problems

Im having trouble with MySQL on my centos5 server. When I try to connect to the server I receive the following message ERROR 2002 (HY000): Can't connect to local MySQL server through socket ...
-1
votes
0answers
9 views

virtualmin install error on CentOs

The Sever OS : CentOs 5.6_x64 Disk Space : 30 GB Ram : 6GB I downloaded "install.sh" from web site and ran it. I got following error. [root@ceylon ~]# ./install.sh Welcome to the ...
-1
votes
0answers
11 views

cPanel Install Fails on CentOs 6.6 [on hold]

I am trying to install the latest version of cPanel on a server running Centos 6.6 and it is failing here: [20150129.112152] Testing if it's possible to install a simple RPM [20150129.112152] ...
0
votes
1answer
15 views

How to add fastcgi support to nginx?

I'm trying to setup roundcube in my server with nginx on CentOS. this tutorial says: Add the following to the bottom of /etc/nginx/fastcgi_params: # Roundcube config fastcgi_keep_conn on; ...
0
votes
0answers
14 views

MySQL suddenly 'crashed' but not stopped, mysqld_safe 100% cpu on CentOS 6

Suddenly, today i see the website down. Checking the cpu with "top" in command, i found the mysqld_Safe at the top using all of the cpu. After some google i found some different solutions, i made a ...
0
votes
1answer
25 views

Only one IP Rule Being Implemented

I have server that has a 10g card in it. I need to configure that server so that for a particular IP address (172.16.2.180) traffic goes over two 10g Ports, the second needed for failover . The ...
-3
votes
1answer
23 views

Issued kill -9 -1, centos not working

created user in centos and edited nano /etc/passwd and edited created user as user:x:0:0::/home/user:/bin/bash and logged as that created user and issued kill -9 -1, from then on words my server not ...
2
votes
1answer
26 views

How to install openssl1.0.1 alongside the the default system openssl? (Centos/redhat)

I was tasked to setup openssl alongside the default version installed on the system. I want to know how I can set this up? I would like to point apache to use the portable version of openssl (I am ...
0
votes
1answer
279 views

OpenSSH libaudit.so missing

I have a server running CentOS 6.3. I want to re-install openssh on my server. When I use yum install openssh-server I get this error: Error: Package: openssh-server-6.1p1-5.el5.1.x86_64 (CentALT) ...
0
votes
1answer
32 views

How to pass all traffic through virtual ip on linux

I have an Ethernet card on CentOS server. It has been configured: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000 link/ether 40:f2:e9:9b:b7:bb brd ...
0
votes
2answers
61 views

How to recover from raid 5 failure of 2 disks with tw_cli?

I have hardware raid 5 of 12 disks, 2 of them died and the data is not accessible anymore. I was told that even though 2 disks died, some of the data might be recoverable. My hosting provider replaced ...
0
votes
0answers
19 views

GnuPG::Interface fails to install on CentOS 7

I'm trying to install a CentOS 7 server to run Request Tracker. By running make testdeps I can see all missing packages and make fixdeps is supposed to install this packages. There is one package that ...
0
votes
1answer
43 views

How can I select one of multiple PostgreSQL in my CentOS server?

I had postgresql 8.4 in centos system. Aadditionally I needed postgresql 9.3. I want new version, But excute 8.4 version instead 9.3 version. How can I change default version?
0
votes
1answer
456 views

Samba server on CentOS sees shared directories, but no files visible

I have a very basic samba share for a development environment. There is a directory /var/www/ owned by www:www. All subdirectories are also owned by www:www. All users are members of the www group. ...
0
votes
1answer
19 views

makewhatis and logrotate cron job schedule

In /etc/cron.daily/, logrotate* makewhatis.cron* I understand that above are daily cron jobs. How to display the time set for logrotate and makewhatis.cron? Its not listed when I tried this ...
69
votes
11answers
9k views

How bad is it really to install Linux on one big partition?

We will be running CentOS 7 on our new server. We have 6 x 300GB drives in raid6 internal to the server. (Storage is largely external in the form of a 40TB raid box.) The internal volume comes to ...
-1
votes
0answers
33 views

Can not connect to apache server within VM [on hold]

I am running CentOS 7 inside a virtual machine that is virtualized with VirtualBox. My host operating system is also CentOS 7. I am using a proxy server that is referenced in the .bashrc files of my ...
0
votes
1answer
13 views

Cacti - Interpreting values for Network statistics

I've downloaded and installed the Percona Linux template. I noticed the values for tx-drop had values of 'm' and 'u' and don't quite understand why I'm getting values of micro and milli. I was ...
1
vote
1answer
12 views

TokuDB storage engine missing after restart

I'm using MariaDB-server 10.0.14 and just had a power outage and hard restart. When coming back up I had to manually remount drives etc. but everything seems intact except I have an error when trying ...
0
votes
2answers
38 views

Yum: No package mysql-server available in Cent OS 7

I just installed Apache on my new Digital Ocean Cent OS 7 x64 server. When following Digital Ocean's tutorial, yum cannot install mysql-server. # yum install mysql mysql-server mysql-libs ...
-2
votes
1answer
21 views

Redirect anonymous ftp login to a certain folder? [on hold]

How do i set anonymous ftp logins to a certain folder and restrict access if neccessary? (E.g. all anonymous connections are sent to /ftp directory)
0
votes
0answers
12 views

LDAP: Segmentation fault

I have this error when I use ldapsearch: Segmentation fault I've removed and reinstalled openldap and openldap-servers and after that, throws me this error. /var/log/messages: ldapsearch[20232]: ...
10
votes
5answers
13k views

NGINX timeout after +200 concurrent connections

This is my nginx.conf (I've updated config to make sure that there is no PHP involved or any other bottlenecks): user nginx; worker_processes 4; worker_rlimit_nofile 10240; pid ...
2
votes
1answer
149 views

Cannot ping to localhost into CentOS

I'm connecting to my server (Centos 7) with ssh and I try to ping to localhost: ping 127.0.0.1 but doesn't work: ping 127.0.0.1 PING 127.0.0.1 (127.0.0.1) 56(84) bytes of data. ^C --- 127.0.0.1 ping ...
0
votes
1answer
24 views

Interpreting the IOstat result

Below are the results for iostats: Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn sda 120.94 10201.14 4354.87 64513033284 27540653120 sdb ...
-1
votes
1answer
262 views

how to skip ntpdate synchronization during boot on centos

I moved a centos server to a new IP and now it's stuck on ntpdate synch during boot. I just need it to boot once so I can assign the new IP. Going back to the old IP is not an option right now. CTL C ...
2
votes
1answer
2k views

XFS slow performance on LVM'ed RAID, faster when RAW or non-LVM

I have a weird issue with a server I am setting up. It's for a filesharing-type website, so fast IO and plenty of capacity are the requirements. OS is CentOS 6.4 64-bit The server in question is a HP ...
0
votes
1answer
36 views

ldapsearch result: Can't contact LDAP server (-1)

Anyone knows which the problem? I installed LDAP: yum -y install openldap-servers and then checked is the installation work well starting slapd service and doing ldapsearch like this: ldapsearch ...
0
votes
1answer
18 views

APC not working after centos and php upgrade

I had centos 6.5 on my server. I upgraded to centos 7. With this upgrade I have php 5.4 instead of php 5.3. All works fine except APC and xhprof extension. Here is the error I am having when I try ...
1
vote
3answers
2k views

Production Instance : CLOSE_WAIT Connection Issue

I am using 10EC2 Instances behind 1 ELB. And ELB configured 80 to 8080 and 443 to 8080 port. And all 10EC2 instances having installed with Apache Tomcat, total request on ELB around 8000 to 10000 in ...
0
votes
1answer
1k views

“Disk Not Found” Error when trying to install iso image of CentOs on ESXI using VSphere

When trying to install CentOs setup as an iso image on datastore, i get an error : "Disk Not Found". I am using ESXi 4.1 as host VM. Is there a way to attach DVD/CD as iso image ? I tried "Connect at ...
1
vote
2answers
51 views

Command file 'nagios.cmd#015' does not exist issue if passivecheck is sent to NSCA daemon

Introduction As /usr/local/nagios/etc/nsca.cfg is replaced by the default config if opsview has been restarted the reference to this file that resides in /etc/init.d/opsview was changed to ...
0
votes
1answer
1k views

FreeNX 0.7.3 under CentOS 6.3 - Negotiating link parameters

since some days I try to get freenx (CentOS package 0.7.3) running under CentOS 6.3. It is like found on many websites: First login is successfull, after that all login attempts fail with the ...
1
vote
2answers
131 views

Most prudent method of creating a QA CentOS server?

I'm trying to create a physically separate QA server of an existing install of CentOS, which has various software installed. It also has several files and configurations that I need to preserve. ...
1
vote
1answer
25 views

Curl on Fedora does not accept Cloudflare https

Using curl on a clean vanilla Fedora 21 to retrieve a site hosted via the cloudflare https service gives an error: curl https://www.opencpu.org >> curl: (35) Cannot communicate securely with ...
0
votes
0answers
25 views

CentOS 6.6 - Additional public IP through aliasing in VM with bridged network

The scenario: A CentOS 6.6 virtual machine with a working public IP assigned to its eth0 via bridged networking (details about the setup below). The problem: I would like to add an additional public ...
0
votes
1answer
550 views

Installing Apache Mesos on CentOS or RHEL

I tried to install the latest release tarball of Mesos on CentOS 6.4 with no luck. It ended up in all sorts of failures in trying to find jvm & jni bindings. Is there any instructions on how to ...
1
vote
1answer
228 views

Linux `alternatives --config` without user input

I am writing a RHEL kickstart script, and in my %post, I need to install a JRE. Basically, the current setup involves me needing to manually go in after first boot and set the newly installed JRE as ...
1
vote
0answers
14 views

url injection - server hacked [duplicate]

I have a vps with virtualmin installed to host 6 wordpress websites. Recently I had a notification from Webmaster Tools saying that one of my websites was hacked - URL injection. I saw in Analytics ...
4
votes
3answers
4k views

How to delete ip address from denyhosts

I was experimenting with denyhosts from my home computer and now it has blocked my ip address and put in /etc/hosts.deny. Now my ip is not static and it chnages every week so i cna have fixed ip in ...
-2
votes
0answers
13 views

Pam modules: some troubles understanding things [on hold]

I recently started to study PAM and for the moment I am having troubles in understanding an entry from /etc/pam.d/sshd (among others). auth required pam_unix.so ... ... ... account required ...
0
votes
2answers
1k views

`/etc/init.d/clamd start` `[FAILED]` log gives ERROR: daemonize() failed: Cannot Allocate Memory?

On Cent OS total Mem: 510876kb /etc/init.d/clamd start in /var/log/clamav ERROR: daemonize() failed: Cannot Allocate Memory? Is this a problem that can be solved? I thought Clamd only needed 20 ...