Questions tagged [redhat]

Red Hat is an open source technology solutions provider with offerings including Red Hat Enterprise Linux, open source applications, security and systems management, virtualization, Services Oriented Architecture (SOA) solutions, server and desktop operating systems, Java application software and services, and the JBoss Enterprise Middleware Suite. Please also consider whether or not the more specific RHEL5 or 6 tags might be appropriate as well.

Red Hat is an open source technology solutions provider with offerings including Red Hat Enterprise Linux, open source applications, security and systems management, virtualization, Services Oriented Architecture (SOA) solutions, server and desktop operating systems, Java application software and services, and the JBoss Enterprise Middleware Suite.

3181 questions
242
votes
10 answers

When does `cron.daily` run?

When do entries in cron.daily (and .weekly and .hourly) run, and is it configurable? I haven't found a definitive answer to this, and am hoping there is one. I'm running RHEL5 and CentOS 4, but for other distros/platforms would be great, too.
warren
  • 17,829
  • 23
  • 82
  • 134
152
votes
9 answers

What version of RHEL am I using?

From the shell and without root privileges, how can I determine what Red Hat Enterprise Linux version I'm running? Ideally, I'd like to get both the major and minor release version, for example RHEL 4.0 or RHEL 5.1, etc.
Arthur Ulfeldt
  • 3,219
  • 9
  • 31
  • 40
139
votes
4 answers

How to handle security updates within Docker containers?

When deploying applications onto servers, there is typically a separation between what the application bundles with itself and what it expects from the platform (operating system and installed packages) to provide. One point of this is that the…
Markus Miller
  • 1,914
  • 3
  • 15
  • 15
111
votes
7 answers

How to restart nginx?

For me, I run "killall nginx" and start it by "sbin/nginx", anyone has a better restart script? BTW: I install nginx from source, i do not find 'service nginx' command or /etc/init.d/nginx
larry
  • 3,927
  • 9
  • 35
  • 41
83
votes
16 answers

Hundreds of failed ssh logins

Every night I get hundreds, sometimes thousands, of failed ssh logins on my RedHat 4 server. For firewall reasons from remote sites, I need to run on the standard port. Is there anything I should be doing to block this. I notice that many come from…
MattMcKnight
  • 932
  • 1
  • 7
  • 7
74
votes
2 answers

How should an IT department choose a standard Linux distribution?

There is a lot of community feeling about what Linux distributions are appropriate for production server environments and which aren't, however, a lot of this feeling seems religiously based, and seldom presented with supporting evidence. Assuming…
wfaulk
  • 6,828
  • 7
  • 45
  • 75
72
votes
2 answers

Why is it so difficult to upgrade between major versions of Red Hat and CentOS?

"Can we upgrade our existing production EL5 servers to EL6?" A simple-sounding request from two customers with completely different environments prompted my usual best-practices answer of "yes, but it will require a coordinated rebuild of all of…
ewwhite
  • 194,921
  • 91
  • 434
  • 799
65
votes
1 answer

Why are my XFS filesystems suddenly consuming more space and full of sparse files?

I've run XFS filesystems as data/growth partitions for nearly 10 years across various Linux servers. I've noticed a strange phenomenon with recent CentOS/RHEL servers running version 6.2+. Stable filesystem usage became highly variable following…
ewwhite
  • 194,921
  • 91
  • 434
  • 799
65
votes
9 answers

How can I check from the command line if a reboot is required on RHEL or CentOS?

I'm using CentOS and Red Hat Enterprise Linux on a few machines without the GUI. How can I check if recently installed updates require a reboot? In Ubuntu, I'm used to checking if /var/run/reboot-required is present.
Jim Hunziker
  • 1,802
  • 4
  • 17
  • 18
59
votes
6 answers

"reboot" or "shutdown -r now": what restart command is safer?

We have in our organization around ~500 RedHat Linux machines. On all the machines we installed applications and services under /etc/init.d, and oracle RAC servers. We intend to perform yum updates on all machines and after that take a reboot. So I…
dandan
  • 1,021
  • 4
  • 13
  • 21
51
votes
4 answers

How do I authenticate with LDAP via the command line?

The LDAP server is hosted on Solaris. The client is CentOS. OpenLDAP/NSLCD/SSH authentication via LDAP work fine, but I am not able to use the ldapsearch commands to debug LDAP issues. [root@tst-01 ~]# ldapsearch SASL/EXTERNAL authentication…
ujjain
  • 3,963
  • 15
  • 50
  • 88
48
votes
3 answers

SElinux: allow httpd to connect to a specific port

My system is running CentOS 6.4 with apache2.2.15. SElinux is enforcing and I'm trying to connect to a local instance of redis through my python/wsgi app. I get Error 13, Permission denied. I could fix this via the command: setsebool -P…
savagecitizen
  • 481
  • 1
  • 4
  • 3
46
votes
7 answers

How to update cURL CA bundle on RedHat?

I am running into issues where the CA bundle that has been bundled with my version of cURL is outdated. curl: (60) SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate…
Andrew
  • 3,293
  • 8
  • 32
  • 35
45
votes
6 answers

yum simulate install

Coming from an ubuntu perspective, if I want to check to see what additional packages will be installed/upgraded I can use apt-get --simulate install Is there something similar for yum? Our Red hat box (yum) is our production server,…
Michael
  • 761
  • 1
  • 6
  • 15
43
votes
6 answers

How can you tell what a server actually does?

I've been handed 3 Linux boxes, 1 front facing with apache on it and another 2 which, as far as I can tell, don't do an awful lot. All running on Redhat. The question is simple: How can I tell what the server is actually doing? Zero documentation is…
Bizmark
  • 598
  • 4
  • 5
1
2 3
99 100