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
votes
0answers
17 views

Having issues with lmtpd and cyrus in a CentOS server

So, I'm trying to get a simple cyrus server going but my mails keep getting stuck in the mailq. The proper error messages look like this: B6B48113A250 324 Sat Jul 9 17:06:49 user@server.com (...
0
votes
1answer
18 views

LDAP SSH + PubKey auth Fallback

I have followed this guide here : https://github.com/jirutka/ssh-ldap-pubkey In order to setup a LDAP server that allows authentication requesting both Password and Public Key in order to login. Now ...
0
votes
1answer
33 views

Can you update yum packages one at a time?

My low memory box running CentOS cannot be updated, since yum is getting killed due to high memory usage. Is there a way to automatically update all packages, one at a time instead of updating ...
0
votes
1answer
65 views

How do I safely add a missing partition to an existing RAID-1 setup?

My server had RAID-1 setup and a few days ago one drive failed. I replaced it and added it back to the array. The problem is that the 3TB drive had 2 partitions: root@s01 [~]# df -h Filesystem ...
1
vote
1answer
27 views

Rsyslog not logging events

I'm trying to stand up a syslog server to receive events from a piece of network equipment, but I can't seem to get it to actually log the events to disk. I can confirm that the connection is being ...
0
votes
0answers
23 views

Installing Google V8 in CentOS 7, missing a few files

I'm following these steps to compile Google V8 for v8js extension in CentOS 7: cd /tmp git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git export PATH=`pwd`/depot_tools:"$PATH"...
1
vote
1answer
15 views

Configure iproute2 for multiple NICs and validating

In attempt to avoid split routing for a CentOS 6 server with multiple NICs, I am working on configuring iproute2 to direct traffic that originated from a particular NIC (VLAN) to return only via that ...
4
votes
1answer
23 views

MS DFS samba share on a Linux server working for Mac and Linux clients, but not Windows

I have a CentOS 6 machine with a simple samba share that I am trying to setup as a DFS server, so it can point clients to folders on other servers. Following the samba documentation for setting this ...
0
votes
0answers
27 views

Slow NIC Speed on 2 Dell Servers

I’m getting very slow NIC speed (both LAN & WAN) on two Dell R610 servers. I have multiple other R610's with same specs, connected to the same Cisco 3750 switch and they're fine. I've done a lot ...
0
votes
1answer
44 views

Traffic is routed via unknown means

I have 2 machines running CentOS: Machine A has two NICs: 192.168.150.1/255.255.255.0 and 192.168.1.1/255.255.255.0 Machine B has one NIC: 192.168.150.2/255.255.255.0 Machine B is connected ...
0
votes
0answers
17 views

Apache keepAlive is good in this case?

I have a big server that run some cron php scripts that make curl to same server, sometime my apache has 300 active connections but in /server-status it show some of these connections as '' it mean "" ...
0
votes
0answers
41 views

DKIM - OpenSSL error: data too large for key size

I have installed openDKIM on a CentOS server running Exim as my MTA. I have gone through the configuration and tested the keys and eveything seems fine. I have created the public and private keys, ...
-5
votes
1answer
45 views

Run 64bit installer on 32bit centos cannot execute binary file [closed]

I Have a 64bit file from my old server, its ./install file now i want run it in 32bit server, see below error: [root@host ~]# ./installer.1 -bash: ./installer.1: cannot execute binary file My ...
3
votes
2answers
199 views

Is it safe to create tarball while files are in use?

Is it safe to create a tarball of a directory while the files in the directory are being used (read+write)? I want to create a backup of a 20GB directory without having to shut down my application ...
0
votes
0answers
12 views

Search highlighting in Solr (+ ManifoldCF for input)?

I'm building a search application that uses Apache Solr in conjunction with ManifoldCF for document intake. Search works, but I'm having some trouble with highlighting (i.e., getting short document ...
1
vote
2answers
57 views

Cannot ssh with shared keys on CentOS 7 server refused our key

I cannot ssh to a CentOS 7 server using pre-shared keys, I get a "server refused our key" message. Below is an ssh attempt using -vv OpenSSH_7.2p2, OpenSSL 1.0.2h-fips 3 May 2016 debug1: Reading ...
0
votes
0answers
20 views

fping duplicates on centos

I'm working on quite a few HP DL160 Gen8's and am getting duplicates in fping when checking to see if a host is down. It looks like this: <hostname> : duplicate for [0], 96 bytes, 0.50 ms ...
0
votes
1answer
54 views

How do I upgrade Apache 2.2.25 to 2.2.xx on my Centos instance?

I have a Centos instance with Apache 2.2.25 installed on it as part of the LAMP stack. All I want to do is upgrade to Apache 2.2.xx. I cannot use yum to do this because it asks me to update Apache to ...
-1
votes
0answers
18 views

Find ESXi hostname from linux vm [duplicate]

Is there any way to find out the hostname of ESXi in which CentOS VM is running? Thanks! Ryan
0
votes
2answers
32 views

cron job executing script not writing to file

I have a server running AIDE, and a cron job that runs executes a bash script and sends an email alert out. It is still a WIP, but I can't get the script to run properly. When the script is executed, ...
0
votes
0answers
10 views

Issue with firewall-cmd rich rules not blocking requested traffic

This may be (read: probably is) an issue with the commands formatting, so I figured I'd ask around. The setup is a CentOS 7 box running libreswan, xl2tpd, and pppd. It's functioning quite well as a ...
-1
votes
0answers
12 views

apache on centos not asking for client certificates

I have apache 2.4 on CentOS 7, and I'm trying to use client certificates for authentication. I have the site using comodo positive SSL, and I want to use self signed certs for client authentication, ...
3
votes
1answer
33 views

ipset behave differently when adding IP address from iptables and ipset command

I have a list that created below command ipset create foo hash:ip maxelem 40000000 timeout 180 This is how empty foo look like #ipset list foo Name: foo Type: hash:ip Revision: 1 Header: family ...
0
votes
0answers
46 views

Trying to add CPAN Perl Modules to mod_perl on Apache CentOS 7

I am running Apache on Centos 7. Some of the Perl modules that were not available via yum I have installed using CPAN in the custom location /export/home/www/perl5. I have used this custom location ...
0
votes
0answers
30 views

postfix mails stuck in mailqueue

I ran into a problem, I'm trying to set up postfix mail server (I'm using webmin), everything seems to work fine, I successfully connected outlook to POP3/SMTP, but as soon as I send an email, it gets ...
2
votes
1answer
148 views

CentOS 7 connectivity issues

I have a second CentOS 7 box that's having a lot of trouble connecting. Basically, we were running WHMCS, but a domain lookup kept failing. So the issue is IPv6 connectivity. [root@da01 ~]# yum ...
0
votes
0answers
103 views

“Oh no! Something has gone wrong.” What am I doing wrong with the default CentOS VNC configuration?

I'm trying to configure a little PC settop for work that will mostly be used as a remote backup server (basically just something that exists for the extremely remote possibility that our data center ...
2
votes
1answer
34 views

CentOS: After Kernel Update system does not boot (/dev/md2 does not exist)

after doing a kernel-update (only via yum update) my centOS 7 (64bit) does no longer boot. I now booted into rescue-mode and tried to mount /dev/md2 - this worked fine: Any ideas what I could do ...
-1
votes
1answer
19 views

Cannot chroot mounted volume to reset root password ( hangs )

I am trying to reset the root password on my instance. I boot it in rescue mode and mount the primary disk. fdisk -l sudo mount /dev/sdb1 /mnt sudo chroot /mnt The prompt just hangs here and it ...
1
vote
1answer
32 views

How to update GCE instance management services

What are the services on Linux (CentOS) that communicate with the Google Compute Engine (GCE) infrastructure to configure and manage a VM (SSH keys, for example)?  These don't seem to be updated with ...
-1
votes
2answers
19 views

Apache SSL not working in Centos 6.5

I have a simple LAMP stack with httpd/Apache installed on Centos 6.5. I've set my vhost up in /etc/httpd/sites-available/acute.conf like so: <VirtualHost *:80> ServerName acutemedical.co ...
0
votes
0answers
25 views

Web server got compromised (What to do next?) [duplicate]

My webserver got compromised (I think). The last 3 days inbound traffic spiked up to abnormal levels, in 3 days +/- 2.5TB of bandwith got used. when reading my access logs I see thousands of requests ...
2
votes
1answer
134 views

Unable to install on a Centos 6 the library “libsrtp”

I try to install on a Centos 6 the library "libsrtp" but it expects the below libraries already present under these paths /lib64 and /usr/lib64. could you please tell me how can I resolve this ...
-1
votes
0answers
13 views

Centos7 user sessions

Is there a way i can see what sessions I have open in the shell. I have searched and so far the answer is use 'w' or 'who' but this does not provide the answer. example: I have used 'su' to log into ...
0
votes
1answer
32 views

SELinux keeps blocking my Apache instance

I am using CentOS 7 and have set up a duplicate Apache instance using the systemd structure there. I can get both Apaches to run if I use setenforce 0. However, when I setenforce 1, the new Apache ...
0
votes
1answer
92 views

yum install error nothing to do (MYSQL, CentOS 7)

I'm trying to install MYSQL instead of MariaDB on my CentOS 7. I used this command: wget http://repo.mysql.com/mysql-community-release-el7-5.noarch.rpm yum install http://dev.mysql.com/get/mysql-...
-3
votes
1answer
80 views

Gmail is blocking emails from my mail server ( Postfix ) CentOS 6

I'm unable to send emails from my mail server. I've tried every single possible solution I came across. Firstly, I WAS ABLE to send emails but they were going to spam so I decided to install OpenDKIM ...
-1
votes
2answers
54 views

IPTables chains that just RETURN, as set via iRedMail [SOLVED]

I hate to ask this, but I'm pretty sure I have everything configured correctly with iRedMail as the host for my email server/VPS re dovecot, postfix etc (even though everything is pretty much done ...
2
votes
0answers
44 views

ZFS on linux with centos 7.2 sync reads slow to crawl when executing sync writes

We are running ZFS on linux with centos 7.2. The array has 26 6tb Seagate sas drives in a mirrored configuration and then stripped across the mirrors to form our pool. 128gb arc, 480GB l2arc PCI ...
0
votes
0answers
35 views

Home Directory Permissions - Google Cloud Compute

I've setup a Linux (Centos) instance on Google Cloud Compute, I've also setup SSH as described here - https://cloud.google.com/compute/docs/instances/connecting-to-instance. I and can now connect ...
0
votes
1answer
48 views

Postfix Mail Server & hosted Gmail relay setup

I am trying to setup our web server so that it can send emails from various web apps to reset password etc. Our mail is hosted by Gmail with a custom domain eg. mydomain.com. Right now emails going ...
0
votes
2answers
229 views

Redirecting port 8080 to port 80 - how to add in /etc/sysconfig/iptables file?

On CentOS 7 Linux (acting as LAMP - and not "firewall/gateway") I have created a custom systemd service for running embedded Jetty at port 8080 as user nobody: [Unit] Description=WebSocket Handler ...
1
vote
0answers
25 views

How to troubleshoot a MySQL / MariaDB error

I've imported two Wordpress databases to a system (CentOS7), and I did not have any problems. When I try to import an .sql file (obtained with mysqldump command) for a vBulleting forum (the newest ...
0
votes
1answer
17 views

Centos 6 partition raid

Firstly, I am 20 years windows user. Recently, i decided move to unix and buy a centos server for my work. Today, i found that I missed a 3TB disk drive, it does not show on my system. I dont know ...
-2
votes
1answer
14 views

Directory mounted on a newly created logical volume does not show a correct size

I have two physical hard drives on a Linux system (server / hosting), and I created a logical volume from sda3 (partition on disk A) and sdb (the whole disk B). I then mounted it on /home directory, ...
-1
votes
2answers
56 views

DRBD Setup on 2 node CentOS 6.8

I have installed and configured DRBD on 2 centos nodes and after creating the metadata when i try to start the drbd service, its complaining that the module is not loaded. See below for more details. ...
1
vote
1answer
66 views

Can rsync be used to upgrade operating systems?

I have two identical hard disks (say HDD1 and HDD2) with 4TB capacities. I want to create install CentOS, update it, install services and create users on one of the hard disk, say HDD1. Now if I ...
1
vote
1answer
173 views

Every website on the server redirects to a foreign page, even after clean install

First of all, this is my first time posting here, so sorry if I posted in the wrong section. To get to the point: I have a CentOS 7 + Gnome server, with VestaCP configured and running 2 WordPress ...
0
votes
1answer
33 views

Massive /dev/shm RAM drive unused, safe to shrink?

today I ran the command df on my CentOS 6 - MySQL/Sphinx database server linux machine (with 80GB of RAM). Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda2 ...
0
votes
1answer
75 views

How can I configure an HAProxy server running behind a firewall?

I am having trouble with the following: I am setting up an HAProxy load balancer on CentOS 7 behind a firewall. The firewall on the HAProxy server as well as the outside firewall are configured so ...