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

learn more… | top users | synonyms (1)

4
votes
3answers
768 views

Why when I ssh into one server it shows bash and the other have my username?

So at work I have two web servers that I am able to ssh into. Both are RHEL 6.5 When I log into one, it shows this: [username@ldvweb01 /]$ When I log into the other one it shows: -bash-4.1$ ...
0
votes
2answers
255 views

Where can I download i686 RedHat 4 bash package?

https://rhn.redhat.com/errata/RHSA-2014-1293.html The offical announce is only starting at RHEL 5. There are no packages for RHEL4? According to Wikipedia, it's still supported until the start of ...
0
votes
0answers
188 views

Permission denied tmp dir on STIG RHEL

I am writing a program for a DISA STIG version of Red Hat Linux 6.5. I wrote a shell script to do self extracting on the program and when it self extracts put temporary files in the tmp directory that ...
1
vote
1answer
112 views

What are the potential negatives of turning on process accounting (psacct package)?

I am looking into turning on process accounting on some EL6 servers. What are the potential pitfalls of turning this on? If you mitigate storage requirements with log rotation, any reason you would ...
2
votes
1answer
115 views

What's the difference between TYPE and DEVICETYPE directives in ifcfg scripts?

While learning the Network Teaming objective of the RHCE (RHEL7) exam I noticed that examples use DEVICETYPE directive in the ifcfg scripts for master and port interfaces. I knew there was TYPE ...
0
votes
1answer
862 views

How to surpress audit daemon rotating log messages?

On a CentOS 7 system messages like these are logged several times a day: Sep 24 00:11:42 example.org auditd[756]: Audit daemon rotating log files Sep 24 00:26:23 example.org auditd[756]: Audit daemon ...
4
votes
3answers
130 views

How to merge config files interactively after “yum update”

After system packages are updated with "yum update", config files which could not be overwritten are not replaced, but we can find *.rpmnew files near by. By design system administrator must merge ...
1
vote
0answers
233 views

Yum or Reposync: How can I slowly remove a repository without unintended dependency issues?

I have used reposync to create and maintain local copies of two repositories, remi and remi-test. These are repositories maintained by Remi Collet. On several systems in an internal LAN, I added both ...
0
votes
1answer
489 views

Should reposync download repodata?

I am using reposync on an RHN repo. It downloads the RPMs find but doesn't download repodata. I know I can run createrepo, but I'd like to keep group install info. Is this nornmal behavior? If so, ...
0
votes
3answers
267 views

Screen capture application for RHEL6.5

I need some screen capture application for RHEL6.5 and tried few ways to get one but failed. yum install gnmoe-utils and got: Reading Local RPMDB rpmdb time: 0.000 Setting up Install Process ...
2
votes
1answer
124 views

How to install glibc version that corresponds to GCC 4.4 on RHEL5

We have a program with executables built on RHEL6 using GCC4.4 and we need to run it on RHEL5.5. But RHEL5.5, by default does not have the necessary version of glibc. Has anyone faced such an issue ...
2
votes
1answer
2k views

How to force change linux password even if similar as previous

I am trying to change my current password in Red Hat Enterprise Linux Server release 5.10 (Tikanga) but it says my new password is too similar. Is there any way to force change ? $ passwd Changing ...
1
vote
1answer
230 views

Root is receiving “operation not permitted” error when trying to move a a users .bash_profile

This are the permissions on the RHEL5 machine: [root@server1 belmin]# ls -la | egrep '\.(bash_profile)?$' drwx------ 9 belmin belmin 4096 Sep 16 14:29 . drwxr-xr-x 40 root root 4096 ...
0
votes
1answer
266 views

Init script to run a script as specific user

/apps/data/service/bin/startup.sh This is the script i want to be executed during RHEL booting. I want it to be run in runlevel 3 only. And i want this script to be started as specific user, ...
0
votes
1answer
67 views

Possible to install Linux RHEL completely offline?

The documentation on Linux RHEL seems to assume you have a connected machine and will be installing through that connection. I need to set up RHEL completely offline using CD-ROMs only (no USB). Is ...
5
votes
1answer
333 views

Can anything useful be done with a truncated core?

We have processes written in a mix of Python, Java and C++ that core dump from time to time. They allocate more memory in chunks as needed during runtime, and are known to crash when their allocation ...
1
vote
1answer
482 views

.bashrc and .bash_profile not executed [closed]

I'm running RHEL5. I added simple alias command into ~/.bashrc. When I start a new terminal, nothing happens but source ~/.bashrc works so I know the syntax is correct. I also ...
2
votes
1answer
4k views

Rhel7: telnet: no route to host

I have installed RHEL7 GA version, and installed the xinetd and telnet packages. But when I am trying to telnet from another host to RHEL 7 its giving this error: Trying 10.235.x.x... telnet: connect ...
1
vote
0answers
119 views

Get KERN_DEBUG messages into syslog on rhel7/centos7?

I've been trying to get KERN_DEBUG messages logged to a file in centos7, but have had no luck. I can get them just fine from "dmesg," but not /var/log/messages or /var/log/dmesg Here's a MWE kernel ...
0
votes
0answers
406 views

Remote connection to RedHat virtual machine from other PCs in the network

I have installed a virtual machine RHEL 6.1 using Oracle Virtual Box on my Windows 7 Computer. I have set the network options to Bridged adapter mode, my host Computer (Win-7) is connected on my home ...
1
vote
3answers
892 views

Using nohup to keep a script running indefinitely

I am very new to Linux and I've only been using it to SSH to my web server using Putty. The issue I am having is this: Basically I've got 2 php scripts. One get_tweets.php constantly listens for ...
1
vote
0answers
63 views

Working with Hebrew text in Redhat [closed]

I'm trying to view Hebrew text in my putty terminal, but I keep seeing those squares instead of text (see pic). Things I've done so far but didn't work: edited /etc/sysconfig/il8n and changed ...
2
votes
1answer
122 views

How do I determine if the linux password was changed?

I'm developing an application which is distributed on a VM. The default password is always the same, but it's hash in /etc/shadow changes with every release. How can I programmatically (e.g., from a ...
0
votes
3answers
124 views

Do we need to enable G++ on RHEL 6.1

I have RHEL6.1 but I can't compile using g++, when I execute g++, I get the below : -bash: g++: command not found so I assume I don't have g++ but I do have gcc installed. When I run gcc -v. I ...
0
votes
0answers
1k views

Tried changing to static ip in RedHat 6.5 using VMWare. Unable to access the internet now

I followed resources on the internet to assign static ip address for RedHat 6.5 installation in VMWare. I am unable to access the internet after that. My terminal output of the files I changed are as ...
0
votes
1answer
100 views

Unable to uninstall an rpm on RHEL6

I'm trying to remove a package from a system I am responsible for. Everytime I try it fails, though. The error it give is Error in PREUN scriptlet in rpm package vmware-open-vm-tools-xorg-utilities ...
0
votes
1answer
1k views

how to enable mcrypt in php5.5 with rhel6.5

i am using rhel6 OS with php5 But i am unable to add mcrypt extension for php5. Lots of Google but doesn't find any solution. [root@lav6 modules]# locate mcrypt.so /usr/lib64/libmcrypt.so ...
2
votes
2answers
363 views

disabling ctrl-alt-del and /etc/init

My OS is RHEL 6.2 I disable Ctrl+Alt+Del by changing in /etc/init/control-alt-del.conf the line exec /sbin/shutdown -r now "Control-alt-del pressed" by exec /bin/true I'll be testing it next ...
3
votes
3answers
4k views

What does eno mean in network interface name 'eno16777736' for CentOS 7 or RHEL 7?

Under consistent network device naming scheme, what does 'eno' stand for in network interface name 'eno16777736' for CentOS 7 or RHEL 7?
0
votes
0answers
212 views

OPENVPN AS - Could not connect to the test server on the Internet

I have set up OpenVPN on my server and I can access it through Tunnelblick. I am however having issues to set up OpenVPN Access Sever. After Install I noticed that in the server name field there was ...
2
votes
0answers
76 views

Want to assign dedicated default gateway on Two NIC card on linux server

We have one server having two nic cards. Here we configured two separate networks on both nics and having different gateway. However our one sub-net is able to communicate to outside network second ...
0
votes
0answers
529 views

zerombr and clearpart not working in RHEL7

I've been using the following simple partitioning scheme to setup some RedHat machines. zerombr clearpart --all --initlabel bootloader --location=mbr autopart The unfortunate part is that I know ...
1
vote
0answers
85 views

where is upstart jobs pid held [closed]

Since the upstart command keeps giving me the wrong pid for a job no matter what I try, I would like to manually change it to the correct pid. Does anybody know where the pid for upstart jobs are ...
2
votes
1answer
742 views

yum: RPM dependency tree

I'm going to install an RPM package and I can see that some of dependencies requires X server libraries to be installed as well. I'm absolutely sure that the package I need is a server software and ...
0
votes
1answer
184 views

Gnome Shell shortcut directly to Workspace List overlay?

Is there a way in Gnome Shell to define a shortcut that will bring up the Overview such that the Workspace List is already showing and available for clicking -- similar to the viewport selector in ...
1
vote
3answers
616 views

Other than via configuration in /etc/yum.repos.d, where else can a repository be configured?

Helping out someone who inherited his environment. He wants to disable some repositories. This is an anonymized output of his yum repolist: luke@server1 $ sudo yum repolist Loaded plugins: rhnplugin, ...
0
votes
0answers
40 views

How to use scanner drivers api in Linux shell script

Usually when scanning any page using Canon DR- 2050C scanner in windows it rotates vertical text paged to horizontal automatically for the easy reading of the user. In Linux we are manually scanning ...
0
votes
0answers
254 views

bash script to verify rhel patching

we have several redhat servers which we patch from redhat satellite. To avoid confusion, I'll use the term "host" to denote the server which is being patched. We have a script, say, patch.sh, which ...
0
votes
0answers
15 views

How to increase horizontal and vertical default spacing between icons on desktop at EL6

I have installed centos 6.5, by default icons are appearing very near to each other on desktop. From where I can increase space between them? Any clue? Which file is recommended to modify manually, ...
0
votes
0answers
21 views

facing issue while installing oracle Database 11g on rhel5 And SOA

While installing required rpms for both SOA and Oracle the below rpms are conflicting with each other glibc-devel-2.5-49.x86_64.rpm and glibc-devel-2.5-24.i386.rpm How can I fix it? one package gets ...
0
votes
1answer
56 views

Running Apache server causing machine to run out of space

I was running my Apache server on RHEL 5.5, and noticed when I typed: df -h, that I was getting: [root@localhost log]# df -h Filesystem Size Used Avail Use% Mounted on ...
1
vote
2answers
132 views

profile.d on headless server

Is it a bad idea to put variables needed by a daemon program running at boot on a headless system in /etc/profile.d/? From my understanding profile.d doesn't get executed until someone logs into the ...
6
votes
2answers
6k views

Equivalent of update-grub for RHEL/Fedora/CentOS systems?

In Ubuntu (and I guess in Debian too) there is a system script named update-grub which automatically executes grub-mkconfig -o with the correct path for the grub configuration file. Is there any ...
3
votes
1answer
148 views

Service script calls another script with variables

I have a simple service script tomcat7 in /etc/init.d/ to start and stop my app server (tomcat) under the tomcat user. On RHEL6. #!/bin/bash # description: Tomcat Start Stop # processname: tomcat # ...
0
votes
1answer
100 views

Difference between telinit and running scripts manually under rc*.d

I was trying to debug my Linux boot process. If I set the default runlevel to 2 or 3, my system hangs without giving me a prompt. I was able to get to runlevel 1 via a kernel parameter, and ran all ...
0
votes
2answers
86 views

What are the difference between SLED and RHEL WorkStation?

What are the difference between SLED and RHEL WorkStation? What are the advantages over community supported distros?
1
vote
1answer
476 views

dnsmasq no address available?

I am getting this error in my /var/log/messages file. dnsmasq-dhcp[xxxx] DHCPDISCOVER(xxxxxx) xx:xx:xx:xx no address available How can I tell what leases dnsmasq has leased out? And how can I free ...
2
votes
0answers
122 views

Do we need a separate Metadata server to use pNFS?

So we upgraded some of our servers to RHEL 6.5 and I came across pNFS while reading through the release docs. According to various docs available online, the performance improvement is huge over ...
0
votes
2answers
2k views

Yum file conflicts due to my mistake. How do I fix?

I did something stupid. I simply scped my rpmforge repo files from another (working) machine on to my dev box, and ran yum update. This yielded: root@dev07 /etc/yum.repos.d # yum update Loaded ...
1
vote
1answer
248 views

OpenJDK update in RHEL 6

We need to apply the JDK updates to one of the RHEL 6 servers. How do I apply the patch if I have the RPM package available, which I have downloaded from the internet. Searched a lot on the internet ...