Questions about the OS, such as Red Hat Enterprise Linux, should use [rhel] or the like. Red Hat is the developer, the company itself.

learn more… | top users | synonyms

3
votes
3answers
32 views

Installing Red Hat based OS on mbr disk

I currently have installed Windows XP and Linux Mint 17 on my laptop. My disk is MBR type because of Windows XP. I have installed linux mint without any problems, but now I am trying to install Red ...
0
votes
0answers
32 views

how to disable screensaver at login screen in RHEL 7

I am using gnome v3.8.4 for login screen in RHEL 7. I have tried setting false for following dconf settings(gsettings) [org/gnome/desktop/session] idle-delay=0 [org/gnome/desktop/screensaver] ...
1
vote
1answer
42 views

ping error two nic cards in linux pc

The problem I'm having is two NIC in my RHEL 6 server with different IP-addresses. PC1 eth0 - 10.10.0.1 eth1 - 192.168.1.1 The other computer is setup the same way. PC2 eth0 - 10.10.0.2 ...
0
votes
0answers
15 views

create double partition on cd/dvd [duplicate]

Is there any tool that can create a double partition cd/dvd ? We have clients who uses Linux or Windows and I want to create a cd that contains a partition for linux and another one for windows. If a ...
0
votes
1answer
20 views

How to include a call to ncat to a bash script?

I need to flush a memcached instance from a bash script, I found the following command which do the job: echo 'flush_all' | ncat localhost 11211 But my problem is that the script doesn't continue ...
0
votes
0answers
12 views

How to install package with locale dependencies?

I've built my own PHP5.5 on my RedHat6.6 two month ago in order to support Sybase database connections. Today I want to enable memcached support. I tried yum install php55-php-pecl-memcache.x86_64 ...
0
votes
1answer
28 views

Unable to open display to specific user in Red Hat 6.4

I am trying to install Oracle database 11g in my Red Hat 6.4 and the installer aborts with a warning followed by an error message: Warning ">>> Could not execute auto check for display ...
0
votes
0answers
12 views

Grub Fallback Not Working in Redhat 6.5

I'm trying to set up a grub fallback system in grub.conf, but none of the settings in the grub 0.97 documentation have any discernible effect. Also, there is no grub-set-default command present. This ...
2
votes
1answer
88 views

How do I get Linux to notify me about failed login attempts?

I have seen it before when you log into a Linux box wrong, when you do successfully log on, it notifies you that someone attempted to log on as you and didn't succeed. What do I need to do to make ...
0
votes
0answers
11 views

after installing Red Hat Developer Toolset 1.1 which gcc will be default old one or new gcc 4.7.2

After installing Red Hat Developer Toolset 1.1 can i compile my old source code with old gcc? which gcc will be default old one or new gcc 4.7.2
0
votes
0answers
13 views

Please I need some help in filtering out an output in the format below:

Please I need some help in filtering out an output in the format below: blah blah blah blah (loads of logs before from 08:00:00) access_log.2015-03-12-10_08_04:99.211.30.0 - - [12/Mar/2015:10:12:08 ...
0
votes
0answers
15 views

Redhat 6 Set Default NTP Arguments

I'm advised to launch ntpd with the "-g" argument to avoid having the daemon shut down if there is a gross mismatch between system time and the time NTP comes up with; this is needed because we're ...
0
votes
2answers
30 views

Copy files from Solaris to redhat via SCP command run on RedHat console

I have to copy several GB of little files (from few bytes to < 1MB). These files resides on a file system of a Solaris system. No rsync and rdiff software is available on Solaris and cannot be ...
1
vote
0answers
13 views

RHEL 5 box constantly displaying NIC statistics on console screen, how can I disable this?

I have a RHEL 5 box that is constantly displaying nic statistics on the console screen when using the KVM. This makes it very hard to do any troubleshooting when the box goes down as these statistics ...
5
votes
1answer
54 views

What happens when I truncate a file that is in use?

Around the web many people say you can truncate a file using > filename or truncate -s0 filename while file begin used I know everytime a process write in a file, the process uses a offset for ...
0
votes
0answers
39 views

Why default useradd variables aren't taken into account, when create user in GUI mode?

I'm trying to configure users password policy on RHEL 6.6 and my /etc/default/useradd file contains: # useradd defaults file GROUP=100 HOME=/home INACTIVE=-1 EXPIRE=0 SHELL=/bin/bash SKEL=/etc/skel ...
3
votes
0answers
128 views

How to configure linux to enforce new users to change their password on first login

I'm trying to configure users password policy on RHEL 6.6 and I want system to ask newly created users to change initial password on first login. Note, that I tried to set EXPIRE variable to 0 and ...
0
votes
1answer
13 views

Initial passwords pre-expiration in Red Hat

I need inital passwords which was set by root to be pre-expired. For example: root# useradd user1 root# passwd user1 After that password need to be expired. It can be achieved by command root# ...
0
votes
0answers
8 views

is there anyway to install captive portal on Redhat?

is there anyway to install captive portal on Redhat? i can't just find any link or tutorial. I really need a captive portal but i am not able to do it.
0
votes
0answers
25 views

Is it safe to install items from the Oracle Enterprise Linux (OEL) repository on a Red Hat Enterprise Linux (RHEL) system?

Is it okay to install Red Hat Enterprise Linux (RHEL) 6 packages from an Oracle Enterprise Linux (OEL) 6 repository? My company just virtualized three Red Hat Enterprise Linux servers but we don’t ...
0
votes
0answers
50 views

VirtualBox errors out saying it needs more free disk space when space is clearly available

At my work environment we use VirtualBox for testing. It is set up as Windows host and RHEL 6 as client. Now during testing sometimes the error message popping up which says: You need to free ...
1
vote
0answers
60 views

Set up sftp mysql authentication with chroot

How do I set up an openssh SFTP server that authenticates against a MySQL table where the users are jailed? Each user will need to have its own jail: /home/sftp/john /home/sftp/jane etc.. However ...
0
votes
1answer
176 views

cannot open `' for reading: No such file or directory

I am trying to run .sh file on RH6 and getting this error... cannot open '' for reading: No such file or directory The script I am running is internally referencing other scripts, located in same ...
0
votes
2answers
362 views

Using PuTTY private key for new user on AWS EC2 Server

I started an AWS EC2 instance. I can connect to my instance with the user ec2-user using the SSH private key generated by Amazon. I followed the directions at: ...
1
vote
1answer
94 views

-bash: export: ''not a valid identifier when logging into terminal

Hi Whenever I log into the terminal I get the following error -bash: export: ...
0
votes
1answer
827 views

Redhat Linux /lib/libc.so.6: version `GLIBC_2.16' not found (required by /lib/libncurses.so.5)

I am running a server RHEL 6.4 which currently has GLIBC 2.12 installed on it. We are trying to run a program which gives this error /lib/libc.so.6: version `GLIBC_2.16' not found (required by ...
0
votes
0answers
18 views

NIS Build issue with netid

I just completed the build of a new NIS server. Upon the run of /usr/lib64/yp/ypinit -m I get an error from make saying make[1]: *** [netid.time] Error 1. The /var/yp/Makefile has these ...
0
votes
2answers
67 views

Why doesn't the centos devtools repo work on redhat?

I have RedHat 6 installed and would like to use the Centos 6 devtools. I found instructions for using the repo here. I have tested this method on Centos 6 and it worked fine. However, it doesn't ...
0
votes
1answer
25 views

how to find out if I can use HP secure encryption

I have a server that does not have an order sheet of what all was included when the server was bought. I would like to try and implement HP Secure Encryption (link) but am not sure if I have all the ...
0
votes
1answer
180 views

mod_perl not active on Apache/2.2.15 (Red Hat)

I am using OTRS on a RedHat 6.5 with apache2 and mod_perl2. One of my servers (Sandbox environment) has the following (yum info feedback): Installed Packages Name : httpd Arch : x86_64 ...
0
votes
1answer
115 views

Why Oracle java do not appears in the alternatives command on redhat 6.5?

I have redhat 6.5 x64 and java preinstalled on it. The command java - version shows: java version "1.7.0_45" OpenJDK Runtime Environment (rhel-2.4.3.3.el6-x86_64 u45-b15) OpenJDK 64-Bit Server VM ...
1
vote
1answer
111 views

Putty copy/paste not working in Red Hat outside Putty window

When using Windows, every time I use putty to access a Linux/Unix box, selecting something on the screen or CTRL+INS, it will copy what is selected and outside the Putty window, if I CTRL+V it paste ...
0
votes
0answers
45 views

Cannot boot into RHEL 7 since check disk in Windows 7

I boot both in Windows 7 and RHEL 7 interchangeably many times. But one time, when Windows 7 made a check disk, I cannot boot into my RHEL instance. RHEL 7 is just entering in Emergency mode and I'm ...
1
vote
2answers
118 views

CentOS 7 installation issue due to unsupported virtualization by my CPU

I need to Install CentOS 7 on my computer for preparation of my RHCSA/RHCE 7 exams. I have a laptop that has a 64 bit CPU (with 64 bit Windows 7 installed on it), but the CPU does not support ...
0
votes
1answer
638 views

How to dual boot Windows 7 and Red Hat Enterprise Linux 7?

I first installed Windows 7. Then I installed RHEL 7 and GRUB is not showing. I cannot boot in Windows 7. I've searched all over the net but the tutorial I've seen is only in RHEL 6. How can I ...
1
vote
1answer
170 views

Initial MySQL 5.7 installation on RHEL Instance Fails to Start

I did a standard MySQL install with Chef on an AMI on AWS. Here's the recipe: mysql_service 'default' do bind_address '0.0.0.0' port '3306' version '5.7' initial_root_password 'hunter2' ...
0
votes
0answers
114 views

Firewalld - allowing ICMP in custom zone (centos 7 / redhat 7)

I want to enable ICMP echo-reply in a zone defined by source. I have a zone MONITORING where I want to permit some services like mysql and echo-reply. Permiting services like mysql is simple, but I ...
1
vote
1answer
65 views

How to extract single file from large tar/tar.gz file

What I want to do is to extract a single file from a huge tar file, instead of extracting the whole tar. I am using RHEL 6.4 I Googled it and tried the following: tar --extract --file=some.tar ...
0
votes
0answers
141 views

Centos6.5 can't use serial console but can see serial output messages during boot up

I configure CentOS 6.5 x86_64 version to support serial console. I edit configuration files as many people suggest. In GRUB, Add these two lines: serial --unit=0 --speed=115200 terminal --timeout=5 ...
0
votes
1answer
67 views

“kdb5_util create” fails with an error

krb5-server 1.10.3-33.el6 on CentOS 6.5. I'm following the Red Hat KDC Instructions. Right there at the start, the instructions give me /usr/sbin/kdb5_util create -s. If I run that, I get this: # ...
0
votes
0answers
13 views

How to deny an specific user to reboot or shutdown in Red Hat 6 with visudo

Hello and thanks for helping me in this question. I just have in /ets/sudoers something like this: ##User Aliases <BR>**User_Alias CLIENT = jhonny </BR> CLIENT myserver = ...
1
vote
1answer
19 views

Directory Permission

My server is running redhat and has two users A and B, User A ownes /dirA Now I have created /dirA/dirB and did chown -R B:B /dirA/dirB/ when I su B and cd /dirA/dirB/ it workes fine. But when I ...
0
votes
0answers
16 views

How to backup Oracle database and tomcat directory from Disk with Fedora or other linux live cd?

Some partitions of my disk corrupted (superblock error) and cannot boot, stacked on "Maintenance Mode". How to backup oracle database and tomcat directory on that disk with linux cd ?
1
vote
0answers
37 views

Root access permission in normal user directories?

Short story; I run a setup as root to install a program, which will create some files and directories in home folder of a normal user. The error is I don't have write permission to it. So I go to the ...
0
votes
0answers
34 views

Linux 32 bit CPU + Oracle Limitations

I have 32 bit RedHat 4 server (with hughmem kernel) CPU is 2 x Xeon X5650 (12 total psychical cores, 24 virtual) On the server there is running Oracle 10G (32 bit) database instance. Oracle because ...
1
vote
1answer
53 views

Yum batch install package cause 100% CPU load?

I need to install a list of package as follow; so I made a small script automate it: yum -y install libstdc++.i686 yum -y install libibcm.x86_64 yum -y install librdmacm.x86_64 yum -y install ...
1
vote
1answer
184 views

How to solve fsck.ext3: No Such file or directory on redhat 2.6.9-55

I have main two problems here: Error on boot. It said error file system. Forgot root password. How to solve them? This is error occurred when boot, how to solve it while i forgot my root ...
0
votes
0answers
24 views

red hat: how to move items from one monitor to the other

I am using red-hat 5 with two screens. I wanted to know if there is some keyboard shortcut for moving items between the monitors just as the or Fn+space in windows. I found this answer, it may works ...
0
votes
1answer
125 views

No Volume Group found error.How to rebuild initrd in Red Hat 5.1?

Motherboard failed in one of the Red Hat Server. So, I moved the HDD to a new box. As If I boot the machine. This error shows up. After refering to many sites, they said about rebuilding initrd. So, ...
0
votes
0answers
19 views

Recursively create/update tarballs of old files inside directories

I have an archive directory of ftp files. I want to schedule a job to zip up any files that are older than 6mo into an tarball in each directory. I've started writing the script, but I feel like ...