Questions tagged [rhel6]

Red Hat Enterprise Linux version 6 is a Linux distribution sold by Red Hat, Inc. for the enterprise market. It is used for both servers and desktops. Although the binaries are not freely available, the sources are, and so there are numerous projects which provide compatible rebuilds of RHEL, such as CentOS and Scientific Linux.

515 questions
2
votes
2 answers

Redhat resize Partition

First off, I'm an absolute newbie in Linux, but I've been tasked to automate the process of resizing a partition on RHEL 6.5. The server resides as a virtual machine in VMWare, and we are trying to orchestrate an activity whereby an existing VMDK…
NullPointer
  • 121
  • 1
  • 7
2
votes
2 answers

Is it possible to persist selinux port statements across reboots?

Currently we need to run something like this every time we start up: /usr/sbin/semanage port -a -t memcache_port_t -p tcp ${special-snowflake-port} It would be great if we could persist this across reboots. The answer is to compile the poicy, but…
Blue Warrior NFB
  • 621
  • 6
  • 17
2
votes
0 answers

kickstart unattended install of OEL 6.5 always asks to check media

My configuration is as follows: Hyper-V 2012 R2 Host Oracle Enterprise Linux 6.5 VM Guest being installed from an iso attached to the VM. I created a kickstart file that I have on a NFS share and when I boot the virtual DVD I press tab and append…
Brad
  • 250
  • 1
  • 11
2
votes
1 answer

pam_tally2 being called before Password entry

Based on the suggestion given in: Account Lockout with pam_tally2 in RHEL6 I have come to a working configuration, wherein account is getting locked out after 3 failed logins. Catch is that pam_tally counter is getting incremented one even before I…
Vineeth
  • 21
  • 1
  • 3
2
votes
2 answers

Linux: ps/htop show processes running for hundreds or thousands of days though host just rebooted

RHEL 6.3 We just rebooted last night and I have many many processes showing they have been running FOREVER. Examples: root 11 2 99 Feb23 ? 212429-04:31:07 [kworker/0:1] root 1 0 99 Feb23 ? 216-01:38:15…
J.D. Smith
  • 21
  • 1
2
votes
1 answer

Breaking off /tmp using LVM

I've recently been put in charge of a RHEL6 server running our NMS. I don't know much about Linux filesystem administration. What I'm needing to do is create a partition for /tmp, instead of having it sit on /. We are using LVM to handle our…
jaredready
  • 176
  • 1
  • 6
2
votes
1 answer

Foreman-Installer change certificate

Looking to install Foreman for a puppet deployment in my environment. I ran foreman-installer with defaults at first and didn't care for the SSL certificates and URLs being server01.example.com I would prefer it to use a cname like…
zjherner
  • 21
  • 3
2
votes
1 answer

RHEL SELinux context differs between matchpathcon and restorecon

I am using RHEL 6.3 and I experiment a strange behavior with matchpathcon and restorecon SELinux commands. For a specific file, I have defined a context with semanage fcontext. Then, matchpathcon tells me that the file should have the context I…
2
votes
2 answers

How to configure ssh tunneling with Putty between two RHEL servers?

I'm trying to allow ssh access from a remote RHEL server to a local RHEL box via Win/Putty gateway. Basically, I'd like to be able to do 'ssh localhost -p 512' on a remote server so that it would connect to the RHEL server in the local network. The…
spoonboy
  • 175
  • 2
  • 7
2
votes
1 answer

How to make Puppet fix SELinux types for home directories?

We are using pam_mkhomedir.so to automatically create the home directories of users logging in with SSH. There is a bug in pam_mkhomedir that sets the SELinux contexts to home_root_t instead of user_home_dir_t. The solution is using…
ujjain
  • 3,983
  • 16
  • 53
  • 91
2
votes
1 answer

Linux device names: What other non-standard storage device names are there apart from /dev/cciss

This is a question about Linux storage device names on RHEL5 and RHEL6 Most storage devices are accessible using device names /dev/sda, /dev/sdb, etc. By storage device I mean a device that could be partitioned, formatted and mounted as regular…
Sam Elstob
  • 365
  • 1
  • 3
  • 7
2
votes
2 answers

Best practices in keeping older versions of RHEL secure?

We are running RHN Satellite and RHEL 6.3 servers with a frozen RHEL 6.3-channel. What are the best practices in keeping older RHEL 6.3-servers secure? It is important that: We do not get new features that can break applications We do get the…
ujjain
  • 3,983
  • 16
  • 53
  • 91
2
votes
4 answers

How to make RHEL have persistent local hdd name?

I have 2 identical Dell R720 servers running identical Oracle Enterprise Linux(RHEL)6.4. Both servers (supposedly) configured in exactly the same way. However, one of the servers is behaving differently. Every other reboot its local HDD name(and…
Mxx
  • 2,362
  • 2
  • 28
  • 40
2
votes
4 answers

UNEXPECTED INCONSITENCY run fsck manually redhat

I erroneously restarted my server before completing a filesystem resize. Here's the command that ran successfully before restarting: lvresize -L -400GB /dev/mapper/vg_yavin-lv_home At boot, I get this error /dev/mapper/vg_yavin-lv_home: UNEXPECTED…
eisaacson
  • 525
  • 3
  • 8
  • 20
2
votes
1 answer

varnishncsa does not show any output

I have varnsih setup on my RHEL6.x. While the varnish, varnishlog and varnishstats show proper data varnisncsa does not log any data even when run without any options defined. I have lsofed all the process and ensured that they are reading the…
nashrafeeq
  • 255
  • 1
  • 3
  • 12