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
27 views

Trying to restrict ssh access to domain groups

Centos 7 joined to 2012 R2 AD domain Joined to AD domain with realm join and now I can ssh in as any domain user (ssh server -l domusr@lab.local) I want to only allow certain domain groups to ssh in ...
-1
votes
1answer
29 views

Uploading files in CentOS - permission denied

I am trying to upload files to a web server running Apache/2.4.6 on CentOS 7 using a simple Perl script. I get a permission denied message. My code: [user@machine cgi-bin]$ cat test.pl #!/usr/bin/...
0
votes
0answers
107 views

polkit.service - Authorization Manager fail to activate

Major issue with polkit service how to fix this its trying and failing to activate polkit every time. Sorry if noob question. systemctl status polkit.service ● polkit.service - Authorization ...
0
votes
0answers
28 views

Fail2ban on CentOS, dovecot filters regex not matching logs

I'm starring at this regex for some time now and it seems perfectly matching lines from my log files but I can't get it to work, not even with modifications. I suspect the problem might be with the ...
0
votes
0answers
16 views

Having different two different public IPs or Xen guests

I'm using XenServer and CentOS. I have successfully configured two Windows Server guests and they both work properly. On the host machine, I have xenbr0, xenbr0:0 and xenbr0:1 (for two different IP ...
1
vote
0answers
27 views

puppet master is not executing autosign script

I have created a shell script to autosign Puppet certificate requests at /etc/puppet/autosign.sh and have configured this path in the puppet master's configuration. autosign = /etc/puppet/...
0
votes
0answers
20 views

Apache 2.2 on CentOS 6.6: SSLSessionCache shm set, file never written?

My site runs on CentOS 6.6 and Apache 2.2 over HTTPS. I'm trying to use SSLSessionCache to speed things up. This is my config: SSLMutex file:/var/log/httpd/SSLMutex SSLSessionCache shm:/var/log/...
1
vote
1answer
75 views

OpenSSL's version on centos 7.2

I am using centos 7.2, the version that comes with centos 7.2 is 1.0.1 , I intalled 1.0.2 form source, then view the version,but it's still 1.0.1 . What should I do if I want to use 1.0.2? [root@...
0
votes
1answer
105 views

httpd service refuse to start after packstack installation

Centos 7 Openstack single machine setup After packstack installation I did reboot my computer and after it turned on, httpd service failed to start httpd.service - The Apache HTTP Server Loaded: ...
1
vote
2answers
48 views

id command is not showing secondary groups

During some days I've been working on a LDAP integration. Now, after configure almost everything that I needed, I came up with this last wall: The need of use secondary groups which are taken from the ...
0
votes
0answers
18 views

Limiting the amount of httpd processes for a single Virtual host?

I have the following issue. I have a CentOS based VPS that hosts two virtual hosts, one serves the customer - the other maintains an API that the first one relies on. Now, here comes my problem. If ...
0
votes
0answers
22 views

CentOS network bridging and Xen

I'm using CentOS 6 and Xen 4.6 on a bare metal machine. I'm trying to install ubuntu as a guest but I fail in the networking section. (I use netboot image). I have two eths named eth0 and eth1. ...
1
vote
0answers
61 views

Failing to connect Azure CentOS VM via Sentora FTP

I created CentOS 6.5 and I installed Sentora 1.0.3 on Azure VM Service. But i couldn't make a connection with Sentora FTP account. I'm trying to connect Sentora ftp account with FileZilla. I get ...
0
votes
0answers
62 views

Fail2ban 0.9.3 not working on centos7.2

I'm really struggling with this. The default [sshd] jail works fine. Status for the jail: sshd |- Filter | |- Currently failed: 0 | |- Total failed: 0 | `- File list: /var/log/secure `- Actions ...
0
votes
0answers
42 views

cgroup same process with different resources

I have a Jboss application server installed through source and running multiple instances(say 3) of JBoss as a same user in a single machine on different ports. Using cgroups, I'm trying to do ...
1
vote
2answers
96 views

How have phpMyAdmin (with a Alias) with a virtual host subdomain of a different documentRoot

To increase security in my server I created an subdomain only for admin, like admin.domain.tld and usually i access phpmyadmin by going only at admin.domain.tld/mysqladmin as in config file: <...
0
votes
1answer
139 views

ntlmssp_handle_neg_flags: Got challenge flags[0x60898205] - possible downgrade detected! missing_flags[0x00000010] - NT code 0x80090302

I'm trying to access SMB/CIFS resource on NetApp, using following and getting error: $ cat /etc/redhat-release CentOS Linux release 7.2.1511 (Core) $ rpm -qa | grep ^samba- samba-client-4.2.10-6....
2
votes
2answers
104 views

Why does Debian have RPM and Yum packages?

I know that Debian comes with an awesome package manager called APT which is capable of installing .deb packages. I know that RHEL comes with a package manager called Yum and is capable of installing ...
0
votes
0answers
49 views

Fail2ban error 'database is locked' when trying to start / restart it

I am currently reinstalling fail2ban to have a fresh version, because i've modified it quite a lot of time since I installed it for the first time, and I wanted to default settings for it. Once ...
-2
votes
1answer
90 views

Provision a virtual server within CentOS 7? [closed]

This may be a really silly question, but I currently have a dedicated server and I have an incredible amount of redundant hardware. I'd like to be able to provision virtual servers running various ...
0
votes
1answer
171 views

Unable to start cron service [duplicate]

Few days ago I added a cronjob using crontab -e which should run every 6 hours, however I noticed that cron job is not working. When I execute my script manually it works, and it should write some ...
0
votes
1answer
36 views

godaddy vps dns setting

I have goDaddy Domain with this dns record a @ 107.150.xx.xx 600 seconds Edit cname email email.secureserver.net 1 Hour Edit cname ftp @ 1 Hour Edit cname www @ 1 ...
-1
votes
1answer
95 views

trouble deploying django under apache on centos with mod_wsgi

EDIT 2: I got this running mostly! It was indeed a SELinux issue. So most things work, I get a cannot write to a read only database error. And some of my things that seem like static are not found,...
-1
votes
1answer
56 views

How can I connect a group of vms in Azure?

I have a number of Azure Linux VMs. I am able to ssh into all of them using the public azure connection info, however I am not able to ssh from one vm into another vm using the private info. I have ...
0
votes
0answers
88 views

Postfix: status=deferred (delivery temporarily suspended: lost connection while receiving the initial server greeting)

Good day all, I have installed postfix 2.6 on my centos and trying to sent emails through a smarthost, to which I can telnet on smtp port, and failing with subject error. My main.cf is as follows: ...
0
votes
0answers
121 views

Why and How to set Public IP on Loopback Interface

I been using this forums for many years and this is the first time im in need to open a question, i search across the internet but i could not get an specific and clear answer, probaly because i dont ...
0
votes
2answers
45 views

Postfix Catchall - Avoid Spam

I've 2 accounts on my CentOS server configured with catchall email accounts. Lately I've been receiving bounced emails with virus that were supposedly sent from my server account, Ex: somestragename@...
0
votes
1answer
70 views

CentOS 7 Virsh - Allow Non Sudo Users to Interface with QEMU / KVM / Virtual Machines

Is there a way to allow non sudo users access to KVM QEMU virtual machines in CentOS 7? I want to allow a non-root user to manage KVM guest virtual machines without having sudo access. Mainly, I'd ...
0
votes
0answers
68 views

Redhat 6.8 - Where to install php-mssql

I tried following tons resources online to install php-mssql on Redhat 6.8 by using the Extra Packages for Enterprise Linux (EPEL) repo and it says that "No package php-mssql available". I made sure ...
0
votes
2answers
73 views

Synchronize RPM repository atomically

We have a RPM repository (on a Centos 6 machine) that we need to push to another machine. So far we've been using rsync -av --delete to simply push the repo directory over the network. This makes the ...
0
votes
1answer
50 views

Apache Tomcat requires an abnormal amount of time to start in CentOS 7

I am experiencing a weird issue on a CentOS 7 virtual machine and I can't see what is causing it. I created the VM on Digital Ocean and set it up as follows: 1) modified /etc/hostname with ...
0
votes
0answers
13 views

centos 7 /etc/lvm/archive flooded

not sure how to track down this but /etc/lvm/archive is seeing multiple entries created per minute. there is no cron job set up to do such archiving. also other similar servers do not have this issue (...
7
votes
1answer
112 views

Trying to setup mail server, can't get ports (25, 587) to work

I've searched everywhere and I'm really struggling with this one. I think I've tried just about everything. Background info VPS with CentOS 6.7 Postfix 2.6.6 dovecot, amavis, mysql, fail2ban I've ...
0
votes
1answer
42 views

LVM file locking error after moving extents to new physical volume

On a CentOS 6.7 system, I started getting SMART errors on a disk that was part of a volume group under LVM. So I used the recommended procedure: add a new disk to the system, create a new physical ...
0
votes
0answers
23 views

We are constantly getting CPU Spikes and site slows down [duplicate]

Our website works fine and fast, then out of nowhere cpu spikes to 100% site becomes really slow and after 10 minutes it is back to normal, this is constantly happening. How would one diagnose this? ...
0
votes
0answers
56 views

Building CentOS kernel from RPM with patches (but missing files that are in the SRPMs)

I have a hardware system that I am running CentOS 7 on. I would like to add some patches to the default CentOS kernel, since I have some custom hardware to support, but I also want to track the ...
0
votes
1answer
23 views

Build rpm on CentOS for RHEL

I need to install some software which is not available pre-compiled on a client's RHEL Server. I decided to create a rpm for easier installation on multiple systems. As i have no RHEL subscription, ...
0
votes
1answer
627 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
31 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
74 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
62 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
85 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
61 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
32 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
73 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
114 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
57 views

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

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
55 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
vote
1answer
163 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 ...
0
votes
0answers
29 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): 152....