Questions tagged [centos-7]

Version 7 of CentOS Linux distribution. The CentOS Linux distribution is a stable, predictable, manageable and reproducible platform derived from the sources of Red Hat Enterprise Linux (RHEL).

Filter by
Sorted by
Tagged with
0
votes
2answers
20 views

How to find a process that runs hourly

CentOS 7, set it up about 3 years ago, so I might not remember every decision I made... Once an hour, something does a time update. I don't have ntp installed, only ntpdate. Don't have chrony ...
0
votes
0answers
6 views

error reading 'file': Input/output error” centos 7

hi everyone I need help urgently I have qcow2 file in my centos7 and when i copy it from centos7 to my external HDD every thing is OK then i tried to copy the same file from my external HDD to ...
0
votes
0answers
10 views

How to debug a crash with multiple `^@` line as the only clue?

At night, one of my CentOS 7 machines got stuck, and I had to cold reboot it to get it running again. Below are the syslog lines from the time of the problem. Alas, this line with multiple ^@ doesn't ...
0
votes
0answers
50 views

Deny port redirection based on source IP - firewalld

I'm trying to forward a port to an external IP using firewall-cmd, but I need to deny access from certain ips. To setup a port-forward of port 55500, I use: firewall-cmd --permanent --zone=public --...
0
votes
1answer
28 views

Getting “already seen ipaddr” error when adding 2 secondary IPv6 addresses on a VLAN subinterface

How many secondary IPv6 addresses are allowed on a VLAN subinterface in CentOS 7? With the config below I only get the former IPv6 address successfully assiged to ens224.2015 while the latter IPv6 ...
0
votes
1answer
19 views

DavLockDB Not Created Despite Correct Permissions

Coming back to Linux after years away and trying to set up mod_dav to serve myself the /var/www directory to do some web development. Should be easy, but this is giving me a hard time. Running CentOS ...
0
votes
0answers
45 views

server refused to start a shell/command

When I try to open the SSH connection to my CentOS 7 server, I am getting an error "server refused to start a shell/command" Only after the restart, I am able to connect to the server. As per the ...
0
votes
1answer
57 views

Apache serving wrong VirtualHost

I want to show you something very strage, found on a Centos7 server with Apache httpd: If I visit one domain from the same machine, I'm served by the right virtualhost: wget http://foo-test.cloud -O ...
0
votes
1answer
14 views

Corrupt XFS after power failure in Virtual Machine

One of our servers failed and when it came back to life, one of the hosted VMs [CentOS 7] had issues with XFS. There are 3 volumes, root, /swap and /home, and I was able to xfs_repair the root volume,...
0
votes
0answers
30 views

slapd does not start after reinstallation

I am fighting the third day with OpenLDAP to add the first organizational unit. I decided to start over and delete all my attempts: systemctl stop slapd systemctl disable slapd yum -y remove openldap-...
0
votes
1answer
44 views

Partition Help - /dev/sda1 is apparently in use by the system; will not make a filesystem here

First time post on here. I'm studying for the LFCS course so I'm relatively new to Linux sysadmin, so apologies if this is an obvious question. I'm having a very frustrating issue that has had me ...
0
votes
2answers
92 views

How to start/stop a python script as a service at a specific time on CentOS?

I am trying to put a python script on a VPS running CentOS 7, that crawls some stock data online from a web service. What I want to do is to set this script as an OS service that start/stops at a ...
0
votes
1answer
89 views

ZFS broken on Centos 7.8

I am using ZFSonLinux under CentOS 7, and after a restart, the kernel updated to 7.8. the ZFS modules were not loaded and modprobe zfs said the modules were not found. dkms status was empty and having ...
0
votes
0answers
17 views

Nginx creates log files owned by root instead of specified user

I am running CentOS 7.7 and I want to run Nginx under custom user with custom www and log locations. I have already hit SELinux so I enabled my custom directories: semanage permissive -a httpd_t # ...
0
votes
0answers
18 views

elastix 4.0 iso mount issue in virtual box

I am trying to mount ISO but its not working in virtual box Elastix 4.0 ISO centos 7 platform. I have tried all settings, also deleted the ISO then added again through optical drive method but it's ...
0
votes
0answers
19 views

Validate Simple Input and Output of a program on terminal

I do competitive programming so I need to check certain output for certain input. For which what I do is I compile my program with g++ file.cpp and than I paste input values in a new file called in....
0
votes
0answers
12 views

Updating Ruby, Jekyll, and Bundler for all users

I am working as root on a server (CentOS) and recently installed Ruby 2.7.0 (by following the steps here). I then did gem install jekyll and gem install bundler and now have jekyll 4.0.0 and bundler 2....
0
votes
0answers
6 views

How to connect to multiple linux server using GUI in CentOS7 with XFCE

I user Superputty for connecting to the linux server on Windows. And I have seen "gnome connection manager" manager on the Ubuntu. I have recently installed Centos7 with XFCE environment. Is there any ...
0
votes
0answers
13 views

I would like to list all samba shares and the directories that they map to offered by the server

I have root on the machine in question and would like to list all share names next to the directories that they map to. I have had a brief look at smbstatus, and smbtree, but these don't quite seem ...
1
vote
0answers
17 views

How to remove the top left black transparent box in firefox? (Gnome/Centos7)

How to remove that glitch from Firefox in gnome with Centos 7? This box appears only when the window is maximized.
0
votes
0answers
28 views

Executing OpenCL code on AMD e8860 GPU

I have a relatively simple OpenCL program that I know works on an Nvidia GPU and now I am trying it on an AMD e8860 MxM GPU, but I cannot get it to run using the GPU. I have tried both the dedicated ...
1
vote
0answers
20 views

SMTP-Docker not sending emails, what am I doing wrong?

Please bear with me, as I only started out with Docker a couple fo days ago. I created a brand new VM with CentOS 7 in our ESXi server. Setup Docker and Portainer with no issues. I wanted to create ...
0
votes
0answers
18 views

How to access internet from CentOS 7 in my local network

I have to make a local network for my CFD simulation as shown in the figure below. The problem is how to access the internet from the CentOS 7 machine through the Win10 machine.
1
vote
0answers
18 views

FTP access to a folder but not the whole filesystem

I need to allow a third party to access the folder /var/spool/asterisk/monitor through FTP (vsftpd on CentoOS 7). I've created the user, tuned the vstfpd.conf file and the user can connect and access ...
0
votes
1answer
38 views

Getting firewalld to allow traceroute for centos 7

We have a server running CentOS 7. There is a weird situation where I can ping to the server from my firewall but was not able to perform a traceroute. The server is a directly connecting to the ...
0
votes
0answers
9 views

Cannot resolve http challenge of letsencrypt trhough certbot standalone

i'm trying to obtain a certificate using letsencrypt, i need it for securing mosquitto with mqtts. Since i dont need a webserver, i'm using certbot 0.39.0 in standalone mode certbot certonly --...
0
votes
1answer
89 views

Trying to list attributes in bash 4 by nested for loops

This is going to be difficult to explain but I am going to give it a shot. This snippit is working in bash 5.0.16 but not 4.2.46 I have an array basicHosts=(host1 host2 host3) this is a dynamically ...
0
votes
1answer
22 views

VirtualBox Guest OS network setup is blocking Host OS network access

I reinstalled a different version of VirtualBox on my Win10 Host system. The Guest CentOS system and the Host were both able to communicate seamlessly with the Internet before my upgrade. I had ...
0
votes
1answer
42 views

phpinfo() and convert --version show different versions of ImageMagick

I'm running CentOS 7.7 and a few days ago I noticed that my ImageMagick library is missing the ImagickKernel class. So after a lot of research, I got to the conclusion that I'm running an outdated ...
0
votes
0answers
15 views

GNOME3 - I cant see the bottom taskbard when viewing the desktop remotely

I am use WebVPN HTML5 Access (more) to view the GNOME3 desktop of a CentOS 7 computer. The bottom taskbar is not visible, and that is where all of the running applications minimize to. Is there a ...
0
votes
0answers
27 views

Start tcpdump with script on system start

I'm trying to run a script on startup that runs the tcpdump command on Centos 7 and Centos 6. The aim is to start a rolling pcap when the system starts. I've tried using a cron with @reboot, but it ...
3
votes
1answer
84 views

How to recover and restore a MariaDB database from a broken CentOS 7 system?

In a Virtual Box VM I had CentOS 7 server installed in a VDI HDD and for some reason “Something I did obviously…” I cant boot the machine with the messages bad magic number you need load the kernel ...
0
votes
0answers
19 views

How to define nisp-domain-name in Centos 7 DHCP server

Above is the config that is one in the windows dhcp-server, I want to do same config which is marked in RED. I've gone through almost every document. below is the one show on the official document ...
0
votes
0answers
9 views

What is an efficient (bandwidth and time wise) way to add additional rpms to a CentOS7 minimal image based VM?

Looking for suggestions on an efficient way to add couple of more RPMs that are otherwise available on the CentOS 'Everything' image, since I need to do it on several nodes (5) and my internet ...
0
votes
0answers
174 views

How can I upgrade rpm on Centos 7 offline?

I'm trying to install python modules on centos 7 and python2-setuptools-45.2.0-1.noarch requires rpmlib(PayloadIsZstd) <= 5.4.18-1 I have so far installed epel-release-latest-7.noarch by ...
1
vote
1answer
406 views

why does it start to swap when there are still plenty of memory?

$ free -h total used free shared buff/cache available Mem: 125G 16G 105G 26M 3.3G 107G Swap: 8.0G 1....
1
vote
1answer
24 views

Create a ssh user in CentOS for FTP using WinSCP

I want to create a new ssh user for file transfer and remote access using WinSCP. I am using CentOS 7. I have created a new user with a password. Also allowed the PasswordAuthentication in /etc/ssh/...
1
vote
1answer
23 views

how to allow a web page not to use https in apache

I am currently using CentOS7. I have configured apache2 to use SSL and everything works perfectly, the problem is that I need a directory that contains a web page that does not use SSL (http). I ...
0
votes
0answers
25 views

remote vm can't start after installing firewalld and iptables was already installed

i installed firewalld and enabled it on remote vm that uses centos7 ( access it using ssh ) but after rebooting it i can't access it before installing firewalld i didn't check if tptables was ...
0
votes
1answer
63 views

CentOS 7 Gnome excessive window title bars

I am running virtual machines hosted in CentOS 7 with VM VirtualBox. Gnome has an Apple-esque top bar that contains some menu items, followed by application specific items. Though in general no ...
0
votes
1answer
47 views

Libvirt KVM networking, how to make guest accessible from outside with public IP?

Good afternoon, I've ordered dedicated server CentOS 7 from ISP. Also got 10 public IP addresses. Have following situation: Dedicated server IP is:149.XX.XXX.29/24 Default gateway: 149.XX.XXX.1 ...
0
votes
1answer
31 views

Unable to get CentOS v7 to boot on Dell after switching from MBR to UEFI

I had an older Dell system booting via MBR that died so I moved sda to a newer Dell system and tried to setup uefi boot. I get "No bootable devices found" by the Dell BIOS when I try to boot of the ...
0
votes
2answers
19 views

Removed rpm symlink from bin/rpm

I have accidentally removed the symlink to /bin/rpm from my Centos7 installation. Now the rpm command is not working. Does anyone know how to fix this one or how to add this again as symlink ?
0
votes
0answers
382 views

How to create /tmp on centos 7 after server has been installed?

I have a fresh install of centos 7 on a new server and need to create a /tmp partition. I found some guides but I'm not sure if this is correct. # lvcreate -n tmp -L 10G tmp Logical volume "tmp" ...
0
votes
1answer
46 views

How do I run a War File in confined SELinux domain on CentOS7?

I am currently working on the deployment of my Java Web Application. This application is available to me as a WAR file. My goal is that the application starts with a limited SELinux startup. This ...
0
votes
0answers
42 views

setting pppoe destination address centos 7

So I'm trying to link to lan networks using pppoe in centos 7, I've added a local i.p address using /etc/sysconfig/network-scripts/ifcfg-ppp0, but I don't know what to add here to specify the ...
2
votes
1answer
159 views

CentOS 7 + Lighttpd, web server not working but running

I have installed lighttpd on my new CENOS 7. When I'm trying to access my IP, it is loading than eventually says that the site can't be reached, (ERR_CONNECTION_TIMED_OUT). WHen runnig systemctl ...
0
votes
0answers
29 views

RAM usage at CentOS7

I have strange behavior of Linux server. htop\free says what something using 10G of 16G. Reboot helps but only for time. Can somebody explain: what hell is this? I cleared cache\swap. Killed all ...
1
vote
1answer
228 views

Realtek Ethernet not working after kernel update

After updating the CentOS 7.7 kernel from 3.10.0-957.27.2 to 3.10.0-1062.9.1, the Ethernet stopped working. The LEDs on the Ethernet port wouldn't light up and any attempt to ping anything resulted in ...
0
votes
1answer
187 views

USB Not Recognized after Invalid Pull Out [duplicate]

I have a problem, caused by me. I just bought a NAND usb stick 2 TB which worked out of the box. I tried to copy 36GB into it. That of course took too long so, I put my laptop on suspension to not ...

1
2 3 4 5
14