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

learn more… | top users | synonyms (1)

1
vote
0answers
10 views

While executing vgdisplay gives below errors

/dev/mapper/mpathcq: read failed after 0 of 4096 at 107374116864: Input/output error /dev/mapper/mpathcq: read failed after 0 of 4096 at 107374174208: Input/output error /dev/mapper/mpathcq: read ...
0
votes
1answer
15 views

How to Install or enable PHP-FTP support on Linux Apache server?

In my PHP code I am using the below function ftp_connect() But it throws an error, FTP is not enabled for PHP. Can any one tell me how to enable/install FTP in RHEL, Apache2.2 server,PHP Version ...
2
votes
1answer
104 views

Simulate Initial Login of user without using sudo

I'm writing a script to interface 2 third-party programs. (Datadog and AWS) The data mining script uses sudo -u to run my script. The script that I need to retrieve data from will segfault if ...
3
votes
2answers
695 views

Can you create a volumegroup in LVM that all the Logical volumes created under it will be thin provisioned?

I would like to know if it is possible to create a volumegroup in LVM that all the Logical volumes created under it will be thin provisioned? This will be used on RHEL 6 which does include thin ...
0
votes
1answer
17 views

How to use usermod login command?

When I try to use: [root@jack-dpp jack]# usermod --login jack-dpp jack I get: usermod: user jack is currently used by process 7622 In RHEL 6.6 how to kill all the process and run this command?
1
vote
0answers
23 views

Getting some unwanted message in linux os

When Linux (RHEL) OS is booted I am getting a message as beiscsi_ep_connect shost is null What does it mean?
0
votes
1answer
541 views

RedHat init.d script will not start with service after stop

I have the service script below, which calls a shell script. We changed something in the script When I run the shell script directly, everything works fine. When I restart the servER, everything works ...
1
vote
1answer
17 views

RHEL not booting with the updated kernel after upgrade [on hold]

We have recently upgraded RHEL boxes, but the system only booted with the old kernel. Observation is that there is no link /etc/grub.conf to /boot/grub/grub.conf. Now, to boot the system with the new ...
-2
votes
0answers
9 views

coonection time out after #puppet agent test

after executing following command puppet agent --test o/p Unable to fetch my node definition, but the agent run will continue: Warning:Connection timed out - connect(2) Info:Retrieving pluginfacts ...
-3
votes
1answer
352 views

rhel 6.5 yum update error

#yum update ^[[3~Loaded plugins: product-id, security, subscription-manager This system is not registered to Red Hat Subscription Management. You can use su ...
-1
votes
0answers
19 views

NFS Service not starting

I installed Redhat Hypervisors and i need to share ISOs but when i try to start the service it gives me this error WARNING: Could not open ...
2
votes
3answers
1k views

How to automate connecting to multiple network devices, running a command and saving the output to a file?

I have to run a command on around 1000 network devices and save the output to a file. In a file I have a list of all the network device names that have to be connected to using SSH. I then have to run ...
3
votes
1answer
703 views

How do I resolve an error when booting, “Couldn't find device with UUID…”

I have a RHEL 6 system, running on a VMWare machine. The admin of the VM server added a second RAID volume to the server, which my RHEL system does not use. Now, when I boot the RHEL system, I get a ...
0
votes
2answers
47 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
-2
votes
0answers
17 views

Can anyone tell me how to compile custom linux kernel? [duplicate]

I want to know the complete method of compiling of a linux custom kernel.
-1
votes
0answers
42 views

make: ***No rule to make target 'xconfig'. Stop. how to remove this error? [closed]

actually I am compiling my kernel and make command is not working completely so what should I do to make config file of newly kernel? this is happening
1
vote
1answer
1k views

Install RHEL 5.7S on machine with 4TB disks

I'm getting errors about GPT when installing OS using kickstart. The Dell R720 has 8x 600GB SAS. I can't figure out what to configure in BIOS and kickstart file. In BIOS, there're boot options of ...
3
votes
2answers
1k views

RHEL6 Can't make my script run on shutdown and reboot

I'm trying to execute a script in each shutdown and reboot but the script never runs. I created the script baseRhel64 and save it to /etc/rc.d/init.d I did chkconfig --add baseRhel64 I included in ...
2
votes
3answers
1k views

dhclient exits with status 0 but still no address

I've been trying to find out with the man page and some other sources if the exit status doesn't necessarily mean you achieved an address but I'm thinking I maybe didn't read it correctly. Does anyone ...
1
vote
2answers
2k views

How To Locate Dependencies Needed by RPM Packages

I am trying to deal with keeping our RHEL 5 server patched up, but also dealing with our security constraints. This particular server is not allowed to talk to the Internet. So yum isn't really an ...
2
votes
1answer
726 views

CHROOT: Unable to copy files to jailed users directory from local machine using WINSCP

I've setup a chroot environment for one of my users called client on my system. I'm using WINSCP to connect to my server from my machine using public key authentication. Everything works fine, I can ...
0
votes
0answers
36 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
55 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 ...
2
votes
1answer
932 views

obsoleted package breaks yum install of older JBoss

I need to install an older version of JBoss. 6.1.0 EAP is what has been approved and supported for my application. So when I try to force install the correct version of the jbossas packages the ...
4
votes
2answers
376 views

Host multiple Linux distros on PXE Server and show these choices to PXE client

PXE Server - CentOS 6.5 64bit Objective - Client should be presented with OS choices in network boot menu - Oracle Linux 6.5, RHEL 7, Ubuntu 14. Upon selection it should proceed with the selected OS ...
2
votes
1answer
521 views

Install 32-bit library packages on 64-bit rhel 6.2 during installation of os

I want full installation of rhel-server-6.2-x86_64. Within this setup, I want to install some of 32bit glibc packages before completion of installation, which already available in ...
1
vote
0answers
30 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 ...
2
votes
2answers
76 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
0answers
47 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 ...
3
votes
1answer
540 views

GDM will not start on boot, unable to login into graphical interface

I am running RHEL 5.8 . SELinux is enabled but in permissive mode. Here are some snippets from /var/log/messages on boot. kernel: type=1400 audit(1360613500.551:6): avc: denied { write } for ...
0
votes
0answers
11 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
32 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 ...
3
votes
1answer
735 views

Authconfig contiously rewriting the /etc/sysconfig/authconfig file, messing up Puppet run

I have been using this LDAP module for a long time in my Puppet environment. The module uploads these files to the RHEL-servers: /etc/openldap/openldap.conf /etc/pam_ldap.conf /etc/nsswitch.conf ...
1
vote
1answer
57 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
17 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
20 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 ...
0
votes
0answers
25 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?
-2
votes
0answers
48 views

creating new filesystem?

Is it possible to create directory/filesystem that would be beyond unix-like filesystem ( I mean "/" ) so when I will use command pwd , its output would be "example_folder" not "/example_folder" . I ...
0
votes
0answers
23 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' ...
4
votes
2answers
2k views

What is the purpose of avahi on a RHEL 7 server?

Running a server machine with CentOS 7, I've noticed that the avahi service is running by default. I am kind of wondering what the purpose of it is. One thing it seems to do (in my environment) is ...
0
votes
0answers
20 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?
1
vote
3answers
93k views

How to find path where jdk installed?

I've installed jdk1.7.0.rpm package in RHEL6. Where I do find the path to execute my first java program?
0
votes
1answer
64 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. ...
7
votes
1answer
3k views

Why does redirection (>) not work sometimes but appending (>>) does?

While studying for the RHCE, I came across a situation where stdin redirection does not work in bash: # file /tmp/users.txt /tmp/users.txt: cannot open `/tmp/users.txt' (No such file or directory) ...
0
votes
1answer
29 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 ...
1
vote
1answer
91 views

Is there any sound enhancer/equalizer for Linuxes that are not Ubuntu?

I am looking for a systemwide audio equalizer for Debian, Gentoo or Red Hat Enterprise Linux, i.e. an audio equalizer that filters the entire signal that is sent to the audio chipset, something ...
0
votes
1answer
196 views

Permission denied tmp dir on STIG RHEL

I am writing a program for a DISA STIG version of Red Hat Linux 6.5. I wrote a shell script to do self extracting on the program and when it self extracts put temporary files in the tmp directory that ...
1
vote
1answer
58 views

Where are yum groups defined?

I am setting up a cluster and for whatever reason some nodes do not have all the groups required to set up Infiniband ('Infiniband Support' in particular.) I know I could just find the list of ...
1
vote
2answers
899 views

How to uninstall vmware-tools-foundation

So I am having lots of problems with this: Warning: RPMDB altered outside of yum. ** Found 21 pre-existing rpmdb problem(s), 'yum check' output follows: ...
1
vote
1answer
53 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?