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
13 views

linux + get standart output from remote machine

is it possible to get the standard output from remote machine - 100 or 1 , After ruining the script /tmp/script.bash ? ssh $remote_machine /tmp/script.bash echo $? ( from remote machine script - ...
1
vote
3answers
10k views

No Tomcat7 package for RHEL 6

We're currently setting up a new application hosting environment on Rackspace and are struggling to find a package for Tomcat 7. Our previous provider was Amazon and we ran on Amazon Linux who via ...
0
votes
0answers
7 views

How can I use the hostname of the machine rsyslog got the message from, regardless of what is in the message?

I have a machine we run rsyslog on. This is the config I have in place in rsyslog.conf: $template DynFileMyApp, "/opt/remote-syslog-data/MyApp/%HOSTNAME%.log" $RuleSet MyApp *.* ?DynFileMyApp $...
0
votes
0answers
32 views

Need to Install Apache on RedHat Without Internet Access

My client has given me access to RedHat server which requires to install apache but it does not have direct access to internet. So I cannot use "yum" command to install the packages. When I ran the ...
0
votes
1answer
19 views

Adding /etc/environment makes bash fail

On RHEL 6.7, I've added the file /etc/environment: JAVA_HOME="/opt/jdk1.8.0_91" JRE_HOME="{JAVA_HOME}/jre" M2_HOME="/usr/local/apache-maven" M2="{M2_HOME}/bin" PATH="{JAVA_HOME}/bin:{JRE_HOME}/bin:{...
0
votes
0answers
10 views

Performance Co-Pilot frontend [on hold]

I am looking for a nice web-frontend (based on PCP) that displays different servers displays historical data Netflix Vector is very nice but it lacks historical data..
0
votes
1answer
1k views

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 ...
0
votes
0answers
17 views

Having trouble connecting to mysql on Redhat

I'm having issues connecting to mysql on Redhat. The server is running Red Hat Enterprise Linux Server release 7.2, and the mysql server is rh-mysql56-mysqld systemctl start rh-mysql56-mysqld....
5
votes
4answers
5k views

Is there a way to list all configurable `alternatives` (symlinks for similar commands) on the system?

The alternatives command (package chkconfig) on RHEL manages symlinks which link a generic name to one of the alternative implementations. For example, mta group of symlinks can be provided by ...
5
votes
2answers
5k views

du command takes WAY too long to run

I am running du -sh in a variety of directories to find disk hogs. I got two identical servers (Dell PE2850s), both with RHEL5 and it will take significantly longer to run du on one server over the ...
0
votes
1answer
19 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 [closed]

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
27 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
14 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
36 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
16 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
51 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
22 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
57 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
12 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
12 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
31 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
31 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
33 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
29 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
82 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
52 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
46 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? ...