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
0answers
18 views

Fail2ban fails to start when setting an action

After installing fail2ban and modifying its configuration it fails to start whenever i set the action to anything... here is the error, but note that $(action_mwl)s can will be diferent for any ...
1
vote
0answers
44 views

Configuring OpenLDAP over TLS for RHEL/CentOS 6.5

i've been banging my head against the wall with something that seems to be a simple concept. I have two RHEL 6.5 servers. One will be acting as the OpenLDAP server, and one will be a client ...
0
votes
0answers
60 views

LXC SSH too slow in CentOS7

I have a newly created centos7. I installed the LXC and create a configuration: lxc.network.type = veth lxc.network.link = lxcbr0 lxc.network.hwaddr = fe:84:8b:f1:76:8e lxc.network.flags = up ...
0
votes
1answer
43 views

Emails failing from sendmail - CentOS 7

My simply PHP script to send mail is <?php ini_set( 'display_errors', 1 ); error_reporting( E_ALL ); $from = "fromaddress@gmail.com"; $to = "toaddress@gmail.com"; $subject = ...
0
votes
2answers
55 views

I can't send a message with postfix. Error: “Must issue STARTTLS first”

I am novice with postfix. My goal is to use it with fan/nagios/centreon in order to receive notifications. I have tried many solutions found on this forum or thanks to google, but it didn't resolve my ...
0
votes
2answers
43 views

pdo_mysql is installed but missing in phpinfo

I have a CentOs 6.7 server. I have problem to make pdo_mysql available on apache2. following shows for Command line: myserver$ php -m PDO, pdo_mysql, pdo_sqlite but phpinfo(), shows only PDO and ...
1
vote
0answers
9 views

Spacewalk 1.7 - system overview - 0 packages?

I have some systems, that are long now with Centos 6 channel associated. In the systems overview of the SpaceWalk server 1.7 I see only that all of the Centos 6 systems are ok , and 0 Packages to be ...
1
vote
1answer
27 views

CW Image Optimizer opt-jpg is missing

I use Wordpress on AWS (CentOS). I tried installing the CW Image Optimizer. I'm seeing "CW Image Optimizer requires littleutils. You are missing: opt-jpg." error on the plugin settings page. When I ...
-1
votes
1answer
53 views

CentOS suspicious process

One of my web server is running on CentOS and I have been spotted that one of the processes is taking almost all swap memory. Mention process is: /opt/opsware/agent/bin/pyton ...
1
vote
1answer
46 views

CentOS 7 lighttpd startup failed

I'm running CentOS 7 and when I start lighttpd, it showed status [OK], but when I check the status, it does not actually run. There isn't much information on the startup log, but here is it: ...
-1
votes
3answers
28 views

route entries are getting updated on reboot

I have 2 NIC on server one is for internal communication with 10.10.10.X IP and other is 172.X.X.X IP for external communication. I have route table like this [root@hadoopslave1 ~]# route Kernel IP ...
0
votes
1answer
36 views

CentOS 6: SATA link down when scanning for unused drives

I recently inherited a CentOS 6 server with 8 installed hard drives. 6 of these drives were going to be configured as an LVM, but never got that far. The drives are installed and, from what I can ...
6
votes
2answers
272 views

Accelerating VPN speed using multiple connections

I have set up a VPS with openVPN running on centOS. The VPN works, but it's too slow. Is there a way to speed this up using open multiple connections like IDM or aria2? I'm using openVPN but I'm ...
0
votes
1answer
24 views

NameVirtualHost address is not supported, proceeding with undefined results

Apache Details Server version: Apache/2.2.15 (Unix) Server built: Aug 28 2015 22:18:57 Varnish varnishd (varnish-3.0.7 revision f544cd8) Copyright (c) 2006 Verdens Gang AS Copyright (c) 2006-2014 ...
0
votes
0answers
18 views

Server Error 500 Swiftpanel

I have centos 7 VPS 64 bit. I have installed php and it works fine. I installed gamepanelx running php and it works good but the gamepanel swiftpanel is not working; it gives me 500 server error. I ...
3
votes
1answer
45 views

ZFS on Centos - “No such pool or dataset” and “devices is currently unavailable”

I'm trying to create zpools on CentOS 7 (3.10.0-327.10.1), and the zpool command seems to hate "wwn-0x" IDs. "zpool status" is clear - there are no zpools currently configured on the machine. I have ...
0
votes
0answers
15 views

How to find server hacker [duplicate]

I have WHM CPanel and cxs plugin installed to scan for malicious scripts. Today I just got notified that a file has been uploaded to my server: Scanning web upload script file... Time ...
0
votes
1answer
27 views

Mount bind not taking affect in fstab - Centos 6

I am using this line in fstab to bind /sftp/feeds/incoming to /var/www/online/public_html/feeds /sftp/feeds/incoming /var/www/online/public_html/feeds none bind 0 0 But it is not taking ...
0
votes
0answers
23 views

tar --listed-incremental includes all directories in each increment?

Given a tree structure with files in it, say: source |-- bar | +-- three.txt |-- baz | +-- four.txt +-- foo |-- one.txt +-- two.txt If I do tar czvf dest/archive-1.tgz ...
2
votes
2answers
81 views

How to configure Fedora / RedHat / CentOS to delete files in /tmp on boot

How can you configure Fedora / RedHat / CentOS systems to delete files in /tmp on boot like Debian and Ubuntu?
1
vote
2answers
26 views

how to run memcached on UDP ports only

How can i configure memcached to run on udp ports only on centos box ? Right now it is listening on TCP ports by default. Here is my memcached configuration file. cat /etc/sysconfig/memcached ...
1
vote
0answers
43 views

Setup a in-arpa.addr zone for my own IP/network on my server [closed]

I have a problem I'm not sure it's possible to solve but here I go. I have two different servers, app.mydomain.com and db.mydomain.com. I cannot control them at all. Administrators setup a MySQL ...
1
vote
1answer
135 views

Daily logrotate error creating unique temp file: Permission denied

I have a CentOS 6.7 box that for some reason fails to rotate logs daily. I'm getting an e-mail similar to this one every day in /var/mail/root: To: root@server.nl Content-Type: text/plain; ...
1
vote
1answer
26 views

CentOS, Chrony, and AWS Ports

I'm wondering how to properly configure AWS security to allow chrony to sync system time on a CentOS 7 instance. I was running an earlier version of CentOS 7, which used chrony 1.29.1, and it worked ...
1
vote
0answers
23 views

How do I set up omnibus builder environment on vagrant centos box using chef?

I need an omnibus builder box for building a python cli package. I would like to use this cookbook, on this vagrantbox I am running this as root since the omnibus installer needs to check something ...
0
votes
0answers
76 views

CentOS BIND DNS Not Working Properly

Been messing with this for awhile now. I have a centosDMZ(acme.com 10.20.116.11) DNS which is suppose to take requests from two different subdomains (hq.acme.com 192.168.1.0/24 ...
1
vote
1answer
21 views

Local credentials used when radius server is available sshd pam_radius

I have pam_radius setup and it works (centos6, pam_radius: 1.4.0-2.el6), i can authenticate via the radius server using ssh. What i am trying to accomplish is that when the radius server is ...
0
votes
0answers
73 views

CentOS Patching Woes

I am having some issues doing our monthly patches. Error: Package: 1:net-snmp-5.7.2-20.el7_1.1.x86_64 (@pit-centos7-x86_64-updates) Requires: libperl.so()(64bit) Removing: ...
0
votes
0answers
49 views

Munin and mysql plugin

I've installed munin on a vps and I want to monitor mysql usage of 3 mysql servers, I have configured mysql_ plugin as follow: [mysql_*] env.mysqlconnection ...
0
votes
2answers
24 views

Errno 4 on centos 5.6 server

I try to install samba on my centos server and it shows me this code: Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile Could not retrieve mirrorlist ...
-1
votes
1answer
76 views

Getting Centos Security Updates as in 2016

I have been searching around in the net and in StackExchange as well, and found out yum-plugin-security although can be installed but it is actually not functioning for Centos-base repositories, back ...
0
votes
1answer
101 views

PHPMailer with SSL - CentOS 6.7 VPS - SMTP ERROR: Failed to connect to server: (0)

I have a CentOS 6.7 VPS and PHPMailer 5.2.14 will not connect to my mail server. I have tried troubleshooting the problem but nothing has solved my issue yet. My PHP is version 5.6.18. The only output ...
1
vote
2answers
47 views

Centos package naming for FreeIPA?

Where can I find information about CentOS package management? I installed Spacewalk recently and noticed that FreeIPA was listed as ready for an update. The versions are differently named, and the ...
0
votes
1answer
34 views

Which config values is apache loading?

I ran in some trouble today after spinning up a new server. I did the following: Installed CentOS 7 Installed Apache + PHP Securing my server with SSL (letsencrypt) But when I checked my ...
-3
votes
1answer
30 views

How to allow only my website to show my website page [closed]

I have my website example.com, some one example-hacker.com is showing complete my website.. interesting think is that they are using cloud-flare so I can't get their server IP address to block. Is ...
0
votes
0answers
23 views

squid Failed to select source for '[null_entry]'

I created a proxy server using squid on Centos 6. It works fine with http but I can't open https websites. Squid listens to 443 port and the log file shows this error: 2016/03/04 12:50:46| Failed to ...
0
votes
1answer
70 views

Zabbix - issue with LLD: lots of became supported / became not supported

I'm using zabbix 2.4.7 and Low Level Discovery who parses the output of varnishadm backend.list command and send to zabbix, ex: [root@host4 ~]# varnishadm backend.list | column -t | grep apetit ...
1
vote
0answers
17 views

Pinning packages in RH SpaceWalk on Centos 7?

Is there any way to pin rpm packages to versions in SpaceWalk? We have kernels running on rare hardware, compiling the kernel is a pain and we don't want or need to do it any more often than major ...
0
votes
1answer
54 views

Cloudlinux + CageFS + PHP Selector - how to update default php.ini for each PHP version or for each domain account?

My server runs Cloudlinux 5.11 with CageFS and PHP Selector. Default PHP version is 5.3. I have one account using PHP 5.3, one account using PHP 5.5, and one account using PHP 5.6. I'm trying to ...
0
votes
0answers
13 views

Adding mfa verification code to ssh command?

Im trying automate the login process using shell script. I got MFA + pub key authentication working. However Im stuck at how to pass verfication code as a parameter to ssh command. I tried go ...
0
votes
1answer
28 views

Establishing new IP address when launching multiple instances of the same Oracle VirtualBox image

I've created a new Oracle Virtual Box image and exported it to an "Open Virtualization Format Archive" (ova file). The original image used "NAT" settings. I've since changed it to "Bridged Adapter" ...
0
votes
1answer
53 views

Can't open port

I can't open port 25 and 587. Background information: I am running CentOS 7 with firewalld and httpd. Now I want to run a mailserver. I started with installing postfix. Then I added firewall rules for ...
1
vote
3answers
134 views

CentOS7 Kerberos Auth: Improper format of Kerberos configuration file;

I'm working on setting up a Squid 4.0 explicit proxy for group based AD authentication against a Active Directory domain (Server 2012 R2) with SSL bumping on a minimal CentOS 7 (64b) install. The ...
0
votes
0answers
14 views

How to set up vm delay start when KVM host boot? [duplicate]

I have a KVM host server and running 6 VMs on it. When the server recovers from power failure, all the VMs always autostart at the very same time. I want to autostart one by one, preferably the ...
3
votes
1answer
167 views

Upgrade cURL to latest on CentOS 5.8

I need to update cURL on my MediaTemple DV server with CentOS. My server is running cURL version: 7.15.5 and CentOS version: 5.8 (final). I've seen commands like yum update curl, but just want to be ...
0
votes
0answers
16 views

How do you speed up an SQL query on a huge database? [duplicate]

I'm currently dealing with a table that has 30 million rows of 8 columns. I'm only selecting the columns that I need. SELECT column_a, column_b FROM table_name This is happening from a python script ...
-2
votes
2answers
55 views

How to set BIND9 with the ability to resolve internal domain addresses (CentOS) [closed]

I have some problem. I have a domain controller on windows server 2003 with dns server. IP that dns is: 192.168.110.5. For example, i have some computers with names: guard-01.piduna.pp.ua. ...
0
votes
1answer
54 views

KeepAlived on different subnets

I am trying to setup keepalived on ESXi based setup where 2 physical box have ESXi installed and each one having a node which works as load-balancer using HAProxy. Now in order to achieve high ...
0
votes
0answers
28 views

Upstart - how to convert ubuntu daemon to centos?

On Ubuntu this upstart service did a brilliant job at making sure the app always stayed running (and logged) start on started mountall respawn respawn limit unlimited exec node ...
0
votes
0answers
44 views

High RAM usage by Apache without any visitors

I have recently bought a VPS server with the below configuration Centos 6 64bit 20GB SSD 512MB RAM 512 VSwap I have hosted around 10 websites. In that 4 of them is WordPress. Others are ...