Stack Exchange Network

Stack Exchange network consists of 174 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. ...

0
votes
0answers
10 views

Systemd docker mongo error: cgroup is empty

Trying to run mongodb in docker using systemd mongod.servivce file for systemd: [Unit] Description=mongodb in docker After=network.target docker.service Requires=docker.service [Service] User=root ...
-2
votes
0answers
21 views

Google Cloud Compute Engine CentOS 7 Sudo command

Till Friday 12/10/2018 I was able to run sudo commands (Ex:sudo mongodump --db iot_ac). Today When I tried to run any command as root(sudo),i get the below message(Connected through SSH): We trust ...
0
votes
0answers
11 views

Unigine Heaven 4.0 for CentOS 7 [on hold]

I encounter the following errors when trying to run the Unigine Heaven for CentOS 7. How do I go about solving and making Unigine Heaven work? Thanks. [root@localhost Unigine_Heaven-4.0]# ./heaven ...
0
votes
0answers
11 views

Configuring Oracle forms and reports 11 on centos

I am trying to configure oracle forms and reports 11 on a centos machine. I have tried both centos 6 and 7. In both cases I can successfully install weblogic and forms and reports. I run into ...
0
votes
0answers
16 views

error (EAI 2)Name or service not known: AH00547: Could not resolve host name

overnight all our virtual sites stopped working displaying all the same error as follows.Appears it occurred straight after apache restart. Note this was at 3:36 in the morning Sun Oct 14 03:36:26....
0
votes
0answers
10 views

Setting up a VPN client connection in CentOS 7

I have to connect remotely from client on CentOS to VPN server, hosted on Windows. What have been done: Installed packages yum install ppp pptp Contents of /etc/ppp/peers/harkiv_vpn # pty "pptp xxx....
0
votes
2answers
32 views

Vulnerability scanning in CentOS/Fedora with OpenSCAP

I am trying to work with OSCAP and I want to do vulnerabilities assessment in centos 7, Fedora and RHEL. I found it for RHEL in OpenSCAP site but my question is, Is it possible to do it in CentOS or ...
0
votes
0answers
11 views

VPS - Best Apache and Nginix setup for My situation?

I currently have Apache set up on a reseller VPS through my Hosting company. I am also using Cachewall/ Varnish for caching files. I am looking between the following setups Current setup Apache ...
0
votes
0answers
11 views

Using Apache HTTPD mod_proxy_balancer for many vhosts

I have an Apache httpd 2.4.34 configuration with many vhosts (~4000) mostly used for redirecting and SSL-offloading using mod_proxy to access the backend. Now I want to switch to mod_proxy_balancer ...
0
votes
1answer
63 views

Error: php71w-common conflicts with php-common-5.4.16-45.el7.x86_64

I cant install php-bcmath via yum install php-bcmath because got this error message Failed to set locale, defaulting to C Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * ...
1
vote
1answer
39 views

Preventing a server from accessing parts of the network

I did a preliminary search and was unable to find an exact / similar question. I'm configuring a server in our network, in order to give SSH access to a normal user from a third party. I'm trying to ...
-1
votes
2answers
34 views

getting “/dev/sdb is apparently in use by the system” after adding an independent disk to the machine

In my centos7 when i add and partition a new disk to the machine and try to make files system on top of it , i get this annoying error message /dev/sdb is apparently in use by the system; will not ...
0
votes
0answers
11 views

Plesk on bare metal and resources [closed]

I have a managed bare metal server, I use plesk panel to create new plans. Today I noticed that one website was almost down, I guess because mysql was slowing down, after optimizing tables was back up ...
0
votes
1answer
17 views

Using cgroups to limit CPU and I/O by process name under CentOS7 / systemd

I am currently using cgroups (via /sbin/cgrulesengd) on CentOS 6 to limit CPU usage for processes with process names zip, unzip and gpg. I'm achieving this via this in /etc/cgconfig.conf to define ...
-1
votes
1answer
27 views

cronjob emails look outdated

I had some cronjobs that were running 120 times per hour. 5 were scheduled to run every 5 minutes and 1 was scheduled to run every 1 minute. They sent emails to my gmail account so I could debug the ...
2
votes
1answer
33 views

My /etc/resolv.conf is getting reset every time i restart the network

This is my /etc/resolv.conf on CentOS 7: # Generated by NetworkManager search example.com nameserver 10.0.2.3 ~ This is my /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0 ...
0
votes
0answers
10 views

Postfix not resolving rDNS - Received marked as uknown

I'm trying to configure Spamassassin to whitelist some specific servers, but it seems that it can't work until Postfix will be able to find the hostname based on the IP address. PROBLEM Postfix is ...
0
votes
1answer
22 views

incoming email in postfix centos 7 server not getting inbox

I'm using Centos 7 and postfix. While I can send email from my server but I can't read email because not getting emails in my postfix "maildir" than I command to check mail logs - [root@server ~]# ...
0
votes
0answers
7 views

docker issues (mount folder and after restarting iptables)

I have issues when running docker for some SMTP services. Host server IP : public ip address Docker host: 192.168.1.1 docker container: 192.168.1.2 Host OS : Centos7 Docker image : Ubuntu 1) mount /...
0
votes
0answers
7 views

Centos 7 on HP Laptop [migrated]

I have an HP Envy 17" laptop that I use solely for development. I want to load CentOS 7.5.1804 (Core) on it. So I downloaded the ISO, wrote it to a USB Flash drive and then installed it. The whole ...
0
votes
2answers
34 views

Logical Volume /dev/centos/root is extended but /dev/mapper/centos-root is not

New to Linux Fileservers and trying to extend /dev/mapper/centos-root This is a test server The Logical Volume /dev/centos/root is 27.99GB large: --- Logical volume --- LV Path ...
0
votes
0answers
26 views

ethtool “Operation not supported”

I cant change any adapter settings with ethtool. ethtool -s eno1 speed 1000 duplex full autoneg on Cannot set net settings: Operation not supported This same message appears with any combination of ...
16
votes
4answers
2k views

Low-end hardware RAID vs Software RAID [closed]

I want to build a low-end 6TB RAID 1 archive, on an old pc. MB: Intel d2500hn 64bit CPU: Intel Atom D2500 RAM: 4GB DDR3 533 MHz PSU: Chinese 500W NO GPU 1x Ethernet 1Gbps 2x SATA2 ports 1x PCI port ...
0
votes
3answers
22 views

NGINX not working other than /usr/share/nginx directory

OS: CentOS Linux release 7.5.1804 (Core) Server: nginx/1.12.2 when I set document root /usr/share/nginx/{any_directory} it works, but when I set document root to /var/www/{any_dir} it throws 403 ...
1
vote
1answer
17 views

CentOS 7 + PHP7 — php not rendering in browser

I have a clean install of apache/httpd and php7.1.0 running on CentOS 7. When I execute from the command line: httpd -v Server version: Apache/2.4.6 (CentOS) Server built: Jun 27 2018 13:48:59 ...
1
vote
1answer
13 views

PostgreSQL - Clear space on Linux machine

How can I delete all stored records of my PostgreSQL data in CentOS 7 machine? Previously I inserted 10 million rows of data with 12 columns, and I ran into storage issues, so I dropped the tables ...
1
vote
1answer
25 views

Port forwarding with firewall-cmd

I have several VMs running on top of a server (Virtual Machine Manager, VMM). I'd like to forward port 80 on the server to port 80 of one of my VMs. The host runs CentOS7, so firewalld is in charge. ...
0
votes
0answers
20 views

Centos installation stopped at Packages installation process with bug “No such Group:core”

I am installing CentOS 7 using kickstart configuration file. i have followed the link How to create a custom ISO image in CentOS to create my iso. However i am facing a bug during packages ...
0
votes
1answer
78 views

PostgreSQL - Could not extend file No space left on device. HINT: Check free disk space

I've been inserting data into PostgreSQL DB, and got the error message: psycopg2.OperationalError: could not extend file "base/16384/61892": No space left on device HINT: Check free disk space I am ...
0
votes
1answer
24 views

Restrict home directory from showing all the accounts

When I run the following code in one of the website on my CentOS 7 box. $directories = glob($somePath . '/home/*' , GLOB_ONLYDIR); var_dump( $directories ); The code above list all the accounts ...
1
vote
1answer
37 views

Host blocking all but icmp

I'm having a strange issue on a Centos 7 VM host (qemu-kvm). I have two VMs which, up until a week ago, were working perfectly fine with bridged networking. Now they can no longer access anything on ...
0
votes
0answers
30 views

~1300ms latency touching file on nfs mount

I have an NFS mount where the server is on the same subnet as the client. When I time touch testempty from the client, I get: touch testempty 0.00s user 0.00s system 0% cpu 1.325 total The time ...
-2
votes
1answer
32 views

What's the difference between shutdown -h and shutdown in Centos7?

shutdown -h now vs shutdown now,what's the difference in Centos 7?
0
votes
1answer
69 views

I deleted all the contents of /boot and now server is not booting

I did something stupid. My thinking was that /boot directory is empty and contents come to /boot each time the computer starts. My /boot drive was giving me error messages no space left so I thought ...
0
votes
0answers
25 views

Upload Generic error java.io.IOException: Permission denied

I'm seeing the blow error in my Java application which tries to upload and download files to an NFS storage. The NFS share is mounted on my server successfully and I'm able to manually write (touch ...
0
votes
1answer
29 views

Install and Set Up kubectl - Kubernetes

I'm trying to follow Install and Set Up kubectl - Kubernetes, yet keep getting an error: # yum --quiet install kubectl https://packages.cloud.google.com/yum/repos/kubernetes-el7-x86_64/repodata/...
0
votes
0answers
31 views

what is the minimum configuration requirement to tunnel (splice) HTTPS web sites through SQUID proxy

I have a working squid explicit proxy server (Version 3.5.20) on CentOS 7 that is working fine as long as the web site is HTTP, but the problem occurs when the web site happens to be HTTPS. I am a ...
0
votes
1answer
71 views

How to install CentOS 7 on VM with kickstart file ks.cfg without Network (offline mode)

I am trying to install CentOS 7 on my VM using Kickstart Configuration file ks.cfg. All I need is to install CentOS 7 on my VM without using network (offline). I have created a ks.cfg file with ...
0
votes
1answer
12 views

CentOS 7 - firewalld[8509]: ERROR: COMMAND_FAILED

[root@localhost ~]# systemctl status firewalld -l ● firewalld.service - firewalld - dynamic firewall daemon Loaded: loaded (/usr/lib/systemd/system/firewalld.service; enabled; vendor preset: ...
0
votes
0answers
38 views

Unable to publish Django webserver on CentOS 7

I was working on my machine for Django project, and moved the project files to Linux server to publish the app. Currently I'm not interested in using gunicorn or nginx. I just would like to see if I ...
0
votes
3answers
61 views

Would a firewall occasionally disconnect an CentOS 7.3 NFS client?

When large read and write operations are conducted on a NFSv4 share on a CentOS 7.3 client, I notice that the NFS mounts often time out. Does a fresh, out-of-the-box installation of CentOS 7.3 ...
0
votes
0answers
3 views

How does gnome packagekit handle user permissions?

I've told my Centos 7 server to install some software (tracker-1.10.5-6.el7) via the GUI, which I THINK is the application gnome-packagekit. But ticking the boxes and selecting apply, doesn't seem to ...
1
vote
1answer
68 views

drupal and remote database

I get error "Failed to connect to your database server. The server reports the following message: SQLSTATE[HY000] [2003] Can't connect to MySQL server on '192.168.0.20' (13)." while installing drupal. ...
3
votes
1answer
69 views

Mixing DBM Rewrite and Redirect how to stop Rewrite if url is not in list

The scenario: I need to be able to both redirect certain urls and rewrite other URL's Right now after much tinkering I am able to get almost everything to work If I hit the example.com works ...
1
vote
1answer
27 views

RewriteMap dbm .dir .pag

I have been working with RewriteMap dbm, I was able to the text version working however cannot figure out how or why I am getting the error described below. The Virtual host: <VirtualHost *:80>...
1
vote
1answer
56 views

View auditd logs in journalctl

I'm using CentOS 7. trying to view auditd logs in journalctl When I try journalctl -u auditd I see the following output: -- Logs begin at Wed 2018-09-05 08:59:19 EDT, end at Wed 2018-09-19 15:01:01 ...
1
vote
0answers
29 views

Better way to use Perf on a Program in Kubernetes/Docker?

I am running Kubernetes on CentOS 7, and it doesn't seem that the version of perf is namespace aware. If run perf on the PID on the host node (host node found with kubectl describe pods --namespace) ...
0
votes
2answers
29 views

Cron hourly after boot time

Is there anyway to execute cron hourly after boot time and not at a specific time every hour? I am working with CentOS6 and CentOS 7 machines. E.G.: When my computer boots at 00:42 I want it to be ...
0
votes
2answers
113 views

SSL for OpenLDAP on Centos 7 not working

I'm currently trying to configure SSL for OpenLDAP on Centos 7 with a self signed certificate. LDAP works without SSL. I made following commands: Generating the certificate / key and changing ...
-2
votes
1answer
124 views

Backup and Restore Centos 7 using Dump

I am very new in Linux. I have some applications installed in one of my CentOS 7 VPX. I want move my hosting to another provider, so I want create backup of my full system so I can restore it in the ...