Skip to content
Advertisement

Tag: redhat

Redhat/CentOS – `GLIBC_2.18′ not found

I was trying to run redis server (on a CentOS server) with specific module: and getting error: this is the linux version: Also this is what is showing for /lib64/libc.so.6: Also: Tried as well: What is the process of installing/setting GLIBC_2.18 on Centos/Redhat servers? Thanks.. Answer You can upgrade to the Red Hat Enterprise Linux 8, which comes with glibc

Shell script to edit and add a entry in file

Could any one help me to add entry at the end of the line. This is linux os. Below is the contents of the file /boot/grub2/grub.cfg I need to add entry at the end of the line “text1” and “text2”. after edit my file should look like: Answer With sed expression:

How to check if process is running on Red Hat Linux?

I’ve been using a modified class I found to check if another instance of the same process is already running, the problem is that the method of checking for the process adds another instance of the same process. When my application starts, a new process ID is created and is visible with: With this I get a since entry returned,

Need to get Linux Dist name from different Dists

want to code a script that is for multiple linux distributions. Also want to add commands that check, and if not exist install some packages.. So, need a solution to ckeck Dist name (like Debian or RedHat) to execute the right command for this Dist. I have tryed “lsb_release” but is this working all the follow dists? : Debian /

Glassfish is not working on ReadHat Server

I am trying to install Glassfish 4.0 on a Linux Red Hat Entreprise Linux release 5.11 (Tikanga) Server. Therefore, I successfully installed Java jdk1.7.0_79 and NetBeans 4.0 on this server following this website instructions: https://blog.idrsolutions.com/2014/02/tutorial-setting-up-glassfish-on-a-linux-server/ When I run the server using the linux command ./asadmin start-domain, the console tells me that everything is ok: If I run the sudo netstat

ssh + ssh is stuck on remote machine [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. This question does not appear to be about programming within the scope defined in the help center. Closed 6 years ago. Improve this question simple script in order to perform reboot on Linux machine after running this script couple of times , some times the

RedHat on port 80

I got Apache Tomcat running some app on RedHat server, now listening on port 8081. I want the app to listen to port 80, but not working. My RedHat server not using firewall so iptables has no relavance. How can i make it work? Here is my server.xml: Answer Ports below 1024 can only be opened by a root user.

Linux Command to list all users by uid

I am using RedHat Linux 6. I need redhat Linux terminal code to list all the users above uid=499? i already tried “cat /etc/passwd”. but it shows all users. how do i filter it? Answer You can use awk to parse the passwd database for the UIDs you want. To list all the users for UIDs strictly greater than 499,

Speeding up gcc compile of a single file

Running RedHat7 w/g++ version 4.8.3 w/j5 arg and o3 optimization. We currently have a file that is approx 90,000 lines long (a whole bunch of wrapper functions). The compile of this file currently takes between 30 and 40 mins. What is the best strategy to speed this build time? Would build time increase if it was split between multiple files?

Advertisement