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

learn more… | top users | synonyms (1)

2
votes
2answers
1k views

how to add line in a /etc/sudoers file with the help of shell script (50servers)?

Anyone can help me with shell script, I want to know script which can edit /etc/sudoers file and let me add {{{{{userid ALL=(root) ALL}}}} to 50 server I have on same network?
0
votes
1answer
1k views

problem with installing packages

I get these messages when I run this command: # yum install pcre pcre-devel php php-common php-gd php-cli php-mysql flex bison Loaded plugins: product-id, refresh-packagekit, security, ...
5
votes
1answer
706 views

How can I make the eth1 up and always available for remote access, where eth0 will be used for host to host IPSec VPN?

I am running Amazon EC2 instance with Red hat enterprise linux, where I have two network interface. Now: eth0 is currently active having public ip where I am remotely logged in via SSH, to ...
2
votes
1answer
1k views

Can I use yum to manage a “package” installed from source

I am running CentOS 5.5. I need to upgrade some packages to newer versions, unfortunately they're not available. I am stuck building from source. Is there a simple way to use yum to manage ...
1
vote
1answer
1k views

Attempting to detect acceptable LDAP base DN defaults for various directory servers in a bash script

Basically, I'm writing a script that determines an acceptable default for a base DN when pointed at a particular hostname. I'm wrapping it around ldapsearch output. I can do Active Directory by ...
7
votes
3answers
20k views

How can I get TLSv1.2 support in Apache on RHEL6/CentOS/SL6?

I'd like to have TLSv1.2 support in Apache on my Scientific Linux 6 (RHEL6 rebuild) server. Is there some semi-supported pathway to getting this working? Preferably with minimal custom rebuilding. ...
1
vote
1answer
448 views

How do I configure the driver for eth0 so I can use a kickstart file over the network?

I am trying to use a kickstart file hosted over the network to install Oracle Linux 5.8 (equivalent to RHEL 5.8 I believe). I am using the following at the boot prompt: linux ks=http://1.2.3.4/my.ks ...
0
votes
1answer
71 views

CentOS - acts abnormal every week and causes my whole setup to be down, how can I rollback / restore back to one week?

I have CentOS and Red hat enterprise Linux running, where I have now working Google Apps Engine and related other Python web applications. Every week or depending on any Google Apps Engine latest ...
5
votes
2answers
18k views

With SSH X11 forwarding (`ssh -X`), get `Can't open display` trying to run X applications

I'm able to login to sever using ssh -X Hostip but when i run the command xclock it give me this error Error: Can't open display: localhost:11.0 I check my Display value using echo $DISPLAY ...
1
vote
0answers
131 views

RHEL6 LDAP client not listing all the groups

Using sssd I have a RHEL6 client configured to login using LDAPS. The login works, but if the user logged in is assigned to more than 1 group at the LDAP level, groups only returns 1 group? Could I ...
1
vote
1answer
447 views

Thread id on different linux distros

We have a server application which runs fine on ubuntu and the old Mandrake linux, but it consistently fails on Redhat Enterprise Linux (to be precise RHEL 4 Update 8, kernel 2.6.9-89). On RHEL the ...
1
vote
2answers
4k views

mount.cifs is giving Permission Denied Error

Im trying to mount the Windows Share on one of Our Redhat 5.9 Server. I use this command mount -t cifs //hostIP/Folder /share2 -o username=alpha,password=blahblahblah And mount.cifs //hostIP/sales ...
1
vote
1answer
226 views

Samba Shared Folder

I want to share a folder on my RHEL to all windows users. My requirements are: users need to access from windows users need read only access no authentication required What I have tried: Samba ...
1
vote
2answers
10k views

df command not showing correct values

This is a RHEL server, I'm running a MySQL server on it, the database and log files (however, logging is disabled) are located on the /srv directory where plenty of space is available. Recently I had ...
4
votes
2answers
640 views

When running to a run level does it execute previous run levels?

If I tell my system to go to run level 3 does that mean that it first runs through run level 0, 1, 2, and then finally runs through run level 3? I thought the answer to this question was yes. But ...
3
votes
2answers
2k views

How to control thinkpad_acpi via procfs, RHEL 6.4

I'm having trouble with the thinkpad_acpi module on my Thinkpad T400. While the processor temperature can vary, depending on the CPU activity, from 40 to 85 deg. Celsius, my fan speed remains almost ...
6
votes
4answers
22k views

Pseudo-terminal will not be allocated because stdin is not a terminal

I'm trying to set up automatic SSH hopping through a server which doesn't have nc. This works from the command line: ssh -A gateway ssh steve@target (I have added my public key to the SSH agent). ...
1
vote
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 ...
0
votes
1answer
1k views

How to Install all the default packages by group Using the Local YUM repo

I created a Local HTTP YUM repo. I can install the individual packages. But is there a way to install packages in the available groups? When I tried to install using groups, it give me this message: ...
1
vote
1answer
191 views

Port configuration does not work as exptected

I have a Router and four computer connected as the local network. IPs: Router(192.168.8.1)(internet ip:125.119.203.127) server1(192.168.8.3) my computer(192.168.8.8) ...... The ...
1
vote
1answer
781 views

CentOS vs RedHat on hp DL 380 G5

hp lists downloads for: » Red Hat Enterprise Linux 5 Server (x86) » Red Hat Enterprise Linux 5 Server (x86-64) » Red Hat Enterprise Linux 6 Server (x86) » Red Hat Enterprise Linux 6 Server ...
1
vote
1answer
411 views

How to stop Western Digital External HDD from Sleeping

I have one Western Digital External HDD(2TB) connected to Redhat Server with the Partition type Ext3. But I noticed that it goes to 'sleep' mode if no one is accessing it. So if I try to access it, ...
0
votes
0answers
346 views

unable to ping gateway and CLAN in Linux but pingable in Windows PC

We're installing RHEL 5.5 for our Voice Portal (Avaya). After configuring the IP address, gateway IP, and netmask we tried to ping it so we could see if it was pingable/active or not. Sadly its ...
1
vote
1answer
687 views

how to add shortcut keys to custom.desktop in RHEL6?

i have created custom.desktop in the /usr/share/xsession directory for launching single application. i want to add one or two desktop shortcuts along with the single application.
1
vote
1answer
401 views

GNU screen startup is really slow

I connect to a RHEL 5.7 server via Putty or VNC (not sure it matters) but when I try to run screen, it takes forever (on order of 20-30 secs). Same thing if I run screen -ls, takes just as long. I ...
2
votes
2answers
289 views

How to mount remote file system

I want to mount my Windows NTFS share C:\ to Linux ext4 file system, so I can see the file system tree as part of my Linux file system and transfer my files. PS. I am using rhel6.
2
votes
1answer
6k views

What to do after the LUNS are created

Our Management bought a New EMC2 VNX storage device . And a guy from vendor came to create the LUNS. I honestly have no idea how to configure the EMC SANS as i never got a chance to work on such ...
-1
votes
1answer
294 views

How do i change the password for root using webmin, where i have no more access as root?

I changed the root password, using webmin it shows me successfully done. $ uname -a Linux .com 2.6.18-194.11.4.el5 #1 SMP Tue Sep 21 05:04:09 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux $ echo -e ...
1
vote
1answer
632 views

Changing drives in FTP

I am using RHEL6 and I connect to FileZilla FTP Server in Windows 2008 Server which has more than 10 drives. I have access to all of them but for my user C:\ is Home Directory. I want to change to ...
3
votes
0answers
274 views

How to set CONFIG_PREEMPT_NONE in RHEL 6.4 (linux)

I am trying to tune the RHEL6.4 Kernel to handle server style load for of my application. With RHEL 6 scheduler has been changed to CFS and with RHEL 5 my application works fine. I would like change ...
3
votes
2answers
4k views

What files does authconfig modify on RHEL?

I am trying to allow RHEL to use login accounts that are created on the system, but use the passwords from Active Directory. I have seen someone use: authconfig \ --enablekrb5 \ ...
2
votes
1answer
1k views

Re-ordering serial ports on a multiport card

I have a Red Hat Enterprise 6.2 machine with two on-board serial ports and a PCIe card with 8 additional serial ports (16C950 UARTs, 16C550 compliant). I've added the kernel option 8250.nr_uarts=10 so ...
0
votes
1answer
595 views

opengl/glx core dumps - generic intel linux drivers, RHEL6

Recently, I switched from using a dedicated ATI video card and proprietary drivers to the onboard Intel video card and default/generic Intel drivers because the ATI video card was damaged and I ...
4
votes
2answers
10k views

Where do installed RPMs go?

I download and install packages on my Red Hat Enterprise Linux Server 6 machine using YUM package manager in command-line mode. When I install apk files on my Android phone, they go to /data/app ...
2
votes
1answer
96 views

Assigning static device path

I have 4 flash cards plugged in, sequentially named by system: /dev/sda1 /dev/sdb1 /dev/sdc1 /dev/sdd1 I want to assign static pathes to them, so every time the system boots up their pathes will ...
1
vote
2answers
184 views

Benefits of rpm over deb in the context of a server? [closed]

This related question What are the pros/cons of deb vs. rpm? seems to be more focused on personal computers, but in the context of a server, why do most of the servers run either RedHat / CentOS or ...
3
votes
1answer
1k views

Error while loading shared libraries after installing a program

I was installing rfc5766-turn-server. But it fails to launch with an error: error while loading shared libraries: libevent_core-2.0.so.5: cannot open shared object file: No such file or directory ...
3
votes
2answers
572 views

No idea how to troubleshoot Bugzilla email issue

I'm a complete n00b when it comes to Bugzilla (and complex perl applications in general) so don't assume any level of knowledge in that area. If I haven't documented it in this post, assume I haven't ...
0
votes
2answers
10k views

Invalid cross-device link while Hardlinking in the same file system

I have /home/myuser/Desktop/rc/.netrc file that i want hardlink to /root, ie home directory of root user. When i do: ln /home/user/Destkop/rc/.netrc /root it gives the following error: ln: ...
1
vote
1answer
264 views

Bonded Interface Pair Performance Difference b/w CentOS 6 and RHEL 6

I have two new dell servers, both pretty close to the same hardware. One has RHEL6 installed and one has CentOS 6 installed. I have the machines configured identically from a network-scripts, ...
0
votes
1answer
395 views

RHEL6 Install MySql-Python without internet connection?

Using RHEL 6 how can you install MySql-Python package without a internet connection? I can SCP files to the server but our current restrictions do not allow a direct or proxy connection to the ...
2
votes
0answers
49 views

Best way to release an RPM that includes an independently version module

I work on a server software that is targeted for RHEL/CentOS and is currently distributed via a standard RPM file. What brings me here is that it includes a downloadable client engine that users can ...
1
vote
2answers
239 views

Distro agnostic init script dependencies

I'm trying to write an init script which will be able to handle basic dependencies (for example, It has to be started (just) before MySQL service starts). Is there a distro agnostic way to write such ...
1
vote
1answer
2k views

Difference between sar -W and sar -B ?

What is the difference between the output from sar -W and sar -B they seem to be similar but the man pages only confuse me further on this matter any who clarify this for me ?
2
votes
1answer
2k views

How to install GNOME 3 on RHEL6?

I am using Red Hat Enterprise Linux 6, it has Gnome GUI, but it is very simple and not like Ubuntu's GUI. I want to install/upgrade my GNOME Desktop Environment to its latest release. How can I do ...
2
votes
0answers
34 views

why bash history overlap the prompt when scroll up in the history? [duplicate]

I customized my bash prompt, PS1 value. ~/.bashrc: Color_Off='\e[0m' # Text Reset BGreen='\e[1;32m' # Green BPurple='\e[1;35m' # Purple BWhite='\e[1;37m' # White ...
1
vote
1answer
370 views

Permission error to access mounted directory in localhost

OK, I formatted my flash to ext4 file system, changed all the permissions to 777 and mounted it to /var/www/html/web. Now, when i access localhost/web it gives the following error: "You don't have ...
0
votes
2answers
1k views

How to install MySql on Red Hat 6.1?

I am trying to install MySQL-server-5.6.12-1.el6.i686.rpm on a Red Hat Enterprise 6.1 server. I receive the following error: rpm -Uvh MySQL-server-5.6.12-1.el6.i686.rpm error: Failed dependencies: ...
-1
votes
2answers
97 views

how to change a file in user mode and not in root mode in RHEL6?

There is a common file which is accessed by both root and user.i want to change that file from user mode and that should not effect root and viceversa. how to do this in RHEL6?
2
votes
1answer
4k views

How to edit file from grub prompt in RHEL6?

I changed the file which is in /usr/share/xsessions/gnome.desktop and now I want to change it back to its original state from a GRUB prompt because now my system is not able to login.