Tagged Questions

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

learn more… | top users | synonyms (1)

1
vote
0answers
55 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
93 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
160 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
25 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
71 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
65 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
281 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
37 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
274 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
113 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
2answers
1k 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
161 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
56 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
109 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
37 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
49 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
432 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
86 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
112 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
17 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
130 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
11 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
16 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
38 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
64 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 ...
2
votes
2answers
732 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
51 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
53 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
54 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
47 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
93 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
52 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
512 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
89 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
67 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
54 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
65 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 ...
1
vote
0answers
1k 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
101 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 ...
0
votes
2answers
1k views

How can I set up Virtual Hosts in Centos7?

I am trying to set up virtual hosts in Centos7. I followed this guide: http://twohlix.com/2011/05/setting-up-apache-virtual-hosts-on-centos/ however I keep getting the following error: Job for ...
6
votes
1answer
65 views

Linux kernel 3.10.0-123.4.2 processes [flush] aren't present

I am using CentOS 7 with "3.10.0-123.4.2.el7.x86_64" version, but I don't know why the kernel threads named flush aren't present in this kernel version. I tried to look in the kernel change log, but ...
2
votes
2answers
1k views

How can I make iptables service start automatically after reboot on CenOS/RHEL7?

I am having a few issues with a newly installed home server I am preparing. I have installed CentOS7 on it and I found that port 80 and 443 are off by default. I therefore added them to the iptables ...
0
votes
0answers
24 views

Generate what a GRUB2 kernel line would look like

In GRUB 0.97 we were able to see what the kernel line/options would look like by just viewing /boot/grub/grub.conf. Now the only way I know how to check the next boot kernel options/kernel version ...
3
votes
1answer
193 views

What is the difference between hostname, hostname --fqdn, and hostname -A

I have a machine I changed the hostname of. I changed it in /etc/hosts, /etc/sysconfig/network, and with hostname command. hostname returns the correct shortname, hostname --fqdn returns the expected ...
1
vote
0answers
28 views

Kexec immediately after Kickstart install (where is cmdline?)

I used to be able to kexec into a new kernel immediately after a kickstart (anaconda) install via pxe. I was able to do this by figuring out the current kernel version, and grabbing cmdline options ...
0
votes
2answers
451 views

Authentication very slow (both with ssh and su)

I'm having a problem on one of our production servers where the login attempts become progressively slower as time passes. After roughly 5 days it becomes so slow that some critical processes/cron ...
0
votes
0answers
62 views

Problems with permissions for /tmp

I executed command: chmod 1777 /tmp Now I get these results of executing the ls command from root: ls -ld /tmp drwxrwxrwt 4 root root 4096 Aug 9 05:42 /tmp and from not-root user: ls -ld /tmp ...
-1
votes
1answer
64 views

RHEL 5 license for RHEL 6?

A few years ago We have bought a "Redhat Enterprise Linux 5 Server" license, we used that license only on offline servers. Now we are migrating to a new system, we need to install RHEL 6 which will ...
2
votes
0answers
45 views

Install `mpl_toolkit.basemap` on RedHat without compiling from source

I need to install matplotlib and mpl_toolkit.basemap on a RedHat machine. matplotlib is already installed but for mpl_toolkit.basemap the only way I could find was to download the source and compile ...
-2
votes
4answers
158 views

Why doesn't the nohup command seem to be working?

Please let me know any example that shows nohup is working for a program even after logout. I tried using it without the nohup command to run a script in the background and it seems to be working even ...