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
79 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
63 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
330 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
68 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
15 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
17 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
153 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
62 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
75 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
67 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
56 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 ‘unconfined_u:object_r:http_sys_content_t:s0’:...
0
votes
0answers
39 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 ./node_modules/babel-cli/bin/babel-...
1
vote
0answers
21 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
43 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
37 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
30 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
50 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
41 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
89 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
29 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
60 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
83 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
121 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
33 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
34 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
40 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
62 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
159 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
190 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
12 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
95 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
25 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 2015-...
-2
votes
1answer
80 views

If a server is headless (CentOS 7) is there a way to make the GPU used as an extra CPU core?

I've got a server with centOS that has no graphical interface. I only connect to it via ssh. As a result, the GPU is probably not used for much. I'd like to make the server use it as an extra CPU core....
0
votes
1answer
168 views

RabbitMQ hanged up

I have single RabbitMQ 3.6.1-1 installed on CentOS 7.2.1511, with Erlang R16B-03.16.el7. Today I cleaned it up: rabbitmqctl stop_app rabbitmqctl force_reset rabbitmqctl start_app It worked for some ...
0
votes
0answers
31 views

CentOS: unable to verify backported fixes

Generally one uses rpm to verify backported fixes to a package like: rpm -q --changelog httpd But on my CentOS server, it's giving me: package httpd is not installed Or: package php ...
0
votes
0answers
14 views

Servers experience intermittent CPU “sensitivity”

We have a strange intermittent issue with a few servers where their CPU's become more "sensitive" to load. By this I mean that processes that generally run without issue, suddenly take up ...
0
votes
1answer
34 views

Yum cannot install php addons

I had an issue with phpmyadmin so i uninstalled php and all it's addons and reinstalled it, but yum complains it can't install php-common: Loaded plugins: fastestmirror Loading mirror speeds from ...
0
votes
0answers
33 views

User Unable to Change Group Owner of File on NFS

I've created a user, say testuser, with a home directory located in /home-nas/t/testuser/. I've added testuser and testuser1 to a group called testgroup and asked each user to log out and log back in. ...
0
votes
2answers
49 views

Granting FTP users access to multiple folders on CentOS

I'm have a web server running CentOS Linux 7.2.1511. I do most of the mundane management tasks through Plesk 12.5.30 Update #29 but I also SSH in and get dirty with the command line when I need to. ...
-2
votes
1answer
90 views

SSD DD write speed lower than HDD [closed]

I've come across a strange phenomena with a new dedicated server that's been provisioned. The server has 2x1TB HDDs in software RAID 1 and a separate 120GB SSD that is intended to be used as a ...
0
votes
3answers
236 views

AH00027: No authentication done error after upgrading from Apache 2.2 to 2.4

I recently updated Apache on Cent OS 7 from 2.2 to 2.4 and after the update I am not able to access the root folder, I get the following error: [Fri Apr 29 16:30:19.977037 2016] [core:error] [pid ...
2
votes
0answers
24 views

error in installation of ejabberd

i am trying to install ejabberd in centos . ejabberd is running but when iam try to register it showing error like this. /opt/ejabberd-14.12/bin/ejabberdctl register root testrecoveryim.test-mobile....
0
votes
2answers
52 views

EPEL Repo GPG Key Working?

I followed the below steps to grab the EPEL GPG key and I'm trying to verify if it's working. This is on a freshly installed RHEL7 system. Repo: https://dl.fedoraproject.org/pub/epel/7/x86_64/ # cd /...
0
votes
3answers
27 views

Creating swap file on CentOs uses all disk space

i Use this command in CentOS to create a 4Gb swap file but is uses all disk space!! dd if=/dev/zero of=/swapfile bs=1024 count=4G Filesystem 1K-blocks Used Available Use% Mounted on /dev/...
0
votes
0answers
84 views

Could not find platform independent libraries <prefix> after recompiled mod_wsgi

I am on centos 6, while I need python 2.7 for some reason. And I recompiled mod_wsgi for python2.7, then add python2.7 shared library path to /etc/ld.conf, then ldd, it works fine and the log shows me ...
2
votes
0answers
53 views

Amazon EC2: How to convert an existing PV AMI to HVM - CentOS - Wont boot

I've now tried every guide I've found on Google, some are posts on this forum. The instances always end up not booting with every guide/method I've tried. Probably spent about 4 days trying out ...
1
vote
2answers
65 views

ssh enter passphrase one line

I want to execute a command via ssh but my server is using passphrase, I want to make one-line only without asking passphrase. ~# ssh -t root@dev5 'echo "tes" ; bash' Enter passphrase for key '/home/...
0
votes
0answers
31 views

TLSv1.2 enabled RDP client for Redhat/CentOS?

We have just hardened our windows servers to use TLSv1.2 for RDP. I was using freerdp and rdesktop from linux as RDP clients but both seem to not work with TLSv1.2. Any ideas regarding what Linux ...
0
votes
1answer
89 views

Setting default gateway on CentOS 7 and showing it using route and netstat -r

I am following a tutorial found here on how to setup a gateway for each adapter and also a default gateway: http://linux-training.be/sysadmin/ch22.html But when I run the commands $ route and $ ...
0
votes
0answers
76 views

Installing PERC driver during CentOS install

I'm trying to install CentOS on a PowerEdge R720, and I'm running into some issues with installing drivers during setup. I've created a virtual disk consisting of a single SSD, but during install ...