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

learn more… | top users | synonyms (1)

0
votes
2answers
8 views

Yum file conflicts due to my mistake. How do I fix?

I did something stupid. I simply scped my rpmforge repo files from another (working) machine on to my dev box, and ran yum update. This yielded: root@dev07 /etc/yum.repos.d # yum update Loaded ...
1
vote
1answer
15 views

OpenJDK update in RHEL 6

We need to apply the JDK updates to one of the RHEL 6 servers. How do I apply the patch if I have the RPM package available, which I have downloaded from the internet. Searched a lot on the internet ...
0
votes
1answer
12 views

rc.local hang on bootup

My rc.local is stuck in an infinite loop since I accidentally put a wrong io redirection in and it is executing itself over and over again. I am on red hat 6.5 and would like to know how I can start ...
0
votes
0answers
31 views

Is there anyway to download an entire RHEL repo from windows?

I have a number of offline machines RedHat machines that I need to update, and I have an active RedHat subscription for all of them. I am unable to get an internet connection to these machines so I ...
1
vote
0answers
15 views

MongoDB “service” on clean Redhat can not be started

I just bring up Redhat 6.5 64-bit from AWS and did the below things: Disabled SELinux Disabled Iptables All ports opened in Security Group Rebooted Then i just followed, both of the below ...
0
votes
0answers
31 views

Redhat / Centos 7 Firewalld rule set for either a pptp or L2TP/IPsec vpn

Having a quick look at Centos 7, and though I'd spin up a VPN daemon or 3, but immediately discovered the usual packages aren't yet in the core repositories, so had to dig around and found the ...
1
vote
1answer
18 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 ...
0
votes
1answer
15 views

How can I set up Virtual Hosts in Centos7?

I am trying to set up virtual hosts in Centos7. I followed this guide: http://twohlix.com/2011/05/setting-up-apache-virtual-hosts-on-centos/ however I keep getting the following error: Job for ...
0
votes
0answers
28 views

/etc/sudoers automatically reverts back

I am facing a weird issue. I ran visudo and added 3 new lines and could see that those lines were added to /etc/sudoers as well. But it's not lasting for more than 10 minutes or so. After 10 minutes ...
2
votes
2answers
61 views

How can I make iptables service start automatically after reboot on CenOS/RHEL7?

I am having a few issues with a newly installed home server I am preparing. I have installed CentOS7 on it and I found that port 80 and 443 are off by default. I therefore added them to the iptables ...
0
votes
0answers
15 views

Generate what a GRUB2 kernel line would look like

In GRUB 0.97 we were able to see what the kernel line/options would look like by just viewing /boot/grub/grub.conf. Now the only way I know how to check the next boot kernel options/kernel version ...
3
votes
1answer
49 views

What is the difference between hostname, hostname --fqdn, and hostname -A

I have a machine I changed the hostname of. I changed it in /etc/hosts, /etc/sysconfig/network, and with hostname command. hostname returns the correct shortname, hostname --fqdn returns the expected ...
1
vote
0answers
11 views

Kexec immediately after Kickstart install (where is cmdline?)

I used to be able to kexec into a new kernel immediately after a kickstart (anaconda) install via pxe. I was able to do this by figuring out the current kernel version, and grabbing cmdline options ...
0
votes
2answers
54 views

Authentication very slow (both with ssh and su)

I'm having a problem on one of our production servers where the login attempts become progressively slower as time passes. After roughly 5 days it becomes so slow that some critical processes/cron ...
0
votes
0answers
43 views

Problems with permissions for /tmp

I executed command: chmod 1777 /tmp Now I get these results of executing the ls command from root: ls -ld /tmp drwxrwxrwt 4 root root 4096 Aug 9 05:42 /tmp and from not-root user: ls -ld /tmp ...
-1
votes
1answer
41 views

RHEL 5 license for RHEL 6?

A few years ago We have bought a "Redhat Enterprise Linux 5 Server" license, we used that license only on offline servers. Now we are migrating to a new system, we need to install RHEL 6 which will ...
2
votes
0answers
15 views

Install `mpl_toolkit.basemap` on RedHat without compiling from source

I need to install matplotlib and mpl_toolkit.basemap on a RedHat machine. matplotlib is already installed but for mpl_toolkit.basemap the only way I could find was to download the source and compile ...
-2
votes
4answers
60 views

nohup command doesn't seems to be working?

Please let me know any example that shows nohup is working for a program even after logout , as i tried using without nohup command to run a script i background and it seems to be working even ...
0
votes
0answers
11 views

centos 7, xhost and other user than root

The following worked under CentOS 6: sudo su xhost + su - oracle xclock Under CentOS 7, I get an xclock after sudo su and xhost +, but a DISPLAY error when changing to the other user. Am I ...
0
votes
1answer
10 views

Sendmail Message Fail

On my Redhat Prod Server I installed Sendmail that I will use to send DB Backup completion mails to my email id. When I send a email from My Server A 172.16.233.2 to my email id abc@domain.com. using ...
0
votes
2answers
38 views

Redhat subscriptions - synchronise subscriptions

I have inherited a system admin role of a small cluster of redhat machines - most running rhel5 and one machine running rhel6. My sys admin skills are at the moment poor but I would like to improve ...
1
vote
2answers
27 views

How to disable SELinux without restart?

I need to disable SELinux but cannot restart the machine i followed this link where i get bellow command setenforce 0 But agter running this command i checked for that sestatus SELinux status: ...
0
votes
0answers
23 views

Unable to install Crypt::SSLeay perl module on RHEL 5.7 (x86_64)

Here is the scenario, actually my RHEL 5.7 (x64_86) server don't have internet connection. but I want to install Crypt::SSLeay perl module on that server. So I downloaded it from CPAN & then ...
2
votes
3answers
74 views

Run a script on multiple shells?

I have two servers one AIX with default shell ksh, the other RHEL with default shell bash. I have a script that is mounted on both that will run similar commands but for either AIX or Linux. This ...
1
vote
1answer
40 views

rhel 6 default gateway not working

I have six similar RHEL 6 servers in the lab and the settings are same in all the servers. The settings are, static IP address: 129.XXX.XXX.XX Subnet Mask: 255.255.254.0 Default Gateway: ...
0
votes
1answer
50 views

Redhat “httpd” can not start anymore. Showing “suEXEC” and “SELinux” notices

I'm on RHEL 6.5 and Apache 2.2.15. When I restart the httpd, I can not start that httpd anymore. Showing following things in the /var/log/httpd/error_log: [Fri Aug 01 18:31:48 2014] [notice] suEXEC ...
2
votes
1answer
43 views

What is the purpose of UUIDs for NICs?

On Fedora/RHEL/CentOS there is a line in /etc/sysconfig/network-scripts/ifcfg-x files which defines UUID: UUID=30fcd648-ad1e-4428-as6f-951e8e4d16df NICs have MAC addresses by them selves, so what ...
1
vote
0answers
47 views

How to configure a “point-to-point” connection with RedHat 6.5?

My servers are hosted at Hetzner and I need to create a point-to-point connection to my gateway. The server can only reach its gateway (and its locally configured) IP addresses directly. All other ...
0
votes
0answers
18 views

Is there anything in RHEL 6.5 that would affect I/O speed for something <24K vs >24K?

Generally, transactions for my app of setting and getting data internally are measured in a couple of millis. However, over 24K in size, that time can jump to just over 100 millis. Is there anything ...
1
vote
0answers
40 views

RHEL 6.4: Openssl 1.0.0-27 libcrypto and libssl missing

I am trying to install znc IRC bouncer, which needs openssl libraries: Error: Package: znc-1.4-1.el6.x86_64 (epel) Requires: libcrypto.so.10(libcrypto.so.10)(64bit) Error: Package: ...
1
vote
0answers
48 views

The equivalent of start-stop-daemon for RedHat 6

I have an upstart script to create a service in RedHat 6: env PLAY_BINARY=/usr/bin/play env HOME=/opt/warda env USER=root env GROUP=root [...] script exec start-stop-daemon --start --exec ...
0
votes
0answers
15 views

Samba 3 file sharing access permission problem onWindows

I'm trying to set permissions on a server RHEL v5 whith Samba v3. The configuration of /etc/samba/smb.conf is [project] valid users = proyecto, admin writeable = yes ...
0
votes
1answer
31 views

How does Grub boot off of a Windows partition?

I have a dual boot laptop that was built by Dell with Windows/Red Hat. The grub configuration says that it was made by Anaconda. The partitions are as follows: /dev/hda1 Dell Utility /dev/hda2 ...
3
votes
2answers
31 views

Creating a GnuPG keyring for apache

Here's the scenario, we're using GnuPG to encrypt data between 2 web servers. 1 is on RHEL. GnuPG will be accessed through cgi scripts to encrypt and decrypt. So I need a keyring that the apache user ...
-1
votes
0answers
10 views

Gnome Crashes after installing Php5.2.17 and Apache2.0.64

I was installing Php5.2.17, Apache2.0.64 and zlib on my machine with RHEL 5.4 OS, after the installation I restarted my computer. Before it loads the Login screen however, a message appears : It's ...
0
votes
1answer
50 views

Answer password prompt programmatically via shell script

I would like to programmatically answer a password prompt using only shell script when prompted. Is it possible to automate this task in this way? I want to avoid other tools entirely - so no expect ...
1
vote
1answer
29 views

If a start-up script in `init.d` has standard output, where is that logged if anywhere?

We have a startup script that is symbolicly linked to /etc/rc0.d/K01ourapp. Apparently, it is not working as expected during shutdown. The script actually does a few echo calls that may help in ...
0
votes
0answers
15 views

PlayOnLinux(POL) Excel 2007 can not open more than one spreadsheet

I have Installed CentOS 6.5 - i386 and PlayOnLinux 4.1. On that MS Office 2007 is installed. Word 2007 is able to open more than one document simultaneously and also possible to perform Cut, Copy and ...
0
votes
1answer
38 views

Why are man pages blank for non-root users?

. . . And how can I fix that? :-) I'm running RHEL 5 and when I try to view man pages as a regular user, they are blank. I've tried man man > manman.txt; cat manman.txt and there is no output, ...
1
vote
2answers
127 views

Chown permission denied on owned dir

I have following directory (/usr/local) rwxr-xr-x. 43 root root 4096 Jul 25 14:19 . rwxr-xr-x. 14 root root 4096 Feb 21 10:27 .. rwxr-xr-x. 2 root root 4096 Jun 28 2011 bin [...] rwxr-xr-x 1 ...
0
votes
0answers
10 views

PCI-e SSD - Not visible to sysstat's iostat or sar

I am attempting to get basic statistics during test runs on a server with a PCI-e attached SSD that is mounted on /dev/rssda1, however sar and other sysstat either do not log, or in the case of iostat ...
4
votes
1answer
22 views

. (dot) in file mode [duplicate]

I tar a folder on windows and untar on RHEL machine. ls -l shows a . in file mode and folders are in blue + yellow background. [root@xt-storage-01 apache-tomcat-8.0.5]# ls -l total 120 drwxrwxrwx. 2 ...
0
votes
2answers
41 views

Determining RHEL Type (Workstation vs Server)

How do I tell whether or not I have Red Hat Server or Workstation? I know my redhat release info is in /etc/redhat-release. Red Hat Enterprise Linux Client release 5.9 (Tikanga) I need to order an ...
4
votes
2answers
124 views

USB set to /dev/sda instead of /dev/sdb

I've been trying to use a kickstart file to guide the Red Hat installer (RHEL6.5) without user intervention. It correctly looks for the kickstart file in /dev/sdb/fs.cfg, but because the USB is ...
-2
votes
0answers
36 views

Installing packages in Oracle Linux Server 6.5

This is the first time working on a non-Ubuntu distribution, I need to get the following packages, which in Ubuntu I just used this commands: sudo apt-get install libreadline6-dev sudo apt-get ...
0
votes
0answers
20 views

Disa stig viewer don't read the log file

I'm working with a dev group deploying RHEL 6.5. I have used the stig-fix-el6 stig master to stig my system. I attempted to use the Disa stig viewer to view the log, but it doesn't read the file. It ...
0
votes
0answers
75 views

nfsd fails to start: modprobe: FATAL: Could not load /lib/modules/2.6.18-238.1.1.el5/modules.dep: No such file or directory

Before asking, here are some system specs: [root@SERVER ~]# cat /etc/*release **##############CARS build log for cars20-rhel-x86_64############## Date: Mon Feb 28 20:06:05 PST 2011 Builder: ...
0
votes
1answer
29 views

how to get effect of IP rules script in RHEL 6?

I have written one ip.sh file in that I have written one rule and then saved the iprules with the corresponding commands. Now when I opened /etc/sysconfig/iptables nothing is reflecting. I need the ...
2
votes
1answer
39 views

Upgrade a 32-bit RHEL installation to 64-bit

I recently encountered an issue where I had installed a 32-bit RHEL 6 server on a system with a 64-bit processor. I did some research and found that RHEL 6.0 has PAE enabled on 32-bit machines, which ...
9
votes
2answers
569 views

( /etc/sysconfig/iptables ) “Manual customization of this file is not recommended.” Why?

Editing this file directly /etc/sysconfig/iptables can save me so much headaches so much time and so on... and yet on the very top of the file it says.. Manual customization of this file is not ...