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
81
votes
18 answers

Fatal error: Can't open and lock privilege tables: Table 'mysql.host' doesn't exist

I am on a server that has afresh install on RHEL 5. I was able to install Apache and PHP just fine., but I am having serious trouble with my MySQL installation. I tried the following: yum install mysql-server mysql And didn't get any errors or…
Bad Programmer
  • 3,642
  • 13
  • 46
  • 53
18
votes
6 answers

Problem changing Java version using alternatives

I'm not quite sure how I got into this mess, but for some reason I'm not able to change the current version of Java using alternatives. I can run alternatives --config java and type my selection but when I echo the version number for either java or…
Brian
  • 1,876
  • 5
  • 24
  • 37
17
votes
2 answers

Building Pango with Cairo support

I'm attempting to build a new version of wireshark 1.10 on a RHEL5 box with the intent of making an RPM so that customers that I support can install it. Possibly others if I can find a place to host it. WS1.10 depends on GTK+ as well as several…
Thomas Lann
  • 1,124
  • 5
  • 17
  • 35
13
votes
2 answers

Where is javac after installing new openjdk?

An additional jdk was installed and configured on RHEL5. yum install java-1.7.0-openjdk.x86_64 update-alternatives It appeared to work: java -version points to desired 1.7. However, javac -version still points to old 1.6. sudo update-alternatives…
Jacob
  • 349
  • 1
  • 2
  • 12
6
votes
1 answer

In Python2.7, undefined symbol importing P4API

On RHEL5 (5.3) I've installed python27, python27-devel, setuptools, gcc44, gcc44-c++, and P4PythonInstaller. All seemingly installed just fine, with no reported errors. However when I open Python2.7 and attempt to import P4 or P4API I receive the…
Bill Brooks
  • 751
  • 1
  • 10
  • 30
6
votes
3 answers

Why `read -t` is not timing out in bash on RHEL?

Why read -t doesn't time out when reading from pipe on RHEL5 or RHEL6? Here is my example which doesn't timeout on my RHEL boxes wile reading from the pipe: tail -f logfile.log | grep 'something' | read -t 3 variable If I'm correct read -t 3 should…
Chris
  • 1,410
  • 12
  • 21
5
votes
1 answer

Mono 2.10.5 for CentOS / RHEL 5

Until now I used THIS to install/update mono on my CentOS machines, but it seems that it's not updated since 2.10.2 anymore (may because mono isn't part of novell anymore). So is there a new location to get newer mono *.rpm from?
Christoph Fink
  • 22,727
  • 9
  • 68
  • 113
5
votes
1 answer

Validating a yum repository for dependencies

I am trying to create a custom rhel5.5 repository for my usage and I am having a hard time validating if I have all the dependencies for every package in my repository. What I would want to do is do a yum install in dry run on every package in my…
Damien
  • 1,944
  • 2
  • 18
  • 21
5
votes
3 answers

OpenSSH 7.3p1 building: configure only finds an old version of OpenSSL libraries

I'm trying to build OpenSSH 7.3p1 in a Linux box which has got installed an old OpenSSL version. First of all I have successfully compiled OpenSSL 1.0.2h and installed in /opt/openssh-1.0.2h, not in /usr where resides the old OpenSSL version. tar…
Jdamian
  • 3,015
  • 2
  • 17
  • 22
5
votes
2 answers

sem_timedwait not supported properly on RedHat Enterprise Linux 5.3 onwards?

We're seeing odd behaviour on RedHat Enterprise Linux systems with pthreads sem_timedwait. It's only occurring with versions 5.3 onwards. When we create the semaphore on a background thread with sem_init, no error is returned. When we do…
pxb
  • 747
  • 4
  • 14
4
votes
2 answers

haystack's RealTimeSearchIndex causes django to hang on data entry

I'm using django-haystack and a xapian backend with real time indexing (haystack.indexes.RealTimeSearchIndexing) of model data and it works fine on my Ubuntu server. However, it causes django to hang upon data entry when I deployed the app on a…
Shawn Chin
  • 84,080
  • 19
  • 162
  • 191
3
votes
1 answer

Default Path for WebLogic site root on RedHat 5

I am flying blind and could use some help. I am a long time windows web developer/web admin and I have inherited a WebLogic 11g/RHEL5 box. I'm trying to figure out where the website files might be. My only contact with the box is through FTP, and…
Brien Malone
  • 605
  • 1
  • 9
  • 20
3
votes
0 answers

what does ERESTARTNOINTR in strace lsof output mean?

I have an output as shown below, I need to understand the meaning of the error ERESTARTNOINTR and reason behind it. munmap(0x2ac7d7b3a000, 4096) = 0 close(4) = 0 close(5) …
Invictus
  • 4,028
  • 10
  • 50
  • 80
3
votes
2 answers

overlapping output while reading from fifo: how to fix/avoid this?

I am trying to aggregate data from 2 files, so I decided to send the data via separate writer processes to a named fifo, and launched a separate reader process to read and process the aggregated data. All reading/writing is happening on a ramdisk…
User9102d82
  • 1,172
  • 9
  • 19
3
votes
0 answers

mysql command not found

I recently installed MySQL on RHEL5. I installed it to /usr/local/mysql Complete steps for installation are here http://dev.mysql.com/doc/refman/5.1/en/binary-installation.html shell> cp support-files/mysql.server /etc/init.d/mysql.server Then I…
Arun UK
  • 31
  • 1
  • 1
  • 2
1
2 3
12 13