Questions tagged [centos8]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
166 views

Centos 8 / EL8 AppStream profiles to offline machine

Im trying to install freeipa-client on a centos8 machine. The machine is offline (no internet connection possible) with a local network mirror. The mirror has been constructed via an rsync of the ...
0
votes
1answer
45 views

Run incoming mail through PHP script - Postfix

I have followed this answer Pipe all Postfix email for a domain to PHP script - Centos7/EC2 to direct incoming mail for a specific address to a PHP script. My aliases file entry looks like: mail-...
0
votes
1answer
218 views

CentOS 8 remote logging logs on both custom log and /var/log/messages

I'm trying to configure a remote log host for my servers (all CentOS 8). I added this on my central server if $fromhost-ip == '123.123.123.123' then /var/log/{{hostname}}.log Also I changed my client ...
-2
votes
2answers
243 views

How much does httpd_can_network_connect being set to 1 actually open up on SELinux

I am getting the following SELinux denied lines in my log file when I attempt to redirect a user to Paypal to checkout. Would you please help me understand what it means and what exceptions I should ...
0
votes
0answers
50 views

Unable to run sidekiq as service in CentOS 8

I have following service file. [Unit] Description=xxx_sidekiq After=syslog.target network.target [Service] Type=notify WatchdogSec=10 WorkingDirectory=/home/xxx/project/matchspace/appointment-ms ...
0
votes
0answers
256 views

Adding default gateway using nmcli - Centos 8

I am trying to add 2 default gateways on my Centos8 server with different interface names and metrics. I have a route file for each interface with the route "default via metric ". This is not working ...
1
vote
1answer
48 views

Inverse Name Search by UID (CentOS 8) - Retrieves last created with same UID

I am working with CentOS 8 and I have a problem with UIDs and User Names. I have installed VestaCP to manage my websites. The user by the name of "user123" and UID 1007 is the owner of all the ...
0
votes
0answers
20 views

Rsyslog - debugg error logs

I run rsyslog in the debugg mode (-dn) and I show this logs : 0153.213242514:main thread : nsd_ptcp.c: We could initialize 1 TCP listen sockets out of 2 we received - this may or may not be an ...
0
votes
0answers
16 views

Rsyslog queueing: configuration failed

I want to use queueing/disk buffer with rsyslog (8.37.0) for each rsyslog config. I've configure this rules : template(name="test_template" type="string" string="/data/%FROMHOST-IP%.log") ruleset(...
0
votes
0answers
324 views

rp-pppoe is missing on centos 8

I cannot find the rp-pppoe package through yum or dnf on centos8, though it works well on centos7 and centos6. I found following thread: https://forums.centos.org/viewtopic.php?f=56&t=72256&p=...
0
votes
0answers
62 views

GCP startup-scripts errors

I try to create an compute instance with gcloud util from cli and have some troubles. There is my creation command: gcloud compute instances create bastion \ --boot-disk-size=20GB \ --image-...
2
votes
2answers
568 views

Centos 8.1 installer cannot see SAS disks attached to Perc 6/i

How to get Centos 8.1 installer to see Perc 6/i attached SAS disks? The Dell t7400 hardware boots MS-Windows properly from Perc 6/i attached SAS disks. Dell Bios A11 shows 3 virtual drives at ...
0
votes
0answers
72 views

CentOS 8 keeps booting an old kernel

A CentOS 8 metal-bare server from OVH with a "boot from a local-disk" option enabled keeps booting an old kernel ignoring changes. I want to boot 4.18.0-147.8.1.el8_1.x86_64 kernel, and here is what I'...
0
votes
0answers
97 views

CentOS 8 /etc/profile.d/ not executed

On CentOS 8, the $PATH is not being updated with the value set in my script '/etc/profile.d/app-server-profile.sh' (SSH login). I am logging into the box via SSH. I expect for '/etc/profile' to ...
0
votes
1answer
204 views

How to modify a vᴍ instance setting to boot from BIOS to UEFI?

I shrank my boot hard disk size on my Google Cloud Compute ᴠᴍ. Something which switched the boot method of the ᴏꜱ installed on it from legacy to uefi along with the disk boot’s settings (which ...
0
votes
0answers
39 views

Rsyslog tcp forward failed

I've this sub configuration : UDP configuration : Works template(name="template1" type="string" string="/var/log/rsyslog/%$YEAR%/%$MONTH%/%HOSTNAME%/%HOSTNAME%-%FROMHOST-IP%.log") ruleset(name="...
0
votes
1answer
18 views

Apache rewrite need seperate rules for https?

On a centos8 server I created a file called /etc/httpd/conf.d/rewrite.conf with these contents: RewriteEngine on RewriteRule (.*) https://www.othersite.com [L,R] If I goto http://myserver.com it ...
0
votes
1answer
35 views

Spamassassin fails after reboot due to missing tmpfiles.d entry

The /run/spamassassin directory is not being re-created at boot because there is no /usr/lib/tmpfiles.d/spamassassin file telling it to do so. If I manually create /run/spamassassin and start the ...
0
votes
2answers
56 views

Cannot access into my server after running iptables-restore. How to revert this command

I decided to run this command iptables-save | tee iptables_backup.conf | grep -v '\-A' but instead I accidentally put an extra command iptables-restore and ran this and now my server is locked. I ...
0
votes
1answer
41 views

How to make sure all uploaded files are readable by the webserver?

Every file uploaded has the wrong permissions so my webserver (Nginx) can't read them. When I manually adjust them by running sudo chmod -R 755 /var/www/* it works again but I'd have to to it ...
0
votes
1answer
126 views

What is the prefered method to install Python with Ansible on CentOS 8

CentOS 8 does not always come with Python pre-installed, and so Ansible will fail running on the remote machine until it's been installed. However in a classic Chicken/Egg, you can't use the Ansible ...
1
vote
0answers
25 views

What format/encoding is the Dovecot Diffie-Helman params file?

I'm stuck on Dovecot 2.2.x because 2.3 package isn't available yet for CentOS 8.x, and I don't want to custom build in this use case. Further, I'm bootstrapping this machine in order to snapshot it ...
0
votes
1answer
138 views

Rsyslog / CentOS 8 / no write logs|no catch?

I use rsyslog (8.37.0-13) on CentOS 8 (CentOS Linux release 8.1.1911) and I've type error with my configuration. My rsyslog.conf is : module(load="imuxsock") module(load="imjournal") module(load="...
0
votes
0answers
51 views

systemctl is-enabled ghost Failed to get unit file state for ghost.service: Access denied CentOS 8

I'm trying to run a service I created but something is wrong and I don't get why. The service is located in /usr/lib/systemd/system and looks like this: [Unit] Description=Ghost systemd service for ...
0
votes
1answer
119 views

Rsyslog “typo error” CentOS 8

I use rsyslog (8.37.0-13) on CentOS 8 (CentOS Linux release 8.1.1911) and I've type error with my configuration. My configuration is : template(name="template1" type="string" string="/data/%HOSTNAME%...
0
votes
1answer
190 views

In /etc/hosts file why would IPv4 hosts be different from IPv6 hosts?

Background: CentOS 8, Digital Ocean droplet. Question 1) I just looked at my hosts file in /etc/hosts and I noticed that hostnames listed under IPv4 and IPv6 are different. IPv4 lists example, ...
0
votes
0answers
33 views

Postfix/CentOS 8 mail for external servers loops back to myself

I have installed a CentOS 8 VM a couple of weeks ago, and since I've bought my domain last week I decided to run a mail server alongside the apache web server and DBs on that machine. After a bit of ...
0
votes
1answer
312 views

Issue running Golang server binary as a service with Systemd

I am trying to run a Golang server binary as a service with Systemd on Centos 8, but I get an error. This is my script /etc/systemd/system/myserverapp.service [Unit] Description=MyServerApp [...
0
votes
0answers
132 views

Disable “Failed password” ssh logs

Bots are tirelessly trying to log into my server using ssh. That does not bother me, because my passwords are good, but I don't like the fact that ssh spam fills journald logs. I'd like to filter out ...
2
votes
3answers
345 views

LVM2 vgreduce unknown physical volume from root logical volume CentOS8

I have a removable disk in my CentOS8, but I can't reduce the volume group: [root@localhost ~]# vgs WARNING: Couldn't find device with uuid 3GDhRA-KZjA-iDum-8Ut0-s9s0-NnW2-4QQEUv. WARNING: VG cl ...
0
votes
1answer
191 views

How to install Node.js 12 on CentOS 8?

I tried the following this post which states Application Streams are typically named for the version of the software that is included, e.g. nodejs:8 or nodejs:10 [...] ... but as you can see ...
0
votes
1answer
399 views

virt-install on Centos 8.1 doesn't complete when using --location http://localhost/inst

Should you reached this before, please let me know. ISSUE virt-install works well when passing arguments --cdrom /path/to/iso (and creates the guest) like [root@192-168-0-104 admin]# virt-install -...
1
vote
0answers
127 views

xCAT OS image for CentOS 8

I am setting up a cluster that is meant to run CentOS 8 on each node. I know that I have to define the xcat osimage that will be deployed to each node. The xcat osimage is created from the CentOS iso ...
0
votes
1answer
194 views

How does dnf-automatic send emails without knowing a password?

In the dnf-automatic config file automatic.conf I see the following lines under the email section. [email] # The address to send email messages from. email_from = sender@example.com # List of ...
0
votes
1answer
68 views

Will dnf-automatic update packages in yum.repos.d even though that's a yum directory?

Environment: CentOS 8 Package: NGINX 1.16 I installed, enabled and confirmed dnf-automatic with the following commands. $ sudo dnf install dnf-automatic $ sudo systemctl enable --now dnf-automatic....
1
vote
2answers
20k views

Yum on Centos 8 - Failed to download metadata for repo 'AppStream'

I'm on a fresh Centos 8 install and have tried to use yum for the first time (on this machine). I get the following for any attempt to install or update anything: yum update CentOS-8 - AppStream ...
0
votes
1answer
71 views

HP Proliant DL20 Gen9 not detect hdd boot after CentOS fresh install

I am a newbie in server world. My boss bought me an HP Proliant DL20 Gen9 server. I am trying to install CentOS 8 on it. Case : I turned on the server and wait until initialization finished, then I ...
0
votes
0answers
65 views

What is the difference between getting firewalld chains and iptables chains?

I understand that firewalld is essentially a control layer for iptables underneath it. The command: # iptables -t nat -nvL Chain PREROUTING ... Chain ... ... # return the chains in the nat table. ...
1
vote
1answer
234 views

Pacmaker can't start the DRBD Error “not configured”

I´m setting up a 3 node DRBD Cluster with Pacemaker and corosync on CentOS 8. I set up 3 IP resources, 1 apache webserver resource and now I want to set up my drbd resource. The Drbd is working if ...
0
votes
0answers
189 views

Centos 8 Getty restarting every 10 seconds

This is a new server setup, the messages log file is getting flooded with this every 10 seconds: Mar 21 14:12:34 server systemd[1]: getty@getty.service: Service has no hold-off time (RestartSec=0), ...
1
vote
1answer
1k views

Clamav on Centos 8 installation

I have installed ClamAV on Centos 8, following the installation guide on their website. I have run freshclam and that works fine but if I try to do a scan I get the following error: clamdscan /home ...
0
votes
0answers
24 views

Reduced subset of devices available under /dev when Postfix invokes a piped script via sudo defined in /etc/aliases file

This is a CentOS 8 install running Postfix version 3.3.1, and I'm experiencing behaviour that I have not seen before, and I have no idea how to fix the issue. To provide context, I have a self made ...
0
votes
2answers
787 views

SSHd not starting on CentOS 8.1

I have centos 8.1.1911 (core) I can't get opensshd to run. I have dnf. I removed it dnf remove openssh-server then reinstalled dnf install openssh-server systemctl start sshd job for sshd....
0
votes
1answer
57 views

My varnish devicedetect.vcl is not working site no longer responsive

default.vcl # Default backend definition. Set this to point to your content server. backend default { .host = "127.0.0.1"; .port = "8080"; } sub vcl_recv { # ...
0
votes
1answer
92 views

How to use nginx as reverse proxy send all requests to varnish

I have a centos 8 and varnish is on port 80 connecting with apache on port 8080 bellow is my nginx config. user nginx; worker_processes auto; error_log /var/log/nginx/error.log; pid /run/nginx.pid; ...
0
votes
0answers
21 views

/dev/mapper/vg-root is eating all my hdd space [duplicate]

# df -h Filesystem Size Used Avail Use% Mounted on devtmpfs 16G 0 16G 0% /dev tmpfs 16G 0 16G 0% /dev/shm tmpfs 16G 202M 16G ...
0
votes
0answers
80 views

Home page in infinite loop nginx misconfiguration (cache, nginx + varnish)

HomePage Redirect problem Result https://www.example.com 301 Moved Permanently https://www.example.com/ 301 Moved Permanently https://www.example.com/ 301 Moved Permanently https://www.example.com/ &...
0
votes
0answers
81 views

ipa-join from CentOS 8 Produces libcurl error / cannot join network

I am upgrading the servers on my network from CentOS 7 1908 to CentOS 8 1911. My server is using ipa-server v. 4.2.0-15 (CentOS 7) and my client is using ipa-server 4.8.0 (CentOS 8) When I try to ...
0
votes
3answers
970 views

Port forward on CentOS 8 to VM with firewalld not working

I just set up a new CentOS 8 on my server with a VM on it, and I wanted to forward a port from the host to the VM (2228 to 22) with firewalld. I added the port-forward, turned on masquerade and tried ...
1
vote
1answer
158 views

Infected server (bitcoin mining malware) [duplicate]

I found some strange process on my centos 8 machine check above photo: when I type cat /etc/passwd I don't see user 990 anywhere also this kinsing process is strange because this is the same process ...