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.

3259 questions
251
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
  • 18,369
  • 23
  • 84
  • 135
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,249
  • 9
  • 33
  • 40
140
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,974
  • 3
  • 15
  • 15
112
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
  • 4,037
  • 9
  • 36
  • 42
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,878
  • 7
  • 46
  • 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
  • 197,159
  • 92
  • 443
  • 809
68
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,852
  • 4
  • 17
  • 18
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
  • 197,159
  • 92
  • 443
  • 809
60
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,081
  • 4
  • 13
  • 21
50
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
  • 501
  • 1
  • 4
  • 3
50
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,983
  • 16
  • 53
  • 91
49
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
  • 801
  • 1
  • 7
  • 15
47
votes
4 answers

Is there a way to list all configurable `alternatives` (symlinks for similar commands) on the system?

The alternatives command (package chkconfig) on RHEL/Fedora manages symlinks which link a generic name to one of the alternative implementations. For example, mta group of symlinks can be provided by Sendmail and Postfix (to implement i.e. sendmail…
uvsmtid
  • 897
  • 1
  • 6
  • 13
47
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,453
  • 9
  • 33
  • 36
1
2 3
99 100