Questions tagged [centos6]

CentOS was an Linux distribution standing for "Community ENTerprise Operating System" based on "Red Hat Enterprise Linux" (RHEL). The "CentOS6" tag refers to versions 6.x of CentOS. CentOS 6 was released on November 27, 2011 and reached End Of Life on November 30, 2020.

CentOS was an Linux distribution standing for "Community ENTerprise Operating System" based on "Red Hat Enterprise Linux" (RHEL). The "CentOS6" tag refers to versions 6.x of CentOS. CentOS 6 was released on November 27, 2011 and reached End Of Life on November 30, 2020.

1780 questions
9
votes
1 answer

Linux - CentOS6 - semanage - command not found

I am trying to solve an issue where my HTTPD is denied access to binding custom ports and I believe it has to do with SELinux. Whilst doing some googling I came across some posts where users were typing semanage followed with flags and commands to…
Mike Purcell
  • 1,708
  • 7
  • 32
  • 54
8
votes
1 answer

Linux self recovering DHCP after really long downtime?

I have a few CentOS 6/7 systems (non-production, experimental purposes) that have been configured to use DHCP for their IP address. Last week there was a big network disruption and I found that those systems had lost their IP address and the DHCP…
Niels Basjes
  • 2,196
  • 3
  • 19
  • 26
8
votes
1 answer

How do I remove a SELinux module in CentOS?

I tried but it gave an error. # ls -l opendkim.pp -rw-r--r--. 1 root root 1569 Jan 8 01:20 opendkim.pp # ls -l /etc/selinux/targeted/modules/active/modules/opendkim.pp -rw-r--r--. 1 root root 344 Jan 8 01:33…
Chloe
  • 1,164
  • 4
  • 19
  • 35
8
votes
2 answers

Install sqlite latest version on Centos6.7

I'm trying to install the latests versions of sqlite (> 3.7.5) under Centos 6.7. So when I launch install command : yum install sqlite I get the following Message : Package sqlite-3.6.20-1.el6_7.2.x86_64 already installed and latest version …
Zakaria Acharki
  • 183
  • 1
  • 1
  • 8
8
votes
4 answers

Which ports are required in order to authenticate against a ldap server in another domain which is behind a firewall?

I have a Linux domain running with sssd, let's call this domain NJ. I'd like machines on the NJ domain to be able to authenticate against an Active Directory ldap server which resides on a different domain (called NY) which is behind a…
Itai Ganot
  • 10,644
  • 29
  • 93
  • 146
8
votes
5 answers

How do I Control the Ordering of Network Interfaces?

I'm attempting to configure a machine with 3 NICs, the first two are built-in GbE controllers, the third is a 10GbE controller. Via NetworkManager, I've configured the 'first' GbE NIC (which at the time was eth0) to use a static IP address. The…
Andy
  • 215
  • 2
  • 3
  • 5
8
votes
6 answers

Trying to understand the correct way to create a static route in CentOS, please assist

I've been trying to understand what's the correct way to add a static route on a CentOS 6.x machine. In some forums they say to create a file named route-dev_name (for example route-eth0) with the relevant route and place it in…
Itai Ganot
  • 10,644
  • 29
  • 93
  • 146
8
votes
1 answer

linux OOM-kill why?

. Greetings, fellow admins. I post in the hope of shedding light on the OOM-kills that haunt one of my company's machines. I cannot decide if they are legit OOMs or not. It's a Centos 6.x with kernel 2.6.32-279.1.1.el6.x86_64. Ram 8 gb, cpu…
Leo
  • 81
  • 1
  • 2
8
votes
3 answers

Is there a way to exclude specific hosts from a Nagios hostgroup?

I have a Nagios server which includes many hostgroups. One of these hostgroups include a server which I'd like to exclude from being checked for one specific Nagios Check but I want it to keep being a member of the hostgroup so it may get checked…
Itai Ganot
  • 10,644
  • 29
  • 93
  • 146
8
votes
2 answers

daemon function isn't working in CentOS 6.4

I'm trying to daemonize a process under a different user. In my init.d, I have a service which looks a little bit like this: ... start() { echo "Starting mydaemon..." daemon --user someuser --name mydaemon mycommand } ... (entire script…
Chris Watts
  • 265
  • 1
  • 3
  • 11
8
votes
1 answer

Failed to retrieve directory listing in Filezilla connecting to vsftpd

newbie here. At first I was unable to connect to vsftpd but I added port 21 in iptables (i'm running on Centos 6) and managed to make it work. But now, I can't get past Command: LIST in Filezilla Here is the log: Status: Connecting to…
AJ Naidas
  • 199
  • 1
  • 1
  • 5
8
votes
2 answers

Can I use the worker MPM with mod_php?

After reading this answer, I decided to change httpd's MPM on my server to worker. But while editing /etc/sysconfig/httpd, I noticed this comment: # The default processing model (MPM) is the process-based # 'prefork' model. A thread-based model,…
jgillich
  • 455
  • 5
  • 10
8
votes
2 answers

Creating SSH key on Jenkins Master - Centos Yum Install

I have installed Jenkins on a Centos VM as I am looking at replacing Bamboo, I have it all up and running by following the install instructions. That went fine, I then wanted to spin up a Slave, I created a second VM, created a user on it, created a…
djo
  • 397
  • 2
  • 4
  • 12
8
votes
3 answers

Is subscription-manager available for CentOS?

I'm trying to fix my updater to point to a specific release. Is the subscription-manager for RedHat only? I don't see it in my CentOS 6.3 (yum) repository.
jcalfee
  • 341
  • 3
  • 7
  • 13
8
votes
4 answers

How to reduce the SATA link speed of drive in CentOS?

How do I make CentOS run SATA drives at 3Gb/s at boot? Background: I'm having an issue with a motherboard that claims to support 6Gb/s SATA transfer speeds, but when using 4 drives on it, in a software RAID 10 with heavy disk IO, some of the SATA…
Nick
  • 4,503
  • 29
  • 69
  • 97