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
0answers
5 views

Using instance storage for swap on Redhat 5 running in AWS?

I'm running a Redhat 5.11 server in AWS. I can configure swap to use instance storage (/dev/sdc), but every time the server restarts I have to reconfigure the swap. Adding an entry to fstab doesn't ...
0
votes
0answers
17 views

Usermod -aG vs gpasswd -a as a best practice

I am aware that usermod -g is not best practice from many posts like this however they normally explain the usermod should not be used as it changes the primary group of a user. These posts dont seem ...
-1
votes
0answers
8 views

How to make windows 7 to talk to rhel 6.4 through strongswan 5.2.0

I'm trying to make talk windows 7 to RHEL 6.4 through strongswan 5.2.0 RHEL 6.4 hostname gives "localhost.localdomain". Windows 7 machine name is "EPClient1" RHEL 6.4 IP is 10.2.128.16. ...
1
vote
1answer
43 views

rsyslog not writing log file after restart

First off, thanks for spending the time to have a look at this issue, its much appreciated. I've had the attached rsyslog.conf configuration running for sometime now until today when I had to restart ...
0
votes
0answers
29 views

can't create volume on disk-based libvirt storage pool

I followed Red Hat's doc (to the letter) on adding a disk-based storage pool for my libvirt/kvm server. Here's what I see: [root@kvm ~]# virsh pool-info guest_image_disk Name: ...
1
vote
0answers
14 views

Many gettimeofday in Apache 2.4 + fcgid + centos 6.6 - Long Wait time for static files

When i perform a strace on apache process, i see many gettimeofday before & after GET request, even when Apache returns a static file like an image file. It results in a long downtime period ...
1
vote
1answer
36 views

iptables block net range

I'm trying to REJECT network via iptables(8) and for whatever reason it is not doing so: # cat /etc/redhat-release Red Hat Enterprise Linux Server release 6.6 (Santiago) # uname -a Linux X ...
0
votes
0answers
18 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
0answers
25 views

Change Nginx document root from /usr/share/nginx to /etc/nginx

I've tried many things, STFW, RTFM but I still have this problem. The thing is: I have a Nnginx installed in an AWS machine (other fella installed it, not me) and I MUST serve several virtual hosts ...
1
vote
0answers
15 views

mail send format issue in different linux servers

I have created a send mail script which will run on couple of my client servers. The mail was sent correctly in couple of servers but in some servers the format we receive is not what what we ...
0
votes
0answers
17 views

failed ssh logins DOS: pam_systemd Failed to connect to system bus

After a couple of weeks of script kiddies attempting to login via SSH to my CentOS 7 box on EC2, it eventually stops responding on that port (and to http on port 80), and I have to reboot it. The ...
0
votes
1answer
44 views

bash script doesn't run properly in crontab but runs fine manually

I wrote a small script to determine the average IOPs per hour in which I later manually convert to a graph and spreadsheet for management to discuss a potential SAN upgrade for an upcoming expansion ...
2
votes
1answer
34 views

How to log administrator activities in Red Hat Enterprise? [closed]

Is it better to use auditd or sudo logs to log root and other user activities on a Red hat enterprise machine?
1
vote
0answers
17 views

Can't connect to Windows Server 2012 Virtual Machine in Red Hat 6

I have installed a WS2012R2 virtual machine using KVM on Red Hat, It has a bridge connection, Both (Host and Guest) have public IP addresses, both have internet access, both can ping any ip address or ...
0
votes
0answers
15 views

Is there any way to run cloud-init on a Redhat 5 instance in AWS?

Redhat 6 includes cloud-init hooks, which means in AWS you can install cfn-init and use CloudFormation. Redhat 5 doesn't appear to have cloud-init. Is there any way to get this working?
0
votes
2answers
33 views

How can I set resource stickiness in pacemaker?

I'm playing around with Red Hat's High Availability Add-On, everything seems working fine however I have one issue: Whenever I reboot one of nodes 7test2, resource group g1 migrates to 7test1 (by ...
0
votes
1answer
11 views

Concurrent connections per IP

I need to make a few changes to a firewall configuration, but before I do I'd like to see the number of concurrent Apache connections per IP. This command produces a nice list: #netstat -ntu | awk ...
0
votes
0answers
13 views

How to authenticate RHEL 6.6 to Windows Server 2012 Active Directory and LDAP? [duplicate]

Need help with setting up LDAP on Windows Server 2012 R2, I have AD setup already, but not sure what all I need to do to get LDAP running. Then I can't find any good resources online to authenticate ...
1
vote
0answers
18 views

Clarify directory quota and volume quota on RedHat

I'm following this guide: Managing Disk Quota But I really don't understand how to enable quota for every sub-directory inside a directory, when the containing directory doesn't have any limit. For ...
-1
votes
1answer
23 views

amazon ec2 linux redhat server install unar package

I'm just trying to install unar package for the purpose of uncompress compressed files. What I've tried is sudo yum install unar But it shows "No package unar available". I googled and downloaded ...
1
vote
1answer
31 views

How do I get firewalld to restrict access to all except specified IP addresses?

I would appreciate some assistance with configuring firewalld please. Here's a bit of background. All I want to do is prevent all access- except whitelisted IP addresses to a web application running ...
0
votes
0answers
10 views

How to add a certificate authority (CA) to redhat 5.6

I have Imported a Trusted Root Certification Authority(CA.cer) into Windows,It's working fine on window.Same certificate how to import the redhat 5.6?
-3
votes
0answers
14 views

how to configure samba server in redhat6.2?

If i install samba server in redhat6.2, i got the following error root@localhost /]# yum install samba Loaded plugins: product-id, refresh-packagekit, subscription-manager Updating Red Hat ...
0
votes
0answers
21 views

yum list available - not showing all packages

I have a strange problem with yum, working on one server and not working on another server that should be identical. The symptom is that after running createrepo on a directory containing RPMs (and ...
-1
votes
0answers
30 views

How to backup and restore users for openldap replication setup (syncrepl)

I am not able to restore the users using slapadd in replication setup of two nodes. When i restore it works on the where i restored but another one fails in the replication. We have two ldap nodes ...
0
votes
0answers
50 views

RedHat 6.6, Apache 2.2.15 and Varnish 4.0.3: Status Code 403 Forbidden on HTTPS/SSL configuration

I'm trying to configure Varnish to work with my SSL Apache configuration. Here's an extract of my httpd.conf file: Listen 8080 ExtendedStatus On NameVirtualHost 192.168.xxx.123:8080 Then I have ...
-1
votes
0answers
17 views

Linux - setting proxy server in env variable - pernanment

I need to do wget in php program to reach remote server for credit card validation. I am working behind proxy server. this works for for current session: http_proxy=http://192.0.2.1:3128 ...
0
votes
1answer
77 views

Cannot access SSH & neither any other service

I have installed a Red Hat 6 server as a virtual machine in a windows 2012 enterprise edition Hyper-V. The installation is over and I configured the static IP address using GUI tool provided in the ...
1
vote
1answer
52 views

Why my date command changed and how to restore the default one?

I'm having a problem in a RHEL 5.3 after I tried installing Perl Power Tools. Everything was working fine until I tried installing that package by hand (the server has no access to internet). At ...
2
votes
2answers
45 views

How to disable yum repositories not managed by puppet

Trying to bring a very ad-hoc environment into a more standardized and managed state. In my use-case, I'd like to disable all non-Red Hat repositories (provided by the subscription-manager plugin). ...
1
vote
0answers
32 views

Cannot install mysql server - Error in PREIN scriptlet in rpm package mysql55-mysql-server-5.5.32-3.el5.x86_64

I am trying to install mysql server 5.5 (or any 5.x versions) on Redhat 5.5 and am having some trouble. I can install the other mysql components but when I try to install mysql-server (or ...
1
vote
1answer
31 views

Server registered via RHSM to a Satellite Server can't load any of its assigned repositorys

One of my Redhat servers can't see any repositorys after registering with our Satellite server. I do have to say this Satellite server is newly setup and the newest Version -> Satellite Server 6 on ...
0
votes
0answers
20 views

Can't read PID file on OpenLdap using RedHat 6/ Centos

When I try to execute command "service slapd debug", I receive this message [root@elara ~]# service slapd debug slapd: [INFO] Using /etc/default/slapd for configuration slapd: [INFO] Halting ...
0
votes
1answer
66 views

Apache process hang and 100% CPU usage

I have strange problem with Apache (MPM Prefork) and mod_php. Server is running for some time and after random time few process is hang and using 100% CPU. 1741 fileu 20 0 840m 65m 41m R 100.0 ...
-1
votes
1answer
28 views

Installing a Newer Package than what's in RHEL's Repositories

What's the best way in RHEL to install a newer version of a package than what's in the repositories? In Ubuntu I can just add the repo for a newer version of Ubuntu, install the package with apt, ...
0
votes
0answers
24 views

Can FPM make one RPM package that acts differently if systemd is being used?

I build an RPM using fpm for EL6 hosts. It installs a /etc/init.d script. However if that package is installed on an EL7 host, I want it to install a file in /usr/lib/systemd/system instead. Is ...
1
vote
1answer
126 views

CentOS 7 with Red Hat Satellite 6

We're using Satellite 6 to manage our RHEL servers. For some side projects, we'll be using CentOS 7 to limit the costs. Of course we'd like to use Satellite 6 as well to centrally manage these CentOS ...
0
votes
4answers
138 views

How do I check if my VPS participated in a brute force or denial of service attack? [closed]

On VPS what logs do I have check and what type of information should I check for to find out if my server participated in a brute force or denial of service attack? I have the targeted IP address ...
3
votes
1answer
68 views

Increase tmpfs size more than available RAM Is that a good option?

Is it advisable to increase the size of tmpfs /dev/shm more than available RAM. Will it crash the machine? The reason for the excercise is to optimize the perfromance of the SAP application. ...
1
vote
2answers
47 views

AWS fails to resize an RHEL64 instance upon launch

I'm using AWS to boot up a RHEL64 instance but the disk is failing to resize to fit the volume I've selected. Here's the scenario: I Launch a running instance from the Marketplace AMI ami-517eec6b ...
0
votes
1answer
55 views

RPM or YUM equivalent of apt-get install libgraphicsmagick1-dev

I was using Ubuntu for development and one of the dependencies needs apt-get libgraphicsmagick1-dev now I need to deploy to a AWS EC2 which runs AMI and only support YUM or RPM, what the the ...
0
votes
0answers
25 views

Mongodb + Kerberos BadValue SASL mechanism GSSAPI is not supported

I am trying to run an instance of mongodb with the authentication mechanism GSS-API. This is the command: mongod --dbpath /home/ec2-user/db/node2/data --auth --setParameter ...
14
votes
2answers
1k views

How to prevent users from extending their window of valid login

Been working on some security hardening procedures for a RedHat box, and I wanted to know if would be possible to prevent a user from changing his password, once it's expired. For one of our clients ...
1
vote
1answer
50 views

Check if account is allowed when using pam_access

I'm using pam_access and /etc/security/access.conf to restrict who can login to my Rhel 6.5 hosts. I have an LDAP server with a diverse user base, and the security people would like a list of who can ...
1
vote
1answer
23 views

Locally runnable VM to simulate Amazon EC2 host

I'm currently managing an application hosted on the Amazon EC2 cloud. I'm curious whether it's possible to get hold of a VM that would most closely mimic the Red Hat environments that one deploys to ...
0
votes
0answers
28 views

Redhat configure sftp

I would like to give someone in a different dept read only sftp access to a certain dir on a redhat 6 server. Easier said than done I've found. I've followed a guide like this one to setup the user to ...
0
votes
0answers
31 views

Apache URL Rewrite On the same Virtual Host works in one case but fails in another

I have an odd problem, where I am rewriting a URL to proxy to two different URL destinations, based on digits that are passed in the URL and a particular string, in the same virtualhost definition, ...
0
votes
0answers
37 views

Hidden network after cloning Red Hat

I have a bizarre network problem with Red Hat. I have a virtual RHEL6 guest machine running on a ESXi 5.5 hypervisor. The VM is a clone of a base 'template' I created. The problem is there seems to ...
1
vote
1answer
49 views

saslauthd on Red Hat 6.5 NO “authentication failed”

I'm trying to authorize an user of an active directory in a red hat linux 6.5. To do that I am using saslauthd. This is its configuration: /etc/saslauthd.conf: ldap_servers: ...
0
votes
0answers
59 views

Read-only access to a dir for a user in the shell, but allow git to write to that dir

The Environment: At work we have a shared web hosting account which allows us shell access to our server, but not root privileges. This means we have a single user in a single group and cannot create ...