Questions tagged [centos7]

CentOS is a Linux distribution standing for "Community ENTerprise Operating System" and is a rebuild of "Red Hat Enterprise Linux" (RHEL), belonging to the same company that distributes RHEL (Red Hat, Inc.). The "CentOS7" tag refers to versions 7.x-xxxx of CentOS, working only on 64-bit hardware. Maintenance updates for CentOS/RHEL 7 will stop on June 30, 2024, with full updates ceasing in winter of 2019.

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

Regarding CentOS 6.10 to CentOS 7 upgrade

I have servers in VMWARE, trying to upgrade the OS from CentOS 6.10 to CentOS 7, 1) redhat upgrade tool installed but could not find any proper base url to download the package from online. 2) Tried ...
2
votes
1answer
17 views

LAMP Stack and VPS Performance

I have a VPS (Intel Xeon CPU E5-2630 v4 @ 2.20GHz, 4 cores - 8 GB RAM - 200 GB SSD) and I am using it to host a Wordpress blog. I am using Virtualmin as a control panel, The operating system is Centos ...
0
votes
0answers
20 views

Postfix SMTP sends to localhost, even when MX points to Google Apps aspmx.l.google.com

I have been looking for days for this solution. My CENTOS7 Postfix sever (with Virtualmin, Virtual users) is working fine with the mail services. All its domains. However, one of my domains which only ...
0
votes
0answers
19 views

Track Bandwidth on shared interface

On our servers running FreeBSD, we've allocated multiple public ip addresses to host different clients on single eth0 interface. The purpose of allocating separate ip to each client is to distinguish ...
0
votes
1answer
19 views

How can I prevent simultaneous connections from single IP?

I am running a Wordpress site on digital ocean droplet, and the droplet is running CentOS with CWP. Website is new so it has very low amount of genuine traffic, on average it has around 3-5 visitors ...
0
votes
0answers
17 views

Port Forward keeping original IP (firewall-cmd)

I'm using the following firewall-cmd command to forward port 55500 from 1.1.1.1 to external ip 2.2.2.2: firewall-cmd --permanent --zone=public --add-forward port=port=55500:proto=tcp:toport=55500:...
1
vote
1answer
43 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
0answers
23 views

Tomcat 9 Service on Centos 7 won't start up at system boot

I'm not very experienced with Linux generally, so please forgive me if this is obvious to you. I have done a large number of searches on various combinations of keywords, but can't find a solution to ...
0
votes
1answer
28 views

Slab SReclaimable memory can not be recycled?

CentOS Linux release 7.2.1511 (Core) Linux version 3.10.0-514.26.2.el7.x86_64 (builder@kbuilder.dev.centos.org) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-11) (GCC) ) #1 SMP TueJul 4 15:04:05 UTC ...
0
votes
0answers
7 views

Centos7 / NetworkManager - how to reload route files?

How can I reload the running NetworkManager routing configuration from the route-XXX files in a Centos/RHEL7 server? I have a few servers which get routes updated directly via the /etc/sysconfig/...
-4
votes
0answers
61 views

Apache is not working! please [closed]

Getting this errors when trying to enter my phpmyadmin [Mon May 25 03:03:57.706529 2020] [mpm_prefork:notice] [pid 20045] AH00170: caught SIGWINCH, shutting down gracefully [Mon May 25 03:03:58....
0
votes
1answer
19 views

Apache Webserver no starting, please help, Newbie

I have centos 7 , and everything was working fine untill I restarted apachectl. And it gave me following error and not starting after this. Job for httpd.service failed because the control process ...
-1
votes
0answers
12 views

SSH tunnel to vnc server [closed]

I am following the documentation available here to connect to ssh tunnel to vnc server ssh -i ~/.ssh/ubuntu18.04 -L 5901:127.0.0.1:5901 -N -f -l tecmint 192.168.56.108 The operating system of my ...
-3
votes
0answers
18 views

1ru server - for TB storage [closed]

So I am needing advice here. I am looking at buying outright a 1RU server and using it for the software Centova - we need to be able to put at least 4-10TB storage Budget for the server is $500-$...
0
votes
0answers
9 views

How can I remove docker, from CentOS 7, after yum update

The docker package are coming as default on recent updates of CentOS 7. How can I remove every single mention and installation after I do the update on my servers? I tried ''' yum remove docker....
0
votes
0answers
14 views

Shibboleth/apache REMOTE_USER not showing in PHP variable

I have an apache server with shibboleth and php configured. Application prompts for login credentials and after entering user and email in shibolleth login application ($_SERVER["REMOTE_USER"] ...
0
votes
1answer
84 views

Apache reverse proxy to nodejs server on CentOS 7 (WHM)

I'm trying to setup my site on the server. I've uploaded it and it's currently running on the server but the problem comes when I try to setup a reverse proxy on the domain so that I can access the ...
0
votes
0answers
9 views

Elasticsearch systemd setup

I am configuring Elasticsearch 2.3.3 (yes, outdated) on CentOS 7.7. We were running it on CentOS 6 with InitV script. I followed this specification to create systemd script and get inspired with the ...
0
votes
0answers
42 views

how conncet ibsng as redius server to strongswan

I want to use ibsng (on centos 6) as a Radius server and manage my strongswan accounts (on centos 7). https://wiki.strongswan.org/projects/strongswan/wiki/EapRadius I made these settings and set up ...
0
votes
0answers
19 views

how to disable a repo, manually in CentOS 7

How can i disable one repo who is causing trouble, editing some file configuration. by using yum-tools this error occour. Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&...
0
votes
1answer
18 views

Fixing botched yum update: cannot remove duplicates

I was performing a routine yum update when it starting throwing a stream of 'non-fatal' errors. It was complaining the machine had run out of memory. Nevertheless, yum didn't find it necessary to stop ...
-1
votes
0answers
17 views

Recovering Files in Centos 7

I made a stupid mistake of executing an rm -f -r command and now I need to get it back. So, I have two questions: one where do the directories go when the command is executed How do I recover them ...
0
votes
1answer
30 views

OpenLDAP - add the first entry

This is the second day I try to add the first entry to OpenLDAP 2.4.44. Configuration: # {-1}frontend, config dn: olcDatabase={-1}frontend,cn=config objectClass: olcDatabaseConfig objectClass: ...
0
votes
0answers
15 views

how to know if nginx is serving the page I request?

I setup a centOS7 virtual machine as a local environment that maps to 192.168.33.10. Accessing the 192.168.33.10 or 192.168.33.10/index.php doesnt have a problem. Also, when I access 192.168.33.10/...
0
votes
1answer
20 views

Compare files in directory structure between two servers in Linux

I have two Centos 7 boxes where there is an identical folder structure on each. The files between them are meant to be same. However because of replication issues I want to check to see what files ...
0
votes
0answers
19 views

parsing debug information from ansible k8s_info module

I'm testing the ansible k8s_info module and having a challenge parsing the result in a register variable. The playbook gets pods from all namespaces. My objective is to print only the spec.containers ...
0
votes
0answers
10 views

If I have Nginx Reverse Proxy and Pagespeed am I caching the cache?

I have been running Nginx as a caching server with GEO Blocking for sometime now without issue. Apache at the backend and around six domains running SSL. It all runs on a Centos 7 box with 4 cores ...
0
votes
2answers
36 views

Can't access tomcat externally in Centos 7

I just installed tomcat 8 on a Centos 7 server and I know it's working because I could get tomcat's index.html with wget http://localhost:8080. (I couldn't think of another way of testing in a remote ...
5
votes
2answers
252 views

Cannot conect MySQL (error 2026) after upgrade to Ubuntu 20.04

I cannot connect to MySQL 5.7.27 running on CentOS 7 server after upgrade of my workstation to Ubuntu 20.04 LTS. I am connecting using command mysql -h <server_ip> -u <user_name> -p and ...
0
votes
0answers
12 views

Get PTP4L to fail when it can't connect to an external server

I have a CentOS 7.8 server which has its clock synchronised using the PTP4L PTP service. I'd like the service to fail when it's unable to synchronise with an external server, so I invoke it with --...
0
votes
0answers
48 views

mount.nfs: portmap query failed: RPC: Unable to receive - Connection refused in Centos 7 client

I am trying to connect to a nfs server. where i seeing the below issue. mount.nfs: timeout set for Mon May 11 19:27:01 2020 mount.nfs: trying text-based options 'nfsvers=3,addr=IP' mount.nfs: prog ...
1
vote
2answers
28 views

virt-install: error: unrecognized arguments: (but no arguments listed)

Been trying to create my first VM with KVM but getting a cryptic error from virt-install. It's saying I have a 'unrecognized arguments' but does not say which argument: $ sudo virt-install \ >    ...
1
vote
1answer
77 views

Using rsync --remove-source-files & --include-from= options together

I have a central CentOS 7 backup server, where I run the following rsync command in a script to pull the Application logs from 100's of Linux machines and then delete them. rsync --remove-source-...
0
votes
1answer
36 views

openldap migration - slapd wont start “olcDbDirectory: value #0: invalid path: Permission denied”

i have migrated my old slapd DB to a new server, these are the steps i took: 1) on old server run: slapcat -n 0 -l config.ldif slapcat -n 2 -l config.ldif i had to run slapcat -n 2... because with ...
0
votes
1answer
25 views

mod_php is not installed on CentOS 7 with remi's php 5.4 - a bit of confusion

I have a fresh installation on CentOS 7 with httpd and following remi's wizard I installed php 5.4 as single version (I know it's old, but part of my requirements !!). My problem is that httpd cannot ...
0
votes
0answers
15 views

Commercial SSL cert doesn't work on sendmail

I am running a mail server with sendmail and have generated key and csr with openssl and purchased a commercial certificate. When I use the commercial cert in sendmail.mc and try to send email I am ...
0
votes
0answers
14 views

Remove postgresql-10.service on Linux CentOS 7

I'm updating the version of postgreSQL 10 to 12 on Linux CentOS, I removed the PG10 installation and packages, PG12 was installed but, the service for the old DB was not removed. What I can do to ...
0
votes
0answers
9 views

change in duration for failed login attempt by setting pam_faildelay.so delay is not taking effect

I have changed the delay value using "pam_faildelay.so delay" but the delay which I added 300 ms is not taking effect. For failed login attempts still I can see 2 seconds delay. Below is rule which I ...
0
votes
0answers
8 views

Redis refuse to start on non-stardard port through systemd

Redis refuses to start on a port other then 6379 with systemd. I am seeing this error message: Starting Redis persistent key-value database... Started Redis persistent key-value database. redis....
-1
votes
0answers
17 views

Unusual activity find in centos 7

hay .. in my vps there i saw a process my Vps cpu is overload for this . im getting this root@mail /]# ps -A | grep test123 9168 ? 01:50:44 test123 9193 ? 01:09:33 test123 using ...
0
votes
1answer
26 views

Recovering lost cronjob rules

I wanted to export my cronjobs to a file. So, I did this. crontab -e > /export/location/file.txt This returned a message: Vim: Warning: Output is not to a terminal and the terminal became ...
0
votes
0answers
40 views

Apache redirects aren't working. I keep getting 404 errors

I'm trying to get my redirect to work but am having trouble. The HTTP to HTTPS redirect does work, but trying to make a RESTful API is not. Any ideas would be appreciated. Thank you. <VirtualHost *...
0
votes
0answers
17 views

letsencrypt non ssl domain showing , ssl domain home page

I have 6 domains in my vps server.In that 4 domains has letsencrypt ssl and two domains doesn't have ssl since client dont want. for example ssl domain https://john.com for example non ssl domain ...
0
votes
0answers
27 views

firewalld - Allow ssh connections between server in a certain zone to servers in other zone

EHLO SF community, How would you configure firewalld to allow ssh connections between a server (svriac01 / 10.201.10.1) in the shared zone to all servers in the app zone (ex : svrapp01 / 10.201.6.7)? ...
1
vote
1answer
73 views

Compiling cURL 7.69.1 with OpenSSL version 1.1.1g

I am compiling cURL (version 7.69.1) with OpenSSL (version 1.1.1g) on CentOS 7. This is what i have done -- For compiling curl ./configure --with-ssl --with-nghttp2 {nghttp2 for adding HTTP/2 ...
3
votes
2answers
155 views

How to check whether remoter server support TLS 1.3

I am using CentOS 7. I want to check whether remote web server supports TLS1.3 or not. I have tried through nmap but till date, nmap (version 7.80) doesn’t supports TLS1.3 Is there an easy way to ...
1
vote
0answers
244 views

Weird CentOS server behavior time zones. 2 same setttings, different dates

I have some strange issue regarding my timezone: 'America/Santiago'. During the year, we have 2 different timezones; during winter we are at GTM-4, and during summer, we are at GMT-3. I have 2 ...
0
votes
1answer
25 views

apache2handler Keepalive is still on even though I turned it off in httpd.conf

We're running centos 7, lamp stack 5.6 we send 17k sms per day among other things, like streaming, so the server is always busy. Some users complain about not receiving the SMS, the SMS gateway says ...
0
votes
1answer
19 views

Retrieving file and folder inside VM remotely using other system

Recently my teammate accidentally deletes numerous files even important system files inside development server. because of this our staff cannot login even in local so we cannot recover remaining ...
0
votes
0answers
20 views

Use additional IP in a KVM vps

How can I use an IP in a KVM vps when my provider states "The additional IPs we provide are forwarded. It means they have to be forwarded through the main IP of the server" I have a bridge created on ...

1
2 3 4 5
52