Red Hat Enterprise Linux (RHEL) is a commercially supported Linux distribution.
0
votes
0answers
31 views
Loading my bashrc without sourcing it everytime [duplicate]
Possible Duplicate:
.bashrc doesn't get executed
I have my .bashrc file properly setup but for some reason, when I login into the server, it does not load the custom profile.
...
3
votes
2answers
410 views
How do you configure the MTU for all network adapters via a script?
NOTE: This is for RHEL/centOS.
Currently my way of configuring the MTU is via GUI using system-config-network and setting the MTU to 4096. I would like a non-interactive script to do this instead.
...
1
vote
2answers
182 views
Is there a way to view the console output instead of boot logo, while my RHEL 6.2 machine boots up?
My company provided laptop has RHEL6.2, with lot of programs to start up automatically, which makes the boot up process slow.
While the machine boots up, there is the boring RHEL logo on the screen ...
4
votes
2answers
1k views
/dev/tcp listen instead of nc listen
With a netcat listener like:
nc -l <port> < ~/.bashrc
I can grab my .bashrc on a new machine (doesn't have nc or LDAP) with:
cat < /dev/tcp/<ip>/<port> > ~/.bashrc
My ...
2
votes
1answer
227 views
Installing trac - “Trac requires Python 2.5 or later”
I am having a little trouble getting trac 1.0 installed via easy_install:
[box]# easy_install Trac==1.0
Downloading ...
1
vote
1answer
129 views
Unable to connect to serial device; no /dev/ttySx
I wrote a Java application that connects to the serial port of the GSM modem. On Windows the serial ports have names like COM3, but in Linux Redhat 6.0 I had to switch to something like ttySx (X is ...
0
votes
0answers
170 views
How do you access internet in RHEL 5 using Android smartphone USB LAN?
How do you access the internet in RHEL 5 using Android smartphone USB LAN?
2
votes
1answer
482 views
RHEL how to sync network settings between GUI and configuration files in /etc/sysconfig/network-scripts/?
In RHEL, we can change network settings either using GUI or editing the configuration files in /etc/sysconfig/network-scripts/.
I would like to know how the network settings (e.g. IP address, ...
1
vote
1answer
173 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 ...
0
votes
1answer
122 views
Why do I need to install -devel packages?
I am new to Linux and wonder why many times when I install package with yum I need to install package-devel.i386 rather than package.i386. What is the difference between them?
2
votes
1answer
244 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 ...
1
vote
1answer
146 views
chcon fails to fix “cannot enable executable stack as shared object requires” err under RHEL6
I have an application I test at work, that has always failed installation on systems with SELinux enabled. Our published workaround involves issuing a chcon command for the library-file at the center ...
1
vote
0answers
292 views
iptables not starting up
I have inherited a custom built Linux kernel 2.6.30.9 and am just upgrading the underlying OS from RHEL 5.4 to 5.8 (kernels 2.6.18.164 and 2.6.18.308 respectively).
When booting, the following is ...
0
votes
0answers
156 views
Panic Error in Kernel log [closed]
I am getting the following error in the kernel log.
kernel: fsk_connect: make call failed de0b4800 -14
Every-time after this error the server needs a reboot to overcome this fault.
Kernel version: ...
4
votes
2answers
347 views
Running programs as root with my own password in Scientific Linux
In Debian-derived Linux distros, if you are not root but are authorized in /etc/sudoers, GNOME will ask you for your own password to allow privileged operations.
However, Scientific Linux asks you ...
1
vote
1answer
276 views
How to force a particular version of Java?
I am on a RHEL 5.5 64 bit box. The systems engineer installed the 64-bit Java VM under /usr/bin ; however, I needed a 32 bit VM which he installed in /opt/jdk1.6.0_35. But now, everytime I do java ...
3
votes
3answers
249 views
What version of Red Hat is used for the Red Hat Certified System Administrator Exam?
What version of Red Hat is used for the Red Hat Certified System Administrator Exam?
Because I don't have over $3000 to invest in the Red Hat course that prepares you for the exam I am going to ...
2
votes
1answer
133 views
Why does Redhat's daemon function not have a group setting?
Background:
I'm a Ubuntu/Debian fan and most of my development experience has been on that platform but my current employer uses Redhat. I needed to write a simple init.d script and want the ...
1
vote
1answer
552 views
httpd-devel requires outdated version of glibc-common on CentOS 6.3
httpd-devel requires an outdated version of glibc-common on CentOS 6.3 x86_64 and Apache/2.2.15. It wants 2.12-1.80.el6 and I have 2.12-1.80.el6_3.3.x86_64 installed (via CentOS @update repo)
Here is ...
2
votes
2answers
336 views
Can readahead-services be safely disabled?
I am just going through the service-list of a server (CentOS 5) - the question will probably apply to other RedHat, Fedora, ... versions, too.
Note that my servers normally run in runlevel 3 (no GUI ...
1
vote
1answer
548 views
Can I automate mounting a cifs share without storing my password in plaintext?
I currently use a script which contains commands along the lines of
sudo /sbin/mount.cifs $SERVER_SHARE $MOUNT -o username=$DOMAIN_$USER,uid=$USER,gid=$USER,file_mode=0664,dir_mode=0775
to mount my ...
3
votes
2answers
2k views
Determining NIC designation from PCI address
I am in the process of upgrading a legacy system from RHEL 5.4 to 5.8. There are three NICs installed, each with defined IP addresses and attached wiring.
After the upgrade, the cards are on the same ...
14
votes
3answers
865 views
Piping from grep to awk not working
I am trying to grep the ongoing tail of file log and get the nth word from a line. Example file:
$ cat > test.txt <<EOL
Beam goes blah
John goes hey
Beam goes what?
John goes forget it
Beam ...
2
votes
1answer
395 views
open of .rpm failed: Permission denied
Whenever I try to install some .rpm I've downloaded, I'm getting:
> sudo rpm -i something.rpm
error: open of something.rpm failed: Permission denied
It seems that the choice of rpm doesn't ...
-4
votes
4answers
590 views
Running Visual Studio 2010 in Linux
Is there any possible way to run Visual Studio 2010 in Linux (Red Hat)?
2
votes
0answers
107 views
Enable sqlite FTS Enhanced Query Syntax in python in RHEL6?
SQLite's full text search engine offers a simple query syntax (with AND and OR operators and -term for negation), as well as an enhanced query syntax which also allows parenthesis and NEAR — as well ...
5
votes
2answers
141 views
Mailman / Postfix Configuration Assistance
I am writing for some help regarding Postfix configuration.
I cannot seem to get Postfix configured properly to transfer mail to the mailing list installed on the same server. I followed many steps ...
2
votes
2answers
76 views
reformat a text file to have all text on one line using CentOS 5.6
I have a 210-line block of HTML that I have stored in a HTML for debugging purposes.
The HTML, as you would expect, is formatted accordingly so is stored in the file with spaces and tabs. Is it ...
1
vote
1answer
1k views
Hotplug area too small error
I have VM running under RHEL6, which is running under HyperV. It has a lot of important soft installed, but does not have suffocating workload (~10% CPU is used). It's been really unstable recently ...
0
votes
2answers
155 views
What creates /etc/hosts (RHEL 5.5)
How does /etc/hosts get created on RHEL 5.5? It's not owned by any RPM and if deleted, it doesn't reappear on reboot, so apparently it's not a service created it. Does anaconda create it by default ...
3
votes
1answer
136 views
How to skip DNS checkup while I'm disconnected from Internet
I use RedHat machine. /etc/resolve.conf was set to nameserver 8.8.8.8 and it works well.
I'm wondering how to connect my machine if it's disconnected from internet? It seems that if DNS of 8.8.8.8 is ...
1
vote
1answer
106 views
Is rpm the only file extension for repositories
I've noticed that repositories in CentOS have the .rpm extension.
Are there other extensions?
Is .rpm specific to the operating system? i.e. do other linux operating systems have other extensions?
...
1
vote
2answers
1k views
Fix fstab to prevent boot failure
How can I fix fstab to prevent boot failure?
It seems that I have added incorrect record to /etc/fstab:
//servername/share /mnt/share cifs defaults,username=myuser 0 0
When I did ...
2
votes
1answer
440 views
Add another IP address to a Bonding Interface
I have a Linux network Bonding interface for two Ethernet interfaces (eth0 and eth1)
$ cat /etc/sysconfig/network-scripts/ifcfg-bond0
DEVICE=bond0
BOOTPROTO=static
ONBOOT=yes
...
0
votes
2answers
3k views
How to install older version of glibc?
I'm trying to install gcc-4.4 on RHEL6: sudo rpm -ivh /mnt/dvd/Packages/gcc-4.4.3-1.el6.x86_64.rpm. But the problem is that is depends on glibc and glibc-common libraries. When I try to install them ...
2
votes
1answer
239 views
Installing DRBD on Redhat 5
I am trying to install DRBD on Redhat 5. Everything i find is out of date, and all the files are not hosted anymore. From what I understand I need to install the Cent OS repositories to install DRBD ...
2
votes
0answers
166 views
What are the differences between runit and supervisord?
I'm looking into changing our Django deployments and was reading the deploy page for gunicorn and it talks about both supervisord which I was aware of and planning on using and runit that I don't ...
1
vote
2answers
2k views
How to install/remove/upgrade .rpm packages on Red Hat?
I am new to linux, and at the university we are using this distribution to mount servers on VM, but I need to install a package that is missing in my virtual machine that is running Red Hat, but how ...
2
votes
2answers
420 views
Activate WiFi on runlevel 3 startup
I am running SL6. During GNOME session, the wifi is connected as soon as I login, however the same does not happen until I login.
The situation further worsens in runlevel 3 where the wifi is not ...
3
votes
1answer
247 views
Problem installing RHEL on HP Itanium Server
When I am trying to install RHEL (6.3, 5.8, 4.8) on an HP Integrity Server rx2660 Itanium with 4GB RAM, I keep getting to the same point which is
Loading file efi\boot\initrd.img...done
After ...
0
votes
0answers
84 views
Can I arrange icons by type?
I know I can list icons on my desktop in my RedHat Linux machine by selecting "clean up by name" of right-click options. I used to use Windows and kind of miss a function which can arrange the icons ...
4
votes
1answer
275 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 ...
2
votes
1answer
313 views
How Do I use autofs to map a USB drive by its ID?
Goal
I have a USB drive -- let's say the drive's ID is /dev/disk/by-id/thediskid
I would like to mount the drive -- by ID -- to a folder (let's call it /MOUNT_FOLDER)
Question
What is the best ...
0
votes
2answers
103 views
Critical Memory [duplicate]
Possible Duplicate:
free: output format
My Redhat server shows the following:
free -m
=============
total used free shared buffers cached
Mem: ...
6
votes
2answers
4k views
Effect of entries in /etc/securetty
By default on RHEL 5.5 I have
[deuberger@saleen trunk]$ sudo cat /etc/securetty
console
vc/1
vc/2
vc/3
vc/4
vc/5
vc/6
vc/7
vc/8
vc/9
vc/10
vc/11
tty1
tty2
tty3
tty4
tty5
tty6
tty7
tty8
tty9
tty10
...
1
vote
1answer
128 views
Map caps to esc for RHEL 5?
I have an older version of RHEL. In newer versions, there is usually an option to map the caps key to the esc key. How would I do this in an old version?
Going to System Preferences -> Keyboard -> ...
1
vote
1answer
287 views
Resize window to half screen width in KDE 3.5
I am using a legacy version of Red Hat that uses KDE 3.5.4. I do not have the ability to install additional software. I have become rather addicted to the modern windowing feature of snapping to ...
-2
votes
3answers
154 views
how to check for disk in use on rhel
How to check if a disk is in use? If in use, How to check free, used space before I can start using it?
I'm trying this in Perl and Any help is appreciated.
2
votes
1answer
279 views
Boot in rescue mode with vlan support in RHEL
I am trying to restore RHEL OS (5.3.1.1) from network, where we have VLANs configured on our switches.
So the only way to get to shared folder on remote server with backup image is to configure VLAN.
...
1
vote
0answers
373 views
Printing failure at a network printer in linux
I added a network printer to my network by the RedHat Enterprise workstation 6 linux GUI. It seemed that the printer setting did find the network printer. However, whenever I tried to print, the job ...