Red Hat Enterprise Linux (RHEL) is a commercially supported Linux distribution.
0
votes
1answer
37 views
Red Hat Network (RHN) and package updates
I was just reading about Linux servers and Red Hat Enterprise Linux. What exactly is the Red Hat Network (RHN)? From what I've gathered, you subscribe to it to be able to update your system. Does this ...
2
votes
2answers
130 views
Set internet connection order or preference
I have SL 6.3 installed on two machines.
Machine A is a workstation and has two interface eth0 and wlan0. Using eth0, it is connected to Machine B (public facing server) with static IP address. Both ...
0
votes
1answer
148 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
...
1
vote
1answer
174 views
Scientific Linux 6.3 run evince in SELinux sandbox
I'm trying to run evince in the SELinux sandbox:
sandbox -X /usr/bin/evince Unixforpoets.pdf
but after waiting for minutes nothing happens, console doesn't outputs anything. So I collected the ...
2
votes
1answer
245 views
Static IP config no longer persistent in CentOS6
I was messing around with KVM in CentOS 6.3 when I noticed I was having problems with the IP address of my principle network connection (eth0). I backed out my bridge
and restored the network-script ...
5
votes
2answers
467 views
How to continuously take backup of log files?
I have some applications in Lunux which creates Log files of around 41 MB each. The log files switches from log.1 to log.2 and starts overwriting log.2 once this 41MB is completed in log.1 file.
I ...
1
vote
1answer
47 views
Properly Setting Red Hat Daemon Umask
I've been trying to figure out the proper location to set daemon umasks in RedHat 5. All my searches lead to setting it in /etc/init.d/functions or /etc/sysconfig/init.
What are the pros/cons of ...
6
votes
2answers
89 views
Installing a package locally to a user - best practices?
I want to install Git locally to a user on a RHEL server (I don't have root access)
What would be your cleanest/ most organized way of installing software to a local user account?
Installing ...
0
votes
2answers
103 views
Copy files from source machine to LiveCD
I'm working on distributing a version of Fedora to our internal development team using Live CD. There are certain files I would like to copy to the live cd that are not:
part of an RPM or
going to ...
0
votes
1answer
173 views
how to have root partition LVM for RHEL 5.8 64 bit on AWS EC2
I am new to this and I have to create a RHEL 5.8 Amazon Machine Image (AMI) in which the root partition should be a logical volume. I know how to create a data partition as a logical volume but am not ...
0
votes
1answer
123 views
GDM will not start on boot, unable to login into graphical interface
I am running RHEL 5.8 .
SELinux is enabled but in permissive mode. Here are some snippets from /var/log/messages on boot.
kernel: type=1400 audit(1360613500.551:6): avc: denied { write } for ...
4
votes
1answer
3k views
Setup static IP in redhat 6
I installed Redhat 6 x86_64. I am using the Network connection screen to set a static IP address like below (I want two PC's in my house to see each other: one Redhat PC and one Mac)
192.168.0.5
...
0
votes
1answer
165 views
How many packages does RHEL 6 provide?
I'd like to know how many binary and source packages Red Hat provides with their current RHEL 6.4 Release.
0
votes
2answers
64 views
Problem with configure and build php 5.2 on redhat 5
I downloaded php binaries and tried to build the same using following command.
./configure --with-apxs2=/usr/sbin/apxs --with-mysql
But i'm getting the error related to mysql client library.
...
0
votes
2answers
321 views
How can I run a shell script as a daemon under Redhat?
I've got a shell script, which is essentially a one liner with some logging, which I'm trying to run this from an init script. I'm using the daemon function inside of /etc/init.d/functions to run it, ...
-2
votes
1answer
41 views
Looking for a yum package repository containing apache subversion
I'd like to be able to install Apache Subversion on Red Hat with yum. Can anyone recommend a package repository?
0
votes
1answer
54 views
RHEL6: system default font
When I fire up urxvt or xterm, by default the font is a sans-serif monospace unaliased font. I would like to make this my font in other applications, but I can't find it in my system font list (i.e. I ...
1
vote
3answers
179 views
How to install Redhat using the iso image stored on Network
This is the case. I want to install the Redhat 5.6 on my system. But this time i dont want to use the actual DVD but this time i want to install it using the iso image stored on one of our server HDD.
...
0
votes
0answers
12 views
How to backup a current php installation?
I'm using an old RHEL4 on a server where i need to update (from source) the php version. Moving from 5.2.5 to 5.4.14.
How can i backup the old php in order to restore it if there is any problem with ...
5
votes
2answers
655 views
What roles do DAC (file permissions), ACL and MAC (SELinux) play in Linux file security?
I need some clarification/confirmation/elaboration on the different roles DAC, ACL and MAC play in Linux file security.
After some research from the documentation, this is my understanding of the ...
2
votes
2answers
104 views
How to disable trash?
This is a nice and straightforward question: how can I disable the Trash Can in Gnome running on CentOS/RHEL 6.4?
I know I can use Shift + Del, instead of Del to bypass the Trash; but how can I ...
2
votes
2answers
144 views
what is pts/0 and (:0.0) in linux by type who am i
When I type the command:
[root@degeneration Desktop]# who am i
root pts/0 2013-04-12 15:08 (:0.0)
What is pts/0 and what is meant by (:0.0)?
3
votes
0answers
104 views
I opened a port with iptables but still doesnt work
I have a CentOS installation as a guest VM with VirtualBox. I have two ethernet interfaces, eth0 with NAT and DHCP, and eth1 with Host-only adaptor and static IP.
I have oracle installed in this ...
3
votes
1answer
99 views
Equivalent of pvmove for BTRFS
Similar to the question I asked a while back. This one's a little easier? I can see there's volume management logic in BTRFS for removing/adding/rebalancing physical drives, but is there a tool to ...
1
vote
1answer
51 views
Strange behavior in mv command - maybe open sys call issue?
I'm noticing very strange behavior from the "mv" command that may (or may not) be related to the "open" system call. We're running RedHat v5. There are two separate storage devices, one mounted to ...
0
votes
2answers
19 views
Mount 2 directories on other servers to the same partition of local server
I have 3 servers, same OS (redhat 5.5 x64). There's the same package installed on these servers. Server 01 and 02 store their files at the directory /A (cause they use the same package, the directory ...
3
votes
1answer
301 views
Unable to install LAN driver in RedHat (*** /lib/modules/2.6.32-358.el6.i686/build: No such file or directory)?
I tried to install the Realtek LAN driver on my RHEL Server (running version 6.4).
In the folder extracted: autorun.sh log.txt Makefile README src
\>type command: ./autorun.sh
...
1
vote
1answer
50 views
Establishing I/O Patterns for an Application
Are there any system tools that allow you to profile an application's usage of storage? Basically, I'm looking for information on determining whether there are more large sequential reads, tiny ...
3
votes
1answer
135 views
Installing ksh as the standard shell in Redhat: Foolhardy?
I'm not a system administrator, but my organization is considering replacing /bin/sh in Red Hat Enterprise Linux 6+ with a hard link to /bin/ksh. How foolhardy would this be?
The background to this ...
4
votes
1answer
278 views
force re-negotiation of PCIe speed on Linux
I'm working with PCIe Gen 3 cards and from time to time they seem to fall back to PCIe 1 or 2 speeds (according to lspci and also observed by the throughput).
When rebooting/power cycling the machine ...
1
vote
1answer
77 views
can't connect to dnsmasq on local machine, port is open but connection refused
I'm running Scientific Linux 6.3 and just updated the machine to dnsmasq-2.48-13.el6.x86_64. The machine is on local ip 192.168.1.100. I have a local caching DNS setup that was working until the ...
0
votes
0answers
84 views
How to install cpp in RHEL 6.3?
I want to install gcc in RHEL 6.3, but it has cpp dependencies.
So I go to cpp rpm download page, but it has no rpm for 6.3 version:
Is there any other way to install cpp in RHEL 6.3?
1
vote
2answers
111 views
Linux (RedHat) `sudo su -l <<user_acct>>` does not source profile
As stated, having trouble with loading the default profile of <<user_acct>> when doing sudo su -l <<user_acct>>.
Inside .profile,
if [ -r "${HOME}/.profile.custom" ]; then
...
0
votes
1answer
130 views
How to add an item to the Applications menu?
How can I add an application to Applications > Internet in Gnome Desktop running on CentOS 6.4?
Per this old Docs link, it suggests to edit /etc/xdg/menus/applications.menu.
How can I add ...
1
vote
1answer
166 views
Set up chroot for LDAP users in RHEL6
I have been working on this for 2 days now and am about to give up so someone please help.
I have a Red Hat 6 server joined to my active directory domain. Logins work just fine under normal ...
1
vote
1answer
60 views
How do I edit configuration variables returned by getconf?
Specifically, I would like to edit the value of the system configuration variable ARG_MAX. (It is preset on kernels before 2.6.23 and I want to increase it.)
How do I do this? Does this require ...
1
vote
1answer
62 views
Using xdg-open odt files
I am writing a document database using perlTk. Upon double clicking the selected file on my GUI I use xdg-open to use the default application to open the file. I am having some issues opening .odt ...
0
votes
0answers
68 views
nscd uses 100% cpu
I'm working on a linux box and the output of top reveals that the command nscd (user nscd) is using 100% of CPU.
I'm uploading a flat file to MySQL from this box, and it is taking a long time (albeit ...
2
votes
1answer
102 views
No valid sudoers sources
I've gone through the Google searches, but the results always have an extra clue that I'm not seeing. The error:
[testuser@testhost] $ sudo -ll
sudo: no valid sudoers sources found, quitting
sudo: ...
3
votes
4answers
704 views
What is the easiest way to tell RHEL5 from RHEL6 in a bash script?
I work in an environment where we are slowly transitioning machines from Red Hat Enterprise Linux 5 to RHEL 6.
I need some of my scripts to do something subtly different on RHEL6 machines to what is ...
0
votes
0answers
217 views
Oracle 11g R2 on Redhat 6
I have a Solaris background, and I am new in RHEL, and I want to install Oracle 11g on it.
I downloaded Oracle documentation, that illustrate how to install it for RHEL 6.
The following or later ...
3
votes
3answers
85 views
How to Calculate the Total size of file searched using Find command
Actually there are tow questions.
First I have to search the files using FIND command that will show only the files for December 2012
And Secondly I need to see the Total size of files searched
I ...
0
votes
1answer
54 views
What is the difference between the whatis and apropos commands?
CentOS 6.3 / RHEL 6.3
Can someone please explain the difference between the whatis command and the apropos command? I noticed that both appear to be installed by default and I'm not sure what the ...
0
votes
0answers
173 views
Red Hat Enterprise Linux desktop: constant crashing, unusable, what to do
I'm having constant problems with RHEL recently. My desktop crashes during the day occasionally (once a day roughly) and is hung (black screen) every morning requiring a button-hitting restart.
...
3
votes
1answer
121 views
How to see the total progress while copying the files
We know that if we give --progress parameter to rsync it will show the progress of files copied. But issue is that is shows the progress for each single file not total or overall progress.
So how to ...
0
votes
1answer
52 views
Why doesn't build of net-snmp 5.7.2. provide /etc/rc.d/init.d/snmptrapd?
I am packaging an RPM for RHEL6, built from net-snmp-5.7.2.tar.gz. I see that the file /etc/rc.d/init.d/snmpd gets created and packaged but I do not see the init file for /etc/rc.d/init.d/snmptrapd. ...
2
votes
0answers
41 views
Detect attached monitors when X is not running
I'm working with machines that are running RHEL6. I need to detect whether a monitor is plugged in when X is either not running or has not started yet, for example during bootup. Is there any way to ...
1
vote
2answers
59 views
How to list RPM packages installed in order of installation date
I'd like to see a list of software installed in the order of the date they were installed. The order doesn't matter (newest to oldest & vice-versa) as long as they're arranged by date.
I'm mainly ...
0
votes
3answers
239 views
Prevent init daemon echoing on TTY
Below is an init script which starts/stops a daemon. The daemon is unfortunately printing the parsed packet data (from /home/nuthan/program/server), a socket server written in perl, listening to a ...
5
votes
3answers
114 views
git command not found
I had to install git from source on RHEL. After installation the git command is shown to be in /usr/local/bin/git when trying the whereis command.This path is available in $PATH also.
When I type ...





