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
1
vote
1 answer

Building a .deb Debian package on other distributions

I need to create a Debian package. Easy with dpkg, works great. But for reasons beyond my control, I must switch to a RHEL5 environment for my build, so dpkg is not available. What's my best attack strategy here? These are my thoughts: Idea: Grab…
1
vote
5 answers

Php 5 on RedHat Enterprise Linux 5

By default, RHEL5.x64 comes with 5.1.6 - pretty old. I'm looking for a more up to date version, 5.2.8, or even the latest 5.2.9 (as of March 2009). Ideally, a Yum/RPM-based solution, for transparent upgrades (when I plan). How do you upgrade the…
Alister Bulman
  • 34,482
  • 9
  • 71
  • 110
1
vote
4 answers

masking hostname to IP address lookup in Linux/Bash/Perl

Many of the servers in our environment have their loop-back line in /etc/hosts configured like so: 127.0.0.1 mydevserver.testdomain.com mydevserver localhost.localdomain localhost Normally, this is not an issue. However, we are now dealing…
Eli
  • 716
  • 1
  • 6
  • 12
1
vote
1 answer

Include file not found on my RHEL 5

I'm using a fairly old dev environment, when I "man sched_yield" I can see this man page, but if I try to use it, $cat m.cpp #include int main(){ return 0; } g++ will say: error: sched_yield.h: No such file or directory So…
Hind Forsum
  • 9,717
  • 13
  • 63
  • 119
1
vote
3 answers

Where is the most authoritative/complete source of documentation on rpm-python module?

Trying to learn how to use the rpm-python module (i.e. "import rpm" on RHEL5). I can't find any tutorials that are complete or recent. Specifically regarding how to install and manage rpm's on a system. Anyone?
pokstad
  • 3,411
  • 3
  • 30
  • 39
1
vote
0 answers

Cannot disable CORS policy in Firefox - RHEL5

I am running some javascript in my web tool which is using ajax to retrieve some data but I always get 401 Unauthorised error. The server has disallowed cross-origin requests and I do not have access to the server. Now on chrome I can disable the…
1
vote
0 answers

Not able to send mail using jailkit user in RHEL7

OS:Rhel-7 I am using version jailkit-2.19. While configuring mail in jail user I faced following issues: 1) when I hit mail command "echo "text" | mail -s "subject" xyz@gmail.com" I encountered "/usr/sbin/sendmail: No such file or directory"…
padmakar
  • 11
  • 2
1
vote
1 answer

Getting JNA to work under Java 1.4

For reasons not germane to this question, I'm stuck with an old RHEL/CentOS 5 system with Java 1.4 (java version "1.4.2" gij (GNU libgcj) version 4.1.2 20080704 (Red Hat 4.1.2-44)). According to the JNA documentation, it's supposed to work. However…
Urhixidur
  • 2,270
  • 2
  • 19
  • 24
1
vote
0 answers

Error deploying JBoss EAP 5.1

I am trying to deploy JBoss EAP 5.1 on RHEL 5 and I've gone through all the documentation for the install, yet I am still seeing the following errors in the server.log file. I am able to hit the web, admin, and JMX console, but these errors still…
sma
  • 9,449
  • 8
  • 51
  • 80
1
vote
1 answer

Cannot access an application hosted on jBoss remotely

I have hosted an application in a machine running Red Hat Enterprise Linux 5. I started the jBoss AS using the command. ./run.sh -b 0.0.0.0 and ./run.sh -Djboss.bind.address=<> and ./run.sh --host=<> but using any of…
Rohan Patil
  • 277
  • 1
  • 4
  • 10
1
vote
1 answer

when does a macro defined by a conditional rpm macro get expanded?

If I have a macro defined globally as: %{!?patch_file_list: %global patch_file_list %(pfl=$(mktemp -t); ls %{_topdir}/SOURCES/*.patch | sort > $pfl; echo $pfl)} and use it in the %prep section, is it assured that %{patch_file_list} will contain the…
energon0
  • 11
  • 1
1
vote
1 answer

BASH - Find all world writable files referenced in a set of files

Question: how can I find all world-writable files that are referenced in the startup scripts found in the /etc/init.d directory of a RHEL 5 server? Constraints: BASH solutions only (this is part of a larger script) No additional tools/packages can…
jjfromnh
  • 109
  • 10
1
vote
1 answer

RHEL 5 - Path Environment Variable Changes Don't Take Effect

I am having a problem in Red Hat Enterprise Linux, I'm a newb to Linux so this is probably something very simple. I installed a new 64-bit JDK (1.6.0_18) on RHEL 5 (64-bit), and now i need to set the path so that linux will go for the 1.6.0_18…
GavinWoods
  • 813
  • 2
  • 14
  • 28
1
vote
0 answers

Facing issue while installing Modsecurity(version 2.9) in Rhel(version 5.6) with apache(version 2.4.18)

Getting the below issue while installing the "modsecurity-2.9.1" on RHEL 5.6 having apache version 2.4.18. [root@pysdcstg1070308 bin]# ./apachectl start httpd: Syntax error on line 536 of /root/Apache-2.4.18/apache/conf/httpd.conf: Syntax error on…
1
vote
0 answers

invalid UTF8 string when i use QJsonDocument::fromJson

In the latest version of Ubuntu, code by qt creator. Qt version is qt 5.41. When I use QJsonDocument :: fromJson create json objects, json object is created successfully. Code is as follows: #include #include int main(int…
alfred
  • 11
  • 2