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

learn more… | top users | synonyms (1)

0
votes
2answers
61 views

how to untar file in linux red hat?

I am compiling linux red hat stable kernel on red hat linux and the error which I am facing is as below
0
votes
0answers
115 views

Installing custom RPM says “does not update installed package”

I've inherited some servers which have previously always had its software as custom compiled versions (apache, perl, mod_perl etc). I was thinking than rather than compile every time, it may be better ...
1
vote
1answer
66 views

Using sudoedit in a script (non-interactively)

I'm looking to modify a file from a script. I can sudoedit the file as the bob user by doing sudoedit -u bob /foo/bar.conf but don't have rights to do anything else as bob. I came across ...
1
vote
0answers
49 views

Limit system processes using cgroups

My server runs several dozens of processes that are not in my control (mostly monitoring software). According to my application logs, sometimes some of the third party processes try to allocate too ...
0
votes
0answers
84 views

turn on numlock at login screen. GDM

GDM is turning off numlock key. I have tried following: a) installing numlockx and inserting following lines at /etc/gdm/Init/Default if [ -x /usr/bin/numlockx ]; then /usr/bin/numlockx on fi ...
0
votes
0answers
14 views

Input focus not following window clicks

I'm running RHEL 6.5 with a generic ATI HD5480 videocard and three monitors (one connected to each port... DVI, DisplayPort, and VGA), and I'm having issues with window-activation and input-focus that ...
1
vote
0answers
44 views

How to corrupt rpmdb?

Yes, You read it right i actually want to corrupt RPMDB for testing purpose. I tried Googling it but all i got was to, how to rebuild it. So at last i tried rpm --rebuilddb and killed the process ...
0
votes
0answers
23 views

RHEL6 Idle Thread Behavior

I am doing some cpu performance profiling with the perf tool on a RHEL6 box running weblogic12g. It looks like the idle threads are presented as native_safe_halt in the stack profile but ...
1
vote
0answers
27 views

Bind TomcatWebConnector to IP Address [closed]

I have a RedHat 5.6 server that has two NIC's (eth0/192.168.1.1 and eth1/192.168.1.2). I want to have two separate installs of geronimo using one specific NIC only. Install1 ...
2
votes
1answer
65 views

how to enable sudo for one directory

I have Redhat 6.3 and I want to enable sudo command for chown,kill and chmod, so under root user I did the following: visudo #add the following line aabuhasna ALL=(ALL) NOPASSWD: /usr/bin/kill, ...
0
votes
0answers
32 views

kickstart does not chmod a file in %post section

I have the following code executed in the %post section of a kickstart file for RHEL 6.6. echo '#!/bin/sh' > /root/add_user echo 'if [ $# -lt 1 ]; then echo "no username provided"; exit 1; fi' ...
0
votes
0answers
49 views

upgrade glibc to 2.7 in Redhat 5

Is it a bad idea to upgrade glibc to 2.7 in Redhat linux? if yes, why is that?
0
votes
1answer
164 views

Systemd kills service immediately after start

I'm writing systemd unit file for OSSEC HIDS. Problem is that when systemd starts service it immediately stops them. When I use that ExecStart directive all working fine. ...
4
votes
2answers
144 views

Separate Network Traffic on Two Network Interfaces

I am not an R&S professional, so much of that realm of computing escapes me. Could you lend your expertise in helping understand how to go about configuring the separation of network traffic on ...
0
votes
1answer
33 views

MySQL: connection refused…coudn't find mysqld.service

I am trying to install MySQL onto a Fedora 14 VM. I successfully installed it using yum install mysql mysql-server after which I tried to start it with systemctl start mysqld.service which ...
0
votes
0answers
134 views

Why does my redhat 5.11 system have so many ext4-dio-unwrit processes?

I have a redhat 5.11 system running, and it looks like there are 32 of these processes. What are they, and why are there so many of them?
1
vote
1answer
56 views

How long will Redhat / CentOS support the init system

Now that systemd the preferred way to start system services in CentOS 7, can anyone tell me in which release the init system will be completely removed? i.e no support for init scripts whatsoever?
0
votes
0answers
29 views

Repo Management

I've been mirroring RedHat repos locally to maintain consistency among our infrastructure servers using the instructions located at: https://access.redhat.com/solutions/23016 My question is though, ...
0
votes
0answers
131 views

STDERR: yum-dump Repository Error: Cannot retrieve repository metadata (repomd.xml) for repository: epel. Please verify its path and try again

This have been a chronic issue with my servers. i use epel repo to install & upgrade nss package. But every frequently, i have this issue where it fails with the error. STDERR: yum-dump ...
2
votes
2answers
34 views

How to choose system user ID for custom packages (RedHat & compatible)?

How should I choose the proper uid (or gid) for system users being created in a custom .rpm package? The user will be used to run a daemon non-root. I think it's not acceptabe to let adduser choose ...
1
vote
0answers
28 views

Correctly closing multiple hop SSH tunnel

I want to tunnel VNC traffic to host2, which is only accessible from host1, whereas host1 is publicly accessible. I setup a multi-hop SSH tunnel as described in this question, using: ssh -L ...
1
vote
1answer
70 views

Use the -i option on ssh/scp

I would like to setup the ability to log into my redhat server by specifying the -i option on ssh or scp command line. I have followed the steps according to google but it doesn't appear to work. ...
0
votes
1answer
43 views

How to rebuild ISO removing file from its mounted image?

I built an ISO that contains, for example: Directory listing of / d--------- 0 0 0 2048 Mar 19 2015 [ 29 02] . d--------- 0 0 0 2048 Mar 19 2015 [ 29 ...
2
votes
1answer
83 views

How do I disable network interfaces from loading at boot without Network Manager?

The machine I'm using has 4 network interfaces, only one of which is currently being used (the other 3 are not plugged in at all). Currently when the machine is restarted it is delayed by a few ...
1
vote
1answer
50 views

Connecting a VT100 terminal to Redhat Linux

I have the following Linux box: Red Hat Enterprise Linux Server release 5.2 (Tikan ga) x86 I'm trying to connect to it, using a Mainframe integration product which supports only the VT100 protocol. ...
1
vote
1answer
33 views

Package file without .rpm or .tar.gz… What to do?

I'm busy installing ELK package on a few RHEL6 servers, but we have two mail servers which are still RHEL5 i386 servers. So I go to https://www.elastic.co/downloads/logstash and downloaded the Linux ...
0
votes
1answer
26 views

find returns weird file order on RHEL but not on OSX [duplicate]

When I enter find . -iname "[0-9]*.nii" on my OSX machine it returns: ./03_Rest_fcMRI/9793_01_03_1.nii ./04_VEMP/9793_01_04_1.nii ./04_VEMP/9793_01_04_2.nii ./05_Tapping/9793_01_05_1.nii ...
0
votes
0answers
26 views

Is there a method of installing debuginfo package without registering RHEL7?

My RHEL7 isn't registered just for test. Now I want to install python-debuginfo rpm package. But according to this, it seems that I can't install python-debuginfo rpm without registration. Is there a ...
0
votes
1answer
100 views

How configure properly vncserver in Red Hat Enterprise Linux Server release 6.5

I'm trying to start vncserver in a Red Hat Enterprise Linux Server release 6.5 with an user created for that, and when I type vncserver I got this: WARNING: The first attempt to start Xvnc failed, ...
1
vote
0answers
21 views

Cannot resize windows remoting-in through X11VNC?

As title says, I am remoting on to a Linux box (CentOS 6) using X11VNC. However, I cannot resize any windows manually by hovering over the frame, because the frame resize cursor does not appear. ...
1
vote
0answers
14 views

How to monitor the “raw” port of the bonded network in RedHat 4/5?

I currently having a bonded network labelled "bond0" consisting of two ethernet ports on the server. But the physical server is currently hosted on a offsite data centre, which i can't easily accesss. ...
0
votes
0answers
42 views

Updating SSL Certs for Katello Web UI

I have a katello server (specifically Satellite 6.0.8) already serving content to clients. It's not currently being used as a puppet master (yet). The problem is that it's still using the self-signed ...
2
votes
1answer
18 views

Can I use permissions or facls to limit the creation of files in a directory without limiting the creation of directories?

I have some directories with quite permissive permissions, which get cluttered up with files (scripts) created by lots of different users. I try to encourage people to create their own sub-directory ...
23
votes
3answers
2k views

What is the difference between these commands for bringing down a Linux server?

Reading "What is the difference between Halt and Shutdown commands?" , I generally have an idea what does the command shutdown does, with or without -h/-r options. The "halt" command performs ...
0
votes
1answer
61 views

Print file name,Modified Date and Size with Header

How do I print file size, file name and modified date with header.Till now I have come up with: find . -regex '.*\.csv' -execdir stat --printf '%n,%y,%s' {} \; How to add header and do not print ...
0
votes
1answer
59 views

RPM install add yum repository

Is it possible to add a yum repository as part of the Requires field on an RPM spec file? For instance: Requires: my_custom.repo, software.xyz (only available in my_custom.repo) If not what is the ...
1
vote
2answers
85 views

How can I bring up up a non-boot (ONBOOT=no) network interface with iproute2?

Have a network interface that does not come up on boot-up: [belminf@tito ~]$ grep ONBOOT /etc/sysconfig/network-scripts/ifcfg-enp0s3 ONBOOT=no I know I could do the following for DHCP: ...
0
votes
0answers
32 views

What font settings would Java Applications Use without Fontconfig?

I have a java application that looks fine without fontconfig installed, however, I need fontconfig as a dependency for a package, and when I install it my java app's fonts change drastically. My goal ...
0
votes
1answer
94 views

Dependencies problems installing VNC Server in Red Hat Enterprise Linux Server release 6.5

I'm triying to install VNC Server in a Red Hat Enterprise Linux Server release 6.5. I have the .rpm of VNC Server, but it has a depedency with xterm, which I have the .rpm too. Trying to install xterm ...
1
vote
0answers
31 views

How do I run a application on top, in a display manager like GDM.(RHEL 7, Gnome 3.8.4)

I want to show keyboard layout and selection of language at login screen in RHEL 7. I have modified the language menu to show "show keyboard layout" and "Region & Language settings". On clicking ...
1
vote
0answers
139 views

How do I view multiple users groups using sssd?

SETUP OS = RHEL 6.4 Workstation System is part of an LDAP domain and was originally configured to authenticate using nscd. All recommended SSSD packages have been installed. ...
0
votes
0answers
23 views

I chowned / recursively. How can I restore default permissions? [duplicate]

In a completely boneheaded moment, I ran the following command: #chown -R user:usergroup . What I failed to realize is that I was in the root directory, not in my target directory. Now the entire ...
0
votes
1answer
86 views

Why did Red Hat drop support for DRBD beginning with RHEL 7?

Does anybody know the reasons why Red Hat decided to drop support for DRBD beginning with RHEL 7, thus favoring GlusterFS as the preferred solution for network-based replication / mirroring in a ...
0
votes
0answers
36 views

How can I lock screen and force re-login after a period of inactivity on different linux distros

I am writing a script to lock screen after a period of inactivity and ask for a password again on desktop activation for different distros of linux. I have achieved the same with the following ...
-1
votes
1answer
22 views

separate the system & hardware clock in linux

I want to separate the system clock from the hardware clock which I synchronize first. But now I want to change both: hardware clock with the UTC time & system with the GPS time.
0
votes
0answers
16 views

Could a defunct Oracle backup script cause the database to be unavailable?

I have a backup script running on RHEL 6 backing up my Oracle environment that I found defunct this morning. I don't have any more information on the defunct process yet, but I might tomorrow morning ...
-2
votes
1answer
59 views

How to install chrome on unregistered redhat

I can not install "Google Chrome" on my RedHat6 machine. I used the following command: yum -y install google-chrome-stable The following error occurs: This system is not registered to Red Hat ...
0
votes
1answer
43 views

What does the “-y” do in “yum -y groupinstall gnome”?

I've been googling and reading tutorials, but while the authors go into detail with all the things you can do with yum, no one ever mentions what the -y flag is for. I'm trying to automate this with ...
0
votes
0answers
39 views

Flush Postfix mail queue

I'm running an old version of Postix (1.1.7) on my Red Hat Linux and I wanted to flush the e-mails from a specific recipient with postsuper, which comes with the postfix-perl-scripts package. However, ...
0
votes
1answer
92 views

tcpdump - capture trace in both directions on RHEL6

I am using redhat bonding and have identified my active interface as eth5. I am using Redhat 6.5 Server Here is my command: tcpdump -i eth5 src host actual_ip_address_of_external_client after ...