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

learn more… | top users | synonyms (1)

1
vote
2answers
853 views

using cron to run script

Hey guys, im trying to run a script using cron, im using a crontab created by the user ashtanga, in the crontab i have */5 * * * * /home/custom-django-projects/SiteMonitor/sender.py in top of the ...
1
vote
0answers
224 views

kernel compilation error [duplicate]

Possible Duplicate: Kernel can't find /dev/sda file during boot I got the following errors after new kernel compilation (linux-2.6.25.tar.bz2) mount: could not find filesystem ...
1
vote
1answer
92 views

Unable to Configure Quotas in RHEL6 & CentOS6- quotecheck returns error message

Unable to Configure Quotas in RHEL6 & CentOS6- quotecheck returns error message I've created new partition(/dev/sda6) and mounted it(on /hulk). Edited /etc/fstab file to give quotas on the ...
1
vote
3answers
3k views

RHEL:Change Screen Resolution of Virtual Console

I am working on a RHEL 6.3 Workstation. And the monitor is a HD AOC Monitor. Problem I am facing is whenever this machine starts up, it runs with maximum screen resolution. It is a big screen and ...
0
votes
3answers
84 views

find * looks for a file named “*” on Debian but not on RHEL

Where is the difference? Do these distributions handle something differently? Or does the configuration vary? What do I have to compare and adjust? I would prefer find * not to match the wildcard ...
0
votes
6answers
8k views

Script to check for read only filesystem

How can I check a bunch of systems to find any filesystem that are mounted read-only? Possibly via a script?
0
votes
4answers
2k views

Package repository for which Fedora version would be best match for RHEL / CentOS / Scientific Linux 6.0?

I am using Scientific Linux 6.0, which is based on RHEL (RedHat) 6.0. I want to install some package (LXDE), which is present in repositories for Fedora, but which I didn't found either in Scientific ...
0
votes
2answers
222 views

Calculating CPU time of process in RHEL 5.3

For a process management,I would need to remove a process that exceeds a certain amount of CPU time, for example 1 hour.In PS command ,it has TIME parameter shows the total CPU time of a process .So ...
0
votes
2answers
1k views

Does Yum have an equivalent to apt / aptitude's DEBIAN_FRONTEND=noninteractive?

On Ubuntu you can use something like this: export DEBIAN_FRONTEND=noninteractive sudo -E apt-get update Which will prevent things that require input (choosing grub versions or conflicts between ...
0
votes
2answers
6k views

Why VNC not showing actual Remote Desktop

Ok i installed vnc server on RHEL 5.9 and also installed Tightvnc viewer on windows 7 and from RHEL i started vncserver and assigned the password using vncpasswd. Then from tightvnc viewer i gave the ...
0
votes
2answers
306 views

different checksum of original file and copied file

I am running a script that copy a file from one location to other. In script I am calculating MD5sum using below command of original file and copied file and they are different: echo -n "file" | ...
0
votes
1answer
1k views

How to reduce buffers\cache

A monitoring system keeps alerting that my machine is reaching\breaking through it's RAM utilization threshold which is 15 GBs. I've done some reading and understood that the apparent RAM utilization ...
0
votes
5answers
655 views

cron job schedule

I created a cron job using * */2 * * * schedule. Can anyone tell me what schedule this refers to? I guess it should execute every 2 hours, but it seems to execute every minute.
0
votes
3answers
99 views

File Privileges

There is one user Lets call him B and he needs access Just to Read the File MEANS READ ACCESS and that file is own by another user A . How can I grant access to user A's file to User B.
0
votes
3answers
99 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
1answer
209 views

Answer password prompt programmatically via shell script

I would like to programmatically answer a password prompt using only shell script when prompted. Is it possible to automate this task in this way? I want to avoid other tools entirely - so no expect ...
0
votes
2answers
59 views

Compiling for Red Hat 5.9

I need to compile a C++ application to run on Red Hat 5.9, but I don't have access to a development server that runs Red Hat 5.9. My current executable compiled on Ubuntu 10.04 produces the error ...
0
votes
1answer
841 views

Linux efficient command to find if 32 bit/64 bit [duplicate]

I am trying to figure out the list of possible ways to find out if a Linux machine is 32 bit or 64 bit. Method 1: The command uname -m will specify if my machine is 32 bit or 64 bit. Method 2: ...
0
votes
2answers
2k views

What would be the RHEL package corresponding to build-essential in Ubuntu?

I know how to list available packages from the repos and so on, but how can I find a list that matches up equivalent meta-packages, such as the build-essential. Is there such a thing and if not what ...
0
votes
2answers
3k views

“system-config-network-tui &” doesn't work

When I try to edit or assign the IP using this command: system-config-network-tui & Terminal opens a console which is uncontrollable, just like this: This happens on CentOS and Red Hat.
0
votes
1answer
4k views

How to change the Name of Logical volume in Volume group

I created an LVM and inside that i created Volume Group and within it created Logical Volume and given the mount point /u001/app/pracle I named it wrong instead of ORACLE i it should have been typed ...
0
votes
1answer
336 views

Command not found

I am trying to stop a syslog using chkconfig but bash says that command is not available. But when I do man chkconfig it opens man page. This is the command i'm trying to execute. ...
0
votes
2answers
59 views

xfs maintenance mode in redhat 7

In my desktop I installed redhat 7 and after reboot it went to maintenance mode, After entering the password it is not allowing to do a file system scan for root and every time it boots enters to ...
0
votes
1answer
37 views

Sudo requiring password

On a RHEL server I would like to let a user run a command as root without a password: # uname -a Linux foo.com 2.6.32-220.38.1.el6.x86_64 #1 SMP Wed May 15 08:34:56 EDT 2013 x86_64 x86_64 x86_64 ...
0
votes
2answers
97 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
3answers
90 views

Iptables in linux

Please explain me the use of bold character below iptables -A INPUT -i eth0 -p tcp --dport 443 -m state --state NEW,ESTABLISHED -j ACCEPT -A -i -p -m state --state -j
0
votes
1answer
149 views

Commercial support for CentOS [closed]

As you know CentOS is taken over by RedHat, so i boils out couple of points as mentioned here. Will CentOS remain complete free as it was(is) before(now)? Can we expect upgrades of CentOS in future, ...
0
votes
2answers
1k views

Use logrotate to store 7 daily, 4 weekly and 12 yearly db backups

I've been trying to use logrotate to store a database backup for: last 7 days (daily) last 4 weeks (weekly) last 12 months (monthly) I've done a logrotate script like this, but only the daily ...
0
votes
1answer
6k views

telnet: connect to address 127.0.0.1: Connection refused

I am using RHEL 6.0 and when i type the given command in terminal telnet 127.0.0.1 6000 I am getting output as: Trying 127.0.0.1... telnet: connect to address 127.0.0.1: Connection refused Why ...
0
votes
1answer
60 views

CentOS - acts abnormal every week and causes my whole setup to be down, how can I rollback / restore back to one week?

I have CentOS and Red hat enterprise Linux running, where I have now working Google Apps Engine and related other Python web applications. Every week or depending on any Google Apps Engine latest ...
0
votes
2answers
44 views

Which filesystems can RHEL 5 read from and write to?

Which filesystems can RHEL 5 read from and write to? Are there any that work but not well? I'm partitioning and external hard drive and I haven't been able to find a comprehensive list anywhere.
0
votes
3answers
8k views

-bash: yum: command not found

I have one server with Red Hat Enterprise Linux AS release 4 (Nahant Update 3) installed. And I tried to add the online repo using this link: Centos Wiki: RPMForge And everything goes smooth. But ...
0
votes
1answer
237 views

What does White space mean when you mount ISO

I mounted redhat dvd media and I named in redhat.iso. And when i mounted it and did ls it showed /media/RHEL-5.6 i386 DVD. What does this space mean between 5.6 and i386 and DVD. Because Im ...
0
votes
2answers
2k views

How to upgrade Redhat 5.5 to 5.6

We have two server running on RHEL 5.5. Now we have to upgrade it to 5.6 What are the steps to upgrade it and also the prerequisites
0
votes
1answer
606 views

How to copy a folder from remote machine to my system using ssh or any other way

Hi I need to copy a folder of size 885 MB from a remote machine to my system using ssh and port no is 1500 What is the command I can use to accomplish this path of remote folder is ...
0
votes
2answers
233 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 ...
0
votes
2answers
5k views

Install older version of GLibc on RHEL

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 ...
0
votes
4answers
26k views

How to read NTFS drives in Linux (RHEL 6)?

My system is on dual boot. I have installed both RHEL 6 and win7 in it. I use RHEL mostly and I want to use my windows' NTFS drive in RHEL. How can I do it? Tell me the procedure.
0
votes
2answers
229 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
2answers
1k 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 ...
0
votes
2answers
546 views

Determining RHEL Type (Workstation vs Server)

How do I tell whether or not I have Red Hat Server or Workstation? I know my redhat release info is in /etc/redhat-release. Red Hat Enterprise Linux Client release 5.9 (Tikanga) I need to order an ...
0
votes
1answer
878 views

Install C# plugin for Eclipse on rhel 6.5 Workstation

I've been trying to install a C# IDE or C# programming support on my Redhat Workstation, but no luck. I couldn't get Monodevelop running. Now I get these errors on the emonic plugin install for ...
0
votes
1answer
33 views

in which directory should Firefox be compiled?

I want to compile Firefox browser in RHEL. I found two directories one is /root/.mozilla/firefox and other one is /usr/lib64/firefox. Which directory is the one where Firefox should be compiled?
0
votes
2answers
653 views

Is there a newer version of gcc in red hat?

I use Red Hat Enterprise in my school and I want to compile some c++11 code but the gcc --version is 4.4.7 which is not compatible. Is that one the latest version in the red hat repositories? is there ...
0
votes
1answer
100 views

why debian repository does not contain lokkit?

I was using lokkit in redhat, and I want to use it in debian, but it seems that debian doesn't contain it...
0
votes
2answers
779 views

What is the difference between DISPLAY :0 and :0.0? [duplicate]

What is the difference between DISPLAY :0 and :0.0? On RedHat 5.8, I can right click the desktop to start a shell and DISPLAY will be ":0". If I go to the Menu-System-Terminal to start a shell then ...
0
votes
1answer
514 views

Is it possible to add/remove arp-ip-targets without taking the bonding interface up/down

i just changed in /etc/sysconfig/network-scripts/ifcfg-bond0: BONDING_OPTS="mode=active-backup arp_interval=1000 arp_ip_target=10.0.0.1" and now i want to set those arp_interval and arp_ip_target ...
0
votes
3answers
357 views

Kernel panic after building kernel in Red Hat Linux?

I've been trying to build a new kernel for Red Hat Enterprise Linux virtual installs under VM Ware. I've followed these steps so far: Download the kernel from kernel.org. Extract the downloaded ...
0
votes
1answer
864 views

QEMU package not available for RHEL 64 bit

I am installing QEMU in RHEL. In 32 bit OS (i686 architecture), if I run the command, yum install qemu, the installation of QEMU takes place. However, in 64 bit architecture (x86_64), if I run the ...
0
votes
1answer
108 views

How to generate kernel crash dumps? [duplicate]

I have X running on terminal 1 and terminal 2 on my RHEL 6.4 system. If i randomly switch between tty1 and tty2, the system crashes. I need to generate crash dump file to analyze the issue. How can I ...