Questions tagged [rhel]

0

votes
0

answer
6

Views

How can I use a variable in if condition in expect script?

I am executing expect script on a remote host(say A) and I want to fetch some environment variables from that remote host(A). Depending on the remote host's(A) environment variables, I would like to perform some conditional operations on that host(A) and on the host(B) from which the expect script i...
Ravi Kiran
1

votes
2

answer
1.1k

Views

how to offline install .net core and sdk on linux (RHEL)?

I have to install .net core 2.0 and SDK on Linux machine (RHEL distribution) server, where there is NO internet connectivity. Any help on instructions would be appreciated.
Kushhh Alll
1

votes
1

answer
268

Views

error: command 'gcc' failed with exit status 1 while installing pycrypto on RHEL

I am trying to manually install Crypto module for Python (pycrypto) on RHEL. However, I seem to always get this error after I run the build command (i.e. python setup.py build): error: command 'gcc' failed with exit status 1 Does anyone know how to solve this problem?
Felicia Amy
1

votes
0

answer
130

Views

RHEL 7.3 difference in repoquery and repotrack operations

I have to assess the set of packages affected by kernel upgrade (RHEL7.3) in a way INDEPENDENT of what is installed on the physical machine where I am operating (i.e. not affected by physical machine yum database). In order to solve this problem, I found a number of commands, mainly contained within...
teidelu
1

votes
0

answer
180

Views

NodeJS fs.unlink() deletes the files but the OS can still find them

I am using the following node.js code to delete files that I don't need. fs.unlink(downloadsFolder + '/' + file, function(err){ if (err) throw err; console.log('This file will be deleted.' + file) }); When I list my directory, I can verify that the files are gone. However, when I run this command, I...
summerNight
1

votes
1

answer
35

Views

Unable to install rJava 3.3.0 on RHEL 6.7

Recently we have downgraded R(latest) to 3.3.0 to RHEL. Which requires to install xlsx and other rJava dependent packages, though I have deep dived into every possible duplicate and tried all options. Details: Command Executed R CMD javareconf Error: .rodata' can not be used when making a shared obj...
Deepesh Rehi
1

votes
1

answer
242

Views

Running ASP.NET Core app from Amazon Linux 2 on Docker - Globalization

I have my ASP.NET Core app running beautifully (more or less) on microsoft/aspnetcore:2.0-jessie. Now I want to try to get it to deploy to amazonlinux:2. So far, the biggest hurdle has been libicu. I tried setting Globalization to Invariant, but this caused weird failures in, e.g., mySQL database ca...
sq33G
1

votes
0

answer
31

Views

Red Hat Enterprise linux vm not able to subscribe via subscriprion manager

When I enter the following command on my rhel command line subscription-manager register --username myusername --password mypassword I get the following error on my command line No JSON object could be decoded
Pawan Patil
1

votes
1

answer
485

Views

having problems making and installing gcc

I am having trouble installing gcc. Given the information below, what am I doing wrong? From $HOME/gcc on a Linux computer that I do not have root access to, I run the following: $ wget http://mirrors.concertpass.com/gcc/releases/gcc-7.3.0/gcc-7.3.0.tar.gz $ tar xvf gcc-7.3.0.tar.gz $ cd gcc-7.3.0...
Clay
1

votes
1

answer
59

Views

java processbuilder terminal width

So I have a shell script which when executed an executable will display lines as wide as your terminal width. When I execute the script using ProcessBuilder it automatically returns only the first 80 characters. I've tried a variety of things, like adding stty rows 50 cols 132 to the script, or tr...
Greg C
1

votes
0

answer
23

Views

No more space left in device android studio RHEL

I hope to install Android Studio in my RHEL Developer OS. When I try to install Android Studio Emulator, it said no more space left on device. df - l /tmp Filesystem 1K-blocks Used Available Use% Mounted on /dev/mapper/rhel-root 52403200 4964452 47438748 10% / It looks like the dire...
1

votes
1

answer
58

Views

git add/stat extremely slow on RHEL

We have a large (~15 GB, ~40K files) and old (~5 years with daily updates) git repository full of media content. Recently the RHEL users started to complaint it takes a few minutes to perform such routine operations like add, stat and push. At the same time on Ubuntu we don't encounter any problem....
Sergey Egorov
1

votes
0

answer
45

Views

RHEL unable to connect MySQL database via PHP code

I have been trying to find the issue but failed to spot so far in my RHEL Server 7.5(Maipo). I have a remote database instance (RDS instance) on my AWS. Which is in the same public subnet. And can be accessed and connected if I run mysql -h -u -p in my above mentioned instance terminal. Moreover,...
Muhammad Hannan
1

votes
1

answer
46

Views

Python raw socket frames never received

I am using a RHEL6 computer and I try to communicate with a Windows XP computer via RAW sockets. When I receive a specific frame on my RHEL computer, a Python 2 script using RAW sockets processes the frame and changes the following fields before sending it to the Windows computer : Dest MAC Dest IP...
waterleek
1

votes
3

answer
92

Views

can compiled perl v5.28.0 from src (with gcc 4.8.5) run on RHEL 5.5?

My question is about whether if it would be possible to run a compiled perl 5.28.0 from source (with GCC 4.8.5 on CentOS 7) to be able to be used on RHEL 5.5 (Tikanga) where GCC version is lower and so would be the other libs like libc, glibc, etc. Our production environment is running very old perl...
User9102d82
1

votes
1

answer
108

Views

Docker run rhscl/httpd-24-rhel7 error

I got after executing this command this error: Unable to find image 'rhscl/httpd-24-rhel7:latest' locally C:\Program Files\Docker\Docker\Resources\bin\docker.exe: Error response from daemon: pull access denied for rhscl/httpd-24-rhel7, repository does not exist or may require 'docker login'. See 'C:...
YouYyn
1

votes
1

answer
843

Views

ldap_modify: Other (e.g., implementation specific) error (80)

I followed https://www.certdepot.net/rhel7-configure-ldap-directory-service-user-connection/ to configure openldap on CentOS Linux release 7. once i create the /etc/openldap/changes.ldif file and paste the content with replacing the password ofcorse with the previously created password. then i get t...
D. Nicolas
1

votes
1

answer
333

Views

How to cleanly and safely uninstall mysql client on RHEL server?

On RHEL server, if I remember correctly, I installed mariadb client by running: yum install mariadb Now I want to safely and cleanly uninstall it, how do I do it? I know that this task might be dangerous because uninstalling a software cleanly requires uninstalling its dependencies as well, but othe...
Henry Yang
1

votes
1

answer
75

Views

RHEL Developer subscription not finding repos

I've been signed up for the Redhat Developer program for a while. I needed to do some tests in the RHEL 7.5 VM that had been working with the subscription program. When I reverted and did an update, I was able to get updates. However, I need to access some items via the downloads and had to chang...
James Hubbard
1

votes
0

answer
29

Views

umask permissions for new files computing differently for GUI vs. ssh shell?

So I've been going through a really perplexing issue trying to decipher why my umask value is being applied differently depending on how I am creating new files in RHEL. My goal is to have new files created with 664 permissions so that my group which contains other users can also edit the file. I ha...
Ryan
1

votes
0

answer
36

Views

How to upgrade Python 3 on Linux RHEL?

I have a Rhel version of a Linux and would like to upgrade from Python 3.6 to 3.7.2 What is the best and proven way to do it? Tried with yum but seems that does not have latest versions of python..
Joe
1

votes
1

answer
18

Views

Can I get a working curl command to remove a system from RHEL subscription?

I want to automate the addition and removal of VMs from the RHEL Subscription. I want to use a curl command if possible and keep it simple. I tried executing curl commands on the api.access.redhat.com/management/v1/subscriptions endpoints but it is giving errors like 'Authentication parameters missi...
Ravi Kiran
1

votes
2

answer
220

Views

Running external code in a restricted environment (linux)

For reasons beyond the scope of this post, I want to run external (user submitted) code similar to the computer language benchmark game. Obviously this needs to be done in a restricted environment. Here are my restriction requirements: Can only read/write to current working directory (will be larg...
Benjamin Horstman
1

votes
1

answer
1.6k

Views

Trouble linking libboost libraries to compile sslsniff on RHEL

Trying to build sslsniff on a RHEL 5.2 system here. When compiling sslsniff on RHEL I hit the same errors when using libboost packages (from repositories like rpmforge) and compiling libboost from source (which appeared to be successful.) I tried this on a fresh system as well (no previous/failed/ga...
rwong48
1

votes
1

answer
219

Views

Weird JVM Crashing Issue with CF 9 on RedHat Enterprise Linux

We're currently running ColdFusion 9 on a RedHat Enterprise Linux server and have found that, under certain circumstances, the JVM is crashing causing the CF server to be completely useless and requiring a full server restart. The only error that's being returned by the CF app just prior to the JVM...
Anne Porosoff
1

votes
1

answer
1k

Views

send mail is not working

for ex : i ahve aliases : testuser sendmail -v [email protected] < t.mail , this is working but when i am trying from another host sendmail -v [email protected] < t.mail .. its not working .. i am not receiveing mail what is the issue how to reslove it
Tree
1

votes
1

answer
1.3k

Views

Errno::EEXIST File Exists error when installing 'ferret' gem from local .gem file

I am trying to install the ferret ruby gem on a RHEL zlinux (s390x architecture) machine, and am trying to install a .gem file after patching it so that it will compile. But even trying to install the pristine fetched gem, it fails as follows: [ [email protected] ]$ sudo gem fetch ferret Downloaded ferret-0....
jberryman
1

votes
2

answer
5.1k

Views

Setup oci8 on rhel 6 with REMI repository

I've done this before, but it was a long trial and error process that resulted with my test machine having multiple copies of php, oci8, and the instant client, and I'm still not sure what it was that I did that made it work. So far, i've set up yum to use the remi repository, done yum install php p...
AsherMaximum
1

votes
1

answer
8k

Views

Installing gcc on rhel 6.1 [closed]

GCC doesnt seem to be installed on my Rhel 6.1 machine. Also, when i did: sudo yum install gcc It barfed: Updating Red Hat repositories. Setting up Install Process No package gcc available. Error: Nothing to do The same command works fine on rhel 5.5. What could be the problem? Update: sudo yum sea...
Chander Shivdasani
0

votes
0

answer
3

Views

Installing python-devel on RHEL 6.10 without root for Boost.Python

I have some Python code that uses compiled C++ code that includes Boost.Python 1.69.0. My code was developed on Windows where everything runs fine, but I'm now trying to get the code to run on a server which uses RHEL 6.10. I do not have root access (it's on a server with many users), so I cannot us...
Paul W
1

votes
1

answer
446

Views

RHEL 5: Unable to apply patch

I was following this WebSite for installing repcache on Memcached1.4.5 http://forums.famillecollet.com/viewtopic.php?id=252 Initially i downloaded this repcached-2.3-1.4.5.patch.gz I am using RHEL5 Then i run gunzip repcached-2.3-1.4.5.patch.gz It generated a file named repcached-2.3-1.4.5.patch T...
Pawan
1

votes
2

answer
1k

Views

What ports does Apache Hadoop version 1.0.3 use for intracluster communicaion of the daemons

I know port 22 is only used for control scripts. But i need to know what ports I should open for my 3 node cluster. 2 slaves, 1 namenode/jobtracker. On what port do the daemons run? On what ports are the URLs displayed? The hadoop distro is: Apache Hadoop version 1.0.3
user836087
1

votes
1

answer
172

Views

RPM conflicts with Python Virtualenv

We use a RHEL5 cluster, and we make custom RPM's of our applications so we can deploy them in the field. I am having an unusual issue where a specific directory within our virtualenv is causing an RPM conflict and I can't figure out why. We have a package (python26-2.6.5-6.el5.x86_64) that provides...
jreid42
1

votes
1

answer
217

Views

Can we only recompile a kernel module in kernel source tree?

Let's say we install a kernel 2.6.32.el6, then we download the 2.6.32.el6.src.rpm, can we just install the source and modify some module, and use make -C 2.6.32.el6.src.source.directry -M$PWD in the module directory to compile the module, then we copy into /lib/modules/2.6.32.el6/kernel/moduledirect...
dspjm
1

votes
1

answer
1k

Views

Chef Apache2 recipe on RHEL: ServerName not defined in the default recipe

I am using Chef to build out a virtual machine on Rackspace. The VM is a RHEL 6.5 box. I am running into problems building the default Apache2 /etc/httpd/conf/httpd.conf file cleanly for RHEL using the Apache2 recipe (it appears to default to an Ubuntu flavor configuration). In the recipe config tem...
tatlar
1

votes
1

answer
144

Views

Apache 403 after /var/www backup

I'm running a WordPress site on a RHEL server and I do backup every week for the WP MySQL database and the /var/www folder: mysqldump -uroot -p******** blog -l -F > /bak/blog.sql tar -jcpv -f /bak/www.tar.bz2 /var/www The latest backup was done at 6 a.m. (UTC +8) this morning and I upgraded WP to 3....
leoce
1

votes
2

answer
823

Views

Wordpress Installation PHP Error

THis is the update I get when I run the following command php -v PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/curl.so' - /usr/lib/php/modules/curl.so: cannot open shared object file: No such file or directory in Unknown on line 0 PHP Warning: PHP Startup: Unable t...
duke_sastry
1

votes
0

answer
36

Views

Java code OK in AIX 3.5, fails in RHEL 7.5: It makes corrupt DOC, DOCX, XLS, XLSX files but good HTML files

We have a Java process (see below) to generate DOC, DOCX, XLS, XLSX, and HTML and save it to our Linux PCs. It ran well in our old AIX 3.5 machine; but in our new RHEL 7.5 machine, Microsoft proprietary document formats (DOCX, DOC, XLSX, and XLS) it outputs are corrupt. HTML files are not corrupt. I...
1

votes
1

answer
1.9k

Views

RHEL7 Tomcat setenv.sh

I wanted to use setenv.sh in RHEL7 tomcat7 standard installation. However, the file is not used. I created it in /usr/share/tomcat/bin. But as there are no more script files in this directory, I suppose its probably not the right place. What works is to set my values directly in /usr/sbin/tomcat fi...
Josef Vogt
1

votes
1

answer
95

Views

Can't write logs in linux using Yii::log?

in Yii based web application i am writing log files using Yii::log('info', CLogger::INFO, $exception); It is perfectly working in Windows. But when i try this in RHEL 6.0 it is not writing and not showing any error response I have changed the directory permissions as well chmod 777 /var/www/html/yi...
prashanth-g

View additional questions