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

learn more… | top users | synonyms (1)

0
votes
0answers
8 views

ftp cmd from redhat machine to SUSE11 machine giving error as “Temporary failure in name resolution”

I use below cmd inside script and running in the redhat machine, it is trying to ftp the files from SUSE11 machine. But i am getting error as "Temporary failure in name resolution" [root@linux28_38 ...
4
votes
2answers
984 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 rhel-server-6.2-...
0
votes
0answers
26 views

Md5Sum script for Solaris and Linux

I want to write a script for Solaris 10 and Redhat Linux that tells me when a file (XMIS) was modified and by what username. The script needs to email me when changed. Here is what I have so far ...
0
votes
1answer
21 views

RedHat + what is the variable ARC in the /etc/sysconfig/clock file

from redhat doc we can see the following: The /etc/sysconfig/clock file controls the interpretation of values read from the system hardware clock. ARC=, where is the following: false or no — This ...
3
votes
2answers
1k 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 /etc/...
0
votes
2answers
31 views

red hat Linux + UTC properties and hw clock

from redhat documentation The /etc/sysconfig/clock file controls the interpretation of values read from the system hardware clock. UTC= where is one of the following boolean values: true or yes — ...
18
votes
9answers
86k views

How to boot Linux to command-line mode instead of GUI?

I am using 32-bit Red Hat Linux in my VM. I want to boot it to command-line mode, not to GUI mode. I know that from there I can switch to GUI mode using startx command. How do I switch back to command-...
0
votes
0answers
29 views

Why I can not open port on redhat?

I want to host sinopia (https://www.npmjs.com/package/sinopia) on the server. My problem is I can not open port for it. Default port for sinopia is 4873. OK. Lets start sinopia and then try to ...
1
vote
1answer
23 views

How to label a newly created file with “system_u”?

I just created a blank conf file for freetds and noticed that the permissions are wrong: [root@box etc]# touch freetds.conf.new [root@box etc]# ll -lZ freetds.conf* -rw-r--r--. root root system_u:...
0
votes
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 ...
2
votes
1answer
3k views

Do VmPeak & VmHWM have any measurement periods?

While reading kernel documentation I came across VmPeak & VmHWM, and it's a bit unclear to me. VmPeak in /proc/<pid>/status is described to be peak virtual memory size. Peak for what period?...
0
votes
0answers
25 views

Network mount /var with systemd

I'm trying to get my system to mount /var with a custom script that downloads the decryption key from a network server. I had a solution that worked in RHEL 6 with SysVinit. I'm trying to port that to ...
0
votes
1answer
25 views

What is Alternative of initlog (present in RHEL5) but deprecated in RHEL6?

I am using initlog tool in a cron file to write the output of ntpq -p command in syslog.. But initlog command has been deprecated in RHEL6. Now, I want know the alternative of initlog command in ...
0
votes
0answers
20 views

RedHat install mixing packages of different patch-level, dependency problem

Problem: I need to install tomcat6-webapps. When I do that I afterwards get "dependency errors" when running "yum update". I'm running RHEL 6.8 and when I try to install tomcat6 I will be offered ...
1
vote
1answer
33 views

Why is /etc/localtime a symbolic link?

as all know , in order to set new TIME ZONE need to perform the following steps example when we want UTC time unlink /etc/localtime ln -s /usr/share/zoneinfo/UTC /etc/localtime so we create ...
1
vote
2answers
23 views

What is the syntax of the /etc/yum.repos.d/*.repo files of official repositories of RHEL?

When we configure third-party repositories, the syntax of the .repo file is simple: [repo-id] name=Name of Repository baseurl=http://address/of/repo enabled=1 gpgcheck=1 gpgkey=file:///etc/pki/rpm-...
5
votes
2answers
11k views

Startup log file for RHEL?

When I start up my Red Hat box I see a progress meter in the center of the screen that has a button that says "Show Details...". When I click on this button, I see a console like screen that shows ...
0
votes
1answer
26 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 100gb free in case I ...
5
votes
1answer
823 views

Implications creating System Accounts “useradd -r” Linux Fedora/RHEL/CentOS

I want to know what are the implications of create an account using -r option? # useradd -r ... The help says: -r, --system Create a system account. System users will be created with no aging ...
1
vote
1answer
40 views

LOCALHOST Display

I need to export my display on two oracle database RAC nodes as this DISPLAY=localhost:10.0 However for me localhost:10.0 works on node 1 but on node 2 i have to export display as DISPLAY=localhost:11....
79
votes
11answers
119k views

Is CentOS exactly the same as RHEL?

I'm sure this question has been asked again and again elsewhere (I did not find anything specific to CentOS vs RHEL in SE), but I would still like to ask and confirm a few specific points. I am well ...
1
vote
1answer
281 views

Tomcat Homepage (localhost) doesn't showup [closed]

Assuming, I've successfully installed Apache tomcat in RHEL 7 followed almost similar instructions in here, except that I've tomcat8 user, assigned permissions and generating a keytool as $JAVA_HOME/...
1
vote
1answer
33 views

Apache status connecting to wrong host [closed]

I'm trying to get the status of my Apache server with the ./apachectl status command. I get the following in stdout: Looking up 127.0.0.1:30240 Making HTTP connection to 127.0.0.1:30240 Alert!: ...
0
votes
1answer
1k views

Is not a valid path to the kernel headers?

Host - Windows 10 VMware - 11.1.2 Guest - CentOS 7 I installed kernel-headers using yum since during the installation of vmware-tools I get a message "Searching for a valid kernel header path... ...
0
votes
0answers
44 views

TIMEZONE set for specific country but we get UTC Time - how it can be?

I have Linux red-hat 6.6 version This machine was set for Israel time zone as the following # more /etc/sysconfig/clock ZONE="Israel" ls -ltr /etc/localtime lrwxrwxrwx 1 root root 23 Jul ...
1
vote
0answers
29 views

How to test new user login?

I've done some searching on Google and SE and have not found what I need using my search terms. Accessing RHEL 5.10 (Tikanga) from Windows 7. I am making a new user and need to make sure their ...
1
vote
4answers
9k views

How to access the Local FTP YUM repo from client Machine

I setup the FTP server on Machine A 192.168.1.105 and created the YUM repo. And placed following contents in it. #vi rhel-localftp.repo [rhel-localftp.rep] name=bla bla bla baseurl=file:///var/ftp/...
2
votes
1answer
26 views

What are the most restrictive external firewall / DNS listening port settings I can have for my DNS server (internal clients only)

This question relates specifically to hardening the configuration of DNS, firewalls and at the limit, ntp. (not proxys, http access,vpn's or other services). This is about the externally-facing side ...
23
votes
2answers
19k views

/dev/tcp listen instead of nc listen

With a netcat listener like: nc -l <port> < ~/.bashrc I can grab my .bashrc on a new machine (doesn't have nc or LDAP) with: cat < /dev/tcp/<ip>/<port> > ~/.bashrc My ...
1
vote
0answers
685 views

receiving error message while trying to register for subscription for rhel6

I am trying to subscribe to redhat from the terminal. I have registered an account at https://access.redhat.com/labs/registrationassistant/ . So I am using those credentials to register my ...
1
vote
0answers
29 views

Cannot add group on RHEL desktop

Question: why does the groupadd fail here? Is it related to SELinux or maybe a bug? I found the mv /etc/group+ /etc/group problem via strace groupadd.. [root@notebook ~]# groupadd testing groupadd:...
0
votes
2answers
25 views

grub in centOS, I can't start my Server

I was changing my HD with a (Windows Program for Partitions), now I can't to start the server, CentOS. I remember this: /etc/grub.conf & default=1 timeout=10 splashimage=(hd0,4)/grub/splash....
1
vote
2answers
58 views

How to use exit status in crontab

I add the following script line to the red-hat crontab, script should run on Saturday in 5:00 in the morning. In order to run the script /var/scripts/PLW.pl every Saturday at 05:00 morning. I want to ...
0
votes
1answer
483 views

Unable to install mod_pagespeed on Apache 2.4

I have installed Apache 2.4 on the Red Hat Enterprise Linux Server release 6.7 (Santiago) by following these steps Step1 cd /etc/yum.repos.d/ wget http://repos.fedorapeople.org/repos/jkaluza/httpd24/...
0
votes
0answers
19 views

udev rule not executing the script specified in RUN

I have the following in /etc/udev/rules.d/40-swallowpv.rules: ACTION=="add", KERNEL=="sd[a-z]+", RUN="/var/tmp/swallowpv sdc" (I've also tried with RUN+= to the same effect). The first thing the ...
3
votes
1answer
39 views

Share an ext4 filesystem between two RHEL servers, but only one will mount at a time

I have two RHEL 6 servers which share a physical connection to a SAN storage (i.e., so both servers can see this /dev/sdb when running fdisk -l). My goal is not to have both servers access the ext4 ...
1
vote
0answers
29 views

Installing RHEL to multiple-boot with Windows and two other Linux distributions

Alright, so I made an earlier attempt to install RHEL 7.2 with automatic partitioning, and it turned into a mess since I have 3 other operating systems installed (windows + 2 Debian based Linux ...
0
votes
0answers
30 views

Redhat : “gluster volume status” shows NFS Server on localhost as N/A and Offline

I have 2 Nodes GlusterFS setup on 2 Redhat 6.7 Servers. (GlusterFS versions are both 3.7.12) Then the "NFS Server on localhost" status on one Server shows "n/a" and Online "N", while it is showing all ...
0
votes
1answer
1k views

Yum Corrupted on RHEL 6

I really need help. I am encountering the issue with my yum command. It seems to be exactly the same as the issue described on this site, Yum corrupted on CentOS 6.2, Problem importing one the python ...
0
votes
1answer
27 views

Linux redhat crontab + run script with arguments

I add the following line to the red-hat crontab in order to run the script /var/scripts/info_from_all_sites.bash every Friday at 00:00 night script should get as argument the file - /var/RT/names....
0
votes
0answers
10 views

CentOS or RHEL 7 - change nic used by cluster

I have a two nodes RHEL 7.1 cluster (NFS server) that currently uses 10 Gbps ethernet nics. The servers use a SAS shared storage. If I have to switch to Infiniband (IPoIB), can I stop the cluster, ...
0
votes
0answers
26 views

how to restrict users to the assigned folder with SFTP

I know there is different version of this question. What I have is a Red Hat 7.1 Linux box in the cloud. What I need is: create a group exchangefiles restrict group to SFTP I have more than one ...
1
vote
1answer
19 views

Bad user/group via NFSv4 mount: nobody user?

We have 3 servers: An NFS server: 1.2.3.4 (rhel 6.8) A good NFS client: SERVER5G (rhel6.8) A bad NFS client: SERVER6B (rhel6.3) Problem with the SERVER6B (bad nfs client) is that it shows the user/...
1
vote
1answer
25 views

linux + iptables + /etc/sysconfig/iptables

on my linux machine I see the following: iptables -L Chain INPUT (policy ACCEPT) target prot opt source destination Chain FORWARD (policy ACCEPT) target prot opt source ...
3
votes
3answers
5k views

Some Ossec agents not able to communicate with OSSEC server

I have installed Ossec on one server and agents on some other servers running on Redhat. The issue is that some servers are able to communicate and send the logs to servers and others are in INACTIVE ...
0
votes
0answers
26 views

yum + how to know to which site yum download the packages? [duplicate]

when I am installing rpm by yum (VIA Red Hat Network) as the following example down how to know to which site (URL ADDRESS) yum refer to? for example https://rhn.redhat.com or https://...
1
vote
1answer
990 views

Kernel logs on power failure

I was wondering if it was possible to have a logging program document a random power failure. Clearly it won't have any time to log when the power fails, but is there a way to recognize a power ...
4
votes
0answers
52 views

Failed UDEV rules test on Oracle Linux 7

I wrote my UDEV rules, to configure asm devices as shown: KERNEL=="sd?1", SUBSYSTEM=="block", PROGRAM=="/usr/lib/udev/scsi_id -g -u -d /dev/$parent", RESULT=="1ATA_VBOX_HARDDISK_VB40696d3c-4b65a1e9", ...
0
votes
1answer
57 views

After updating the Red Hat server kernel to latest version it still shows as old version

I have updated the kernel on my Red Hat Enterprise Linux Server release 6.7 (Santiago) from 2.6.32-573.22.1.el6.x86_64 to 2.6.32-642.1.1.el6.x86_64 and as per Red Hat documentation https://access....
1
vote
0answers
16 views

Xvfb stuck at “built-in extension GLX” on Amazon Linux

I started to use AWS EC2 with Amazon Linux a few days ago. I am running java with selenium webdriver over firefox to get some data from websites, and it works well when running on my windows computer. ...