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 ...

learn more… | top users | synonyms (1)

0
votes
1answer
10 views

remote script execution from local script linux doesn't stop for remote script prompts

script abc.sh is on machine M1 and xyz.sh is on machine M2 script abc.sh: #!/bin/bash ssh -l user1 host.com ./xyz.sh -b1 arg1 -b2 arg2 script xyz has certain user prompts like pwd etc When I ...
-6
votes
0answers
14 views

I would like to understand on the ruby puppet module utility Execution.execute [on hold]

Puppet 4.4.2 I would like to understand on the ruby puppet module utility Execution.execute. How do we use this on the new puppet 4.
1
vote
1answer
23 views

systemd service shuts down on its own

I have a problem with this SystemD service: [Unit] Description=RTC Client Services After=rds.service Requires=rds.service [Service] User=USER Group=GROUP PermissionsStartOnly=true RuntimeDirectory=...
4
votes
2answers
13k views

How to enforce password complexity in Redhat?

I googled and found a few links about it like these: Forcing Password Complexity in Red Hat How to enforce password complexity on Linux It says that we need to make changes in /etc/pam.d/system-...
0
votes
1answer
26 views

How to downgrade subversion using yum and wandisco-svn.repo?

I just upgraded subversion 1.6.11 to 1.9.4-1 on RH 6.8, and it's working okay by itself. But my Trac 1.0 application can no longer see my svn repos. According to http://www.wandisco.com/svnforum/...
0
votes
1answer
19 views

create a user and associate with existing pem file

I have an ec2 instance on which i am running ansible.I want to create a user with a playbook, but without a password and the user must be using existing pem file for authentication and must be able to ...
0
votes
1answer
12 views

how to compare and move the matched string files in different locations

I have a two different .zip files in /tmp/1/ and /tmp/2 I want to compare these two different location files and move the matched string files into /tmp/3 /tmp/1 ArchiveFile_aaa.zip ArchiveFile_bbb....
0
votes
1answer
24 views

SCSI virtual disks not showing up on RHEL 7.X KVM guests

For whatever reason I can't get my virtual disks to show up on any of my RHEL 7.X guests (libvirt + KVM). The XML is configured just like my other guests so I know it isn't an issue on that end. It ...
8
votes
2answers
16k views

Changing boot device for a QEMU-KVM virtual machine

I am trying to change the boot device for a VM. I go to the VM's XML file in /etc/libvirt/qemu and set <boot dev='cdrom' />. Still, it attempts to boot from the harddrive instead of the cdrom. ...
1
vote
2answers
34 views

Change /dev/shm privileges on Red Hat

I suck at Linux and I need your help :) I have a piece of software that uses /dev/shm for whatever reason. The software cannot be run as root. On my system however /dev/shm is owned by root and has ...
0
votes
1answer
15 views

SGE/OGS 2011 breaking Ansys Workbench Mechanical launch due to network port blocked

We are running a SGE / OGS compute cluster on EL6 and are trying to launch an interactive Ansys Workbench. This works using SSH with X Forwarding, but using qrsh fails to run the Mechanical component -...
-2
votes
2answers
49 views

linux + timeout from command

in my bash script I want to add timeout for the lvresize command so if the command is waiting , I will exit after 5 second , as the follwing: timeout 5 lvresize -L 1M /dev/mapper/rootvg-home ...
0
votes
0answers
19 views

PAM understanding use_first_pass

In PAM modules like pam_unix.so, the manual describes the difference between use_first_pass and try_first_pass. However, i wanted to test that with the passwd command (Changing the password for a user)...
0
votes
1answer
48 views

linux + lvextend vs lvresize - what are the differences

what are the diffrences between lvextend to lvresize as the below example? lvextend -L+1m /dev/mapper/rootvg-home lvresize -L+1m /dev/mapper/rootvg-home dose the both examples do exactly the same ...
4
votes
1answer
1k views

NFS mount mounted inside another NFS mount disappears randomly

I have quite an odd issue where my nested NFS mounts just disappear randomly from time to time. The fstab entries look somewhat like this: nfs:/home /home nfs rw,hard,intr,rsize=32768,noatime,nocto,...
1
vote
1answer
11 views

Enable SCL python27 so other RPMs can see it

Trying to create an RPM that uses Python 2.7 on a RHEL 6 machine. I'm using SCL to enable Python2.7 and building the RPM with it fine. However, when I try to install that RPM on a different system ...
0
votes
1answer
47 views

linux + dose each security kernel rpm will install the relevant initrd and vmlinuz files under /boot

I just print the kernel rpms that need to install on my redhat machine (version 6.5) # yum list-security --security | grep kernel-[0-9] RHSA-2014:1143 security kernel-2.6.18-371.12.1.el5.x86_64 ...
5
votes
2answers
9k 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?
1
vote
0answers
24 views

Configuring NTP server on a virtual machine and have it point to the physical machine

I have a virtual machine running on a physical machine, both using RHEL 7/CentOS 7. I need to configure the virtual machine to serve as an NTP Server and have this NTP server point to the physical ...
0
votes
2answers
1k views

Installing Tomcat6 on RHEL 6.4

I am missing some packages which Tomcat depends on. But whatever dependency I try to resolve, it all comes down to java-gcj-compat missing which I cannot find on the DVD. Note that I don't have an ...
0
votes
0answers
9 views

Not checked" result for Apache server stig file

I have run the Apache server stig using openscap tool in Red Hat 6, In the output file, the results are like the same below "Not checked" for all checklist. After analyzing the xccdf file, there ...
-1
votes
0answers
26 views

How to install perf utility on red hat 5.10

Is the there a way to install perf on red hat linux 5.10 ? I tried the normal way but it failed sudo yum install perf Loaded plugins: aliases, changelog, downloadonly, fastestmirror, filter-...
4
votes
3answers
5k views

Can udev be 'restarted' without a reboot?

For the general case let's say that the virtual adapter for eth0 has been removed and replaced with another one. Either due to cloning or, more recently, a rash of MAC address conflicts. [Yes, a rash ...
1
vote
1answer
3k views

RHEL hangs after starting virt-who succesfully

Idea #1: Is there a way to REPAIR an RHEL 6.2 installation? During the start-up procedure, after a recent forced reboot, my Linux machine (RHEL 6.2) hangs right after successfully starting virt-who....
-1
votes
2answers
39 views

NetApp .Snapshots wont delete

I am working in VMware Vspere client, I am an sys administrator taking over for an Admin who has left. Many users were complaining about space in our Mounted Linux shared drive. So I did some ...
0
votes
1answer
3k views

NFS lock not working properly

I'm getting the following error on an oracle database. ORA-27086: unable to lock file - already in use It tries to lock a file that resides in an NFS mount. The NFS is on a loopback setup (long ...
0
votes
1answer
3k views

what is the simple Command to check password expiry time of an openldap user account

I am running openldap 2.3.43.el5 on RHEL 5.3 I am trying to find a simple command that will tell you when the password for an ldap user will expire, any help would be greatly appreciated.This would ...
3
votes
4answers
5k 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-...
0
votes
1answer
64 views

linux redhat + how to install only the latest kernel rpm under /boot

installing of errata security kernel rpm ( from redhat sattelite ) on the linux red-hat, could sometimes - create a diff 2-4 new update kernel under /boot , the problem here that /boot could be ...
-3
votes
0answers
17 views

SAN storage not visible in multipath -ll but viibible in fdisk -l, tried everything on OS side, noe it seems to be some driver issue on the server

I have installed RHEL 7.0 on HP DL380 G9 server in UEFI mode. Now storage team has provided SAN storage from their end, but it is only visible in the output of "fdisk -l" as "/dev/sdb" and not in ...
3
votes
1answer
3k views

clvmd problems during the RHEV cluster deployment

We are deploying Red Hat Enterprise Virtualization cluster and we faced a problem attempting to start clvmd service after the lvm partition creating. The following has been completed successfully: ...
2
votes
3answers
2k views

I have configured a postfix mailserver on Linux with dovecot. Now problem is when I configure autoreply it reply two mail to sender

I have configured a postfix mailserver on Linux with dovecot. Now the problem is when I configure autoreply it replies with two mails to the sender. I have used vacation.pl, a Perl script of postfix ...
0
votes
1answer
28 views

Rsync with ssh, job fails: Permission denied (13)

Recently my rsync job has been failing with the error shown below: rsync: mkstemp "/foo/bar.txt" failed: Permission denied (13) inflate returned -3 (0 bytes) rsync error: error in rsync protocol data ...
0
votes
0answers
32 views

netstat result showing syn sent for specific ip (local) which is not exist in LAN

I was using my web server (jboss) in different subnet (192.168.150.10/24) and after sometime, just changed to another subnet (192.168.200.20/24). But still i could see in netstat -pnt result, my new ...
1
vote
1answer
1k views

Resizing Partitions on Live RHEL/cPanel Server

I've resized many partitions over the years on Linux, Windows and Mac OS X -- but always using a GUI. However, the time has come where the preset partition sizes my data center placed on my server ...
1
vote
0answers
26 views

How to Deploy Enterprise Applicatin on JBoss

I have been having the most difficult time deploying an enterprise application on Jboss. In my opinion Jboss is ridiculously un-intuitive and Impossible configure without extensive help. I am ...
1
vote
1answer
78 views

how to run a shell scripts at every login in Centos

Actually i want to run my shell script at every time when a user login as well as at boot. i have tried using using crontab but it runs only at boot not at every login.so please tell me how to do ...
1
vote
1answer
50 views

How to reset the sshd config to default in Linux Redhat

I need the very first version of the ssh config. Located in /etc/ssh/sshd_config. Unfortunately the current ssh config has been changed a few time by other developers and it is hard to understand ...
1
vote
1answer
45 views

How to resize LVM in Redhat

I have a VM with Redhat 6.8 that originally started with a 60GB disk 1. In VMware I increased the size to 100GB. I would like to increase the /tmp volume from 2GB to 5GB. I assume I need to resize the ...
2
votes
2answers
1k views

RPM with RHEL: install 2 version of same package / different arch

I think the title is pretty self explanatory :) Is it possible, under RHEL (v 5) to install 2 instances of the same packages with 32 bit support for one and 64 bits support for the other one? ...
8
votes
2answers
1k views

yum-security for CentOS?

Last time I checked I was able to install yum-security in CentOS but since it doesn't use the official redhat mirrors I was unable to get it to actually work. Is there a way to make yum-security work ...
-1
votes
1answer
20 views

Installing IDE and GUI inside Elastic Beanstalk

I am attempting to make a development environment in elastic beanstalk, which will be similar to a production environment. I would like to have an IDE installed in the environment, and have ...
1
vote
1answer
21 views

RHEL 5 YUM Python Throwing Traceback and Timeout errors

I know, the first thing I should do is upgrade to RHEL 6 or 7, but unfortunately, I'm stuck on it for the time being. I have been running into this error using any yum commands. The rpm command works ...
0
votes
2answers
45 views

IPTables won't start automatically after reboot - Red Hat 7

In Red Hat 7 I'm trying to force the IP tables service to start automatically after reboot. Currently, after every reboot I need to run the command: sudo systemctl start iptables I've tried setting ...
2
votes
1answer
1k views

Red hat script on shutdown

I need to backup some files every time i will shutdown a Red Hat enterprise 4 Linux. I thought about make it with a script in /etc/rc0.d but shutdown process should wait for my script to finish. So ...
2
votes
3answers
2k views

Cannot perform a PECL installation

I have been trying to do a few PECL installations, but all of them return the same type of error. Something related to timezones? Im running RedHat x86_64 es5. Attempting to install geoip-1.0.7: ...
-1
votes
0answers
24 views

Sendmail: Unrecognized service

I have a rhel 7.0 server that when restarts takes about 20 min to comeback up I have found that it seems to get stuck on Starting Sendmail and reports this error Sendmail: unrecognized service I ...
10
votes
3answers
14k views

Adding an existing user to a group with puppet

Is it possible to add an existing user to a group with puppet 2.7.18? We have two modules, each one defines one class : module "user" creates all users, including user foo and user bar. module "...
3
votes
0answers
49 views

Q: RHEL, SSSD, Active Directory

Good afternoon folks. I've been perusing various posts already about getting linux systems to authenticate using AD, but haven't seen anything approaching what I'm beating my head against. There's a ...