Red Hat Enterprise Linux (RHEL) is a commercially supported Linux distribution.

learn more… | top users | synonyms (1)

1
vote
1answer
45 views

Disk space in windows not representing actual qcow2 image size

The disk space shown in Windows running in KVM does not represent the actual disk space available for the qcow2 disk image. The Windows Management Console shows there is 100 GB for the drive, but ...
1
vote
2answers
59 views

How to monitor the output as the process runs on a RedHat Linux server?

You need to run a process on a RedHat Linux server that takes a little while to run. You want to monitor the output as the process runs but need to guarantee that the process won't terminate if you ...
0
votes
0answers
68 views

Kickstart: --percent option along with --maxsize in RHEL 7.1

I have a kickstart to automatically create LVs based on a percentage instead of a fixed size. Currently, my kickstart is working as expected, but in installations with large HDs the LVs sizes are ...
1
vote
1answer
112 views

Unknown TCP Service when installing stunnel

I am trying to install stunnel on a CentOS 7 server, but I am getting an Unknown TCP Service error. How can I resolve this error to complete the stunnel installation? I installed and tested ...
1
vote
1answer
112 views

enabling smtp on port 465 and imap on port 993 for webapps running on centos 7

A CentOS 7 development server is used for prototyping webapps that send and receive email using JavaMail to connect with a remote mail server elsewhere on the internet. The remote mail server uses ...
1
vote
0answers
104 views

Redhat 7.1 Udev Rules changes SYMLINK+ And Name

I am tying to install Oracle ASM on RHEL 7.1, for that trying to configure Udev rules. I have noticed there are is new attribute in udev rules SYMLINK+ which seems to be replacement of NAME ...
0
votes
2answers
26 views

java installation in RHEL

while installing java in redhat i'm facing some problems..i've attached the screen print ..if anyone could help me with it it would be appreciable..thank u.. i unzipped the file using tar command ...
0
votes
0answers
79 views

screen resolution woes on RH 7 running Xorg, which has no Xconfigurator (which seems only for XFree86)

I have a dell precision m6800 laptop that is experiencing stubborn low screen resolution problems with red hat 7. The funny thing is I installed RH 7 with no BIOS raid configured and I got the ...
1
vote
1answer
689 views

how do I attach devices to connections using nmcli?

An installation of CentOS 7 has two connections and three devices. How can I attach the device ens7 to the connection my-bridge? And how can I attach the device eth0 to the connection my-eth1? ...
1
vote
1answer
78 views

how to update postgres.conf path after relocating it from data directory

I'm installing a Postgresql-9.4 HA environment in RHEL 7, when I initialize postgres db - it creates a data directory and within the data directory goes postgresql.conf & pg_hba.conf files. Here, ...
1
vote
1answer
49 views

Gracefully Handle Losing Connection Exported X Display

I am exporting a several GUIs across a network using X11, I start the GUIs by SSHing into the server with the -X option and running the executable. If the remote machine is abruptly shutdown or the ...
0
votes
1answer
373 views

how do I use nmcli to add an IP-address to an interface?

On a CentOS 7 virtual machine, I have an interface called ens7, as shown here: [root@localhost ~]# nmcli con show NAME UUID TYPE DEVICE ...
2
votes
2answers
164 views

why lscpu CPU MHz != dmidecode Current Speed

In the example below i try to obtain my CPU (Xeon E5-2690 v3) current speed using two different commands, but they report different values - 2.6 Ghz and 3.1 GHz: [root@localhost]# lscpu | grep MHz ...
0
votes
1answer
71 views

Couldn't connect to the primary server: postgresql HA installation

Trying to install Postgresql-9.4 High Availability (HA) in RHEL7, using three nodes. In all three nodes, installed postgresql, updated postgresql.conf and pg_hba.conf files accordingly. After ...
1
vote
0answers
41 views

RHEL 5 Kernel Panic

I performed some fdisk operation on vmdisk. After rebooting I got the following error: unmounting old /dev unmounting old /proc unmounting old /sys switchroot: mount failed: No such file or directory ...
0
votes
2answers
78 views

Temporarily reduce physical RAM size in Redhat 5 for testing [duplicate]

How to reduce the physical RAM size in RHEL 5.7? I would like to reduce the memory for testing
1
vote
1answer
33 views

Pruning not working In find

find . \( -type f \) -o \( -name "*.rpm" -prune \) find . \( -name "*.sh" \) -o \( -name "*.rpm" -prune \) The second command excludes .rpm but the first one doesn't. What's the problem with ...
2
votes
0answers
155 views

How do I ssh into a new virtual machine?

note by derobert: problem was resolved in chat, starting around http://chat.stackexchange.com/transcript/message/24666451#24666451 if someone wants to write up an answer. Turns out the bridge wasn't ...
0
votes
0answers
26 views

Installing swftools with dependencies on a server with no internet connection?

I am trying to install a package on a Red Hat server which does not have internet connection by which I could directly download and install dependencies. Where can I download the swftools package ...
0
votes
1answer
114 views

SCSI disk not shown up during Rhel7 OS installation

In my system, I configured my SCSI disk and tried to install Rhel7 Beta2 OS on it. But for installation, I can't see the SCSI disk. If I'm trying to install other OS I can see the SCSI disk. I don't ...
1
vote
1answer
50 views

pam_env(crond:setcred): non-alphanumeric key 'JAVA_HOME =$PATH:

RHEL - I have many lines in my /var/log/secure-____ file that are similar to the following: Oct 4 03:05:01 localhost crond[2161]: pam_env(crond:setcred): non-alphanumeric key 'JAVA_HOME ...
2
votes
1answer
131 views

how do I create an appropriate drive for a libvirt virtual machine?

I am trying to use virt-install to create a CentOS 7 virtual machine in a CentOS 7 host. Towards that end, I have been reading the virt-install documentation at the RHEL web site, and I have also ...
2
votes
1answer
44 views

lost ability to sudo after modifying pam module

On one of our RHEL6 servers I made a change to /etc/pam/d/system-auth and password-auth then after rebooting lost the ability to sudo and su. Specifically I changed this line: auth sufficient ...
2
votes
1answer
156 views

Kickstart: is it possible to partition without a mount point?

I would like to partition a disk, but some partitions should not be mounted, so far I have to following workaround : part /srv/tmp1 --fstype=ext4 --size=1000 --ondisk=sda then in a post-install ...
0
votes
0answers
29 views

how do I virt-install a guest from a dvd?

On a CentOS 7 host server, I would like to create a guest virtual machine with CentOS 7 as the guest operating system. I have a CentOS 7 installation DVD that was burned from an iso file in windows, ...
0
votes
0answers
25 views

Need help getting bug fix for RHEL6

How can I get the new kernel as mentioned here? I have a RHEL6 server that's using subscription manager and also registered with RHN. I have ran the usual yum updates and still am not getting the ...
2
votes
2answers
468 views

RHEL 7 how run longtime script before shutdown/reboot systemd

I'm trying to found solution how run script before shutdown/reboot is initiated in RedHat7. I need to correctly shutdown SAP database when I'm shuting down or rebooting server. Script for SAP ...
1
vote
2answers
164 views

Number of files does not match inodes

I notice that the number of used inodes on the OCFS2 partition is around 28 million. I moved a folder that contained 518K files and the number became 22 million. The following script finds the number ...
-1
votes
2answers
51 views

Installing NetBackup on RHEL6?

is it possible to install Netbackup or any software whatsoever on linux redhat 6.6 without having to register it first?
0
votes
2answers
345 views

RPM and ISO , package installation

I am trying this option first time not sure is it correct way, please bear me. I am tying to install package rpm -ivh binutils-2.23.52.0.1-12.el7.x86_64, I mounted the ISO image mount -t iso9660 -o ...
1
vote
1answer
2k views

Couldn't find postgresql.conf & pg_hba.conf files in my postgresql installation

Following all the instructions from UNIXMEN, installed postgresql-9.4 in CentOS 6.4. Everything went well, started the service and could access pgsql screen. But when I try to configure the ...
1
vote
2answers
35 views

The easiest way to update package above release RHEL

I have to install the krb5-devel package in a version at least 1.12 on a RHEL 6.6. Unfortunately the RHEL 6.6 repositories contains the package in a version 1.10. What would be the easiest way to ...
0
votes
1answer
26 views

browse local S3 storage (not Amazon) with command line tool

I wish to browse, put and get files in local S3 storage from vendor EMC Atmos Cloud Storage I have a RHEL7 and wish to do it on command line. We have no flat structure (like Amazon) we use ...
0
votes
2answers
177 views

checking rsync run status

We have a cron job running to rsync files from one server to a different host. The cron runs daily at midnight. The file copy is critical for us so we want to monitor the backup runs. We want to ...
1
vote
0answers
7 views

Bash - PS1 not Updating With Proper Hostname after Hostname Change in Script [duplicate]

I want to run a script that changes the hostname and have my bash prompt (PS1 variable) update immediately with the proper hostname. How do I make this happen? I run this #!/bin/bash # Usage: ...
1
vote
2answers
791 views

Cron Bash Script - echo to current terminal instead of /var/spool/mail/root

Is it possible for a Cron Bash Script to echo to the current session terminal instead of /var/spool/mail/root I have a script which writes errors to a log file but any supplemental/unimportant info I ...
0
votes
0answers
124 views

Squid/SquidGuard- Browser or user-agent or device based access

I have been trying to configure squid and squidGuard such that iPads and iPhones would get full internet access, while others getting access as per user based policy. The IP addresses allocated to ...
0
votes
0answers
31 views

pkgsrc on RedHat: bmake stops during texinfo install

I am trying to install git from source via pkgsrc on a RedHat system. It's a sort of test to see if pkgsrc can be used for unprivileged package management. But, when I run bmake, the installation ...
0
votes
1answer
52 views

Redhat DHCP Server issues IP by not validating mac address

I have kickstart setup on a Redhat satellite server. On the dhcp server, I added a redhat1 to be kickstarted; while the redhat1 getting built, the dhcp server issued redhat1's IP address to a unknown ...
0
votes
0answers
43 views

Are there behavior changes for sudo-1.8.6p3-15.x86_64 (RHEL6.6) as compared to sudo-1.6.9p17-6?

We found that there is a behavioural changes in sudo-1.8.6p3-15.x86_64 (RHEL6.6) as compared to sudo-1.6.9p17-6 (RHEL 5.8). It has been observed if a script called through sudo, and if CtrlC (SIGINT) ...
1
vote
0answers
126 views

Java related error met when installing COMSOL

I would like to install a software called COMSOL on Redhat (Red Hat Enterprise Linux Server release 6.4 (Santiago)) cluster. COMSOL is designed as a Windows software, and its installation requires X ...
1
vote
1answer
30 views

enable a user to chroot?

I have a script that I am running as a regular user (but one that can sudo). This script relates to BIND and gathers information each time it runs. It has not been working correctly and I noticed ...
2
votes
0answers
81 views

Permenantly Increase MTU for bridged interface on RHEL 7

I'm using RHEL 7 and need to increase the MTU of a bridged interface to 3000. The bridged interface (br0) only uses one physical NIC (em2). Within em2's network-script I have the lines: MTU=3000 ...
0
votes
1answer
1k views

Is not a valid path to the kernel headers?

Host - Windows 10 VMware - 11.1.2 Guest - CentOS 7 I installed kernel-headers using yum since during the installation of vmware-tools I get a message "Searching for a valid kernel header path... ...
0
votes
0answers
170 views

Transaction Check Error: file /etc/pki/rpm-gpg/RPM-GPG-KEY from install of oraclelinux-release-6:6Server-3.0.2.x86_64 conflicts

I am trying downgrade oracle linux 6.7 to 6.6 [root@xxxx ~]# yum downgrade redhat-release I am getting an error that "Transaction Check Error: file /etc/pki/rpm-gpg/RPM-GPG-KEY from install of ...
0
votes
2answers
57 views

terminal History for one day

I logged in to my Linux box in morning and did lots of installations using terminal,i got lot's of errors during these installations,cleared terminal many time,solved these errors,Now i want to know ...
2
votes
2answers
95 views

Best practises: Applying iptables firewall rules for SSH

I need to add some firewall rules in our QA environment using iptables. I have to do the changes remotely . Some of the changes also include disabling SSH for few Networks . What are best practices ...
0
votes
0answers
91 views

turbostat - how to tune to make CPU%c1 = 100

I'm using my server for low-latency trading. I'm using Low Latency Performance Tuning for Red Hat Enterprise Linux 7. It suggests to run turbostat sleep 5 command to verify that Bzy_MHz = TSC_MHz, ...
1
vote
1answer
1k views

Where's rpmfusion? - CentOS7 as desktop/multimedia system

I am currently looking at Centos, because I am really getting fed up with having stuff changed or having to reinstall my system every 6 + 9 months or so, or running a system without any updates. Now ...
1
vote
1answer
59 views

How to stop automatic upgrade of postgres,mongodb and RHE7 itself?

I have installed Postgeresql, mongodb using yum in RHEL 7.0 few days back, but now they are automatically upgrading. I don't want it to happen. How can I prevent the automatic upgrades?