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

1
vote
1answer
310 views

Send email through Gmail SMTP to avoid local delivery attempts?

Background We use Google Apps for email with our domain example.com: [ec2-user@example ~]$ dig MX example.com … ;; ANSWER SECTION: example.com. 300 IN MX 1 ...
0
votes
1answer
3k views

ptp time synchronization on centos6/rhel

I need to setup time synchronization using PTP (precision time protocol). I'll get server address. I found ptpd server (version 2.1). I created startup files in /etc/init.d. But wondering what options ...
0
votes
3answers
1k views

Centos Dedicated Server Security [closed]

We have clean CentOS 5.6 setup and virtualmin on it, that's all. What type of security steps would you suggest are appropriate? http://www.wiredtree.com/supportservices/servershield.php this page ...
0
votes
2answers
2k views

How to keep SpamAssassin up to date under CentOS?

I am running CentOS 5.4 with SpamAssassin installed via yum. However the version yum installed was SpamAssassin version 3.2.5 and I am finding that this version has many outdated rules -- including a ...
12
votes
2answers
16k views

tell yum to ignore a single dependency

I'm trying to install winswitch on CentOs 6. It requires 'nxagent'. But in centos, the package name is 'nx'. Is there a way to tell yum to skip checking the 'nxagent' dependency (i installed 'nx' ...
11
votes
4answers
5k views

Should I avoid putting two SSDs in a RAID1 configuration due to performance degradation?

I have a workstation system that will have two 64GB industrial SSDs, and the plan is to have both disks in a RAID1 configuration for redundancy which is set up in the kickstart. The system will be ...
8
votes
1answer
5k views

CentOS, two nics eth0 eth1 with different subnets aren't reachable outside VLAN/subnet

I am having an issue with a CentOS 6.3 box. We have two NICs (eth0 and eth1) in the server which each have an ip from a different subnet assigned, let's say eth0:192.168.1.2/24 (gateway 192.168.1.1) ...
8
votes
6answers
10k views

CentOS How Much SWAP for 16GB of RAM?

How much SWAP would you give a CentOS install on a dual Quad Core XEON with 16GB of RAM that is going to be running a php website with a mysql backend - medium/heavy load?
6
votes
1answer
786 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 ...
6
votes
2answers
10k views

Why is the chroot_local_user of vsftpd insecure?

I'm setting up on my VPS a vsftpd, and i don't want users be allowed to leave they're ftp home directory. I'm using local_user ftp, not anonymous, so I added: chroot_local_user=YES I've read in ...
6
votes
2answers
985 views

yum-security for CentOS?

Last time I checked I was able to install yum-security in CentOS but since it doesn't use the official redhat mirrors I was unable to get it to actually work. Is there a way to make yum-security work ...
5
votes
3answers
5k views

Clear / Flush cached memory [duplicate]

I have a small VPS with 6GB RAM hosting a couple of websites. Recently I have noticed that my cached memory size is quite high - see below: Cpu(s): 0.1%us, 0.1%sy, 0.0%ni, 99.1%id, 0.0%wa, ...
4
votes
5answers
3k views

CentOS 5.5: service not stopped on shutdown

I have wrote script /etc/init.d/xxx which start/stop my service on CentOS 5.5. When I call 'service start xxx' or 'service stop xxx' everything works fine. But when I restart my machine, I see in the ...
4
votes
1answer
1k views

How can I install a custom (patched) PECL extension?

I'm trying to use the htscanner PECL extension on my CentOS 5/PHP 5.2.6 machine, but there's a bug in the latest version where a newline character is added to the end of every php_value directive. ...
4
votes
2answers
1k views

Please help to find a solution for two way, real-time synchronization on Centos 5.5 64Bit

I am in need of a real time, two way synchronization software for Centos 5.5 / 64Bit. Here's little explanation: It needs to be able to perform: Two way synchronization. It must be realtime. By ...
3
votes
1answer
6k views

dropped packets on the interface

i am running centos 6.2 and one of the interfaces has high dropped packets. this is the info from ethtool, is this is a network issue?? [root@w native]# ifconfig eth1 eth1 Link encap:Ethernet ...
3
votes
3answers
1k views

CentOS: Init scripts failing to start for some unknown reason

I'm running CentOS 6.2 - I've just migrated some applications over to a failover server, and copied their init scripts into /etc/init.d. I've made them executable, added them to chkconfig, with ...
3
votes
2answers
2k views

PHP-Mcrypt Installation

I need to install php-mcrypt on my CentOS 5.5 VPS, When I try yum install php-mcrypt, it says that it is set to be updated which implies that it is already installed. I looked in the ...
3
votes
3answers
6k views

ldap force user to change password

I am using CentOS-ds (based off Redhat-DS and 389 directory servers). I have LDAP setup, and working to authenticate users (and Sudo, thats a handy feature!). even passwd is working great to change ...
3
votes
3answers
3k views

Puppet - Any way to copy predefined custom configuration files for software on clients from the puppet master (host)?

I have been having a lot of fun coding with what puppet I have had experience with so far, and so far it looks like it can do most of what I need it to do. One thing I am not finding in the ...
2
votes
1answer
553 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 ...
2
votes
3answers
474 views

SELinux preventing Apache from writing to a file

SELinux is preventing the apache user from writing to a log file which it owns. When I do setenforce 0 it works. Otherwise it shows this error IOError: [Errno 13] Permission denied: ...
2
votes
1answer
4k views

LDAPsearch with SSL Centos- ldap_start_tls, ldap_bind: Cannot contact LDAP

I am working on a integrating LDAP authentication with my PHP Project deployed on a Linux platform. I successfully completed the ldapsearch from command line and from php code for NON SSL connection. ...
2
votes
1answer
285 views

Security concerns in Ubuntu and CentOS

In my company we are dealing with an interesting decision: which Operating System should we choose as the default one? This does not mean that every installation will be based on the chosen Operating ...
2
votes
1answer
4k views

How do I mount a raid disk

So I screwed up my grub.conf file on a CentOS system and I'm in recovery right now (it's only a test dedicated server). My disks are /dev/sda1 and /dev/sdb1 (RAID 1). Now I need to mount /dev/sda1 and ...
2
votes
3answers
5k views

How can I install pam_mount on Centos 6 x86_64?

I need to use pam_mount to mount user home directories individually at the time that each user logs in. I cant locate a package for this, at least for Centos 6. I would not have a problem building ...
2
votes
2answers
2k views

Low entropy on CentOS 5 after new mount

I recently mounted a new partition and moved /home and /var/lib/mysql to the new drive and did a symlink to them. Now I've noticed that the entropy (using munin) has dropped from around 3000 to ...
2
votes
3answers
5k views

IP tables modification to allow access to mysql on CENTOS 5 server

CentOS 5.4, with IP tables stopped, I can do it. What's the line I need to add to IPtables so I can keep it on and have remote (domain) access to the mysql databases? my current table: # Firewall ...
2
votes
2answers
4k views

(CentOS) Adding swap file failed

Im trying adding swap file by following this guide: http://www.redhat.com/docs/manuals/linux/RHL-8.0-Manual/custom-guide/s1-swap-adding.html Everything is fine, but starting swapon /swapfile, I got ...
2
votes
1answer
1k views

How can I troubleshoot a service not starting at boot?

I've got a service set up to start at boot but it's not doing so and I don't know where to look (e.g. logs) to troubleshoot it. I've verified the run level: $ grep default /etc/inittab ...
1
vote
3answers
2k views

NSLCD only connects to LDAP server in debug mode

Hey guys I searched a bit on stackexchange but could find help for my problem. I'm trying to integrating LDAP authentication on a centos 7 client, but I can't get it working, and I can't find out ...
1
vote
1answer
809 views

Errors when Compiling Nginx with Pagespeed on CentOS 7

I am trying to compile Nginx with Pagespeed from source and I am having a hard time trying to resolve the not found errors I am seeing when I add the configure settings. This is my configure settings: ...
1
vote
1answer
5k views

Apache doesn't start: syntax error…DocumentRoot must be a directory

I read all the previous answer but I couldn't fix my problem.. I'm changing the server where my website is hosted and I'm setting again apache.. Now, after installing php, fail2ban, etc i have that ...
1
vote
2answers
1k views

Is subscription-manager available for CentOS?

I'm trying to fix my updater to point to a specific release. Is the subscription-manager for RedHat only? I don't see it in my CentOS 6.3 (yum) repository.
1
vote
4answers
8k views

Postfix- open relay. How to configure so it is not?

I have setup Postfix but am having trouble with the setup. Whenever I used to send emails to the server, it reject my mails saying 'Relaying Denied', so I changed the following in main.cf: ...
1
vote
2answers
6k views

php-xml install complains of dependency php-common but this is already installed (CentOS)

How do I force php-xml to see the already installed dependency? sudo yum install php-xml complains about: php-common = 5.1.6-34.el5_8 but running yum install php-common ...
1
vote
2answers
1k views

Receiving emails on CentOS 5, Postfix

Here's the problem : Our server (CentOS 5, Postfix) can't receive mails, bat can send. Running tcpdump port 25 and sending an email from gmail shows that there are incoming request from gmail But ...
1
vote
2answers
3k views

Kernel update without reboot [duplicate]

Possible Duplicate: Reloading a kernel “live” in CentOS / RHEL 6 How can i update kernel on Centos without reboot .? I found ksplice but it is not supported for Centos. ...
1
vote
2answers
163 views

How can I tell what rpms are managed outside of yum? [closed]

I am inheriting a Centos 5 box and I'd like to get an idea of what rpms have been installed outside of yum. Bonus: How can I audit that RPMs installed with yum to make sure that they are not ...
1
vote
4answers
18k views

How to change my commandline locale after CentOS decided to change it?

So apparently, CentOS decided I was Dutch, and thus, should not have a English locale. Apart from the fact that this greatly bothers me, I am having a pretty hard time actually changing it back. ...
1
vote
5answers
182 views

CentOS box access by name

I intent to develop a centos server with lamp. What I want is connect the server to any kind of home network and access it by http://myserver. I have already successfully set a static ip but I can't ...
1
vote
1answer
3k views

Unable to access resume device in CentOS

I moved my CentOS soft-RAID1 drives to another box, and now it fails to boot. When I launched the boot process from the grub menu, I get the following error: "Unable to access resume device ...
0
votes
1answer
3k views

Elastix Upgrade fails CentOS yum missing dependency with libwat, libgsmat, and libss7

I upgraded a year old vanilla Elastix box using yum update and yum upgrade. Almost 400 packages updated but a few of them failed, including asterisk. At present the switchboard is working but I can't ...
0
votes
3answers
10k views

How to install 32-bit packages on a 64-bit CentOS

We have a lot of 32-bit CentOS 6 servers with custom rpms built for i386 and i686 architectures in our own RPM repos. We now have some 64-bit CentOS 6 servers, but would like to be able to install ...
0
votes
2answers
709 views

Can't get php-fpm with Nginx to work

Server: CentOs x86_64 /etc/php-fpm.d/webuser1.conf [webuser1] listen = 127.0.0.1:9001 listen.allowed_clients = 127.0.0.1 user = webuser1 group = webuser1 pm = dynamic pm.max_children = 15 ...
0
votes
3answers
2k views

Cent OS genkey bad certificate request error -8016

I'm trying to generate a key using the genkey command in centos 6.4. Every thing seems to go fine but I get this error message bad certificate request error -8016 and no key/cert is generated.
0
votes
2answers
1k views

Switch sending DHCP packets to wrong VLAN

I have a basic remote site with a Cisco Catalyst 2924XL switch. There are 2 VLAN's at the site: 1 Default 2 Wireless There is a single server connected via a single ethernet cable, VLAN 1 is ...
0
votes
3answers
2k views

Linux Top shows 99% Memory in Use - Is it normal? [duplicate]

Possible Duplicate: Linux high memory usage (top total mismatch) High Memory Usage on Linux Server CentOS 5.7 dedicated server. No memory intensive processes running. 12GB RAM installed. ...
0
votes
3answers
13k views

Fortinet SSL VPN Client Setup Without GUI on Linux (centos)

How can I install and setup a fortinet SSL VPN client on a VPS that's running on Centos? I have problem to do it because all guide I have are all using GUI which is not installed on the VPS to save ...
0
votes
3answers
7k views

Using iptables to restrict access to ssh by IP

I would like to allow a certain IP addresses or a whole network (source) to reach my servers with ssh connection and to drop all other unauthorized source IP addresses.