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

learn more… | top users | synonyms (1)

0
votes
1answer
22 views

How to grab output from shell in shell script

I'm trying to write a shell script in rhel which will execute grub-md5-crypt and the user will type the password. Now the problem is how can I grab the encrypted md5 hash displayed to the user in the ...
0
votes
1answer
18 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 ...
0
votes
0answers
30 views

Linux server rebooted automatically

I'm not sure whether due to high load or for some other reason my Linux box seems to get auto rebooted. No cron job is configured. Below is the output from /var/log/message. What can be the reason of ...
1
vote
1answer
19 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
38 views

Process ownership on linux changes to root when the user tries to kill the process

We have a bunch of RHEL machines which all run an application binary that is owned by root and has SUID set. Let's say user X starts the application, the process starts with PPID 1, since SUID is set ...
0
votes
1answer
23 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
28 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 ...
-1
votes
0answers
10 views

/etc/logrotate.conf “/var/log/btmp” want to replace digit script [on hold]

I want to replace with script.. rotate 77 "/var/log/btmp" in /etc/logrotate.conf weekly rotate 99 create dateext include /etc/logrotate.d /var/log/wtmp { monthly create 0600 root utmp ...
4
votes
1answer
34 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
50 views

.bashrc and .bash_profile not executed [on hold]

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 ...
1
vote
1answer
57 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 ...
0
votes
0answers
9 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
32 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
46 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
12 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
45 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
34 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
41 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
20 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
21 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
1answer
49 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 ...
1
vote
1answer
113 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
39 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
20 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
15 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 ...
0
votes
0answers
26 views

How do I address a possible version mismatch between headers and package on RHEL4's EPEL?

Trying to install puppet from EPEL on RHEL4: # up2date -i puppet Fetching Obsoletes list for channel: rhel-i386-as-4... ######################################## Fetching Obsoletes list for channel: ...
1
vote
0answers
26 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
31 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
25 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
23 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
11 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
36 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
5 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
11 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
30 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
42 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 ...
1
vote
2answers
43 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 ...
0
votes
0answers
33 views

Difficulty Installing SSH on Oracle RHEL 5.5

I am having difficulty installing SSH on RHEL 5.5 - I have disabled my Firewall and SELinux. I have gone through: Oracle Docs, to see if SSH is enabled, but I got: To check if SSH is enabled: # ...
3
votes
1answer
28 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
32 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
31 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
27 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 ...
1
vote
0answers
28 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
52 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
25 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 ...
0
votes
2answers
32 views

rc.local hang on bootup

My rc.local is stuck in an infinite loop since I accidentally put a wrong I/O redirection in and it's executing itself over and over again. I'm on Red Hat 6.5 and would like to know how I can start ...
0
votes
0answers
44 views

Is there anyway to download an entire RHEL repo from windows?

I have a number of offline machines RedHat machines that I need to update, and I have an active RedHat subscription for all of them. I am unable to get an internet connection to these machines so I ...
1
vote
0answers
27 views

MongoDB “service” on clean Redhat can not be started

I just bring up Redhat 6.5 64-bit from AWS and did the below things: Disabled SELinux Disabled Iptables All ports opened in Security Group Rebooted Then i just followed, both of the below ...
0
votes
0answers
261 views

Redhat / Centos 7 Firewalld best practice for pptp or L2TP/IPsec rules

Having a quick look at Centos 7, and though I'd spin up a VPN daemon or 3, but immediately discovered the usual packages aren't yet in the core repositories, so had to dig around and found the ...
1
vote
1answer
35 views

Kernel logs on power failure

I was wondering if it was possible to have a logging program document a random power failure. Clearly it won't have any time to log when the power fails, but is there a way to recognize a power ...