CentOS is a Linux distribution standing for "Community ENTerprise Operating System" and is a rebuild of "Red Hat Enterprise Linux" (RHEL). The "CentOS6" tag refers to versions 6.x of CentOS.

learn more… | top users | synonyms

0
votes
1answer
21 views

Using Apache web server for downloading a file

On a Centos-6 machine, I setup Apache web server and the default folder is /var/www/html. In the presence of an empty index.html, by entering the machine's IP address into the browser, I see the blank ...
0
votes
1answer
16 views

How can I check the power settings in Centos 6.5?

I have a headless server running Centos 6.5. Our consultant has asked that I ensure that the power settings are set up for maximum performance as opposed to balanced or energy saving. How can I ...
2
votes
1answer
24 views

yum install Puppet 4.x on a CentOS 6 machine

I have a machine running CentOS 6.6 and I want to install Puppet 4.x on it. I followed the instructions on the documentation page and I installed the Puppet repository first: rpm -ivh ...
1
vote
1answer
24 views

Installing CentOS on HP Server, SSDs connected to a RAID controller

I am trying to install centOS 6.0 in this HP Server, I contacted with the support and they said me that it supports that OS. I have no problem installing it on a SSD that is connected directly to ...
0
votes
1answer
27 views

ldapsearch not working

My goal is to test LDAP authentication from command line. I tried using ldapsearch for this. I'm using Centos 6.7 Even though I'm using the correct credentials, the following command fails ...
-2
votes
0answers
22 views

CentOS Convert iptables rule to firewall-cmd rule [closed]

I have the following iptables-rules on CentOS 6: iptables -A INPUT -p tcp --dport 22 -m state --state NEW -m recent --set --name ssh --rsource iptables -A INPUT -p tcp --dport 22 -m state --state NEW ...
1
vote
0answers
53 views

Periodical changes in Remote Host Identification (SSH) on CentOS 6

I have this following error when I tried to connect using SSH: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ ...
0
votes
2answers
60 views

CentOs, Apache24

Essentially I am installing apache2.4 onto centOs6.6 using the Apache2 CHEF cookbook. I have it working to the point where all the service commands work minus the sudo service httpd24-httpd ...
0
votes
1answer
13 views

Edited IpTables, now SFTP suddenly stopped working

I removed some things from my IPTables that were no longer needed and now my SFTP simply times out upon attempting to connect with FileZilla: Status: Connecting to ###.93.110.###... Response: ...
0
votes
1answer
15 views

How to override the previous defined PHP value via Ansible PHP role?

I'm trying to apply override PHP's opcache.max_accelerated_files setting via geerlingguy's Ansible Role for PHP onto geerlingguy/centos6's VM using the following lines (as part of provisioning ...
0
votes
1answer
42 views

Install apache 2.4 and php7 on centos 6

I would need to install / compile apache 2.4 and PHP7 to work together on Centos 6 (specifically on 6.5). I've tried the ius packages, but while apache 2.4 works correctly, it seems that php7 still ...
1
vote
1answer
65 views

Sensu executing script sudo a password is required

I have a sensu handler that gets triggered on an endpoint Linux box (Centos 6.6. Here is the script I'm using: #!/bin/bash --login sudo -n -u deploy bash --login -c "cd /var/www/vhosts/sc/current; ...
1
vote
1answer
14 views

Centos 6 - Allow sudo composer self-update for user without password

I'm trying to allow my wheel group user to run sudo composer self-update without a prompt for a password for my deploy script. I have added the bottom line below to my /etc/sudoers file: ## Allows ...
1
vote
1answer
44 views

How to remove Apache webserver in Centos 6 [closed]

I use Centos 6 64 Bit. I have installed Reverse-proxy NGINX + Apache through Directadmin. But I want to completely remove Apache service and use NGINX. How can I do this?
1
vote
1answer
41 views

Can't connect to mt PPTP VPN server

I was following this tutorial to configure a pptp connection between my centos 6 VPS and my fedora 22 workstation. There's only one thing I did different from that tutorial: I installed pptpd from the ...
0
votes
0answers
12 views

Write important libs after deleting file-libs accidentally on CentOS?

this is what seems to be my biggest fault since working on servers: I'm fighting yum rpmdb issues for the whole evening and accidentally deleted krb5-libs and file-libs. This leads to missing ...
-1
votes
0answers
17 views

Installing mod_deflate on centos 6

I want to install mod_deflate on centos 6 for apache. For some reason /etc/httpd/modules/mod_deflate.so isn't there. Do I need to run yum package installer to install the module or does it need to be ...
-1
votes
0answers
11 views

Gitlab grant user access to only one repo

We have a git repo with ~10 repositories. I need to create a repo and a user who's got accesss only to this repo. I need to forbid access to any other repo for them. Our repos are mostly internal ...
-3
votes
0answers
27 views

CentOS being used as DCHP server I need to have it service another network

I have added a new Vlan40 to a network & want the DHCP server to manage this one as well. currently It only manages a guest WIFI Vlan10. I have config. Vlan40 already & cant connect manually ...
0
votes
1answer
49 views

How to install “memcached” to php 5.6?

I had installed PHP 5.6.20 from this source. https://webtatic.com/packages/php56/ But I cannot install memcached. Just only memcache. How to install memcached to PHP 5.6? This is what i tried. ...
1
vote
1answer
35 views

Letsencrypt on CentOS 6 with Multiple VirtualHosts

I am trying to setup Letsencrypt on a CentOS server that has multiple virtual hosts. It seems to work ok on Ubuntu, and I realize that the script that does the work only works for single domains on ...
-1
votes
2answers
24 views

Unable to install Subversion on Centos 6

I am attempting to install the subversion client on Centos 6.7 but after running: yum install subversion I get the below response: Error: Package: subversion-1.6.17-1.el5.x86_64 (amberdms-updates) ...
1
vote
0answers
99 views

Not able to send mail of Hotmail with your own postfix

I purchased DigitalOcean VPS in that installing cwp.admin open source panel. Also all configuration completed like postfix,rDNS,DKIM,DMARC,SPF,DNS Settings,etc... My problem is not able to send mail ...
0
votes
1answer
20 views

Tar file extract everything in archive but one specific folder

I am using tar -xf archive.tar -C /home/user/target/folder (in a bash script) to extract the contents of a specific archive (archive.tar) into the target directory (/home/user/target/folder) so that ...
1
vote
1answer
28 views

`yum-security` functionality for CentOS?

The question here is similar, but not identical, to my (broader) question, which is: TLD;DR version Are there any tools for CentOS 6 (preferably in the base or EPEL repos) which provide any or all ...
1
vote
1answer
61 views

Centos 6; phpMyAdmin 'Cannot log in to the MySQL server' after moving mysql.sock

I recently moved my mysql datadir from /var/lib/mysql to a new directory /home/mysql mounted on a new hard drive. For neatness sake I thought it'd be nice to place the tmpdir and socket on this new ...
2
votes
1answer
26 views

Equivalent to checkrestart for CentOS?

This is checkrestart. check which processes need to be restarted after an upgrade Are there any packages which provide that functionality? Hopefully obvious, but this answer is completely ...
2
votes
0answers
45 views

Install CentOS 6 on HP ML 150 gen9 server with b140i raid controller

I have HP ML 150 with Smart Array b140i controller. I want to install CentOS 6.6, but the driver isn't built-in the ISO. I have download the Driver and install in the USB(dd). I need the command for ...
1
vote
1answer
34 views

Troubleshooting NIC Logs by NETDEV WATCHDOG

I have a CentOS 6.6 server (Linux 2.6.32-504) running on a brand new Dell PowerEdge R320. Just the other day, I began noticing problems in /var/log/messages related to one of my NICs. Note: this is a ...
0
votes
1answer
26 views

postfix + virtual users (db) : adding a donotreply address

I have a setup postfix/dovecot/mysql on Centos 6.5 following the guide at DigitalOcean. I have virtual addresses and aliases working just fine, and now I am trying to add a donotreply alias. In my ...
0
votes
0answers
20 views

Trying to find a trojan with Auditctl. Not enough information

So I have a website in Wordpress that keeps getting infected and starts sending spam emails. I have set up rules on AuditCTL on my Centos 6 server to find the culprit script but the information is ...
-1
votes
2answers
32 views

Set default Apache page away from /usr/local/apache/htdocs [closed]

Installed Centos Web Panel on my server. All is well but when going to the IP address it displays the standard Apache page, it is served from /usr/local/apache/htdocs tried changing the location of ...
0
votes
1answer
66 views

cronjob error “/bin/sh: /path/to/file: No such file or directory” [duplicate]

i've installed a python software that allows to run javascript on the server i've put the binary file (jsrunner) in this address /usr/local/bin/jsrunner so in the ssh when i try it it works fine ...
0
votes
1answer
37 views

nginx reverse proxy for Apache and a Node app

I have a CentOS VPS, running Apache. Previously I just used it for hosting a bunch of PHP and static HTML websites, under various domains, and everything worked fine. Then I developed a simple ...
1
vote
1answer
23 views

How to disable virtual IP on centOS

I have 5 Centos machines and 2 of them have virtual IP enable on it. This is causing problem for some of the application specifically MapR. Here i need to disable virtual IP address. I have a ...
1
vote
1answer
136 views

Daily logrotate error creating unique temp file: Permission denied

I have a CentOS 6.7 box that for some reason fails to rotate logs daily. I'm getting an e-mail similar to this one every day in /var/mail/root: To: root@server.nl Content-Type: text/plain; ...
1
vote
1answer
43 views

Fail2ban bans me after sending successful 5 mails

Dear all I am using Fail2Ban v0.8.13 on CentOS 6 system in order to protect my Postfix servers. Basically it works so after 5 wrong login attempts on SMTP I get banned. Fail2Ban Jail conf ...
1
vote
0answers
18 views

Trying to get qsub to work on my cluster

Trying to get qsub to work on my cluster (single node right now but more are coming) So far trying to submit with qsub was returning error: commlib error: got select error (Connection refused) ...
2
votes
0answers
145 views

How to resolve UDP packets being dropped given netstat reporting SndbufErrors

I have a server instance on an OpenStack that at a pretty high load starts loosing UDP packets. I captured all outgoing packets using tcpdump and some of them are missing, even though application logs ...
-1
votes
1answer
77 views

Getting Centos Security Updates as in 2016

I have been searching around in the net and in StackExchange as well, and found out yum-plugin-security although can be installed but it is actually not functioning for Centos-base repositories, back ...
-1
votes
1answer
30 views

Openldap Password change at first login

I have implemented openldap in centos 6, I want to push password change policy at first login. Which pwdPolicy ObjectClass and Attributes can accomplish this task ? # MyOrgPPolicy, Policies, ...
0
votes
0answers
20 views

openldap home directory permissions for different users

we are testing openldap server for a new domain in our company. How can we implement users with different permissions on home directory. we want some users to have full access to save data on desktop ...
-1
votes
1answer
30 views

samba openldap user file premissions

we are testing openldap server with samba3 backend for a new domain in our company. How can we implement users with different permissions on home directory. we want some users to have full access to ...
0
votes
1answer
46 views

Three instances of EL6, two show updates for openssl, the third does not

In remediation of DROWN, I need to update openssl packages on several EL6 servers. SSLv2 was turned off a long time ago but need to get these binaries up to date. I found that yum update presented ...
2
votes
1answer
49 views

use Sudo in apache

I am using CentOS 6 and trying to call sudo in Apache using this command: exec("sudo -u kouser whoami 2>&1",$output,$code); However SElinux add a line to output array(2) { [0]=> ...
0
votes
0answers
26 views

openldap ppolicy users login Access denied

I'm having trouble logging in User created after following steps from Youtube link https://www.youtube.com/watch?v=_ZvnNVwWk-M&list=PLrUFyg1unBb8n0SJxJqQYMo9kRcY2Mly0&index=7 This video ...
3
votes
0answers
27 views

SMB3 on centos fluctuating read/write speeds

I recently got two 10GbE cards and have been testing a SMB share from centos 6.4 with it as the SMB server. The SMB client end is a Mac and I don't seem to be maximizing the network speed because it ...
0
votes
2answers
652 views

Error while installing mysql on centos 6.7

Error: Package: 2:postfix-2.6.6-6.el6_7.1.x86_64 (@updates) Requires: libmysqlclient.so.16()(64bit) Removing: mysql-libs-5.1.73-5.el6_6.x86_64 (@base) ...
0
votes
0answers
31 views

Sendmail issue (using mutt): did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA

I am having an issue trying to send mails using the mutt command. (I am able to send mails using telnet.) echo "log" | mutt -s "log" -a some-file-name -- my-email-id@example.com My sendmail.mc file ...
-1
votes
1answer
33 views

Why is 'chattr' on CentOS 6 returning 'Killed'? [closed]

Why is 'chattr' on CentOS 6 returning 'Killed'? # chattr -i /usr/sbin Killed # file /usr/bin/chattr /usr/bin/chattr: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linker ...