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
2answers
38 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 ...
1
vote
1answer
53 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
72 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
votes
0answers
17 views

DSR on a DNS Cache Server… How

I have a doubt/problem. I have to set a DNS Cache Server that is behind a LB F5, i was asked to set 2 types of IPs, 1 IP is on 10.xx.xx.xx and its used to listen and reply all the cache store queries, ...
0
votes
1answer
101 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....
0
votes
1answer
2k views

Apache not loading: libmysqlclient.so.18: file too short

I have installed MySQL and PHP, and I tried restarting apache and here what happens when I run # service httpd restart: Stopping httpd: [FAILED] ...
1
vote
2answers
88 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
0answers
17 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 ...
2
votes
2answers
100 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 ...
-1
votes
1answer
69 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,...
0
votes
0answers
19 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
55 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
59 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 ...
-2
votes
1answer
89 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
0answers
31 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 ...
0
votes
1answer
70 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 ...
3
votes
3answers
8k views

How can I permanently set ulimit -n 8192 in Centos 7?

I would like to permanently set the open file limit for all users in Centos 7, but there seems to be a lot of conflicting information out there on the googles. Thanks!
0
votes
1answer
35 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
53 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 ...
5
votes
3answers
3k views

Centos 6.3 install reiserFS support

I'm trying to change an existing ext4 partition to reiserFS in Centos 6.3 64bit. I've updated the kernel to Centos Plus: First, I've updated /etc/yum.repos.d/CentOS-Base.repo: In the [centosplus] ...
0
votes
3answers
4k views

dovecot start “Address already in use” error

I'm currently trying to use some "me@mydomain.com" adresses on my dedicated server (Centos5). To do so, I'm tring to launch dovecot with /etc/init.d/dovecot start, but I get the following error ...
3
votes
2answers
1k views

Why can't I setup an SSHFS share? “OSXFUSE file system is not available” error

I'm trying to setup an SSHFS share from my local machine to a remote machine, but it is not working. I'm getting the error OSXFUSE file system is not available (see below). How to fix this?? FYI, my ...
0
votes
0answers
67 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: ...
3
votes
1answer
221 views

Ansible Playbook: Ensure a process is running on any one node of a cluster?

Ansible makes it easy enough to ensure that a process is running on every host. I could do something like: --- - hosts: app_cluster tasks: - name: Look for the "foo" process shell: ps -ef |...
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
1answer
35 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 ...
1
vote
2answers
1k views

Mime type received as “text/html”, server configured to send as “text/javascript”

Both firefox and chrome are showing that javascript files from my server are served as MIME type text/html. The javascript files have a .js extension. First, mime_module is installed and active: ...
0
votes
1answer
43 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 ...
-2
votes
2answers
46 views

How to login as root in vps from main server (Dedicated)

how to login as root in VPS from root main server without changing the existing root password? I have Dedicated server and use virtualizor OpenVZ for make it available for to build vps, but one of my ...
0
votes
0answers
56 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 ...
7
votes
1answer
102 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
2answers
65 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
49 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 ...
-3
votes
2answers
48 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
11 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 (...
11
votes
6answers
33k views

What permissions / ownership to set on PHP Sessions Folder when running FastCGI / PHP-FPM (as user “nobody”)?

I'm having trouble getting a number of scripts running because PHP-FPM can't write to my session folder: "2009/10/01 23:54:07 [error] 17830#0: *24 FastCGI sent in stderr: "PHP Warning: Unknown: ...
0
votes
2answers
1k views

Jenkins unreachable at port 8080

I'm setting up Jenkins for the first time. HTTP ERROR: 503 Problem accessing /. Reason: Service Unavailable I turned off firewalld. The jenkins came from the official jenkins yum repo. java ...
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
44 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 ...
3
votes
1answer
883 views

Excessive number of sleeping processes in CentOS - howto diagnose? [closed]

I have a a large number of sleeping processes, about 600, the majority of which are Apache processes. Should I kill all these sleeping processes, or will that make Apache fail completely? Why are ...
0
votes
1answer
22 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, ...
-3
votes
2answers
52 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 ...
0
votes
1answer
258 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 ...