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

1
vote
0answers
5 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
20 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
9 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
52 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
9 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
6 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
15 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 ...
-1
votes
0answers
12 views

Redhat Linux cronjob

I want to run a cronjob which should delete files in a subdirectory which are older than 18 hours & delete the subdirectory which are empty e.g /var/cdr/keep/YYDDMM/Files YYDDMM - Is a directory ...
0
votes
0answers
47 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
20 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
67 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
69 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
29 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
184 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
13 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
41 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
24 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
101 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
42 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
48 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
27 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
84 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
152 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
95 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
52 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
45 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
67 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
31 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
12 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
14 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
33 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
32 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
35 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
75 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
22 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
52 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 ...
1
vote
1answer
592 views

Apache loading PHP module - undefined symbol: unixd_config

I'm configuring a new web server on a RedHat 6.5. I try do enable the php5 module on Apache 2.4.6 as following: LoadModule php5_module /usr/path/to/libphp5.so AddType application/x-httpd-php .php ...
1
vote
0answers
23 views

CentOS 6 with User Permission (Read at message)

I have create users on CentOS 6 between test1 and test2 so I login on user test1 on ssh and i tried to access home dir of test2 so why it can access? how i can setting for other users can't access ...
0
votes
0answers
172 views

How to auto-resolve dependencies in yum with redhat?

I came across the following issues trying to get git: yum install git-all.x86_64 Loaded plugins: product-id, refresh-packagekit, security, subscription-manager Updating certificate-based ...
-4
votes
1answer
76 views

Do Windows and Debian / Red Hat use the same thread management?

I need to know what kind of thread management Windows and Debian / Red Hat use in their recent versions. I know that they used to use 1 to 1 thread management model. Do they still use this model ...
0
votes
0answers
21 views

accessing bitlocker volumes in redhat linux

I have a laptop running windows 7 ultimate. I have encrypted my drives using bitlocker. Now I have also installed redhat linux 6.0 along with windows. But my encrypted drives are not visible in linux. ...
0
votes
0answers
196 views

Why is groupinstall not working on my RHEL 6.2?

It lists the groups, but does not install them when I ask it to. Why ? How can I fix it ? [root@INEICP-EPM-W134 ~]# yum --disablerepo="*" --enablerepo="epel" grouplist Loaded plugins: product-id, ...
0
votes
0answers
14 views

Installing Nvidia drivers on Red Hat [duplicate]

I am trying to install Nvidia drivers on Red Hat Why am I getting the following error: rpm -i NVIDIA_kernel-1.0-2880.rh62.i386.rpm error: Failed dependencies: kernel = 2.2.14-5.0 is needed by ...
0
votes
0answers
47 views

How to host multiple php sites on one OpenShift app

How to make different domains point to different sub-directory? For Example: abc.com --> ./php/abc.com/ xyz.com --> ./php/xyz.com/ Can I create virtual hosts on OpenShift's app?
0
votes
1answer
64 views

Anaconda kickstart Variables

I am have an issue where I am trying to store a user's input in the variable called $mail, in the %pre environment of anaconda, and then pass it into the %post script, where it will append to the file ...
0
votes
2answers
78 views

SNMP not using community string in snmpd.conf

I'm trying to simply set up SNMP on a Red Hat system. I can walk the MIB tree just fine using the following command (from a different server): snmpwalk -v2c -c public HOST IP However, when I try to ...
0
votes
1answer
51 views

BridgedAdapter of VirtualBox on Red Hat 7 stopped working

I have a VirtualBox VM (running Red Hat 7) on my Red Hat 7, using a Bridged Adapter for its networking. It stopped working yesterday; the NetworkManager on the VM was unable to obtain a DHCP lease for ...
1
vote
1answer
30 views

Deleting unpacked tar.gz files after unpacking incorrectly

I recently unpacked a set of backup files in RHEL3 - 2.4kernel with tar via: tar -xvf backupfile It started to error out a bunch and I aborted thinking that maybe it was a gzip instead. Unpacking ...