Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
1 vote
0 answers
12 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 ...
JCDani's user avatar
  • 111
0 votes
0 answers
70 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: ...
nursultan's user avatar
0 votes
1 answer
42 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" ...
Mah Neh's user avatar
  • 33
1 vote
0 answers
50 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 ...
ProgNi's user avatar
  • 13
0 votes
0 answers
107 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) ...
LittleyLv's user avatar
0 votes
0 answers
179 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 ...
Andrea Nobili's user avatar
0 votes
1 answer
339 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 ...
Samul's user avatar
  • 115
0 votes
0 answers
31 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 // ...
Michel N'cho's user avatar
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 ...
Merc's user avatar
  • 250
0 votes
0 answers
88 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/...
Zeyd Lprn's user avatar
0 votes
1 answer
302 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 ...
Himanshuman's user avatar
0 votes
0 answers
104 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 ...
Bala's user avatar
  • 1
0 votes
1 answer
292 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 ...
Jealous_Donut_7128's user avatar
1 vote
0 answers
104 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 ...
Ethouris's user avatar
  • 111
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 ...
antonio1's user avatar
0 votes
0 answers
433 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 ...
Hylia's user avatar
  • 1
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 ...
dave's user avatar
  • 103
1 vote
1 answer
603 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: ...
Anton Marchenko's user avatar
2 votes
1 answer
4k 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 ...
Jim's user avatar
  • 201
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, ...
mortimer's user avatar
-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" ...
dshman's user avatar
  • 1
1 vote
0 answers
119 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 ...
tylerlecho's user avatar
1 vote
0 answers
32 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 ...
LimpTeaM's user avatar
0 votes
0 answers
404 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'...
Pablo Souza's user avatar
0 votes
1 answer
465 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 ...
SebMa's user avatar
  • 1,863
0 votes
0 answers
69 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 ...
PFhantom's user avatar
-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 ...
Disha Patel's user avatar
0 votes
1 answer
165 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, ...
Green Root's user avatar
1 vote
1 answer
117 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 ...
Richard Burkhardt's user avatar
0 votes
0 answers
160 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 ...
cidy.long's user avatar
  • 149
1 vote
1 answer
385 views

Why I get refused when connect my remote host with domain name using ssh?

I added two A DNS records on my domain name whose HOSTNAME is @ and www, I'm wondering why I get refused when use davidzhu.xyz $ ssh [email protected] ssh: connect to host davidzhu.xyz port 22: ...
Shaowen Zhu's user avatar
0 votes
2 answers
2k views

Can't copy paste between windows 10 to centos 7 in VMware workstation, how to fix this issue?

I've windows 10 installed as primary Operating System. Inside it, using vmware workstation 17, I've installed centos 7. Now, for eg: I want to copy the command to download mysql workbench in centos 7. ...
achhainsan's user avatar
0 votes
0 answers
302 views

PAM updates for mounting an encrypted user's home at login (GNOME 40.4.0)

I would like to decrypt my LUKS encrypted /home directory at login on Rocky Linux 9.1. I have been trying to adapt this Arch Linux guide (https://wiki.archlinux.org/title/Dm-crypt/Mounting_at_login; ...
Mitch's user avatar
  • 1
1 vote
0 answers
5k views

Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile Centos 7 Error? yum update not working on new VM

I just installed new VM it is giving below error when i run yum update command [root@localhost ~]# yum update Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile Could not ...
user avatar
0 votes
0 answers
47 views

Noticed very large space utilisation in linux LVs, how to find which file or what is responsible here?

I have two disks in my server with a LVs created and issue is on the one mounted on /. I am aware of using find and sort to output the largest for some given number of lines. like: find / -type f -...
animorph's user avatar
1 vote
1 answer
843 views

Waiting until a string appears in a log file

I have a log file that text is appended to during the program run. I want to know when a specific string was appended to the end of the file. All the solutions given here: Monitoring a file until a ...
Codo's user avatar
  • 13
5 votes
0 answers
448 views

Files being created with the wrong owner

I'm using AWS sagemaker and today I went to commit some files and got this error: Bad owner or permissions on /home/sagemaker-user/.ssh/config fatal: Could not read from remote repository. Please ...
Gonzalo Hernandez's user avatar
0 votes
1 answer
277 views

Apache doesn't download files stored outside of default web folder

I've got a webserver from Vultr running on CentOS Stream 9. The files I want people to be able to download are stored on a separate hard drive mounted to /mnt/box/public/. I've set Apache to host it ...
uloste's user avatar
  • 1
3 votes
1 answer
13k views

Am I able to hide the GNOME title bar for applications?

I've forgotten if this is even possible. I have been using another OS and it's gotten me use to not seeing the OS's title bar on applications. Is it possible to hide it when using GNOME? I am on ...
g0nk's user avatar
  • 43
0 votes
1 answer
982 views

Enable ssh in emergency mode for centos 9

I'm trying make a backup system for my Centos Stream 9 headless server by installing a cloned system disk on a newer machine. No surprise, the newer machine booted into emergency mode (hardware ...
cidy.long's user avatar
  • 149
1 vote
1 answer
2k views

Sign virtual box modules (vboxdrv, vboxnetflt, vboxnetadp, vboxpci) Centos 8

I started using Centos 8 recently, and I installed VirtualBox to manage my virtual machines, the problem that I encountered with is that my VirtualBox couldn't boot any VMs and it told me to execute ...
Younes LAB's user avatar
0 votes
0 answers
132 views

Openstack Storage unresponsive

This question is unrelated to the question I just asked about OpenStack metadata server. This is another setup, on other machines and they both are clearly not connected to one-another. I setup ...
Nykau's user avatar
  • 63
1 vote
1 answer
429 views

REDHAT machine + rsyslogd eating up 10+ GB

we notice about this problem recently we found that rsyslog service is eating memory and some times its up to 10G we have different kind of redhat machines as version 7.6 and 7.9 is it possible to ...
King David's user avatar
1 vote
1 answer
34 views

Linux, centos, resetting password

While resetting password after commands: rd.break mount -o remount,rw /sysroot chroot /sysroot I entered new password all done correctly at the end created file reliably using touch /.autorelable ...
Mohamed Ramadan's user avatar
0 votes
1 answer
722 views

ext2fs and e2p packages are not found

I'm installing ext4magic on CentOS 7. When I run ./configure it stops at a certain point returning an error message. configure error: You must install the develop packages "ext2fs, blkid, e2p, ...
David Buik's user avatar
0 votes
0 answers
208 views

How can I install Kernel 5.17 on CentOS 7?

On a CentOS 7.9 installation I have some troubles running newer CPUs, e.g Ryzen 5 5600G (with included graphics). I concluded that it is the Kernel because it boots with certain versions, with kernel ...
adrianTNT's user avatar
  • 272
0 votes
0 answers
72 views

Why there are telnet logs in apache error logs?

I have an encoded ioncube script that's been working for one year and I update it frequently, but recently I found my site is not loading and I have the below logs in apache error_logs: [Mon Oct 24 22:...
Saeed's user avatar
  • 423
-2 votes
1 answer
82 views

Vagrant w/ Linux using VirtualBox on Windows - Stop auto update of time/date

I have a vagrant box running centos 7 using VirtualBox on Windows. I have shut off NTP with datetimectl, but every ten seconds the machine is resetting the clock after I manually change it. I need to ...
J.T.'s user avatar
  • 1
1 vote
1 answer
5k views

sudo: no valid sudoers sources found, quitting

On Amazon Workspaces I ran sudo chmod -R 777 /etc in order to create a file to install Docker but now after every command with sudo I run into this error sudo: /etc/sudo.conf is world writable sudo: /...
Mike D Hovhannisyan's user avatar
1 vote
0 answers
98 views

how to get the next disk device name to be created on centos

I need to get the next device name to be created of the centos or other unix like system, e.g. if the current device name is vda to vdf like in below, I need to get the vdg as my result [root@VM-0-10-...
wang larry's user avatar

1
2 3 4 5
33