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
2answers
42 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
35 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
22 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
21 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
20 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
38 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
32 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
40 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
26 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
35 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
27 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
40 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
28 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
82 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
27 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
23 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
20 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
43 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
79 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
55 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
36 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 ...
-2
votes
1answer
66 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 ...
0
votes
1answer
44 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
30 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
29 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
26 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
34 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
77 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
56 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
10 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 ...
0
votes
2answers
37 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 ...
0
votes
0answers
29 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
24 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
54 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 ...
0
votes
0answers
28 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
39 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
50 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 ...
-1
votes
2answers
37 views

Script to delete older files and copy what is left

We have a server that runs an application that is used internally. The application has a utility that creates its own backups every 24 hours. Backups are stored in: ...
-1
votes
1answer
36 views

How to switch user in Linux with password

I have client with LDAP authenticatation, when user1 login to client, and switch to user2 (sudo su - user2), he just login without password. I want to make switching user in client with authentication ...
-1
votes
0answers
39 views

trouble in install php-devel in centos 6

i am trying to install php-devel on centos but i got an error like below Error: Package: 1:php56w-pear-1.10.1-1.w6.noarch (@webtatic) Requires: php56w-ftp Removing: ...
1
vote
1answer
52 views

How do I increase the open file limit on Linux?

I am using CentOS 7. I found out that the current value can be seen using $ ulimit -a (look for open files). Or just $ ulimit -n Then I try to edit these limits by editing the file at $ vim ...
1
vote
2answers
55 views

Ansible cannot check service status and restart it

I am new in ansible. Now I try to restart my Tomcat service. It looks like ansible cannot detect service status (started/stopped) and cannot (re)start it. Please tell how to do diagnostic? See here ...
2
votes
2answers
32 views

centos 7, sudoers rights limits

i have a task to separate duties of users on a group of servers, the system is centos 7 there is a user that i want to give every right on the server except for the right to change root and other ...
1
vote
3answers
87 views

To SSL or to not SSL

Currently I have a website that serves a lot of mixed content I have the whole website under ssl. example.com All static content such as css js and a small amount of my own images such as logos ect ...