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

2
votes
3answers
1k views

Create an image of a CentOS system

I provide a server (and site) to a client via Rackspace Cloud Hosting, and my client wants to now host the entire thing within his own account. Since it's not possible to just transfer the ...
5
votes
4answers
13k views

Munin on Centos 6 - missing perl MODULE_COMPAT_5.8.8

I'm trying to install Munin on a new VPS through yum install munin but I keep getting an error about a missing perl module: Requires: perl(:MODULE_COMPAT_5.8.8). This is the perl version currently ...
5
votes
1answer
1k views

CentOS is ignoring my public key

I am trying to connect to my own CentOS server using SSH; I am able to connect fine with a password; I am trying to connect with my public key, but the server does not attempt public key ...
3
votes
3answers
3k views

How to reduce the SATA link speed of drive in CentOS?

How do I make CentOS run SATA drives at 3Gb/s at boot? Background: I'm having an issue with a motherboard that claims to support 6Gb/s SATA transfer speeds, but when using 4 drives on it, in a ...
2
votes
1answer
302 views

Which log file holds the errors that appear on the server's physical console on CentOS?

On a CentOS 6 Server, sometimes messages (errors, warnings) appear on top of the login prompt on the monitor physically attached to the server. I can't seem to find a log file (/var/log/?) that these ...
0
votes
1answer
195 views

set-up webserver with two nics

I have a web/email server with to nics, eth0 and eth1. I want to set it up, in order all WAN traffic is going through eth0 and all LAN traffic is going through eth1. I found a number of descriptions ...
1
vote
2answers
531 views

Disable a repository and remove all the software installed from it

I have a CentOS box where I installed an external repository and added some software, mostly java related. Now I want to get back to the initial repository (only CentOS Base) and remove all the ...
-1
votes
3answers
3k views

ssh: No route to host

I'm failing to set-up an ssd on port 9922. With standard configuration on port 22 everything works fine. Then I change the port to 9922 by adding this line to ths sshd_config file: Port 9922 I can ...
2
votes
2answers
2k views

Secure iptables config for Samba

I'm trying to setup an iptables config such that outbound connections from my CentOS 6.2 server are allowed ONLY if they are of state ESTABLISHED. Currently, the following setup is working great for ...
2
votes
4answers
505 views

Debian 6 or CentOS 6 - which one is easiest for latest versions of Ruby and Postgres? [closed]

I am getting a new server as I've messed up my current box, while trying to install Postgres 9 (on my CentOS 5.8 box). To cut a long story short, I removed postgres but yum decided to remove ...
2
votes
2answers
124 views

Determine which apps run on startup

I have a CentOS 6 32bit VPS and I'd like to determine, How do I know which apps automatically run on startup? EDIT: I have tried chkconfig --list but I don't understand what these lines meant: ...
0
votes
1answer
3k views

crontab doesn't work on centos 6

/etc/crontab: SHELL=/bin/bash PATH=/sbin:/bin:/usr/sbin:/usr/bin MAILTO=root HOME=/ 01 * * * * root run-parts /etc/cron.hourly 02 4 * * * root run-parts /etc/cron.daily 22 4 * * 0 root run-parts ...
-1
votes
1answer
187 views

RKHunter and CHKRootkit Hunter

Is it possible for them to only send an email if something is found? I've never had them find something but the emails get annoying when they come in every day and you have to check them.
0
votes
2answers
5k views

CentOS - You must give (non-root) uid and gid

I'm trying to add users to ftp using pure-ftp I used the following command: pure-pw useradd test-user -u ftpgroup -d /path/to/my/dir And I get the following error: You must give (non-root) uid and ...
1
vote
2answers
1k views

pure-ftpd on CentOs

I'm trying to install pureftpd on CentOS6, but when I run the yum command: yum install pure-ftpd I always get package not found Is there a way I can install `pure-ftpd' in Cent? Thanks
2
votes
3answers
8k views

How to Make Windows Network Visible to Linux Server Box?

Salvete! I have a machine running CentOS 6.2. In the GUI, if I click on "Network", I get a messagebox saying: "Unable to mount location - Failed to retrieve share list from server" I can ping the ...
2
votes
3answers
677 views

Is It a Bad Idea to Install the OS GUI on a Server That Will Host Asterisk?

We have a server onto which we plan to install CentOS 6.2. The server will host Asterisk for our office, but is not a webserver. If we install the minimal installation for CentOS - that is, no GUI ...
2
votes
1answer
212 views

psql asks for password despite configuring trust authentication from localhost

In /var/lib/pgsql/9.1/data/pg_hba.conf, I have the following: # TYPE DATABASE USER ADDRESS METHOD host all all 127.0.0.1/32 ...
3
votes
3answers
6k views

Where does NetworkManager store the domain name for generating resolv.conf?

I am having problems getting my domain name set correctly on CentOS 6. My resolv.conf looks like this: nameserver 198.6.100.25 nameserver 198.6.100.53 nameserver 198.6.100.38 # Generated by ...
0
votes
1answer
1k views

Can't receive emails using Postfix: Status=deferred (conversation with 127.0.0.1[127.0.0.1] timed out while receiving the initial server greeting)

I was setting up a server until about a month ago when I had to stop for personal reasons. I've went back to it today and tried to send/receive emails. Initially, I sent myself an email from my Gmail ...
1
vote
1answer
8k views

Centos /etc/hosts doesnt resolve my hostname

[root@data001 etc]# hostname data001.dd [root@data001 etc]# ping data001.dd ping: unknown host data001.dd [root@data001 etc]# How do I fix this? This is on a fresh Centos6 build...does this not come ...
2
votes
3answers
14k views

How to run a script automatically on system startup in centos

I've successfully installed TeamCity ib CentOS 6.2 Minimal. I'm stuck on trying to run a script automatically on system startup: /opt/TeamCity/bin/teamcity-server.sh start I've googled around and ...
3
votes
1answer
2k views

Installing Centos 6 using virt-install over SSH with no graphics - beginner

I have a Centos 6 box with virtualised CPUs that is ready for installing a virtual OSs. I am installing remotely over SSH and my Centos 6 box has no GUI (no GNOME etc) so it's purely command line. ...
3
votes
5answers
2k views

CentOS 6 - Make system aware of custom lib paths and missing base links

I am trying to compile libmemcached (1.0.7) on CentOS6, and keep getting the following warning: ... checking for event.h... no configure: WARNING: Unable to find libevent ... I manually compiled ...
5
votes
3answers
6k views

Install php-mssql in CentOS 6.2

I have a server running CentOS 6.2 with Plesk 10.4. When I SSH in, and try and install ms-sql extension it says "No package php-mssql available." I can't seem to find much on Google for this, and I ...
1
vote
2answers
1k views

CentOS: Set number of inodes in ext4 on Install

During installation of CentOS 6 I would like to set the number of inodes created on the ext4 partitions. Is there a way to do this? I have been unable to locate a solution. Example use case: I know ...
0
votes
3answers
4k views

JDK not found on CentOS 6 x64

I installed jetty on a CentOS 6 server, but when i try to reach a WAR example of jetty I get this error : org.apache.jasper.JasperException: PWC6345: There is an error in invoking javac. A full JDK ...
3
votes
1answer
2k views

Where is the “Server Settings” Menu?

Salvete! I just installed CentOS 6 on a new box, and am looking for the "Server Settings" menu in order to configure SAMBA. I have a menu for System, and therein lie "Preferences" and ...
0
votes
1answer
2k views

Too many PHP zombie processes

I restarted my apache daemon today to reload the config file, but after this i began to see many php zombie processes on the system. The amount varies from 10 to 30 and they all take a little slice of ...
1
vote
1answer
192 views

LAMP server domain can't send e-mail to Exchange server domain.. Different IP's but both on same network

So I have 2 different domains hosted on different servers. domain1.com is hosted on Windows: - DNS(MS) is 10.1.1.39 - WEB(MS) is 10.1.1.21 - Exchange(MS) is 10.1.1.180 domain2.com is hosted on ...
0
votes
2answers
222 views

IPTables Range of Ports

-A INPUT -m state --state NEW -m tcp -p tcp --dport 20000:25000 -j ACCEPT -A INPUT -m state --state NEW -m tcp -p tcp --dport 20004 -j ACCEPT Those are my two rules I made in my iptables in an ...
0
votes
1answer
1k views

Compiling PHP on CentOS Needs MySQL PDO Configured

I am trying to compile PHP with mysql_pdo on CentOS 6 and I am having just one heck of a time trying to make it happen. Currently I am trying to compile PHP 5.2, but I am going to have to do this for ...
1
vote
0answers
3k views

CURL ERROR: Recv failure: Connection reset by peer - PHP Curl

I've posted a question yesterday on stackoverflow here but think this might be server related. I'm connecting using the PHP curl functionality to a server that then generates a PDF file and sends it ...
0
votes
1answer
362 views

perl application won't start in apache when running as a service

I have installed Netdisco, which is a perl based network discovery tool When I run httpd from a terminal prompt as root, it works fine. When I try and start Apache as a service (service httpd ...
0
votes
1answer
1k views

CentOS apache startup config file security error

I am setting up a NetDisco machine on CentOS, which entails adding an include to the apache httpd.conf file. When I start apache by running "httpd" from a root command prompt, the process launches. ...
0
votes
1answer
1k views

Apache not accessable via network

I've set up CentOS 6.x on an old fujitsu server and want to use it as webserver. I can access apache via localhost and 127.0.0.1 and I can already access webmin via port localhost:10000 (whatever ...
3
votes
2answers
107 views

New server won't accept SSH public key

I have a private network that had 3 servers before. Now that I added a fourth, I tried to set up public key authentication from the main entry point to this new server. However, the usual procedure ...
1
vote
3answers
845 views

Linux Integration Services no longer function after a kernel upgrade on Hyper-V

I've been running CentOS 6.2 as a VM under Hyper-V on my Windows Server 2008 R2 system. If I run "uname -r" it shows my current Linux version as "2.6.32-220.4.1.el6.x86_64" A while ago, I did a ...
1
vote
3answers
1k views

centos 6 oid information for net-snmp

I am trying to set up nagios core 3 to monitor linux servers using net-snmp, having trouble to find the correct oids for snmp. mibDepot.com seems to be a good site, but I tried most of them, not ...
18
votes
4answers
32k views

How do I change timezone in centos 6.2?

Here is the output of my date command: [root@r1304 ~]# date Wed Apr 18 15:43:28 GST 2012 I want to change the default system timezone to Asia/Dubai. I've fallowed a tutorial and did fallowing: ln ...
4
votes
1answer
264 views

webserver running as nobody cannot resolve domain names

If i try to run the following: <?php echo file_get_contents("http://www.yahoo.com/index.html"); ?> through the web server I get a an "php_network_getaddresses: getaddrinfo" error. If I run ...
0
votes
1answer
161 views

Xen Issues - Total Memory + Grub Disappeared

I'm pretty much a newbie when it comes to the Xen Hypervisor, either way I installed it on a dedicated server, I just removed OpenVZ since it was annoying me. So, I followed ...
5
votes
3answers
4k views

CentOS disable filesystem check: superblock last mount time is in the future

I'm persistently getting the "Superblock last mount time is in the future" error when booting CentOS 6. I've seen other questions which ask how to resolve this error, but I know exactly why it's ...
2
votes
3answers
2k views

Cannot connect to server via SSH

I'm running RHEL 6.0, and I accidentally moved the /bin, /boot, /cgroup, console.txt, /data, /dev, /etc to another folder. I think I managed to move these folders back, but now I'm having trouble ...
4
votes
2answers
6k views

CentOS install proftpd with yum

Server: CentOS 6.2 64bit How can I install Proftpd using yum? A search for the package doesn't find it: yum list proftpd Error: No matching Packages to list Although my CentOS 6 VPS does find it, ...
5
votes
1answer
717 views

Block outgoing connections for certaing uids (root, apache, nobody)

With iptables in CentOS 5 and 6 Linux - how can you please prevent processes running as root, apache or nobody from initiating outgoing connections? On CentOS 5 Linux I've tried putting these lines ...
1
vote
1answer
4k views

How to build a driver disk for an anaconda install (CentOS 6)

I need to make a driver disk for anaconda. This disk would contain an updated module for the network card of a somewhat recent laptop and the goal is to get a network install of CentOS 6.2 working. I ...
0
votes
1answer
3k views

How to restrict user to a particular folder in CentOS 6?

I will need to create users so developers can log in and clone/pull/push changes/repositories from a github like platform. I've managed to add a user (using the root) to this CentOS machine; I now ...
0
votes
1answer
3k views

Both bashrc and bash_profile won't seemingly source? VirtualMin Clean install

I am not too familiar with this level of management on a nix server however I am unable to get either the bashrc or bash_profile to source at login. Details about the server: Centos 6.0 - Basic GUI ...
6
votes
2answers
10k views

CentOS /usr/local/lib system wide $LD_LIBRARY_PATH?

I install custom software in /usr/local/lib. How do I set the PATH and LD_LIBRARY_PATH in CentOS 6 system-wide to use /usr/local/lib. I realize there may be more than one way. What's the simplest and ...