Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
0answers
2 views

Nginx static site fetching resources from root instead of subdirectory

I'm trying to serve both an API and frontend static site from the same EC2 instance. I'm using nginx and my server block as follows with the API being in port 8001 and static files to be served to /...
0
votes
0answers
3 views

Mounting a 2nd RAID drive (SuperMicro/CentOS)

I have a SuperMicro server and it has two (2) 500G drives and eight (8) 1TB drives. So what I've done is made the two (2) 500G drives into a Raid 1 and CentOS v7 was installed on it. I then setup ...
0
votes
0answers
9 views

Centos 7, Qemu virtualization: Win10 guest VM or Win Server 2016 very slow I/O on small files

We use qemu virtualization with Linux hosts for many years now! It's a great tool! We use it both for Linux VM’s and Windows VM’s! But we have a strange unsolved performance issue with all the VM’s ...
0
votes
0answers
7 views

Issues when starting up Docker's service, the logs aren't clear

I was asked to setup Docker to run with "Device Mapper" (docs right here). I'm on a CentOS 7.4, and Docker is installed via an Ansible script. I admit I don't know everything this script does, but at ...
0
votes
0answers
14 views

Analysing system crash (CentOS 7.6)

A little bit of background: There a script that collects monitoring data by connecting to multiple hosts via telnet every minute. The script has been working fine for a few years, then suddenly after ...
0
votes
0answers
14 views

Centos7 mysql crashed - Restoring the whole server will solve the issue? [on hold]

i have a Centos7 web server running apache and mysql. Mysql crashed and on cpanel when trying to access mysql databases i get this error Error while connecting to MySQL: (XID qx2jqn) The system ...
0
votes
0answers
8 views

Outgoing IP different than domain IP - Plesk [on hold]

I've a dedicated server with centos 7 & plesk. The server had an IP, let's say: 60.1.1.1, and I bought a failover IP (60.2.2.2). I configured a domain to work with the IP 60.2.2.2, it's working, ...
0
votes
1answer
24 views

Centos 7, Qemu virtualization: Win10 guest VM very slow after Windows Update

We use qemu virtualization for many years now! It's a great tool! We use it both for Linux VM’s and Windows VM’s! It's the first time we have any issues and I have no clue on where to find the ...
0
votes
1answer
21 views

Auto-assemble RAID1 Array with mdadm on CentOS 7.6

I'm new to this particular area of the Stack Exchange network so please be kind. We are experiencing issues with auto-assembling a RAID1 Array created with mdadm on CentOS 7.6, and no matter what we ...
0
votes
0answers
5 views

Calendar error - Kolab 16

I'm having a few issues with a new install of Kolab 16 on my Centos 7.6 server . I've been trying to configure the calendar but without success. If I try to add a calendar, I get an error: "...
-1
votes
0answers
19 views

parse the log files using shell script from /var/log/secure [on hold]

i want to write a shell script where is parses the data and give me which user created by a particular user depending upon the time of login with ip address'es and login time.so that it should be user ...
0
votes
1answer
22 views

Use Amazon repo in Centos 7

I set up a Centos 7 instance on EC2 and i need to mount a couple of EFS filesystems. Because Centos 7 and Amazon Linux 2 are pretty similar, I am wondering if could be possible to add Amazon Linux ...
-1
votes
0answers
10 views

How to send a packet with ssl or how confiqure tls crypt centos7? [on hold]

I use a mtproto service for telegram messengers and this service send packet by tcp port I want sent this packet by ssl (tls crypt) is there a free ssl certification? and how it configure in my ...
0
votes
0answers
16 views

CentOs 7 + OpenVPN + LDAP

I Have a problem when I try to do a Autentcation on Windows 10 to VPN, it ask for the user of the AD, but doesnt make a connection... I configured the /etc/openvpn/server.conf, and the Ldap.conf... ...
0
votes
1answer
35 views

Check the ports of a server [on hold]

I'm using a mtproto service that uses a tcp port but blocks it in some countries.(DPIs based) I checked out another server that offers the same service this server IP is :82.35.60.122 When I ...
0
votes
0answers
7 views

diffrent class ip address for dns bind [on hold]

i have dns server installed in centos 7 using bind, my server ip is 192.168.1.0/24, and i configure dns master and slave its working perfectly, now iam trying to make another zone for ip 10.10.10.0/24 ...
0
votes
1answer
17 views

Create an Image of a disk having software raid partitions

I want to create a bootable backup image/clone of my centos7 server "A" having software raid partitions and use this backup to create new servers with same configurations. my partitions are sda --&...
0
votes
0answers
21 views

Setting up public IP address on CentOS 7

When configuring a LAMP server on CentOS 7, do I need to to setup first a public IP address before my website to be accessible on the browser? I already tried configuring the /etc/sysconfig/network-...
0
votes
0answers
42 views

Can't upload war file through tomcat manager dashboard with VPN

I have configured server and deployed war file earlier. All of those I did in Digital Ocean's CentOS server. Now I need to configure CentOS server In Local Data Center. I have configured Tomcat as ...
0
votes
0answers
53 views

I have problems opening ports on centos7 [on hold]

I am working with the chat application with socket.io. When I installed chat on localhost, it ran fine. But I install it on the server, it can't run. Looks like it has a problem opening the port. And ...
0
votes
0answers
15 views

Multiple Virutal Host with routes centos7

I have multiple apps to run with different routes, this one (Vue js) to localhost/ <VirtualHost *:80/> ServerAdmin webmaster@localhost ServerName 157.230.252.88 DocumentRoot /var/www/...
1
vote
2answers
38 views

How do I install RPMs on a machine that is completely isolated?

So I have a single machine on which I have installed CentOS Minimal and nothing more. It is completely isolated. This means the following: It can never be connected to another server or laptop The ...
0
votes
0answers
8 views

Unable to Detect Size of Brand new Hard Disk [migrated]

I just purchased a 8TB hard drive today. I just put it in my USB enclosure. fdisk -l did see the device: Disk /dev/sdc: 1404.5 GB, 1404493455360 bytes, 2743151280 sectors Units = sectors of 1 * 512 ...
0
votes
0answers
13 views

Do I have to use iptables or firewallD [closed]

I am new to linux vps. I want to host my blog on Centos 7. Do you think, I have to use Iptables or firewallD for the security purpose? Thanks
0
votes
1answer
88 views

Yum doesn't recognize installed dependency version

I'm trying to install gcc-c++ on CentOS 7.6.1810. This is the error output: Error: Package: glibc-2.17-260.el7.i686 (centos_7_x64_32) Requires: glibc-common = 2.17-260.el7 Installed: glibc-...
0
votes
1answer
10 views

Pure-FTP Server Connection Issues

I have a web server (CentOS Web Panel) running in an AWS EC2 Instance. I am connecting a bespoke application to the server which connects using MySQL and FTP. I am having issues connecting to the ...
0
votes
1answer
20 views

ssh: connect to host [public ip] port 22: Connection refused

I have a CentOS 7 VM Instance on GCP, I have a cron job on my local infra that connects to GCP Instance every minute to check some parameters on GCP VM Instance. Most of the time the ssh [public ip] ...
0
votes
1answer
41 views

Unable to scp to another server

I am unable to scp to another machine in the same segment.Its getting stalled. I did a strace on the scp and i am seeing it as below. The other machines in this segment are fine except this server ...
1
vote
0answers
11 views

phpIPAM subnet setting inheritance issue

I'm having a problem with phpIpam, and just not really getting anywhere with it, so, hopefully someone might have some clues or insight. I just did a deployment of phpIPAM, version 1.3.2 (edit, just ...
0
votes
1answer
29 views

php -v command not found but getting phpinfo();

I have installed php and in cmd on doing sudo /usr/local/php7/bin/php -v it shows the php version but on doing php -v its not showing getting us command not my phpinfo() also workd how can ...
0
votes
0answers
33 views

pear install Console_getopt on centos 7

I am trying to run the command below on CentOS 7 (hosted on OVH) server as a step to install freepbx. Please check the error and suggest any fix if possible. ]# pear install Console_getopt No ...
0
votes
0answers
29 views

How to shrink home partition and add backup partition

I'm using CentOS 7 on my dedicated server and the partitioning is as below: Filesystem Size Used Avail Use% Mounted on /dev/md2 98G 12G 82G 13% / devtmpfs 16G 0 16G ...
0
votes
0answers
54 views

yum reinstall installs two kernels

As you can see below, there might be (as far as I understand) two kernel versions being installed. Also I get "grubby fatal error: unable to find a suitable template" the reinstall ends ...
0
votes
0answers
31 views

Horde installation failure CentOS 7

0 I'm trying to install the Horde Groupware Webmail Edition 5 on CentOS 7 following this documentation, installing horde with pear and the installation is failing on my step number 5. pear channel-...
0
votes
1answer
43 views

`connect to private/policy-spf: No such file or directory` when receive mail by postfix in centos 7

My system is centos 7 with postfix,dovecot,pypolicyd-spf, opendkim. I can send mail but cannot receive mail, I notice warnings as below: Feb 6 20:01:09 srv-8327 postfix/smtpd[20391]: warning: ...
0
votes
1answer
50 views

Upgrading simply from php 5.6.x to 7.x on CentOS 7 with Nginx and php-fpm

I am trying to upgrade the PHP version on a Digital Ocean server from 5.6.19 to the latest PHP 7.2. A lot of instructions found online point to "php72", which makes me wonder if 5.6.19 will be ...
0
votes
1answer
10 views

passing labels parameter to daemon.json in Docker

I am trying to setup docker daemon on Centos 7. The goal is to pass parameters to the overriding script in systemd and keep everything in daemon.json that is much more readable and cleaner Default ...
0
votes
0answers
22 views

yum install php-mssql got issue conflicts

when i try to install yum install php-mssql on centos 7 i got the following error php55w-common conflicts with php-common-5.4.16-46.el7.x86_64 How to fix this issue am using centos 7.
0
votes
0answers
21 views

How to remove a partition and create a new partition for usr in cloud environment

I'm working with a AWS environment with 8G root and there is only 1.4G free space at the beginning. $ df -h Filesystem Size Used Avail Use% Mounted on /dev/xvda1 8.0G 6.7G 1.4G 83% / ...
0
votes
0answers
28 views

Embedded DNS stops working after installing and starting firewalld on CentOS 7 container

I have two dockers that run from docker compose: version: "3" services: sqa: image: sqa ports: - "80:80" hostname: sqa networks: - robottest_net tty: true slave: ...
0
votes
1answer
12 views

Windows 2012 Hypervisor shuts down VM but cannot start it again

The last few days, one of the virtual machines, a VM running Centos 7 is shut down late in the evening and then not restarted. When I try and start it manually I get the error 'CENTOS7' failed to ...
0
votes
1answer
52 views

Traffic not going through vpn

I have a Mikrotik(DC), acting as a l2tp server and a CentOS7(Office) OS connected to that server. The problem is that I can ping the mikrotik from the centos and from the network behind it, and I can ...
1
vote
1answer
21 views

LVM with same mount points

I have a volume group called 'encrypted' and its device name is /dev/xvdj. [root@s-mysql /]# lsblk xvdj 202:144 0 3T 0 disk └─xvdj1 202:145 0 3T 0 part ├...
1
vote
3answers
63 views

SSH login to same machine with ssh-key keeps prompting for password

I want user 'redmine' to login to the same machine via ssh without a password. However it always asks for a password. I am on Centos 7, the key has no password. Content of redmine's home-dir: drwx--...
0
votes
0answers
8 views

Cisco anyconnect not establishing connection on centos7

I Used yum install epel-release and yum install NetworkManager-* as always I do for installing Cisco anyconnect gui and fill the gateway address field,but when I click to connect there is nothing ...
0
votes
2answers
64 views

Apache - http/2 enabled but still using http/1.1

Running Apache/2.4.38 (Unix) OpenSSL/1.0.2k-fips on CentOS 7, PHP 7.2.14, I have installed and enabled http/2 following the guide at https://www.tunetheweb.com/performance/http2/. No errors are ...
0
votes
0answers
33 views

How to configure a centos-7 network interface with static settings via ansible, without network manager?

How to configure a centos-7 network interface with static settings via ansible, without network manager? I knows how to fill ifcfg* manually, but i want to fill it via ansible. I found https://docs....
1
vote
0answers
25 views

Client DNS records not getting updated in Dynamic DNS

I have a RHEL7 machine setup with Dynamic DNS and until few days back it was working fine. However, recently I have started seeing a problem where the DNS records for client machines are not getting ...
0
votes
0answers
31 views

apachectl configtest “Function not implemented” and Let's Encrypt auto-renew fails

One of my CentOS 7 servers cannot run certbot-auto renew because of an error while running apachectl configtest. Here's its output: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -...
0
votes
0answers
24 views

proftpd /etc/security/pam_env.conf: permission denied

I installed proftpd using yum in CentOS7. I had an update on WordPress. pam_env (proftpd: setcred): Unable to open config file: /etc/security/pam_env.conf: permission denied I do not know how to ...