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 [centos]

Questions specific to the CentOS Linux distribution. Use this tag if your question relates to how the CentOS distribution affects your problem; do not use it if you just happen to be using CentOS and your question is about a specific configuration detail or syntax.

0
votes
1answer
31 views

CentOS loses internet connection

I have configured CentOS VM, with NetworkManager disabled. Question: When I start VM I have access to the internet, but after a while I lose it. How can I fix that?
0
votes
0answers
8 views

Not able to save crash dump using kdump

I have a VPS server on amazon's AWS Lightsail service. I've been testing kdump using the following two commands(to trigger an automatic kernel crash): # echo 1 > /proc/sys/kernel/sysrq # echo c &...
0
votes
1answer
10 views

Bridge Configs Reset After systemctl restart network

I currently have a Centos 7 KVM host with the following network config: [root@workhorse1 log]# ip add 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 ...
1
vote
1answer
16 views

Centos 7: Filesystem type iso9660 not configured in kernel

I installed the new kernel which fixed a mouse issue, but now I do not have full screen anymore. I am trying to get guest additions to work again but I am getting this error:
-2
votes
0answers
40 views

Need way to grep through files for malware

I am running into a lot of issues with some files being infected, however, I figured they are very similar code inside and I was thinking about grep-ing through files to find this snip of code. The ...
0
votes
0answers
24 views

Unable to restart Polkit service in Centos 7

I am unable to start nscd.service on centos 7 the error is polkit service is not running. Below is error. ** (pkttyagent:27796): WARNING **: Unable to register authentication agent: GDBus.Error:org....
0
votes
0answers
30 views
+50

GNOME does not boot on a Toshiba laptop with Nvidia GEForce

I have installed CentOS 7 on dual boot on an 10ish-year-old Toshiba Qosmio laptop which came with Windows 7. I did the minimal install, yum update, then installed the "GNOME desktop" group package ...
1
vote
0answers
9 views

interactive unkillable shell during shutdown

My VBox CentOS 7 image with some custom software has a problem that it shuts down too long. I'd like to find the culprit by running shell commands from the console, but all shells are being killed. I ...
0
votes
0answers
38 views

pip not working after installing another python version

My CentOS 6.5 machine already had Python 2.6 installed in it. Now I just installed Python 2.7. But now, pip is not working. Whenever I run any pip command, it shows following error- File "/usr/bin/...
0
votes
2answers
19 views

Add lines in every /public_html/.htaccess file

Is there a way to perform an .htaccess edit in bulk through ssh? I have multiple websites which goes like this: /home/user/website1/public_html/.htaccess /home/user/website2/public_html/.htaccess .....
1
vote
0answers
32 views

Having issue with nscd.service in Centos 7. Error Failed to start Name Service Cache Daemon [on hold]

I am running Centos 7 server. I am unable to start "nscd.service". Error shows "Failed to start Name Service Cache Daemon". Please provide me with solution?
0
votes
0answers
9 views

Cenos 7 X CUDA installation - unable to run samples

I have seemingly managed to install cuda successfully on a machine running centos 7, and a GeForce GPU. I am able to run nvidia-smi which confirms nvidia drivers and CUDA 10 is loaded. (I am running ...
0
votes
2answers
26 views

Batch 7zip all files separately in a directory (Centos 7.6)

I am trying to 7zip all files inside a directory separately into their own archive (for each file) in Linux Centos 7.6. Been looking around for a while but never found a method.
1
vote
0answers
11 views

Randomly failing services CentOS7 - Monit too [on hold]

I've recently created a new CentOS 7 setup with Apache, Nodejs, Lfd and Postfix and i'am also using monit to track failed services. For some reason randomly, services are failing including monit as ...
1
vote
1answer
23 views

Can't find SSHD/systemd socket-activated logs

I'm trying to view the logs for my SSH server (CentOS 7) but cannot seem to find them. It's configured to use the systemd socket activation. I normally expect to find them with journalctl -b -u sshd....
1
vote
0answers
15 views

Where are iptables rules fetched from while running command 'service iptables save'?

I have created my own file- /etc/sysconfig/iptables-config. On service iptables save my rules are successfully updated and that updates the /etc/sysconfig/iptables file as well. Now even after i ...
0
votes
0answers
11 views

GNOME 3 autologout => gdm fails to restart X server

My O/S is CentOS 7.6 with all updates as of today. I have a system where many users log in and run GNOME sessions via VNC (xrdp). I do not want idle sessions hanging around forever, so I followed the ...
0
votes
1answer
24 views

Valid special characters allowed in a CentOS 7 username?

I'm trying to figure out how CentOS 7 identifies what is considered a valid character in a naming convention when a user account is created. I was playing around with useradd to confirm my ...
0
votes
2answers
30 views

Copy folder to multiple (similar) locations simultaneously

I have around 90 websites I need a plugin installed on (wordpress) and I was wondering if there's a way to copy the plugin folder to all of them in a single run (i.e., simultaneously / in parallel).  ...
2
votes
0answers
12 views

Run interactive script before reboot

CentOS VM. I got a script for updating firmware that I would like to run before each reboot. However, I want to get user confirmation before the script is actually run. I put the script in /etc/init....
2
votes
3answers
58 views

How to SSH into Raspberry Pi connected via Ethernet on CentOS7?

I am trying to SSH into my Raspberry Pi 3 Model B V1.2 from my laptop running CentOS7. I have connected them together via Ethernet cable but the laptop is unable to identify Raspi. So i tried running ...
2
votes
2answers
29 views

SSD's hard resetting link CentOS 7

I have two Intel SSDSC2CW120A3 SSDs in a SuperMicro X9SCL/X9SCM set for software RAID-1 on CentOS 7: Linux hostname.local 3.10.0-957.5.1.el7.x86_64 #1 SMP Fri Feb 1 14:54:57 UTC 2019 x86_64 x86_64 ...
2
votes
0answers
35 views

Strange difference of disk size

I have a Google Cloud Instance: When i check the disk space with two different command it show: df -H Filesystem Size Used Avail Use% Mounted on /dev/sda2 11G 3.1G 7.5G 30% / ...
0
votes
0answers
18 views

CentOS group directory permissions for FTP folder

I have the following directory /home/server/server-data where the 3 of us working, uploading new files and editing each other’s files. The issue I’m having is figuring out permissions. So, if one of ...
-1
votes
1answer
27 views

Git fails when not run as root

I just upgraded to Git 2.18 via EPEL on CentOS 7 and now Git fails on any operations that involve communicating with a remote server with the message fatal: unable to access 'https://my.repo.git/': ...
2
votes
1answer
24 views

Have to restart network service after reboot (centos 7)

I am setting up a server which has a 4 ports (em1 to em4) QLogic network interface. It is connected though em3 and the IP address is automatically given by DHCP based on the mac address. I do not ...
1
vote
0answers
17 views

CentOS 7.6 install fails w. NVIDIA P620 set to offboard or auto, completes OK set to onboard

Using a Supermicro server w/ an NVIDIA P620 graphics card, I try to install CentOS-7.6.1810 from DVD. I have two monitors connected, a 2560x1440 qnix via white DVD-D cable off the P620 graphics card ...
0
votes
0answers
24 views

How i can update the file yum.rep.d so i can use the yum command? [closed]

im using an hortonworks HDP sandbox 2.5 and i must use yum,the problem that it's not working.I know that the problem is /etc/yum.repos.d/CentOS-Base.repo it seems that the mirrors used doesnt work ...
1
vote
1answer
29 views

Centos Installation base environment only showing basic functions

I am currently interested in learning how Linux works. I have followed the tutorial How to Install CentOS 7 on VMware Workstation 14 Pro? The problem is, every time I install the only available Base ...
0
votes
0answers
10 views

Touchpad click and scroll not working in centOS

I have recently installed centOS 7 on my system. [Shivendra@DESKTOP-JHII5PM etc]$ xinput list ⎡ Virtual core pointer id=2 [master pointer (3)] ⎜ ↳ Virtual core XTEST ...
0
votes
0answers
21 views

Dual boot option now showing up with windows and centOS

I know this kind of question is already asked before, but none of those solution worked for me, i am trying to resolve this from last two days but with no success. Problem: - When i start may HP ...
0
votes
0answers
15 views

CentOS not recognizing Rackspace verbiage for saving iptables

I'm getting back into the Linux game and have installed CentOS server and am stalled with saving the iptables for Apache operation. The Rackspace guide tells me how to use the service command to save ...
0
votes
0answers
36 views

Fatal Error DISPLAY variable set incorrectly: :0

I want to install oracle weblogic server. I already downloaded it and it's fmw_12.1.3.0.0_wls.jar. In order to install it I'm instructed to run java -jar fmw_12.1.3.0.0_wls.jar. But when I run it I ...
0
votes
1answer
30 views

WHy is my Nohup process dying?

What's wrong with this code? Suddenly the nohup process dies, without a trace. bin/sh sleep 5s cd /home/minecraft/OMC nohup java -jar -Xms3400M -Xmx3400M -jar paperclip.jar &
0
votes
0answers
21 views

rcp/rsync create a file with a single question mark as name, instead of the original file name

Here's are the commands I've tried (in a .sh file). rcp $1/target/$1*SNAPSHOT.jar remote_server:~/ rsync -v $1/target/$1*SNAPSHOT.jar remote_server:~/ Both of these create a file on remote_server ...
1
vote
1answer
30 views

Firefox -createprofile “example” doesn't create profile [Centos 7.6]

I am trying to create new profile via Terminal for firefox and am using this command: firefox -createprofile 'profile' It looks like everything is fine, but I can't find any new file by using ls | ...
2
votes
2answers
45 views

Is there a way to save current state of network configuration in linux into a datafile or set of ip commands like iptables-save?

Let's say I ran quite a few ip commands and ended up with a required network configuration, but I didn't save the command history. Instead of rewriting commands in a file or script again, is there a ...
7
votes
4answers
580 views

How can I track script which gives me “command not found” right after the login?

When I login, I have these messages: -bash: $'\r' : command not found -bash: $'\r' : command not found -bash: $'\r' : command not found It is quite clear that it is caused by Windows-style line ...
0
votes
0answers
14 views

RedHat Satellite 6 to patch centos 7.5

I have a question regarding patching of CentOs 7.5 servers using Redhat satellite servers because we are trying to use CentOS for some project. I know we cannot licence CentOS but would it work ...
-1
votes
0answers
9 views

Extend /dev/sda2 Volume Centos

I added 25GB in vcenter to the vmware, i want to increase the volume of /dev/sda2 by the full unlocated space (25GB) is there a way to do this in production
0
votes
1answer
22 views

NetworkManager doesn't change IP-Address when dracut.cmdline provided static IP differs

Centos 7.6 fresh installation. I need a static IP during boot for decrypting my LUKS-Container by using Clevis / TANG and following dracut.conf kernel_cmdline="ip=10.30.0.25 netmask=255.255.255.0 ...
1
vote
0answers
10 views

gnome style bottom panel on kde

I like the bottom panel on CentOS6/gnome, where the buttons corresponding to the running applications make it easy to quickly bring forward the application you want to work on, and workplace switcher ...
0
votes
1answer
52 views

EFI system partition cannot be of type ntfs, EFI system must be mounted on one of /boot/efi

I have tried to install CentOS alongside windows 10 and for this I created some unallocated space for the CentOS. While proceeding with installation of CentOS I came to stage of partition and then I ...
0
votes
1answer
39 views

What is the difference between install a package from source(tar.xz) & from rpm [duplicate]

Take a look at all openconnect versions & this. For install from source(tar.xz) i act like this : sudo yum remove ocserv wget ftp://ftp.infradead.org/pub/ocserv/ocserv-0.12.3.tar.xz mkdir /...
0
votes
1answer
30 views

What is the correct way to install (tar.xz) package on CentOs 7

Take a look at all openconnect versions. Now i want to install ocserv-0.12.3.tar.xz on CentOS 7 machine. I am new in linux. For install (tar.xz) package i did these commands, but nothing installed : ...
0
votes
1answer
15 views

What is the correct way to install openconnect(ocserv-0.12.3-1.el7) package on CentOs 7

Take a look at all openconnect versions & this. What is the correct way to install openconnect(ocserv-0.12.3) package on CentOs 7? I am new on linux. I tried these commands : sudo yum -y ...
0
votes
0answers
11 views

Grub2 Centos 7 installation from ISO on hard-disk drive

I could not get working a grub2 custom item menu for installing Centos 7 on a VM. Actual scenario from lsblk command: 1 disk (sda), with two partitions: sda1 mounted on /BOOT, sda2 mounted on / (dev/...
-1
votes
1answer
16 views

I am being returned to the user list upon 'successfully' signing in to my user account upon launching CentOS, instead of being sent to a desktop

So I'm in a Linux OS class at the moment. We're playing around with ACLs, users, groups, etc. very rudimentary stuff. I (clearly) messed something up, and I'm not sure what the issue is. Every time I ...
0
votes
0answers
31 views

Give root's permission to restricted user using PAM and Linux capabilities

I want to give root's permission (or root account) to my test's user not using wheel-group or sudoers on CentOS 7. Instead I would like to use module pam_cap.so and linux capabilities. I try this: ...
0
votes
1answer
24 views

How to expand the root volume after attach new volume?

I create new virtual machine in OpenStack Project. After I want to add size free space in VM. I added new Volume and attached to VM. After start VM I tryed to check status HDD. fdisk -l Disk /dev/...