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
14
votes
2 answers

Upgrade CentOS 5.x to CentOS 6.x - tips and techniques

Now that CentOS 6.0 is making its way to the various mirror sites, I wanted to solicit opinions on the upgrade process. In working with the commercial RedHat 5.6 and 6.x distributions for the past few months, I've been relying on a fresh install…
ewwhite
  • 197,159
  • 92
  • 443
  • 809
13
votes
1 answer

How do I read /var/log/lastlog

This is a 30GB file, I tried to open it in VIM It does not show anything, How can I see contents of this file This is CentOS 6.5
DevOps_101
  • 389
  • 2
  • 3
  • 9
13
votes
1 answer

How do I print the current hostname of a host in ansible

I wrote a role to edit the motd when user log into the machine, but I want to personalize the motd to print the hostname of the machine What variable do I use? or how do I do this? template? how? I used the copy module for the motd file So for…
grant tailor
  • 505
  • 2
  • 6
  • 13
13
votes
2 answers

What mailer does cron use to send mail?

I am trying to debug an issue with cron not sending mail on a Centos 6 box that I did not configure. How can I determine which mailer cron is using to send mail? The crontab man page has this to say, in part: In addition to LOGNAME, HOME, and…
cbmanica
  • 357
  • 2
  • 6
  • 14
13
votes
2 answers

Correcting CentOS System Clock

Using the time C function (number of seconds since the Epoch) shows that the time on my current CentOS 6 server is about 7 hours behind compared to another server with the correct time. How can I correct the system clock? I don't think it's drift…
user3180
  • 337
  • 1
  • 4
  • 13
13
votes
3 answers

Where is the correct place to set net.netfilter.nf_conntrack_buckets?

I'm currently trying to set net.netfilter.nf_conntrack_buckets on boot. I initially assumed that this could be done through sysctl.conf, but net.netfilter.nf_conntrack_buckets (and other net.netfilter configurations) were not applied at all. …
KelchM
  • 155
  • 1
  • 2
  • 6
13
votes
2 answers

Persist IP address alias across reboots in CentOS/RHEL 6 using "ip" command

I've always used the ifcfg-eth0:1 alias files to create additional addresses. However, in recent rhel documentation, it states that: As the ip command of the iproute package now supports assigning multiple address to the same interface it is no…
prl77
  • 430
  • 1
  • 5
  • 19
12
votes
2 answers

service httpd restart / (98)Address already in use

Out of the blue, I can't restart apache on my CentOS 6.8 web server: # service httpd restart Stopping httpd: [ OK ] Starting httpd: (98)Address already in use: make_sock: could not bind to address…
stevland
  • 165
  • 10
12
votes
1 answer

Is installing a GUI on my CentOS server a good idea?

I have a new dedicated server that I'm going to create a couple of VMs on. OS will be CentOS 6.5, for the host and the VMs. Does the GUI on the host (Gnome etc) give any real benefit when it comes to handling the VMs? Or is it just sucking up…
Codemonkey
  • 1,086
  • 4
  • 19
  • 41
12
votes
2 answers

How to remove old kernels on CentOS 6 (to free up boot partition)?

How does one determine which kernels to remove in order to free up some space on /boot partition. Here is a scenario (some background info). 1. Parititon info (in case it helps) # df -h Filesystem Size Used Avail Use% Mounted on ... /dev/sda1 …
Shef
  • 284
  • 1
  • 3
  • 10
12
votes
4 answers

How to use kdump/crash to investigate an OOM issue?

The problem A server crashed after multiple "Out of memory" messages and I am trying to pinpoint the culprit. If it is in userland - which process. If it is in the kernel - which kernel module. Details I am trying to find out how to use the crash…
chutz
  • 7,888
  • 1
  • 29
  • 59
12
votes
3 answers

How do I get openldap on Centos 6 to write anything to it's log files

I don't get any information in my log file for openldap on my Centos 6 server. This is how i configured it. SELinux is disabled at the moment. First created a folder where I'd like to store the log files. mkdir /var/log/slapd chmod 755…
Arlukin
  • 1,203
  • 6
  • 18
  • 27
11
votes
1 answer

Jenkins: Trying to add a dumb slave but the option is missing, any idea how to add it?

I've installed Jenkins 2.x on a server and now I'm trying to add a "Dumb slave" but the option is missing. In this official Jenkins tutorial it says that when creating a new node the option should appear but the only option I have is: Permanent…
Itai Ganot
  • 10,644
  • 29
  • 93
  • 146
11
votes
3 answers

IPA dynamic DNS updates only the AAAA record. Where are my A records?

I'm setting up a FreeIPA domain. In my lab are three virtual machines: the domain controller ipadc1, and two clients puppet and wordpress (creative, yes, I know). All three VMs are running freshly installed CentOS 6.4 (FreeIPA 3.0.0). I've installed…
Michael Hampton
  • 244,070
  • 43
  • 506
  • 972
11
votes
3 answers

OOM killer killing things with plenty(?) of free RAM

The OOM killer seems to be killing things despite having more than enough free RAM on my system: (Full resolution) (Full resolution) 27 minutes and 408 processes later, the system started responding again. I rebooted it about an hour after, and…
Kyle Brantley
  • 1,331
  • 1
  • 11
  • 14