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)

-1
votes
1answer
24 views

completely remove phpmyadmin centos

I removed phpmyadmin on my CentOS server by typing yum erase phpmyadmin Then I checked if it's still in the server by locate and it displayed this: /etc/httpd/conf.d/phpmyadmin.conf /usr/share/...
3
votes
1answer
36 views

TFTP: transfer time out on RHEL 6 server

I am hitting a wall here trying to get tftp to work using RHEL 6 as a server. The error, from the client, is simply "transfer timed out". On the server, I can see udp 69 traffic coming in from my ...
-2
votes
0answers
11 views

Keyboard not working on Oracle Virtual Box [on hold]

My Base OS is Windows 8.1 , I have installed Oracle Virtual Box and Create one VM and mounted RHEL7 ISO file. Once I start the VM, keyboard is not working on the host? What might be the cause??
0
votes
0answers
34 views

Linux redhat + cant configure hwclock to UTC

I have linux redhat machine # more /etc/redhat-release Red Hat Enterprise Linux Server release 5.11 (Tikanga) I want to change the hwclock to UTC time So I perform little test as # date -u Tue ...
1
vote
4answers
52 views

CentOS extremely slow DNS lookup

For some reason, two of my machines have started suffering from extremely slow DNS lookups. Sample timed output of 'host' command: [root@ns507403 ~]# time host www.google.com www.google.com has ...
5
votes
2answers
189 views

Red hat Linux + TIME ZONE CONFIGURATION + details from clock file

In order to configure the Time Zone on red hat Linux machine ( version 5 and 6 ) need to configure the file: /etc/sysconfig/clock And create a symbolic link between /etc/localtime to /usr/share/...
1
vote
1answer
26 views

EL 7.2 failing to run customization with open-vm-tools 9.10

Has anyone succeeded in running guest customizations with EL (RHEL or CentOS) 7.2 guests? The system is VMware vCloud Director 5.6.5 and VMware ESXi 5.5. v7.2 comes with open-vm-tools 9.10.2, which ...
0
votes
1answer
26 views

Is there an onlyif equivalent condition that can apply to a Puppet class or to a “file” command in a manifest?

I am using CentOS 7 with Puppet Enterprise 4.4.x for my Puppet Master. I am using Windows Server 2012 with Puppet Enterprise 4.x for my Puppet Agents. My goal is to have a class in a Puppet Manifest ...
0
votes
1answer
25 views

How do i install stress no a CentOS7 server?

How do i install stress on a CentOS 7 server? I've read this and I have Package epel-release-7-7.noarch already installed and latest version. When I yum search stress I get: Loaded plugins: ...
0
votes
0answers
29 views

Linux Time Zone + why UTC TZ is set when we remove the localtime file

I have Linux RedHat version 5.1 I just want to know how the OS know to return to the default time Zone What is/are the file/s that defined the OS to use the default Time Zone - UTC for example We ...
1
vote
1answer
23 views

ansible: setting variable according to ansible_os_family

Using ansible 2.0.2.0, I want to deploy a file to destination server. The destination folder is different on Debian and RedHat family. I have used set_fact, but it seems that it used the last defined,...
2
votes
1answer
21 views

Unable to resize logical volume

I'm showing a difference in available space in lvdisplay vs df -h [user@box]~ lvdisplay --- Logical volume --- LV Path /dev/rhel_data/www LV Name www VG Name ...
2
votes
1answer
23 views

pvs not showing correct available space

Recently installed RHEL7 on a PowerEdge R320 with the following drives: 2 x 300GB sas 15k 2 x 1TB sas 7.2k When setting up LVM during installation I purposefully left over several hundred GB free ...
0
votes
2answers
33 views

Linux + how to clean /boot and stay only with the current kernel version files

Under /boot we have the following files ( red-hat Linux version 6.6 ) cd /boot # ls -ltr drwx------ 2 root root 12288 Oct 15 2015 lost+found -rwxr-xr-x 1 root root 4152624 Oct 15 2015 ...
0
votes
0answers
51 views

How to change from the default shell authenticating using SSSD/AD

Within in the sssd.conf file, does anyone know what the syntax should be to allow me to switch between different login shells? Thanks example@example.com:~$ chsh -s /bin/zsh Password: chsh: user '...
0
votes
1answer
37 views

View, compare, and copy SELinux configurations between machines?

I have two machines running the same JBoss and HTTPD setup. They started from the exact same install of RedHat 7 and the same process was followed to install everything on both machines. On one ...
0
votes
0answers
10 views

How to limit number logins with su using pam_limits

I have configured the /etc/security/limits.conf to have the below line: testuser hard maxlogins 1 I have tried to ssh to the system from that user, and its blocked me the second time... ...
0
votes
1answer
57 views

kdump isnt working on redhat machines

How to force Linux to crash: we installed the kexec-tools (kdump) on our redhat machines ( version 7.1 ) in order to capture problems by creating core file under /var/crash folder we check that ...
0
votes
0answers
28 views

Troubleshooting network errors, possibly DNS issues

Yesterday we had some server (or possibly network issues) that escalated into real issues with connectivity (via ssh) and also dns problems. During this nothing (apart from the above) seemed to be ...
2
votes
1answer
36 views

SUDO Keeps promting for password, when using SSSD with AD

Hi I am trying to setup SSSD to authenticate to AD on RHEL. I able able to login with my AD user and password and see my groups when I run id. But when I try to use sudo, it just keeps prompting for ...
0
votes
1answer
18 views

Jenkins SSL Error

We are implementing Jenkins to support our new Continuous Delivery approach to application releases. We have a local CA that we use for all of our certificates. I have a .key and a .cer file ...
0
votes
2answers
30 views

Sending Red Hat audit logs to Windows Share

I am trying to figure out the best way to offload audit logs from a single Red Hat server to a windows share. What is the best way to do this without installing any additional software on the Windows ...
0
votes
0answers
14 views

Nginx error recv() failed (104: Connection reset by peer) while proxying connection

I am using Nginx for HTTP & TCP load balancing. HTTP is working fine, But i am getting below error for TCP load balancing. I am using Nginx ngx_stream_core_module module. nginx version: nginx/1....
0
votes
0answers
15 views

Restrict internet access with firewall rules for a VM running on Linux [closed]

I have Red Hat 7 running on my workstation, and Windows 10, used for working with Windows programs, in a virtual machine running on KVM/QEMU. The workstation, fulfilling the role as hypervisor, and ...
0
votes
0answers
23 views

redhat satellite + rhn_check + ssh bind_address

we want to run the rhn_check on remote machine - 172.23.21.23 (this is redhat linux version 6 ) , we use the ssh -R to Specifies that the given port on the remote machine - 172.23.21.23 is to be ...
2
votes
1answer
29 views

How to configure Yum to update from self-hosted repository

I have a Red Hat instance (which I'll call "A") that I would like to use as a repository for updates rather than the redhat-subscription-manager. I also have another Red Hat instance ("B") that I ...
0
votes
0answers
10 views

How to send Munin Email Alert just for One Server to One Email id

In munin.conf i have multiple Production and Test Servers. And munin sends the notification for all the servers for Warnings and Critical . I want one production server to email to just one email id ...
0
votes
0answers
18 views

“Connection timeout” when accessing application server (CF8.0.1 on redhat) via LAN computer

I have a Coldfusion 8.0.1 server running on a Redhat server on my LAN. It's running on port 8500. I can access the Tomcat landing page if I remote into the server and navigate to http://localhost:8500....
0
votes
0answers
26 views

Installing Google V8 in CentOS 7, missing a few files

I'm following these steps to compile Google V8 for v8js extension in CentOS 7: cd /tmp git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git export PATH=`pwd`/depot_tools:"$PATH"...
0
votes
1answer
23 views

RHEL 6.5 kernel panic unfixable after setting selinux to disabled

This question is similar to Server won't boot, kernel panic - not syncing Background: I have set /etc/selinux/config and changed the line SELINUX=enforcing to SELINUX=disabled After rebooting it ...
0
votes
0answers
13 views

What makes NGINX change the value of the Accept-Encoding header?

If I install a default version of NGINX (1.10.0) on Ubuntu 16.04 and use it to proxy a random website, the value of the request Accept-Encoding, is what the browser set (i.e.: gzip, deflate, sdch). I ...
0
votes
1answer
30 views

How to install gems for non-default Ruby with Puppet?

The ruby included with RedHat/CentOS-6 is of version 1.8.7, which is too old for many applications. Though simply updating it with a custom-built RPM is possible, my colleagues shy away from the idea ...
0
votes
1answer
31 views

Red Hat 7 - Amazon EC2 - Could not retrieve mirrorlist https://None/pulp

SELinux is running in permissive mode yum update is yielding: Loaded plugins: amazon-id, rhui-lb, search-disabled-repos Webmin | 1.0 kB 00:00:00 Could not retrieve mirrorlist https://...
0
votes
1answer
24 views

BitBucket Server Automatic Deployments with PHP WebHook

I've done some research and I'm attempting to reproduce something similar to JONATHAN NICOL's blog post, "Automated git deployments from Bitbucket". UPDATE TO ISSUE I've enabled logging of the ...
0
votes
0answers
26 views

How do I log BOTH successes and failures for file access attempts in RHEL 7 using Auditd

I'm relatively new to the Linux audit system, and I'd like to know the audit rule syntax to log both successful and failed file access attempts using Auditd on RHEL 7. I've been able to find example ...
0
votes
0answers
17 views

Pulling Subject Alt Name - Apache Reverse Proxy PIV CAC Authentication

I have created an apache 2.2 reverse proxy running on red hat. This proxy will need to accept a client certificate, pull the needed information, and pass that along to an application running locally ...
0
votes
0answers
7 views

Piping a tar file into Docker fails

I am very new to Docker. I am using RHEL 7.2 I am trying to import a tar file to docker repository with this command "cat rootfsfile.tar" | docker import - rootbase But I am getting this error: ...
0
votes
2answers
35 views

Redhat EL 7.2 using postfix to use smtp.gmail.com to relay not working

I am running rhel 7.2, I have postfix installed and can't get it to relay through gmail smtp servers. I have followed lots of tutorials and googled and tried answers to lots of others posts but I can'...
38
votes
4answers
6k views

“reboot” or “shutdown -r now”: what restart command is safer?

We have in our organization around ~500 RedHat Linux machines. On all the machines we installed applications and services under /etc/init.d, and oracle RAC servers. We intend to perform yum updates ...
0
votes
1answer
25 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 - ...
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
53 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
25 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....
0
votes
1answer
22 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 ...
1
vote
1answer
39 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=...
0
votes
1answer
25 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
15 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
0answers
36 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
104 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 ...