Questions tagged [rhel]

Red Hat Enterprise Linux (RHEL) is a distribution of the Linux operating system targeted at enterprise customers with emphasis on long-term stability and support.

Other support resources

Questions related to installing and running Red Hat Enterprise Linux are usually more on-topic on these sister sites:

Customers can file support cases in the customer portal.

1780 questions
6
votes
1 answer

gcc assembler messages can't open /tmp/ccqjY5HV.s for reading no such file or directory

I have a nightly build that builds a source tree with several compilers/options. I'm using buildbot on centos 6, though I doubt that buildbot has any relation to the problem. Sometimes the build fails with a bunch of messages like: Assembler…
J Quinn
  • 319
  • 2
  • 8
6
votes
1 answer

RHEL/Pyenv: No module named '_tkinter'

I'm trying to use Matplotlib on RHEL using a pyenv installed version of python 3.6.5. (installed using the following command) → pyenv install 3.6.5 Installing Python-3.6.5... python-build: use readline from homebrew Installed Python-3.6.5 to…
Sam Perry
  • 145
  • 1
  • 12
6
votes
2 answers

Update yum package using localinstall

If a package is installed using yum localinstall like this: yum -y localinstall --nogpgcheck some-package-1.0.0.rpm And now, if I try to run: yum -y localinstall --nogpgcheck some-package-2.0.0.rpm Will it replace the entire old version with the…
mbhargav294
  • 389
  • 1
  • 3
  • 15
6
votes
1 answer

RHEL7 - /usr/lib64/libstdc++.so.6: version `CXXABI_1.3.8' not found

I know this question has been asked for many times while I still get stuck with it. I have reviewed all answers previously asked like version `CXXABI_1.3.8' not found (required by ...) How to fix: [program name]…
lionel
  • 415
  • 1
  • 5
  • 14
6
votes
1 answer

Ensure yum install fails if post install script fails

When trying to install a yum package, I'm getting: Non-fatal POSTIN scriptlet failure in rpm package But the yum install is completing successfully, so it's tough to know when it failed or not. Anyway to fail when yum encounters this?
Matt
  • 22,224
  • 25
  • 80
  • 116
6
votes
4 answers

malloc inside linux signal handler cause deadlock

First of all sorry for calling malloc inside signal handler :).I too understand we should not do any time consuming task/this kind of nasty stuff inside signal handler. But i am curious to know the reason why it is crashed ? #0 0x00006e3ff2b60dce…
BEPP
  • 875
  • 1
  • 12
  • 36
6
votes
2 answers

What should the chkconfig line in a RHEL init.d script be set to for a process controller like supervisord?

I'm trying to write a init.d script for the first time to start a supervisord process. Supervisor is a process controller/manager like runit, upstart, or systemd. I would like it to start automatically if the system reboots, so that it can start my…
Matthew Moisen
  • 16,701
  • 27
  • 128
  • 231
6
votes
2 answers

How to build/deploy RPM(s) for new Boost version on RHEL?

I work in a team of 10+ developers and we use RHEL 6.4 for both our development machines as well as our servers (where our software is deployed). RHEL 6.4 comes with Boost 1.41 but I need fixes that come in at least 1.47. I'd like to upgrade to…
jfritz42
  • 5,913
  • 5
  • 50
  • 66
6
votes
3 answers

'strace' fixes hung process

I have a singlethreaded Unix process that communicates over TCP with other processes. The problem is the following. When I start up the process it hangs (no busy loop) until I kill it. The funny thing is, as soon as I attach with strace to it, it…
user1770305
  • 101
  • 1
  • 5
6
votes
5 answers

Delete BASH history on exit for all users

Using Red Hat Enterprise Linux is it possible to place a global option that whenever a user exits an SSH connection the BASH history for that user is cleared?
user2656114
  • 949
  • 4
  • 18
  • 35
6
votes
4 answers

Did I install Ruby 1.9.3 correctly on RHEL?

Before you say yum -y install ruby193... I did that. Please note that I am not a Ruby developer, but need this program as part of another developer's work via web services. (He is not available.) Any help would be greatly appreciated. I attempted…
Jerry
  • 940
  • 2
  • 12
  • 26
6
votes
2 answers

EC2 instance launched from AMI not reachable(ssh) after start/stop or reboot

When we launch an instance from an AMI. At first the instance is accessible(ssh). Once we stop/start the instance or reboot it the machine becomes inaccessible via ssh,we can ping it though. We see below error in System log. AMI ID used -…
6
votes
1 answer

custom yum repo not showing rpm

I have a yum repository I've set up where I store custom rpms. I have no problem finding information about other packages that were built and stored in this custom repo. #yum --disablerepo=rhui-us-east-rhel-server-1y,epel,epel-testing…
Zippy Zeppoli
  • 5,847
  • 4
  • 18
  • 16
6
votes
3 answers

Finding installed apache module versions in CentOS/RHEL

I found a similar question about this but aimed at Debian here. However since I don't have apt-cache it doesn't help me. Running: httpd -M Gives me a list of all the installed modules but not their versions. My colleague has just pointed out…
Rumbles
  • 1,367
  • 3
  • 16
  • 40
5
votes
2 answers

Perl DBD can't connect to MySQL on a 64-bit machine

I am on RHEL 5.5 64 bit machine. I installed ActivePerl 5.10 64 bit on the machine, upgrading the previous inbuilt Perl 5.8 64 bit. I have MySQL up and running and my PHP project is able to access it. My Perl file needs to access the same database…
user1263746
  • 5,788
  • 4
  • 24
  • 28