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
vote
1answer
2k views

CentOS 6 with webmin and virtualmin - cant get POP / SMTP working?

I've set up Webmin and Virtualmin on a CentOS 6 dedicated server. Postifx / Dovecot config is untouched by me, and I havent tried to open or close any ports manually. My problem is that after ...
4
votes
2answers
8k views

How to make working TFTP server on CentOS 6.2

I'm trying to setup TFTP server on CentOS 6.2. The /etc/xinet.d/tftp configuration file is the following: service tftp { disable = no socket_type = dgram protocol = udp ...
0
votes
2answers
319 views

Apache IP based hosting solution shows apache test page and not the website

I am trying to setup my virtual server to host websites based on IP. Currently I am trying to only setup 1 website and using only 1 IP. /etc/httpd/conf.d/example.com.conf file contents: Listen 80 ...
1
vote
1answer
1k views

Libvirt: Can't shutdown or reboot virtual guest

I can't reboot or shutdown the guest vm from the host machine virsh -c qemu:///system reboot vm1 Domain vm1 is being rebooted After executing this, nothing happens. The guest vm keeps working. ...
0
votes
2answers
615 views

Replace GIJ with Oracle Java

I'm trying to run Google's Closure Compiler on my server (CentOS 6). I installed it, but only got errors when I tried to run it. java.lang.NoSuchMethodError: method java.util.regex.Pattern.quote ...
0
votes
1answer
1k views

Static Network configuration with bridge in CentOS 6.2

I have a server with CentOS 6.2 installed, I want to use it as a VM host to run some windows installations for development purposes. I wanted to be able to directly RDP and serve websites from IIS on ...
1
vote
1answer
4k views

How to recreate samba secrets.tdb file

While trying to setup samba on an NFS server I deleted (don't ask) the /var/lib/samba/ contents and now when I try to start samba, this messages appears : [2012/07/06 08:19:07.528973, 0] ...
2
votes
2answers
653 views

Tons Of rpc.idmapd errors in syslog

I am growing weary of some error messages in my syslog - its showing: Jul 3 15:16:38 web rpc.idmapd[14535]: nss_getpwnam: name 'nobody' does not map into domain 'mydomain.com' I have check, my ...
4
votes
2answers
474 views

Forwarding 80 to 443 on Nagios woes

I perhaps just need some extra insight because I don't see where I'm going wrong. I used an SSL Cert to secure our nagios server. We want to specifically require all traffic over nagios (like 2 users, ...
1
vote
0answers
135 views

Centos 6 vsftp server

I have installed vsftpd server in my centos 6 server. I created three users.first user can access the ftp server using his system password.All the users are in chroot_list. when the second user is ...
2
votes
2answers
2k views

How to setup virtualhost for domain on CentOs 6.2 using apache2?

First time LAMP and domain setup on CentOs. Previous experience of this is in Ubuntu. Working on a dedicated server package of my local ISP. They installed default CentOs 6.2 and redirected my domain ...
1
vote
0answers
390 views

Configure PEAR on CentOS 6 and PLESK

I'm hoping to get a little assistance with configuring PEAR to work properly. I have a PHP file that's calling PEAR's mail and mail-mime files, and I believe I am missing some steps because I keep ...
2
votes
3answers
929 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
10k 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
877 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 ...
2
votes
3answers
2k 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
216 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
143 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
435 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
2k 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 ...
1
vote
2answers
1k 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
469 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
114 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
2k 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
179 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
1answer
3k 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
827 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
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
596 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 ...
0
votes
0answers
442 views

CentOS 6.2 Hangs on Boot, /bin/sh: error while loading shared libraries

I have a Dell R310 server. Installed CentOS 6.2 (minimal) and it won't boot. It hangs at the following error. /bin/sh: error while loading shared libraries: /bin/sh: supported version 25416 of ...
2
votes
1answer
105 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
4k 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
987 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
6k 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
8k 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
1k 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 ...
4
votes
3answers
4k 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
893 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
0answers
128 views

CentOS Volume Group remount after reboot

Using centos 6.2x86_64 /dev/sda is primary disk /dev/sdb is secondary disk. The volume group size of /dev/sda was not enough so i increased the size of volume group using vgextend command. It was ...
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
183 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
202 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
828 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
294 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
900 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
808 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 ...