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
0answers
29 views

wget FTP directories with more than 10k folders

I have an issue trying to move servers. I have a couple of folders with 300k subdirectories and wget will only copy the first 10000 (the same number that Filezilla is capable of showing). Splitting ...
0
votes
0answers
29 views

virt-install fails when binding to spice socket

I'm trying to set up a Windows 2008 server virtual machine on CentOS 7 with virt-install. I currently have two linux containers running without issue. The command I'm running to set up the VM is virt-...
0
votes
0answers
29 views

check_esx.pl doesn't work

I try to execute a shinken plugin: /var/lib/shinken/libexec/check_esx3.pl. It fails. error CHECK_ESX3.PL CRITICAL - Server version unavailable at 'https://dc-srv03.rthd.intra:443/sdk/vimService.wsdl'...
0
votes
2answers
55 views

IPTables won't start automatically after reboot - Red Hat 7

In Red Hat 7 I'm trying to force the IP tables service to start automatically after reboot. Currently, after every reboot I need to run the command: sudo systemctl start iptables I've tried setting ...
0
votes
1answer
68 views

Replacing mysql with MariaDB

phpMyAdmin shows this version ! I am new to Linux and servers. I was using mysql 5.5 (was installed using third party repositories) as my DBMS and then I decided to replace it with the latest version ...
2
votes
2answers
81 views

Installing Mellanox ConnectX-2 10gbe PCIe Card on Centos 6

I just installed a Mellanox ConnectX-2 10gbe PCIe x8 Card into my server running CentOS 6.7. On boot, dmesg shows the mlx4_core driver being loaded automatically however I see no eth1 device ...
0
votes
2answers
43 views

Centos setting password for user, but still can't log in on it

I've got a problem, where even though i set a password and try to log in with it, it doesn't work. I created a new user called test with password test. When i try to log in i get "access denied". I ...
-1
votes
1answer
58 views

Postfix lost connection with “server/host” while receiving the initial server greeting

I have postfix on CentOS6.6 on my local server(192.168.1.103), from which I'm unable to send emails to any domains. The following is the error obtained when sent to our company email.: Jun 2 11:...
-1
votes
2answers
60 views

How can I determine which network adapter is SFP+ in CentOS?

I have a server which has an SFP+ module. We are going to utilize this to get 10gb speeds. I have adapters em1, em2, em3, em4. How can I determine which adapter is the SFP+ adapter in Centos 6.5?
1
vote
1answer
79 views

Samba 4x domain. No logon servers available

I've been migrating a server that was RHEL 5 32 bit to a Centos 7 64 bit server. This a file sharing / domain server, and I have experience setting up Windows Domains, but not samba domains. My issue ...
-1
votes
1answer
21 views

Running LVM using VNC Viewer on CentOS 6

Need to run Logical Volume Manager on my CentOS 6 vm (Created by VMWare) using VNC Viewer but when I double click on it, nothing happens. What I did is to go to System > Administrator > Logical ...
0
votes
0answers
12 views

accurately determining memory usage [duplicate]

I am not a sysadmin, so please bear with me. We have a CentOS machine with 500G of memory. We run MySQL and a few other things on it, and we want to try and maximize the OS buffers which will improve ...
0
votes
1answer
57 views

HAProxy/Keepalived and DNS

We have some HAProxy/keepalived clusters on CentOS7 and found that the virtual IPs managed with keepalived have registered in DNS. Does anyone know of a way to block dns registration for address ...
0
votes
0answers
38 views

Allow domain group ssh access

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 can also login to the local console via domusr@lab....
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
109 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
28 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
21 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
80 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
113 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
51 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
19 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
63 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
145 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
183 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
37 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
100 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
57 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
96 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
77 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
70 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
113 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
45 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
57 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 ...