Questions tagged [redhat]

For issues relating to Red Hat platforms, products, and/or services.

Red Hat, Inc. is a company in the free and open source software sector, and a major Linux distribution vendor. Red Hat has become associated to a large extent with its enterprise operating system Red Hat Enterprise Linux () and with the acquisition of open-source enterprise middleware vendor . Red Hat provides operating-system platforms along with middleware, applications, and management products, as well as support, training, and consulting services.

For questions on a specific Red Hat products, consider using the tag for that product.

Community

Red Hat was acquired by IBM in July 2019.

3924 questions
6
votes
1 answer

Out of memory exception on java with linux-redhat

I am facing Outof memory issue on linux/redhat, and same program works on my windows machine. My linux machine configuration is 15Gb RAM. import java.awt.image.BufferedImage; import java.io.File; import java.io.FileOutputStream; import…
Mr x
  • 828
  • 1
  • 8
  • 25
6
votes
1 answer

python No module named ujson, while it's already installed

I've installed ujson using command pip install ujson and when I've tried to run my python project it returns ImportError: No module named ujson OS version: Red Hat Enterprise Linux Server release 7.2 (Maipo) Python version: Python 2.7.6 pip list:…
Amjad Omari
  • 1,104
  • 3
  • 15
  • 40
6
votes
2 answers

Java in Linux - different look and feel classes for root and non-root

I noticed that Java proposes different look and feel classes for root and non-root users. I am trying to understand how to make LAF consistent. Moreover, it's inconsistent even within a user/root: depends on how user/root logged in: Sample code…
Barat Sahdzijeu
  • 1,683
  • 1
  • 18
  • 29
6
votes
2 answers

Subversion 1.9.2: Invalid filesystem format option 'addressing logical'

I installed SVN 1.9.2 in UAT Linux redhat 6.6 using tarball and run the SVNSERVE as daemon and all went fine. Then I created a repository and configured the repo for client access and tried to access the repository using tortoiseSVN but could not…
intechops6
  • 1,007
  • 4
  • 22
  • 43
6
votes
2 answers

Can't install modules 'os' and 'os.path'

I am trying to install 'os' module and 'os.path' module on a red hat machine. I tries following commands. pip install os yum install os But I keep gettin the following error Could not find a version that satisfies the requirement os.path (from…
user3664020
  • 2,980
  • 6
  • 24
  • 45
6
votes
1 answer

Unable to connect to Postgres via PHP but can connect from command line and PgAdmin on different machine

I've had a quick search around (about 30 minutes) and tried a few bits, but nothing seems to work. Also please note I'm no Linux expert (I can do most basic stuff, simple installs, configurations etc) so some of the config I have may be obviously…
MrBriz
  • 211
  • 2
  • 7
6
votes
4 answers

My python installation is broken/corrupted. How do I fix it?

I followed these instructions on my RedHat Linux version 7 server (which originally just had Python 2.6.x installed): beginning of instructions install build tools sudo yum install make automake gcc gcc-c++ kernel-devel git-core -y install python…
Propulsion
  • 503
  • 2
  • 4
  • 14
6
votes
2 answers

IO Error: The Network Adapter could not establish the connection - with Oracle 11gR2. Connecting with SQL developer

I have installed Oracle 11g ON a RedHat6 linux instance, by following all the steps mentioned in "http://technologylair.net/2013/08/oracle-11g-installation-linux/#comment-50" I am trying to connect to the database from a remote machine using the sql…
user3713073
6
votes
3 answers

correct use of linux inotify - reopen every time?

I'm debugging a system load problem that a customer encounters on their production system and they've made a test application that simulates the load to reproduce the problem: In this particular workload, one of the things the coder did was…
MikeyB
  • 3,288
  • 1
  • 27
  • 38
6
votes
4 answers

Python Module To Detect Linux Distro Version

Is there an existing python module that can be used to detect which distro of Linux and which version of the distro is currently installed. For example: RedHat Enterprise 5 Fedora 11 Suse Enterprise 11 etc.... I can make my own module by parsing…
Ivan Novick
  • 745
  • 2
  • 8
  • 12
6
votes
2 answers

How can I check if ncurses is installed?

How can I check if ncurses is installed in a Red-Hat Linux OS? One solution is to use dpkg -l '*ncurses*' | grep '^ii' But I don't even have the dpkg package in my system, and since I don't have the administrative rights, I can't install it.
MetallicPriest
  • 29,191
  • 52
  • 200
  • 356
6
votes
1 answer

Reloading postgreSQL without breaking current connection?

I was wondering if i issued a reload command to Postgres so that it could reread the pg_hba.conf file (Made some changes in here and need them to take immediate effect on a live system) will destroy or drop and current…
codename32
  • 171
  • 1
  • 9
6
votes
10 answers

How to set CPU load on a Red Hat Linux box?

I have a RHEL box that I need to put under a moderate and variable amount of CPU load (50%-75%). What is the best way to go about this? Is there a program that can do this that I am not aware of? I am happy to write some C code to make this happen,…
salt.racer
  • 21,903
  • 14
  • 44
  • 51
6
votes
1 answer

Curl & Wget returning response, Browser times out

I am sending requests to a specific server on a cloud: wget --header="Host: example.com" http://x.x.x.x:80/ curl -i -H"Host: example.com" http://x.x.x.x:80/ And it returns exactly as expected (a simple static file). However, when I try and access…
Jonathan Reyes
  • 1,387
  • 1
  • 10
  • 23
6
votes
2 answers

Install GD Library on RedHat machine for twiki

My ultimate goal is to run a twiki website for my research group. I have space on RedHat server that is running Apache, etc., but upon which I do not have root access. Since I cannot install perl modules with the current permissions, I've decided to…
JBWhitmore
  • 11,576
  • 10
  • 38
  • 52