Questions tagged [centos]

CentOS (Community Enterprise Operating System) is based on the Red Hat Enterprise Linux operating system. QUESTIONS MUST BE ABOUT RUNNING PROGRAMS UNDER CENTOS. Questions about server administration may be asked on https://serverfault.com

Filter by
Sorted by
Tagged with
0 votes
1 answer
29 views

HTTP Status 500 – Internal Server Error about ServletUtilities

I am trying to make a Web Service using Tomcat 10 and jdk11 on centos. but I got HTTP Status 500 – Internal Server Error, and show An error occurred at line: [703] in the jsp file: [/index.jsp] It's ...
georgetovrea's user avatar
-2 votes
1 answer
10 views

CentOS 8 Back to Windows 11

So long story short - I botched a CentOS update from 7 to 8 and now I am unable to use most functions on the server. I will have to go back to CentOS 7 to get these features to work again. I am trying ...
Maikeru Diron's user avatar
0 votes
0 answers
13 views

startup message in Centos 7: could not boot [closed]

Dead community, Does anyone know the solution to this error message that I get when starting Centos Linux (3.10.0-1160.66.1.el7.x86_64) 7 (Core) [ 198.942749] dracut-initqueuel3371: Warning: /dev/...
Pampayacu's user avatar
0 votes
0 answers
23 views

How do I give Jenkins more heap space when it's running as a daemon on Amazon linux 2?

I recently upgraded my Jenkins installation to version 2.432, and I'm facing an issue with finding the configuration file that was previously located at /etc/sysconfig/jenkins Prior to this version, ...
madhu's user avatar
  • 1,103
1 vote
0 answers
14 views

CentOS 7 to 8, now apache issue

I successfully got CentOS 8 installed from CentOS 7. However, now it seems that there is an issue with Apache. I can load WHM (cPanel) successfully, and go into the Apache settings - when I try to ...
Maikeru Diron's user avatar
-2 votes
0 answers
24 views

Trying to update from CentOS 7 to 8 [closed]

I am trying to update to CentOS 8, I got as far as trying to launch and I get this: [root@greenpassion ~]# dnf -y --releasever=8 --allowerasing --setopt=deltarpm=false distro-sync cPanel Addons ...
Maikeru Diron's user avatar
0 votes
1 answer
18 views

Elasticsearch 7.17.0 not running in cent os 7

I installed elasticsearch 7.17.0 in cent os 7 . But i could not bring the elastic search instance up and running . Below is the exception seen in the error log . [2023-11-24T09:05:44,263][ERROR][o.e.b....
Balaji Padmanabhan's user avatar
-1 votes
0 answers
20 views

Running docker image fails: This version of the Java Runtime only recognizes class file versions up to 52.0 [duplicate]

I am in a class learning about docker right now. I am trying to create and run my first docker image, which is a CentOS container that installs java and runs a jar file. Here is my dockerfile:...
Tyler Pearson's user avatar
-2 votes
0 answers
12 views

Puppeteer Lib Issue on cPanel Based Server [closed]

I am using Puppeteer library in NodeJS for runtime PDF file generation. It works fine on my local system, but when I deploy my app on a cPanel Based CentOs Os server, it throws an error. Any solution ...
Muhammad Nasir Ayub's user avatar
0 votes
0 answers
12 views

Ledctl does not work with AMD Epyc platform

I need to highlight a disk on an amd platform. On Intel I use ledctl, this solves the problem. For amd ledctl does not work. I tried to look for analogues but nothing worked. How to turn on the disk ...
Олег Баталов's user avatar
0 votes
0 answers
22 views

how to make a laravel project on a path of other laravel project?

I have 2 laravel project : project1 and project2. project1 already online in https://mystore.com and I want project2 is in https://mystore.com/v2. In my Virtual Machine I use CentOS as the OS and ...
DV Corps's user avatar
-1 votes
1 answer
41 views

Can't connect to a remote Centos 7 server via SSH with anything, except Putty

Can't connect to a remote Centos 7 server via SSH with anything, except Putty. Filezilla and WinSCP don't work, connecting from Linux File manager also doesn't work, but connecting from Putty and ...
tester3's user avatar
  • 409
0 votes
0 answers
31 views

Ansible don't configure interfaces in firewalld past reload

The task is to write a playbook to move interfaces to other zones, but when the firewalld daemon is restarted, the interface returns to the standard zone. Perhaps this is due to the configuration of ...
Михаил Семчук's user avatar
-3 votes
1 answer
21 views

batch rename multiple files across multiple folders in centos [duplicate]

This should be simple but can't figure it out: Original file and folder structure folder1/folderA1/folderA2/folderA3/OLDfile.jpeg folder1/folderB1/folderB2/folderB3/OLDfile.exr I would like to rename ...
spoax's user avatar
  • 559
-3 votes
0 answers
29 views

Change OS of an EC2 instance from Centos to Alma Linux without losing data

I have an ec2 instance running centos 7 and cPanel, some packages and dependencies for the OS is reaching the EOL soon. I want to change the OS to Almalinux for support. I have done this on bare metal ...
Dassy Areg's user avatar
0 votes
0 answers
16 views

Run applications on different ports Apache and NodeJS

I have an apache web server running. Serving an application located in /var/www/html/ (the application was built from React and is just a html linking some assets) when I access my website at the port ...
MagnoVJ's user avatar
0 votes
0 answers
7 views

Wildfly 29 - War artifact doesn't work in a Remote Virtual Machine but it does in a local environment

I have a wildfly 29 built in my local environment, with Windows 11 in which I deploy an application that logs in through JAAS and if the login is successful it redirects me to the application, ...
Alex Gonzaga's user avatar
-3 votes
0 answers
34 views

Nginx proxy server

I create 3 podman container with ip 192.168.100.33:8585, 192.168.100.33:8686, 192.168.100.33:8787. I use nginx server as load balancer and proxy server. And it redirect port 80 to port 443. When ...
Nicat Rasulov's user avatar
0 votes
0 answers
18 views

Flask App " def __html__(self) -> str:" syntax error

I have installed Apache/2.4.6 in CentOS with Python/2.7.5, mod_wsgi/3.4. When I start the apache server, it is running, but the page gives "Internal error" message and in the error log &...
user3782746's user avatar
1 vote
0 answers
20 views

Jenkins pipeline is using 3.0.5 version of maven instead of 3.8.8

I am using CentOS 7 as my vm where I have installed maven 3.8.8 using wget.My maven home path is /home/Mohit/apache-maven-3.8.8 But when I am starting a pipeline project it is taking maven 3.0.5 as ...
mohitraj suryavamshi's user avatar
1 vote
1 answer
38 views

Cross compile from CentOS 7 to Raspberry Pi 2B - can't get LIBC and system include headers to work together

I am trying to cross compile a hello world C program on a CentOS 7 64-bit machine to the Raspberry Pi 2B 32-bit target machine. I downloaded the buster cross compiler cross-gcc-8.3.0-pi_2-3.tar.gz My ...
Steve Olekszyk's user avatar
-1 votes
0 answers
21 views

Apache hangs when trying to restart on Centos

I have a clean install of CENTOS 8 and installed Apache in it. So I created a script with only this code below (named "test.php") and I execute it calling the script in my browser (like http:...
batata00094's user avatar
0 votes
0 answers
10 views

Nignx:Nginx on CentOS7 not properly proxying gRPC requests

Nginx [root@iZwz95s4gvalnfiqt0jxleZ nginx]# sbin/nginx -V nginx version: nginx/1.24.0 built by gcc 4.8.5 20150623 (Red Hat 4.8.5-44) (GCC) built with OpenSSL 1.0.2k-fips 26 Jan 2017 TLS SNI support ...
EasonHu's user avatar
  • 11
-1 votes
1 answer
20 views

Getting a list of files with ftp_nlist() function in PHP

I'm trying to develop a function that retrieves a list of files from a specific directory. However, the result is always null. What checks could I perform? The directory permissions are correct. I ...
Alberto Muñoz Sánchez's user avatar
0 votes
0 answers
47 views

Problems with commands separating when remote ssh for centos 7 only

So I can run this code remotely on Rocky/centos 8 and above and it works. But when I run this code against a Centos 7 host I get ip command not found as it seems to be separating the ip route command. ...
Brian Vess's user avatar
0 votes
1 answer
51 views

How to lock a package to not be updated or reinstalled in CentOS

I've already installed a patched version of a package, and I don't want it be updated or reinstalled in any case. What I have tried but not success: using exclude=package-name* in /etc/yum.conf: I ...
huynp's user avatar
  • 44
0 votes
1 answer
44 views

No Such File or Directory in CentOs 8

Hello does anyone of you experienced 'No such File or Directory' on CentOs 8? I've been using the command ls/var/www/html and that's what it says everytime I put that command. I'm trying to install ...
sago's user avatar
  • 1
2 votes
1 answer
697 views

signature hdr data: BAD, no. of bytes(9168) out of range

Run command "yum update rpm",get the error:"signature hdr data: BAD, no. of bytes(9168) out of range". My system is CentOS 8. When I tried to download software using the command ...
RITY's user avatar
  • 33
0 votes
1 answer
29 views

Cannot Run Java in CentOS WSL2: Error load main class Files.NVIDIA

I tried to run a shell script to run an application in Java. I cannot post the whole script due to copyright. But the line executing Java is the following (with some modification) $java_vm -Xmx128m -...
Akmal Narendra Sakti's user avatar
2 votes
0 answers
82 views

Leapp upgrade fails despite plenty of disk space available

When using Leapp to upgrade from CentOS 7 to Rocky 8 it successfully passed the preupgrade check. During the upgrade itself it keeps failing with errors about needing at least 1085MB more space on the ...
Davep75's user avatar
  • 21
0 votes
0 answers
41 views

Roundcube SMTP error: Failed to set sender

I've installed Postfix, dovecot, and Roundcube on Centos, I'm receiving emails but cannot send an email. Trying to send email... SMTP send: NOT OK(Failed to set sender '[email protected]':...
Mahdi Alikhani's user avatar
0 votes
1 answer
107 views

SOLVED: Error loading shared library libatk-bridge-2.0.so.0 in VS Code extension integration test on CentOS 7 with Jenkins and XVFB

I'm running integration tests for my VS Code extension on a CentOS 7 node using Jenkins and XVFB. During the test execution, I encountered the following error: /home/mbesinga/workspaces/myvscode-...
KevDev's user avatar
  • 551
0 votes
0 answers
41 views

git - git status slow on remote machine after executing git status on local machine which mounts remote using sshfs

I have a local machine(Centos 7) that mounts a repo from remote machine(Centos 6) using sshfs(2.10). And I can connect them both using ssh in my laptop. My daily workflow is opening my laptop, ssh to ...
Lotus's user avatar
  • 33
0 votes
0 answers
48 views

passenger output: /bin/sh: line 0: exec: python: not found

I am trying to run a Django app. I followed https://support.plesk.com/hc/en-us/articles/12377516625559. on Plesk Obsidian Version 18.0.41 / Centos When logged in with root or my user, python is ...
Crimeira's user avatar
  • 149
0 votes
1 answer
16 views

Display dynamic data as it loads instead of waiting for the backend script to finish

OK, I'm sure I'm missing something stupid here.. I'm migrating one of my servers from CentOS to Ubuntu LTS (this is not an enterprise install, so no "Ubuntu isn't an enterprise distro..." ...
baldbrad's user avatar
0 votes
0 answers
52 views

Set dependecy for javaagent eclipselink.jar in Eclipse Tomcat and CentOs

I am using eclipse, tomcat and eclipselink to develop web application. I need to configure javaagent:eclipselink.jar on eclipse java VM to enable Weaving on eclipselink. On Eclipse's VM arguments I ...
Ndrik7's user avatar
  • 113
0 votes
0 answers
31 views

/data/log/error.log permission denied even though i set <chmod dir="${basedir}/../data" perm="777" includes="**/*"/>

I am facing this issue, my build.xml looks like this <chmod dir="${basedir}/" perm="777" /> <chmod dir="${basedir}/logs" perm="777" /> &...
Rajsekar Reddy's user avatar
0 votes
1 answer
69 views

CentOS and pdo_sqlsrv for PHP 7.2 - how to install (PLESK)

I am hosting a site that needs to connect to SQL Server. My PHP 7.2 is missing pdo_sqlsrv - how to install it and make it work? I was trying that solution: Centos 8, PHP 7.2 and MS Sql Server but pecl/...
ButcherFromHell's user avatar
-3 votes
1 answer
60 views

How Can I check linux distribution of my server in terminal? [closed]

I am trying to check which linux distribution is my server is running on. I tried some commands like lsb_release -d but no luck lsb_release -d in terminal but saying command not found /etc/*-release ...
Vikrant Banwal's user avatar
0 votes
0 answers
11 views

Dogtag PKI "/usr/share/pki/common-ui" is missing

I am using Dogtag PKI 11.4.2 on CentOS 9 I am facing an issue where Tomcat can not find the static css/image files as the GUI for dogtag is actually missing! This is the command i am using for ...
codemaster1101's user avatar
0 votes
1 answer
104 views

Finding window ID from process ID in linux [duplicate]

Currently working on making a script/command that I can run to save the states of all open terminals(gnome-terminal). I work with a lot of them on a VM and the VM freezes or starts doing weird stuff ...
Sam Kent's user avatar
0 votes
0 answers
21 views

Why does nginx not work when it is running?

I meet a strange issue, I installed nginx via command yum install nginx -y on CentOS8 stream, and I checked its status via command sudo netstat -plutn | grep nginx, it runs. tcp 0 0 0.0.0....
Bin's user avatar
  • 484
0 votes
0 answers
24 views

ModuleNotFoundError: No module named 'encodings' when using Apache and ModWSGI in CentOS 8

I have a Flask application that I want to deploy using Apache/ Httpd in CentOS 7. I have developed a Virtual Environment for the project and when I use the development server to run the project, ...
Terminator10's user avatar
0 votes
0 answers
27 views

How to Host Node.js with EJS Templates on CentOS 7 with Reverse Proxy Using Apache

I am currently facing an issue with my Node.js application using EJS (Embedded JavaScript templates) on CentOS 7. Whenever I attempt to change the route, I am redirected to the EJS error page. Even if ...
Ankit Kumar's user avatar
0 votes
0 answers
40 views

After installing Jupyter Hub and Jupyter Lab on CentOS 7, how do I use them on Windows?

After installing Jupyterhub in CentOS 7 Master account, I want to set up analysis environments and use Jupyter Lab in each account. I want to connect with Jupyter lab from windows-based computer, so ...
upnote's user avatar
  • 1
0 votes
0 answers
60 views

Recognizing gcc 4.8.5 instead of 4.9.2 (CentOS 7/RHEL 7)

Good day to any kind soul and thank you in advance. I'm having some troubles running a node application on a CentOS 7 distro, previously I had tried to run the application on a CentOS 6 instance to no ...
Arturo Obregon's user avatar
0 votes
0 answers
56 views

centos no core file generated when core_pattern is |/usr/lib/systemd/systemd-coredump

I run docker, command as listed followed, when process occurs core dumped but no core generated. docker run --privileged -it xxxximage bash pc info and core config [root@b4645cba1ca5 home]# ...
Andy Cong's user avatar
  • 109
1 vote
0 answers
35 views

CGI perl script can't write to file

I'm running Apache 2.4 on Centos 7. I've spent a week on this problem and it's getting stressful (this is a test file, I'm setting up access for a third party to be able to write to a file on the ...
SB121's user avatar
  • 11
0 votes
1 answer
34 views

server the /tmp/ directory as /npm-logs using Nginx webserver

I wish to expose the /tmp/ directory as /npm-logs in Nginx I wish to serve the contents of /tmp directory by hitting this URL: https://portal.sggs.com.au/npm-logs Below is what the server block looks ...
Ashar's user avatar
  • 3,037
1 vote
0 answers
162 views

Can't open PID file /run/dovecot/master.pid (yet?) after start: No such file or directory

Go to dovecot.service, in [Service] block after Type=forking add this line ExecStartPost=/bin/sh -c 'chown root:dovecot /var/run/dovecot/master.pid' then run cmd systemctl daemon-reload && ...
Lucian Curteanu's user avatar

1
2 3 4 5
250