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
7k 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
632 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
152 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
5k 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 ...
0
votes
1answer
7k 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
11k 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
5k 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
950 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
3k 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
1k 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
188 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
213 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
2answers
924 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
2k 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
338 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
967 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
100 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
782 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 ...
16
votes
4answers
21k 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
262 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
153 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 ...
4
votes
3answers
3k 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
592 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
3k 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
2k 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 ...
5
votes
2answers
8k 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 ...
0
votes
1answer
4k views

Installing GeoIP on CentOS

On CentOS 6 I cannot install GeoIP even though many websites describe installing GeoIP with the following commands: yum install GeoIP GeoIP-devel GeoIP-data I get No package GeoIP available.
1
vote
1answer
3k views

CentOS 6 Squid Proxy error

I am trying to install a Squid anonymous proxy on my home computer for a quick presentation tomorrow. When I try to connect to it using Google Chrome, I get the following error code: Error 130 ...
0
votes
2answers
6k views

How to open a port in Centos 6

I'm a newbie at Centos. I need to open a few ports in Centos. I've googled it a little bit, and found something like this. -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 143 -j ...
0
votes
1answer
879 views

OpenVZ Can't initialize containers after install

I have installed OpenVZ on centos 6 on a dedicated server. I followed quick installation guide on openvz wiki. After installing thru yum, I don't know why, but grub.conf wasn't automatically updated ...
0
votes
2answers
3k views

Configuring Static IPs on CentOS 6.2

I am a complete Linux newbie, but we have quite a few spare Dedicated Machines available right now, so I decided to setup CentOS 6.2 on one of them and start getting more familiar with it. Obviously ...
1
vote
5answers
151 views

Should email system be virtualized?

I have been running an email system for an academic department for ages that consists of postfix, procmail, dovecot, clamav, spamassassin, MailScanner, ldap, maildir, xfs, lvm, CentOS. Number of users ...
2
votes
1answer
959 views

How do I change permissions and ownership after git-pull, to match folder?

The company I work for is using Git for deployment and because of this it overwrites specific permissions and ownerships. What is the best way to make sure that the folder ownerships and permissions ...
9
votes
2answers
1k views

How to check CentOS 6 Server VM Host after a power falure?

This afternoon, someone at our office decided to pull the plug out of our server because it was storming outside. They didn't shut it down, they just pulled the plug out while it was running. The ...
7
votes
3answers
9k views

ls hangs for a certain directory

There is a particular directory (/var/www), that when I run ls (with or without some options), the command hangs and never completes. There is only about 10-15 files and directories in /var/www. ...
1
vote
3answers
5k views

Allowing directory view/traversal for a specific VirtualHost in Apache 2.2

I have the following vhost configured: <VirtualHost *:80> DocumentRoot /var/www/myvhost ServerName myv.host.com ServerAlias myv.host.com ErrorLog logs/myvhost-error_log ...
0
votes
3answers
2k views

Installing hamachi v1 on centos 6 64 bits

I'm running into some issues trying to install hamachi v1 on a centos 6 64 bits server. I know that version is pretty old, but I need it to connect to a windows server which I don't have control on ...
1
vote
2answers
93 views

Apache server cannot restart

I've been trying to get my server up and running for a while now. I recently set up a centOS 6 server and I'm having issues with the Apache server. I had a domain up and running, everything worked ...
0
votes
1answer
487 views

CentOS6 - Display resolution

I used the Display menu to change my resolution settings. Now I chose a setting too small by accident, but I can't revert because the screen is so small I can't click the append button to enlarge it. ...
1
vote
3answers
5k views

Apache 2.4 Package

Does anyone know where I can get a apache 2.4 package for centos 5/6? When i run yum upgrade httpd it returns with version: 2.2.3-53.el5.centos I have these repo lists installed: base ...
0
votes
1answer
354 views

Rpm repo for java on centos 6

Is there any other repo from jpackage available for centos 6? I don't like to build tomcat, maven from sources. many thanks.