Questions tagged [redhat]

0

votes
0

answer
14

Views

DBD-Oracle-1.76 installation issue

I am setting up a new server for POSTGRESQL, so we have to migrate from ORACLE to POSTGRES while installing DBD-Oracle-1.76 package. However, we are getting error even though we have exported ORACLE_BASE, ORACLE_HOME, LD_LIBRARY, LD_LIBRARY_PATH. Here is what I have tried: make rm -f blib/arch/auto...
Abhinav
1

votes
1

answer
33

Views

how to build scl, example are old and rpmlint contradict the documentation?

I read the official documentation, some examples on github and on atomicorp . But I am still confused! Should have to make 2 specs? One to build the tools and another one for a metapackage? If yes why atomicscorp's spec file seem to be a mix of spec and the meta-spec files ? Moreover with rpmlint 1....
bioinfornatics
1

votes
1

answer
174

Views

How to install GCC/G++ 8 on CentOS

I'm used to install packages on Debian/Ubuntu distributions, but now I need to install gcc and g++ version 8.*. There is only version 4.* in CentOS repositories. What's the correct way to install them manually?
Eenoku
1

votes
3

answer
8.4k

Views

Rename file in docker container

I'm having a weird Error when i try to run a simple script on docker container on redhat machine, this is the Docker file From tomcat:7.0.70-jre7 ENV CLIENTNAME geocontact ADD tomcat-users.xml /usr/local/tomcat/conf/ ADD app.war /usr/local/tomcat/webapps/ COPY app.sh / ENTRYPOINT ['/app.sh'] and app...
Amine
2

votes
0

answer
26

Views

How can I force Red Hat OpenJDK 8 to render fonts as clearly as AdoptOpenJDK and Oracle JDK on Windows?

Our users run our Java GUI app on their Windows desktops, and we're planning a switch from Oracle Java 8 to OpenJDK 8. But we've found that different OpenJDK builds are inconsistent in the quality of the font rendering, with Oracle and AdoptOpenJDK being equivalent but Red Hat severely lacking. T...
JKD
1

votes
0

answer
108

Views

JBOSS EAP 7.1.0 - Unsure of Logging and if it is a Out Of Memory Message.

I got a note a from one of our application teams about some log entries after updating to JBOSS EAP 7.1.0 Domain mode from EAP 7.0.11. They're claiming it is a sign that the Application or JBOSS is running out of memory. I have checked everything on the server itself and it seems fine, no errors, ot...
JonRoyer2450
1

votes
1

answer
54

Views

php vs charset vs redhat vs suse [closed]

When I export data from DB on RedHat 7.4 with PHP I get file with unknown encoding: file -i produkte_de.csv podukte_de.csv: text/plain; charset=unknown-8bit I made dump of DB from RH and import into DB on Suse Tumbleweed and use same PHP code for exporting into CSV file, I get: file -i produkte_de.c...
Kolesar
1

votes
1

answer
68

Views

How to add condition before reboot Linux machine [duplicate]

This question already has an answer here: Invoking program when a bash function has the same name 2 answers We want to add some important test before init 6 will take effect ( on redhat ) As the following We add the function ( init ) in /root/.bashrc init () { /home/sanity.sh [[ $? –eq 0 ]] &&...
enodmilvado
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
0

answer
32

Views

How do you connect to a database, get results to delete files in file system in Python?

I am learning Python on my own and running on RedHat linux 6.6 so please bear with me. I wish to try and use Python to delete certain files in our file system whose filenames and type are stored as hash values and the path to these files in a database (MySQL 5.5). For example, I have 5 files and I w...
Lawrence
1

votes
1

answer
403

Views

Redhat or CentOS7 systemd may remove user IPC resources unexpectedly

According to the comment below, linux systemd can remove my IPC resources without my allowance. I already met this problem during important PoC(Proof of concept) test. But, I have difficulty in reproducing this problem in my desktop. Is there anybody who encountered this problem before and knows the...
cloudrain21
1

votes
1

answer
222

Views

Error unix_socket_directory in upgrading from postgresql 9.2 to 9.6 in RedHat

I'am strugling for hours already in upgrading my postgresql server 9.2 to 9.6. Here is what I've done: Ran this as postgres: /usr/pgsql-9.6/bin/pg_upgrade --old-bindir=/usr/bin/ --new-bindir=/usr/pgsql-9.6/bin/ --old-datadir=/var/lib/pgsql/data/ --new-datadir=/var/lib/pgsql/9.6/data/ --check Got the...
1

votes
1

answer
2k

Views

Configure LVM resource on Redhat 7.4 cluster using pacemaker

Now im configuring the Redhat cluster with pacemaker and i wanted to add a LVM resource. For the details i am using redhat 7.4 and install lvm2-cluster, pacemaker, corosync, pcs, fence-agents-all for the cluster package. However, my LVM resource have a failed state with following error: [[email protected]
Izzul Iman
1

votes
0

answer
61

Views

Drools 7.6.0 rest end point always returns 200 success with dummy response

I have started exploring Drools 7.6.0 and created simple guided rules as below. package com.test.loanapprovalguidedrule; import java.lang.Number; rule 'LoanApprovalGuidedRule' dialect 'mvel' when loanApprovalDataObj : LoanApprovalDataobject( loanAmount == '100' ) then loanApprovalDataObj.setLoanAmou...
storia321
1

votes
0

answer
38

Views

installing intellij on remote redhat 7 server, can't read instructions because character encoding problems

So im trying to install intellij idea to my remote redhat 7 server, and im trying to access it via Xming from my local PC with windows on. Problem is that idea.sh starts, but the character encoding is messed up. Would love to hear some suggetions for solving this problem! PS.: attaching some images...
Károly Módos
0

votes
0

answer
4

Views

why redhat ope shaft dosen't clone the project?

i wast testing the project called adobot-io-master. instead of working with heroku i choose redhat openshaft for this project and i got this error. the project i was testing is adobot-io-master link is https://github.com/adonespitogo/AdoBot-IO the error build is ''''' Cloning 'https://github.com/ad...
Dharmendra Shah
1

votes
1

answer
833

Views

Installing RabbitMQ on Red Hat - wrong Erlang version

I'm trying to install RabbitMQ on an evaluation VM of Red Hat (Enterprise Linux 7 64-bit workstation version) following the instructions at https://www.rabbitmq.com/install-rpm.html. I've gone and installed the zero-dependency version of Erlang from the source at https://github.com/rabbitmq/erlang-...
StephenAtLenvio
1

votes
1

answer
190

Views

Openshift installation error for etcd?

Trying to install Openshift-Enterprise getting the following error during the pre-requisites check phase. TASK [Evaluate groups - Fail if no etcd hosts group is defined] ************************************************************************* fatal: [localhost]: FAILED! => {'changed': false, 'msg':...
Jeel
1

votes
0

answer
36

Views

Some processes will not start when `systemctl reload httpd` is executed

Some processes will not start when systemctl reload httpd is executed. To be precise, some processes will not start up at odd times of execution. Procedure    $ systemctl reload httpd   grep - v grep | grep - v log | wc - l     11   $ systemctl reload httpd   grep - v grep | grep - v log...
Naoki
1

votes
0

answer
107

Views

Free complex struct from task_struct in linux KERNEL 2.4

I added to the task_struct (in sched.h) a pointer that points to a complex struct. First of all in INIT_TASK macro I initialized it with NULL. I added 2 new syscalls: One that allocates this complex struct by using kmalloc. Second that frees the complex struct by using kfree. Now my problem is that...
Ido Yehezkel
1

votes
0

answer
134

Views

Install rgdal dependencies on local redhat

I have to install rgdal package on R (this is an other question I posted before about rgdal and this is a related question which it doesn't work for redhat), So I must install some dependencies before install rgdal. if you check the CRAN depo here you will notice that GDAL and PROJ.4 are ones of req...
Carole
1

votes
1

answer
105

Views

C program delivers only the UTC time as localtime on Linux using GCC

I have a C program that runs on two different RHEL6 servers that are configured with the same timezone. The C program uses the time functions from time.h. On one of the servers the local time is correctly determined, on the other one the UTC (default) time is displayed independent from the configure...
AsamRegnat
1

votes
0

answer
64

Views

FCoE on RedHat 7.4 server with QLogic BCM57xx not detecting the SAN

I am trying to configure RH7.4, installed a Dell Poweredge FC830 to talk to an EMC Unity SAN. The server has a QLogic BCM57xx card. I used the lifecycle controller to deploy the OS. After the installation I couldn't see the expected 'Fibre' lines in the lspci output. What I can see is: 01:00.0 Ether...
user2516278
1

votes
1

answer
105

Views

Apache 2.4: php_network_getaddresses: getaddrinfo failed: - no DNS lookups being made

Mostly posting this as a rubber duck method and for my future self. We have a RHEL 7.4 server running Apache 2.4 (httpd24-httpd-2.4.27-8.el7.x86_64) with mod_php (no php-fpm). Today, all of the sudden about 20 of our servers started failing in our PHP app with php_network_getaddresses: getaddrinfo f...
Elijah Lynn
1

votes
0

answer
128

Views

Redmine Internal Error account and admin

I get and internal error message page when I click Register and several other pages if I log in. Internal Error on admin, -Stylesheets are not showing if I log into the account and go to certain pages that deal with account. They do show correctly on projects, Any thoughts on where to begin looking...
1

votes
1

answer
103

Views

How to access a RHDM 7.0 git repository in OCP environment?

Trying to access RHDM7 git repository hosted in an OCP environment. This is what I have tryied so far: Create a project in my OCP instance with : oc new-project demo-rhdm7-dtf oc create -f https://raw.githubusercontent.com/gpe-mw-training/bxms_decision_mgmt_foundations_lab/master/resources/rhdm7-onl...
1

votes
0

answer
126

Views

.ldaprc, ldaprc, or environment variables not recognized by LDAP

I have a set of RedHat 7 servers and need to override or set LDAP variables in the .ldaprc file in the home directory. The variables are: SASL_NOCANON off SASL_SECOPTS minssf=0,maxssf=0 We have .ldaprc working fine on several other hosts, but this new set of hosts will not honor the settings in the...
Jim Fletcher
1

votes
1

answer
229

Views

rsyslog 5.8 imfile outside /var/log not picking up log files

I would like to pick up logs of different types from various locations other than /var/log and send them to a central location. Using RH 6.6 and rsyslog 5.8 the configuration works fine when using path within /var/log. If I use other path like /opt/appname/log/file.log. The rsyslog client does not p...
Bill
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
0

answer
32

Views

Not able to override previously build project with the user having developer roles on kie-wb-7.5.0.(drools)

I am not able to override the previously build project when I build&deploy it with the user having developer roles on kie-wb-7.5.0.Final-eap7. I have given all the permissions to the developer. how we can give the developer, the permissions to override the project build? permissions to the develop...
ankit lohchab
1

votes
0

answer
106

Views

PHP ARGON2I password_hash function does not work

I have created a PHP file which includes the following code: ... ... $password = password_hash($_GET['password'], PASSWORD_ARGON2I, ['memory_cost' => 2048, 'time_cost' => 4, 'threads' => 3]); ... ... I have tested it on XAMPP server on my personal machine, and it works fine. When I transferred the f...
Abdullah
1

votes
1

answer
52

Views

Exportation is not working through another script

I want to export variable in script(details.sh) from different location in another script(3funding.sh) but unable to do although I am giving correct command in 3funding.sh file. Question is, I am able to do it manually like getting out of 3funding.sh and executing below command: . ./{path}/details.s...
Anshul Ayushya
1

votes
0

answer
243

Views

Unable to find libisl.so.15

I ve been trying to install bazel on a Linux system - Red Hat Enterprise Linux 7. While installing, I run into this error : (pls see link below) As seen, it is unable to load libisl.so.15. But that shared file is indeed present on the system and it is a symbolic link. How can I make the bazel build...
Vignesh K
1

votes
1

answer
285

Views

Redirect http to https in apache red hat

I'm trying to redirect http to https VirtualHost here is the code I added to httpd-vhosts.conf ServerAdmin [email protected] DocumentRoot /var/www/html/dummy-host.example.com ServerName apache1.poc Redirect / https://apache1.poc ServerAlias www.apache1.poc ErrorLog /var/log/httpd/dumm...
user849782
1

votes
0

answer
481

Views

Apache 2.4 (RedHat) - .well-known - 403 forbidden

There is a rule in our apache config that forbids apache to server directories starting with . (for security reasons) I've read many threads on how to override this in some cases, but I still get 403 I need to validate a globalsign certificate with the .well-known/pki-validation file but it cannot b...
user7082181
1

votes
0

answer
50

Views

Red Hat AMQ 7.1 - ActiveMQSecurityException throws during creation of a MessageConsumer

I'm configuring an AMQ broker for my Java application. Users and roles are defined in their respective configuration properties files. These users have specific permissions depending on the address they are trying to use. All of this is configured in the broker.xml. The broker uses 3 addresses: gene...
Kelper
1

votes
1

answer
45

Views

Building Bazel on IBM lsf.conf

I am trying to build Bazel on IBM (Redhat 6.9) that uses LSF for the job submission system. In the middle of build, I get an error: lsb_init: initenv_:fopen(/etc/lsf.conf) The LSF_ENVDIR is correctly set to where the lsf config files are located. However, it still looks in there. Can I change this...
Strongman
1

votes
0

answer
73

Views

Python-iptables, rule with interface does not match ipv6 packets

We are using python-iptables v0.12.0 in production within a dockerized environment orchestrated by kubernetes. The container application that uses python-iptables library consists of the following networking: Two internal interfaces exist eth0 and eth1 (used for communication within containers), wit...
GGechetlaios
1

votes
1

answer
1k

Views

No space left on device ( linux )

When I try to create a file, it's giving 'No space left on device' I tried to fetch inode usage : $df -ih ~ I am getting : IUse% = 77% And when I do this to fetch disk usage : $df -h ~ I am getting : Use% = 11% What's going wrong? How to resolve this issue?
1

votes
0

answer
142

Views

Open-shift-Running Handler [openshift_master : verify API Server] FAILED - RETRYING Verify API Server

I am Trying to Install Openshift 3.9.1 In CentOS 7.5. All the process Done but Below Failed Issue Occurring. If you have any suggestion about it, ( Running Handler [ openshift_master : verify API Server ]) FAILED - RETRYING Verify API Server (120 retries left). install configuration problem occurri...
Sadhan Sarker

View additional questions