All Questions
1,609
questions
1
vote
1
answer
32
views
How to resolve the password prompting issue when setting up lftp connection with sftp and ssh-key in centos?
I have a centos server s1 and client c1 and I wanted to do a lftp connection with sftp and ssh-key without the password been prompted. Currently when I run the below command the password is prompted ...
0
votes
0
answers
76
views
Packages libssl, libc, libcrypto error installing MongoDB on CentOS
I've tried to install MongoDB 7.0 on my instance, but got a following error:
Error: Package: mongodb-org-mongos-7.0.11-1.el9.x86_64 (mongodb-org-7.0)
Requires: libc.so.6(GLIBC_2.34)(64bit)
Error: ...
0
votes
1
answer
43
views
Is this missing library something I can install without sudo privileges?
OS
I'm using a CentOS 7 system, which like a red hat system from what I observe (relevant further down the post.)
cat /etc/*-release
CentOS Linux release 7.8.2003 (Core)
NAME="CentOS Linux"
...
1
vote
0
answers
54
views
Reduce Space From /dev/centos/root
In my system using xfs file system with the below mentioned drive structure, I want to reduce space from /dev/centos/root volume in volume group Centos. Since xfs cannot be directly reduced, my method ...
0
votes
0
answers
118
views
CentOS Stream 9 Name or service not known frequently
I have a computer running CentOS Stream 9 as server. It is connected to my router directly by wire. It is working well except getting 'Name or service not known' frequently (like about 10 mins once)
...
0
votes
0
answers
334
views
Why yum install is giving me this "Could not retrieve mirrorlist" error trying to install a software?
I am not a system engineer (I am more a software developer).
I am trying to install Zabbix agent on a CentOS 7 system and I am finding the following problem with yum (I have done the same process on ...
0
votes
1
answer
348
views
Run Chrome using IPv6
In my Windows 11 machine and in my CentOS 9 stream I have 2 IPs assigned: one is IPv4 and another is IPv6. I can use both IPs on these computers and it works fine.
When I use Chrome, by default it ...
0
votes
0
answers
32
views
*** Can't find 22.78.224.10.in-addr.arpa.: No answer
I really need some assistance. I have set up a DNS server with Centos 6.10. When I test my server's address, I get an error.
Here are my configurations.
#named.conf
cat /etc/named.conf
//
...
2
votes
0
answers
123
views
Easiest way to set up a "proper" VPN on a CentOS server, allowing an Ubuntu or Windows client to connect to it
I am using Ubuntu at home. I have a server in the US with CentOS.
With my system administrator days long gone (about 25 years ago), the question is: what's the easiest, least painful way to make a ...
0
votes
0
answers
91
views
How to remove “mod_cloudflare” from CentOS Apache
I did install mod_cloudflare but I need to uninstall it
I have zero knowledge about command line.
I installed it by running :
yum install libtool git apr apr-devel apr-util apr-util-devel -y
cd /usr/...
0
votes
1
answer
327
views
Freshly Provisioned Cent-OS occupies a lot of space for "/dev/mapper/centos-root"
I created a fresh VM, however I started facing space issues as soon as it got created. From the du and lsblk command I see /dev/mapper/centos-root is occupying a lot of space. I tried running tree ...
0
votes
0
answers
105
views
Centos 7 yum update issue
I am getting the below error while doing the "yum update" in centos7. I tried all other ways to fix but nothing is working. Please find the below full error for your information.
Please find ...
0
votes
1
answer
296
views
CentOS Kernel panic - not syncing: Attempted to kill int during bootup
Building has a annual power shutdown for maintenance for 2 days.
As such, prior to it, I have shut down the CentOS 6 server.
After the power is back on (2 days later), when I boot back up, I ...
1
vote
0
answers
114
views
SCP silently ignored on the remote machine
When I'm trying to copy a file using scp (in whatever direction), there's no error displayed (although the returned $? code is 1), all I can see is the message that normally the REMOTE machine prints ...
0
votes
2
answers
1k
views
How to update the usb stick with files after burned with 'dd'?
I have a test.iso file not bootable, it is just an image with some files and folders.
I write my usb stick with this test.iso file by using ''dd' command.
dd if=/root/test/test.iso of=/dev/sdd bs=4096
...
0
votes
0
answers
441
views
The computer's hostname is not set correctly
So I wanted to connect my centos VM to my Windows Server VM that is currently hosting my Active Directory Server (both are on Host-Only Network). I know that the server is working, up and running, and ...
0
votes
2
answers
3k
views
how to configure centos against new dns server and port
let's say I installed on my local machine a dns server with port 5353
how to configure it as other dns on /etc/resolv.conf
my resolv.conf looks like this
nameserver 14.2.3.1
nameserver 14.2.3.2
How ...
1
vote
1
answer
616
views
Cannot access Outline VPN on CentOS
I installed Outline VPN a few times on Ubuntu servers and each time it was fast and easy. Now I'm trying to install it to CentOS and the Outline VPN shell script executes smoothly and with no errors:
...
2
votes
1
answer
5k
views
Installing keytool without JDK
I am trying to install keytool in a docker image based on centos but I get an error.
Example to reproduce Dockerfile:
FROM centos:7.9.2009 ...
1
vote
0
answers
3k
views
File permissions 0400 vs 0600
I have a question about file permissions for the owner of a file.
0400 permission means owner has read access.
0600 means, that the owner has read + write access.
But even if the file is set to 0400, ...
-2
votes
1
answer
53
views
Atime don't change on mounted drive
i have CentOS Stream 9.
when i mount a usb drive and create a file using touch command the Access time in stat command don't change and stays:
"Access: 2023-06-20 03:00:00.000000000 +0300"
...
1
vote
0
answers
123
views
Can't access Samba share on new drive from Windows
I have a Rocky Linux server, and I'm using NFS to share between two VM's and I'm also trying to get the same folder shared to my laptop using Samba. I have one folder sharing successfully with samba ...
1
vote
0
answers
35
views
Centos 4.8 not booting after replacement disk controller
I have a quite old Centos 4.8 backup. Root partition is on LVM. (/dev/mapper/centos-root).
This backup (tar.gz archive) works fine if i restore it in Vmware cluster with SCSI controller.
But now i ...
0
votes
0
answers
416
views
Docker containers unable to resolve dns on CentOS 7
it's my first post here, let's hope i'll do ok!
I'm migrating to a new vps, and it runs on CentOS Linux release 7.9.2009 (Core), and unfortunatelly the host wont allow me to change to a distro that i'...
0
votes
1
answer
473
views
How do I prevent systemd from running my timer after reboot
I have the following oneshot service+timer :
$ systemctl cat stop_syncro.service stop_syncro.timer
# /usr/local/lib/systemd/system/stop_syncro.service
[Unit]
Description=Service d_arret de la Synchro
...
0
votes
0
answers
71
views
Windows Server 2019 can't see shared disk from Linux Centos 9
Centos ip: 192.168.227.123
Win: 192.168.227.121
Device: /dev/mapper/mpatha1
mountpoint: /nfsserver
Mount:
Tried 100 different things on Windows, such as disabling hibernation etc, nfs services and ...
-1
votes
1
answer
135
views
Golang: On Linux (centos), the golang application cannot be installed as a service
I created a Golang program to carry out some functionality. For installation on Linux (centos), I built the application with the appropriate OS and architecture (GOOS=linux, GOARCH=amd64). The ...
0
votes
1
answer
169
views
Recovering RAID 6: drives are ok, but partitions are "lost"
I faced strange issue with my RAID 6 array (8 HDDs, mdadm). Accidentially 3 drives were disappeared from it, with corresponding result - array has been ruined, but - all 8 drives are perfectly fine, ...
1
vote
1
answer
118
views
fail2ban on xcp-ng (xen server on an centos) keeps dying
I can't get the fail2ban.service to run. It gets killed constantly
I tried to install fail2ban on an xcp-ng (8.3 alpha2). I installed it from source because the default REHL repos are turned off and I ...
0
votes
0
answers
161
views
Is it possible to restore a backup image taken from an old Linux server to much newer hardware?
Most of the Linux production servers at work have been in use for many years and their hardware is out of date.
For example, we have some production servers running CentOS 8 or 9. While the OS has ...