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
1answer
63 views

CentOS 6 - libc.so.6(GLIBC_2.14)(64bit) is needed by

I running a web-server with CentOS6 for 5 years without problems and it suddenly started throwing errors on yum update. This is the output of yum update: libc.so.6(GLIBC_2.14)(64bit) is needed by ...
0
votes
0answers
16 views

CentOS passwd file error

A co-worker tried to change the home directory of our root user and should have entered: root:x:0:0:root:/var/www/vhosts:/bin/bash ... but instead, entered: root:x:0:0:root:/root:/var/www/vhosts ...
0
votes
5answers
54 views

How do I increase a partition size (that doesn't use LVM) without removing and re-adding it

I have /usr on a separate partition. At the moment, this is how the server is set up: [root@localhost ~]# df -h Filesystem Size Used Avail Use% Mounted on /dev/sda2 4.9G 329M 4.6G 7% ...
0
votes
1answer
32 views

How to import large mysql database (innodb , myisam tables) to MySQL NDB cluster

Mysqlcluster used:- GA 7.4, Centos 7 I have 30GB each physical memory in 2 datanodes and SSD 200GB each but the database size(cumulative size of multiple db's belonging to free radius ) is around ...
-3
votes
1answer
68 views

Dedicated server with ssd best practice [closed]

I am getting new dedicated server with 240gb ssd drive and 2 x 3tb hdd. I am thinking to put OS on ssd, and then mount uploads dir in my HOME/USER/ directory to HDD. Or maybe vice versa? What is ...
-3
votes
2answers
36 views

How to free some memory in Centos 7 with only VestaCP installed [closed]

I recently bought a server. I have Centos 7 64-bit on it, with VestaCP installed (with one wordpress blog added).. Only these things are installed, nothing else as per my understanding. However, my ...
0
votes
0answers
13 views

CENTOS: Openfire is running but cannot connect to Administration Console

I was trying to get into the Openfire Administrator Console but I didn't know the password.(the guy that set it up left the company and didn't tell anyone what the password was) I got onto the CentOS ...
2
votes
0answers
37 views

Haproxy and nginx rtmp

i am trying to use haproxy in front of rtmp nginx server it does connect but it does not play the video i have 2 servers 1 server is where rtmp nginx installed and second server where haproxy ...
2
votes
0answers
98 views

How to verify network quality before running important benchmarks?

I have multiple CentOS servers around the world. They all are running a PHP script that tests the latency of some services once per minute. The problem is that sometimes these servers have local ...
-3
votes
2answers
42 views

How unlikely it is that 2 SSD disks in a RAID 1 crash and how to recover from it? [on hold]

How unlikely is it that a mirrored raid of 2 ssd drives fail together. (Both sector 0) unreadable. Me is told that ssd generally never breaks. So that both break at same time seems unique. What ...
1
vote
1answer
27 views

How to get all SNMP items using zabbix?

Scenario: OS: CentOS 7.2 Zabbix version: 3.0 Trying to monitor some switches using SNMP protocol I'm able to monitor them without any problem, all items are working and everything is fine but ...
-1
votes
0answers
28 views

Is there a way to prevent sendmail/php scripts from relaying email through a smarthost? [on hold]

On a cPanel server, running EXIM as a mail server, I implemented a smarthost to send email though Sendgrid. I'd like to route only business email though this smarthost. That is, emails sent from ...
1
vote
1answer
59 views

Changing the IP of a vSphere guest VM using Ansible

I want to deploy a VM from a template on vSphere and change the new instance IP via Ansible (2.x). I've managed to clone the template with vsphere_guest module but I didn't find a way to change the IP ...
-1
votes
1answer
42 views

What is the best way to backup a huge directory tree? [on hold]

We have a linux centOS server with WHM/Cpanel . We use the cpanel backups but we're having issues with one account that has a very large directory tree which contains mostly images. This directory ...
0
votes
0answers
14 views

SAVE default scope global nexthop in CENTOS 7

I have two internet connections from two different ISPs and I need to balance & failover the traffic originating to and from my network between the two ISPs. My settings: FIRST ISP (eno1): ...
0
votes
0answers
15 views

Connection refused with both iptables and firewalld disabled on CentOS. Why? [duplicate]

My Rig Server A with Bacula Dir installed Server B with Bacula Client installed Both uses CentOS 7 Objective. Open port 9102 to be able to access Server B from Server A via Bacula Dir. The ...
0
votes
1answer
58 views

PPTP VPN connection, authentication failed

I trying establish VPN connection using PPTP on Centos 6. But receive error. Log file: May 11 22:50:55 server pppd[1069]: pppd 2.4.5 started by root, uid 0 May 11 22:50:55 server pppd[1069]: Using ...
-1
votes
1answer
40 views

Not within allowed paths: /usr/bin/gpg / CentOS 6

Trying to use the PHP filter_var function, but am getting the following in the error_log when it executes: [Wed May 11 10:56:22 2016] [warn] [client 24.69.156.92] mod_fcgid: stderr: PHP Warning: ...
1
vote
1answer
48 views

How to set up an SMTP Relay Server

I have 2 servers (X and Y) and an SMTP server for sending emails. X needs to send an email using the SMTP server, however it cannot resolve the host for the SMTP server. This is inevitable and I need ...
0
votes
1answer
39 views

Why is my mail blocked by Gmail (Marked as spam)

Three days ago I have installed CentOS with Directadmin what I've received from TransIP. The mailserver is now working, configured DKIM, SPF, DMARC etc. There is only one problem... mailproviders ...
0
votes
1answer
76 views

Is it possible to monitor processes with Zabbix?

I've installed zabbix-server, zabbix-proxy and some zabbix-agents on some of my dedicated servers. Everything is working and I'm quite happy with everything but I was curious about this topic: ...
0
votes
1answer
52 views

CentOS Crontab Woes

I have a shell script that I'm looking to run daily, (to update CentOS and send out a confirmation email via SSMTP). The script is working ok, and sits in /etc/cron.daily, the problem is that it's ...
0
votes
0answers
11 views

Config Vestavp with Google App

My domain example.net is running Drupal CMS and using Google APP email service. It uses DNS management from domain registrar (just point A record to server IP and it's not using Vesta name service). ...
0
votes
0answers
9 views

Varnish cache configuration not detect language country

I have a website written in java, content is returned to users based on the national language eg: default is English site aaa.vn default, as in Vietnam, the aaa.vn/vn When do I use varnish proxy cache ...
2
votes
1answer
62 views

How to configure Apache “workers” for maximum concurrency

Hoping this is a good question and can be useful for anyone in a similar situation. I recently took over from a very senior Linux administrator in my company, and for the first time I've had to set up ...
0
votes
2answers
43 views

Unable to install pcapsipdump

I'm trying to install pcapsipdump but I get the error below when I try to make. libpcab and libpcap-devel are installed, which I did via "yum install libpcap libpcap-devel". I'm currently stuck on how ...
0
votes
0answers
40 views

vpnc: no response from target (ISAKMP_PAYLOAD_NONE)

I'm attempting to connect to a vpn with vpnc. (I'm connecting from a Linux server, but for the sake of clarity I will refer to that server as the "client") I have converted the pcf file to a vpnc ...
0
votes
1answer
27 views

Postfix, SPF, and Perl: warning: premature end-of-input on private/policy while reading input attribute name

I followed this guide (http://www.thenoccave.com/2013/05/08/centos-6-postfix-spf-checking/) but I'm getting the following errors in maillog: May 8 22:15:13 ip-172-31-15-65 postfix/smtpd[1999]: ...
-1
votes
1answer
22 views

chcon: failed to change context of ‘archivejson.cgi’ to ‘unconfined_u:object_r:http_sys_content_t:s0’: Invalid argument

When I run: chcon -R -t http_sys_content_t /usr/local/nagios/sbin/ I get the following errors: chcon: failed to change context of ‘archivejson.cgi’ to ...
0
votes
0answers
21 views

NPM Permission Denied Exit Status 126

I am running a node process inside of vagrant and am getting a ELIFECYCLE (Permission denied....exit status 126) error when I run the command: NODE_ENV=production ...
1
vote
0answers
18 views

opening everything for forward only zone centos

We have a forward only server, which has forward lookup zones and no self-awareness (to resolve any name other than the zone file records). This setup was created for the clients to restrict the ...
-4
votes
1answer
39 views

Unable to upload file on FTp

My server is CentOS-6.2-64bit. I have made following changes in php.ini file: memory_limit = 7G post_max_size = 6G upload_max_filesize = 5G But unable to upload 5GB file on server. Guide me to ...
0
votes
1answer
34 views

Get server stats by user

I run a server with centos, ispconfig, about 100 websites on it. It occasionally gets high load, but I have no real way to pinpoint whats causing this. I really want to see stats of hits/cpu usage per ...
1
vote
1answer
26 views

Setting Up Node on Production Server

I Really need some help. I have this centos 6 or 7 server. I have set up my nodejs app and run on the server on port 8080. netstat also output it weshop@host [~]# netstat -an | grep "LISTEN " | grep ...
1
vote
1answer
42 views

What should i use instead of eth0:1 if it is deprecated

usually i create /etc/sysconfig/network-scripts/ifcfg-eth0:1 and /etc/sysconfig/network-scripts/ifcfg-eth0:2 but i seen in internet that it is deprecated using eth0 :1 so what can i use to the VPS ...
0
votes
1answer
27 views

rsync: no lockfile created on system reboot

After system reboot rsync starts but no lock file is created, therefore when rsync on a remote machine tries to get a directory for backup it fails with @ERROR: failed to open lock file rsync error: ...
1
vote
0answers
39 views

How to name systemd mount unit properly?

I'm trying to automount CephFS after boot via systemd I've got the next unit: [Unit] SourcePath=/etc/fstab DefaultDependencies=no After=remote-fs-pre.target After=network.target Wants=network.target ...
1
vote
2answers
28 views

How to manage versions and dependencies on a virtual machine

I am new here on serverfault so bear with me please. I am currently working with static web (angular2) and php deployment primarily on DigitalOcean and AWS using nginx and apache2. Until now debian ...
1
vote
1answer
43 views

CentOS 7 statically configured network adapter keeps getting DHCP address

This is driving me nuts. I have a CentOS 7 system. It is acting as DHCP for the network it is attached to, is running Cobbler and PXE, but it is not the gateway. It is the primary file server for ...
0
votes
1answer
35 views

Installing GD Library on Centos 6.7 and PHP 5.4

Versions: centos-release-6-7.el6.centos.12.3.x86_64 PHP 5.4.45 Installed GD using yum: $ yum install php54w-gd Installed: php54w-gd.x86_64 0:5.4.45-2.w6 Restarted: $ service httpd ...
0
votes
1answer
94 views

Mysql conflicts on Centos 6.7

I am trying trying to install RMySQL on Centos 6.7 however I am not very experienced with server stuff so bear with me. I use this command sudo yum install mysql-devel However I keep getting the ...
2
votes
1answer
28 views

Vim hangs on one specific file?

My putty session keeps on hanging when I'm in the middle of editing a file in vim. This has happened three times this morning. Hopefully it's nothing, just a glitch in the matrix somewhere, but I ...
0
votes
1answer
26 views

Allow outgoing IPv6 connections for VPN clients

I have the OpenVPN server. A client connecting to this server receive an internal IPv4 address (10.2.52.X) and an external IPv6 address. I need to perform a masquerading (NAT) for IPv4 but I don't ...
0
votes
1answer
25 views

Ambari fail on startup. No logs to check

I'm trying to start Ambari with just ambari-server start but I am getting this error Waiting for server start..../usr/bin/sh: /var/log/ambari-server/ambari-server.out: No such file or directory ..... ...
0
votes
2answers
44 views

iptables - access to port 3306 timeout

I cannot connect to mysql from a remote server. I have bind-address commented out but when I add rules in iptables to block other connections the requesting server's connection times out. I tried ...
0
votes
2answers
90 views

why does 'rsync --delete-before' delete files from target that still exist at the source?

I have a centOS 7.1 linux box with rsync 3.1.1. There are files there that I want to transfer to a FreeNAS 9.10 machine. For this I've set up an rsync daemon on freeNAS and transferring files works ...
0
votes
1answer
73 views

Failed to start nagios.service: Unit nagios.service failed to load: No such file or directory

I have been following this tutorial: $ sudo systemctl start nagios Failed to start nagios.service: Unit nagios.service failed to load: No such file or directory. What is the cause of problem? I ...
0
votes
0answers
11 views

CentOS 6 Apache 2.2 SELinux uploaded files 403 forbidden [duplicate]

We are running Magento 1.8.1.0 and for one of the upload folders in *document root*/media, namely the folder wysiwyg SELinux applies rights that makes uploaded content unreachable (403 Forbidden). We ...
0
votes
0answers
40 views

prlimit not found centos6.3

After finding out that ulimit -m no longer does anything on linux... I am now investigating the use of prlimit. I have found that this is supposed to exists as part of util-linux / util-linux-ng, I ...
0
votes
0answers
24 views

Relative symbolic links started not to work

There is a Centos 6.6 server which started to behave very strangely, it seems all relative symbolic links does not work. For example: # ls -al /etc/httpd/ total 16 drwxr-xr-x. 4 root root 4096 ...