Questions tagged [rhel5]

For development issues encountered while using Red Hat Enterprise Linux 5

This tag is for questions specific to version 5 of Red Hat Enterprise Linux. For general questions regarding Red Hat Enterprise Linux (RHEL), use the tag.

189 questions
0
votes
1 answer

How to check if given page is a ZERO_PAGE in a kernel module?

I am writing a kernel module, where, inside a function I need to check if passed struct page* maps to ZERO_PAGE or not. I came up with following code to check the condition. foo (struct page *pp, ..) { if(pp == ZERO_PAGE(0)) { …
0
votes
1 answer

fopen crashing in RHEL 5.x while doing malloc though system has lot of available memory

I have an application which was running fine for last 15 days and below functions were getting called multiple times, but it crashed today in fopen. I have pasted the bt below, can someone please advice what might have happened wrong, from backtrace…
Ravi
  • 81
  • 9
0
votes
1 answer

OPENSSL incompatible libssl, libcrypto

I am working with openssl library files, anybody could help me with the 64bit precompiled libraries of openssl (RHEL5x64) I have this warning on the libraries i generated. /usr/bin/ld: skipping incompatible /home/devlog/prog/toto/libssl.so when…
0
votes
1 answer

How to install yum "Development Tools" without internet

I want to install Development Tools on RHEL 5.11 and my VM does not have internet on it so unable to use yum. How can I install Development tools without internet?
codec
  • 7,978
  • 26
  • 71
  • 127
0
votes
0 answers

gcc compiler not found

When I check location of gcc I get correct output. But when I try to get gcc version I get command not found. I have added the path to $PATH echo $PATH /usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/ptladmin/bin:/usr/libexec/gcc whereis…
codec
  • 7,978
  • 26
  • 71
  • 127
0
votes
2 answers

how to run jar file on RHEL5?

I have made a jar file which i tested in windows and it works fine. now i want to test it for red hat enterprise linux 5. but i dont know how to run jar files in rhel5. i've tried java -jar My.jar but it says bash: java: command not found. i've set…
Harry Joy
  • 58,650
  • 30
  • 162
  • 207
0
votes
1 answer

Operations with DATE in bash

So I need to create a script that writes in a file details about phone calls. The file needs to contain: -CALLING_NUMBER -> which starts with 0742, 0743 and 0744, the rest of the digits being randomly generated ( 10 in total ) -CALLED_NUMBER ->…
Dragos Cazangiu
  • 207
  • 1
  • 3
  • 14
0
votes
2 answers

RVM install system wide Git dependency

When I run: bash < <( curl -L http://bit.ly/rvm-install-system-wide ) I get the following error: Please ensure git is installed and available in PATH to continue. Git is installed: *** LOCAL GEMS *** abstract (1.0.0) actionmailer…
Rumpleteaser
  • 4,142
  • 6
  • 39
  • 52
0
votes
1 answer

RVM rails version not loading

I have just downloaded rvm to manage my ruby versioning. I have created a new gemset and installed rails 2.3.8. gem list shows the following gems *** LOCAL GEMS *** actionmailer (2.3.8) actionpack (2.3.8) activerecord (2.3.8) activeresource…
Rumpleteaser
  • 4,142
  • 6
  • 39
  • 52
0
votes
1 answer

FreeRadius to Cisco ACS

I am currently trying to get a RHEL 5 machine to access a cisco acs through radius. I have the freeradius package installed and using the radtest command to attempt to reach the radius server. I am seeing the below output when I go onto the cisco…
0
votes
1 answer

Does RHEL5 have a 'Quit trying to help me' setting?

I set it up the way I want it. It keeps changing it (for example, setting up the NIC's and bonding settings in the shop for the install particulars, then RH keeps changing it. One of many many examples) So, a setting that says 'I'll set it up the…
0
votes
1 answer

Nexus OSS Yum: generate meta data 'option --no-database not recognized'

I am using Nexus Repository Manager OSS 2.14.4-03 on RHEL5. When using the Yum: Generate Meta Data capability, the task fails with the Nexus log saying: 'org.sonatype.nexus.yum.internal.task.CommandLineExecutor - Options Error: option…
0
votes
4 answers

My program crashes on fflush because of seg fault, ... but not always?

What possible reasons do you know for the situation, described in the title? Here's what my bt looks like: #0 0x00a40089 in ?? () #1 0x09e3fac0 in ?? () #2 0x09e34f30 in ?? () #3 0xb7ef9074 in ?? () #4 0xb7ef9200 in ?? () #5 0xb7ef9028 in ??…
Kiril Kirov
  • 37,467
  • 22
  • 115
  • 187
0
votes
1 answer

mprotect() Permission Denied error on RHEL 6.8

I am running the C program below and getting different results when executing it on RHEL 5.11 versus RHEL 6.8. On 5.11, the output is: Page size is 4096 Memory allocated by memalign() at 0x12791000 mprotect success While on 6.8, the output is: Page…
0
votes
0 answers

Red Hat Registration(rhn_register)

I tried rhn_register command to register for Red Hat(RHEL5). Later I got the screen saying... But after few minutes I got the screen saying can't connect the Red hat. When I checked the /var/log/up2date file , below is the tail output [root@mdw…
van neilsen
  • 547
  • 8
  • 21