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.

Filter by
Sorted by
Tagged with
7 votes
2 answers
3k views

Reasoning behind RHEL's use of LVM even on a single disk install

When doing a default install of RHEL5 and higher (at least - don't recall if it has done it longer), Anaconda will setup your drives into a logical volume group - even if there is only one drive. ...
warren's user avatar
  • 18.7k
7 votes
2 answers
13k views

RHN Satellite / Spacewalk custom channels, best practice?

I'm currently setting up RHN Satellite, and all works well. I'm in the process of creating custom channels, since we have certain software which should be available for all nodes of satellite, e.g. ...
tore-'s user avatar
  • 1,396
7 votes
1 answer
26k views

centos/redhat: change open files ulimit without reboot?

The hard limit of the number of open files is set to 1024 on my machine. I changed /etc/security/limits.conf and added 'idror hard nofile 65000'. In my shell I tried ulimit -n 65000. I get 'ulimit: ...
IttayD's user avatar
  • 1,107
7 votes
3 answers
2k views

Why is bluetooth support one of the default packages in "Base" when doing an RHEL/CentOS server install? [closed]

This is an issue that has bugged me for a long time - why would the default server installation of RHEL?CentOS include desktop/laptop packages like bluetooth? When using kickstart, I will usually ...
warren's user avatar
  • 18.7k
7 votes
2 answers
2k views

Should I bond iSCSI network connections?

I'm setting up some iSCSI storage (Lenovo) along with a physical server running RHEL7. The server has 2 NICs for the main LAN (bonded) and 2 NICs for the iSCSI network. The Lenovo storage has 4 ports ...
frozenhelp's user avatar
7 votes
1 answer
8k views

yum install local rpm throws error if up to date

When installing rpm packages from local file directory it runs fine the first time sudo yum install packages/* -y --disablerepo=* When the same thing is run the second time as part of automated ...
JackLeo's user avatar
  • 258
7 votes
3 answers
14k views

Which CentOS security policy is suitable for a single-purpose server?

I am exploring CentOS as a possibility for hosting a number of servers (mail, web, database, etc). Each machine will have a single purpose, and security is a priority. At the first installation, I am ...
spraff's user avatar
  • 549
7 votes
2 answers
9k views

Why has CD/DVD host passthrough been disabled in CentOS 7 \ RHEL 7?

I'm learning to use the KVM on CentOS 7 right now. For some reason Red Hat decided to disable the possibility of installing an OS on a virtual machine from a CD\DVD-Rom in RHEL 7. When creating a new ...
golem's user avatar
  • 357
7 votes
1 answer
21k views

How to run HTTPD as specific user(s) and not by nobody?

Currently, top shows me that almost all httpd processes are run by nobody. "Almost" because 2 of them are run by root. How can i make it in such a way that given i have users say: dartagnan, porthos, ...
Jiego Cordoviz's user avatar
7 votes
2 answers
7k views

How to solve call trace produced by security_ops_task_setrlimit() with bind

I have a machine with CentOS 5.9 and VMware installed. Currently I am using BIND 9.3.6-P1-RedHat-9.3.6-20.P1.el5_8.6 (default shipped with distribution). When I restart the machine, I can see this ...
shakaran's user avatar
  • 356
7 votes
2 answers
3k views

Linux kernel crash dump analysis: Guidelines

Note: 2.6+ Kernel Or older 2.4 Question: Generic suggested guidelines with regards to Linux kernel crash dump analysis Skills required, i.e. Kernel compilation skills etc Suggestions: Detailed ...
Aaron's user avatar
  • 229
7 votes
2 answers
24k views

Account Lockout with pam_tally2 in RHEL6

I am using pam_tally2 to lockout accounts after 3 failed logins per policy, however, the connecting user does not receive the error indicating pam_tally2's action. (Via SSH.) I expect to see on the ...
Aaron Copley's user avatar
  • 12.7k
7 votes
3 answers
13k views

How do I pass arguments from the PXE command line to a kickstart %pre, %post script?

Basically I want an ARGV like usage on the PXE command line, but I can't see any documentation to do this. basically I want to pass something like scientific-linux-6 HOSTNAME VLAN then in %pre hit ...
EnabrenTane's user avatar
7 votes
1 answer
6k views

CentOS 5 - realtime patch

Where can I download precompiled CentOS 5 kernel including realtime patch? Or I need to compile it myself (if yes, how to do that)?
Dima's user avatar
  • 485
7 votes
3 answers
34k views

CentOS not detecting Intel 10G (ixgbe) interface

I have a server with CentOS 6.5 installed with 2x 1Gbps Ethernet Cards, I have added a new interface (Intel(R) 10 Gigabit PCI Express Network) but the problem. is the system is not detecting the ...
Areeb111's user avatar
7 votes
2 answers
2k views

Implications of 100% utilization on dm device

We have a RHEL 5.6 server here with 4 active paths to a single LUN. We suspect that it's not able to cram enough IOs down the pipeline to the XIV on the other end: mpath0 (XXXXXXXXXXXXXXX) dm-9 IBM,...
MikeyB's user avatar
  • 39.7k
7 votes
5 answers
13k views

Comparing OS configuration of two RHEL servers

What is the best way to compare the OS configuration of two (or more) RHEL 5.X servers? Are there any tools/packages available to do this? Note, I am mostly looking for tunables OS (kernel ...
Patrick's user avatar
  • 81
7 votes
4 answers
35k views

yum repo responding with [Errno 14] HTTP Error 403 - Forbidden

I am trying to set up a YUM repository containing some RPM packages from our nightly Jenkins build. The YUM repo resides on the Jenkins server in a repository folder [path to repo]/jenkins-nightly-...
scottysseus's user avatar
7 votes
2 answers
8k views

Installing multiple mongoDB versions on the same server

I have installed a 2.4 mongoDB version and I'd like to compare against the recently released 2.6 version. I want to know if possible to do a clean new install rather en an update to see if those two ...
pedrommuller's user avatar
7 votes
1 answer
7k views

Using systemd for Apache environment variables or SetEnv?

My System: CentOS 7.2.1511 (Core) Apache 2.4.6 I have quite a few environment variables I would like to add to Apache. I am currently doing it by adding into my /etc/httpd/conf.d/vhosts.conf file ...
Jeffrey Wen's user avatar
6 votes
2 answers
7k views

Which CentOS Version Should I Use?

I have some used rackmount servers (Dell R610, HP DL180 G6, HP DL360 G5) that I intend to use for on demand video streaming in a colocation environment. I would like to have them all on the same OS to ...
Alan's user avatar
  • 553
6 votes
4 answers
10k views

Can Linux report IP conflicts?

If a Red Hat or other Linux host has a conflict with an IP address, is there a way to have it display a warning message on the console or in a log, like Windows and MacOS do? i.e. my computer has an ...
James's user avatar
  • 627
6 votes
3 answers
87k views

How can I remount an NFS volume on Red Hat Linux?

I changed the user id of a user on an NFS client that mounts a volume from another server. My goal is to get the 2 users to have the same id, so that both servers can read and write to the volume. I ...
RubyRedGrapefruit's user avatar
6 votes
4 answers
23k views

How do you only tar files in a directory based on a specific file name?

I want to create a tar ball and include only the files in the directory that start with a specific filename. For instance I have apples-x.x.x and oranges-x.x.x, and I only want to tar the files ...
hsatterwhite's user avatar
6 votes
6 answers
6k views

The real differences between Red Hat Enterprise Linux (RHEL) and CentOS

I know that "the vast majority of changes made (by CentOS team ndr) will be made to comply with the upstream vendor's re-distribution policies concerning trademarked names or logos" But I'm looking ...
w00binda's user avatar
6 votes
2 answers
9k views

What is the difference between mod_nss and mod_ssl?

I am setting up an apache subversion server to use secure certificates for kerberos authentication with an AD domain. I have successfully got it to work with mod_ssl with ssl.conf config below, but ...
user55570's user avatar
  • 468
6 votes
2 answers
25k views

How do I export variables for all users in Linux?

I am using Red Hat. I need to export variables for all users (permanently). How would I go about doing that? I know there is a file for a single user where I can set permanent variables.
user avatar
6 votes
2 answers
18k views

Where is the gem command in RHEL6?

I just built RHEL 6 and I need to be able to install ruby gems, etc. I have the ruby 1.8.7 packages installed but there is no gem command anywhere? What gives?
NJ01's user avatar
  • 219
6 votes
2 answers
11k views

Safe way to clear all packages from yum cache?

I know that yum clean all doesn't necessarily clear all the package files. I know from "Maybe you want: rm -rf /var/cache/yum" that I might have to, good grief, bluntly clear all of /var/...
Steve Summit's user avatar
6 votes
4 answers
15k views

Installing yum repositories that are specified in kickstart file

Right now, I am specifying repositories to be used for installation in the kickstart file via the repo directive. I am then, re-specifying those repositories to be added to the /etc/yum.repos.d post-...
Belmin Fernandez's user avatar
6 votes
3 answers
11k views

What is the order of precedence for RedHat network configuration files?

This has been bugging me for some time, because I haven't bothered to sit down and write down what exactly is going on. Our RedHat server network configuration is all over the map. Across a fleet of ...
VxJasonxV's user avatar
  • 941
6 votes
3 answers
35k views

CentOS 5: How to resolve php53 RPM dependency conflict with php-foo and php-common?

We are running a CentOS 5.6 system, and want to install php53 with php-mcrypt. However, this introduces a dependency conflict between php-common & php53-common. Does anyone have a good workaround ...
Stefan Lasiewski's user avatar
6 votes
2 answers
22k views

Remove --add-forward-port rule in firewall-cmd

Some time ago I added below rule for local port forwarding firewall-cmd --permanent --add-forward-port=port=80:proto=tcp:toport=3000 How can I remove this rule now?
idazuwaika's user avatar
6 votes
3 answers
18k views

pvs not showing correct available space

Recently installed RHEL7 on a PowerEdge R320 with the following drives: 2 x 300GB sas 15k 2 x 1TB sas 7.2k When setting up LVM during installation I purposefully left over several hundred GB free in ...
a coder's user avatar
  • 799
6 votes
1 answer
10k views

`ls` causes Segmentation Fault on a specific directory

I used $HOME/.local as prefix to install some applications without root access. There is one directory inside $HOME/.local that I can't execute ls command: [tuananh@server lib]$ ls Segmentation fault ...
Tuan Anh Hoang-Vu's user avatar
6 votes
1 answer
8k views

Redhat Linux Kernel what does GA mean?

When Redhat release a new major version such as 5.3, 5.4,5.5 .. the kernels seem to be referenced as GA , what does GA stand for ? example in this info doc http://www.redhat.com/archives/rhelv5-...
AndyM's user avatar
  • 968
6 votes
3 answers
10k views

How to build a driver disk for an anaconda install (CentOS 6)

I need to make a driver disk for anaconda. This disk would contain an updated module for the network card of a somewhat recent laptop and the goal is to get a network install of CentOS 6.2 working. I ...
chutz's user avatar
  • 8,000
6 votes
2 answers
16k views

glibc 2.7 on CentOS 5.5?

I'm trying to run a program that requires glibc 2.7, but I'm running it on CentOS 5.5. Is there any way to do this? I can't upgrade to CentOS 6.
CommunistPancake's user avatar
6 votes
3 answers
5k views

Using Puppet to install software "bundles"

We're in the process of researching a configuration/systems management implementation and we've done quite a lot of demoing of Puppet. Puppet seems to excel at the somewhat simple "ensure this ...
Kyle Smith's user avatar
  • 9,733
6 votes
4 answers
27k views

How can I reset the statistics reported by ifconfig?

I'm trying to trace a possible link problem on one of our servers' ethernet interfaces. ifconfig reports a large number of error packets. I've asked the hosting company to make some changes to the ...
Dave Cheney's user avatar
  • 18.6k
6 votes
2 answers
17k views

Why are some RPM's "not relocatable"?

An RPM is relocatable if you can install it like this: rpm -ivh --prefix=/path/to/non/default/dir package-name.rpm Without getting the following error message: error: package package-name is not ...
Matthew Moisen's user avatar
6 votes
2 answers
21k views

How to Increase the Size of an XFS File System?

I just created an Amazon AWS EC2 instance running RHEL7: [root@ip-10-184-161-46 ~]# cat /etc/redhat-release Red Hat Enterprise Linux Server release 7.0 (Maipo) [root@ip-10-184-161-46 ~]# And even ...
alexus's user avatar
  • 13.4k
6 votes
3 answers
14k views

How to enable IPv6 Autoconfiguration with static address in Linux (RHEL)

I have a static IPv6 address I would like to assign. When I add the address to the /etc/sysconfig/network-scripts/ifcfg-eth0 file and restart networking I realize I get several IPv6 addresses. The ...
network-tech's user avatar
6 votes
3 answers
19k views

NTP configuration not recognized?

I'm trying to configure NTP on my machine but it seems that the parameters I set are not being read by the system. Below is my /etc/ntp.conf file. (I applied the most basic configuration to eliminate ...
Eugene S's user avatar
  • 390
6 votes
1 answer
477 views

Red Hat Linux tuning for a single application with a few TCP clients [closed]

I know Linux is built for multi-user / concurrent-process, but at the corporate level, many of them are used for single (but big) applications to support an internal service, of which serving only ...
steveoreo's user avatar
6 votes
3 answers
22k views

How come all LDAP users are shown with getent passwd?

We are using an LDAP server with both Solaris and RHEL servers and planning to migrate more servers over to RHEL. However we have an issue with LDAP on all Red Hat servers. When I type "getent ...
ujjain's user avatar
  • 4,033
6 votes
4 answers
5k views

switchless Infiniband between two servers on RHEL 6.3

I have 2 servers running RHEL 6.3 which have 2 port Infiniband cards >lspci | grep -i infini 07:00.0 InfiniBand: QLogic Corp. IBA7322 QDR InfiniBand HCA (rev 02) I'm interested in connecting them ...
exfizik's user avatar
  • 161
6 votes
4 answers
7k views

Is there a way to prevent password expiration when user has no password?

Okay, we all care about security so users should change their passwords on a regular basis (who said passwords are like underwear?). On redhat and centos (5.x and 6.x), it's possible to make every ...
user avatar
6 votes
4 answers
10k views

package docker-ce requires containerd.io >= 1.4.1, but none of the providers can be installed

I had this problem this morning for both update / upgrade on red hat (Linux 4.18.0-240.1.1.el8_3.x86_64), not sure what to do. Sounds like yum is completely stuck because of this. $ sudo yum update ...
martin's user avatar
  • 163
6 votes
1 answer
4k views

CentOS/Redhat kickstart script cdrom mount point

Trying to copy some files from my custom CentOS 7 install ISO to the new install in the %post section. I've tried all of these: cp /dev/cdrom/scripts/myscript.sh /etc/myscripts/myscript.sh cp /dev/...
Kiksy's user avatar
  • 327

1
3 4
5
6 7
67