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.

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

Transport data between qcow2 disks

I created two qcow2 disks. First, with centos7 and other empty, I need to pass data from first to second. Obs: Size of second is not the same. I try using: How to clone a single partition from a ...
1
vote
0answers
11 views

Logrotate + rsyslog issue

Actually, i have an issue with rsyslog. When rsyslog should rotate the log (via logrotate); i got this issue : gzip: standard input: Bad file descriptor error: failed to compress log /var/log/...
0
votes
1answer
39 views

Shell Script - Check if a file contains a specific line/string

my script contain : #### #!/usr/bin/sh FILE="/home/steven/.bash_profile" STRING="export PATH="$PATH:/opt/mssql-tools/bin"" if [ -z $(grep "$STRING" "$FILE") ]; then echo 'the string is ...
0
votes
2answers
9 views

Problem with missing yum package CentOS (Virtualmin)

I am struggling with installation of rh-php71 package using yum on CentOS 6.10 and wondering how I could debug what's the root cause. I have followed instructions on scl: # 1. Install a package with ...
1
vote
0answers
24 views

Specify UID/GID for NFS mount (CentOS 7)

I have two servers svrA and svrB (both CentOS 7), where svrA is a turn-key system so I cannot change anything on it, and svrB is the one I am working on. svrA contains log files I need to transfer to ...
-1
votes
0answers
18 views

how to identify the targetted IP Address of an incoming http request

I Have a server with multiple configured IP Addresses. eth0 : 202.xxx.xxx.xx1 eth0:2393 : 202.xxx.xxx.xx2 eth0:2394 : 202.xxx.xxx.xx3 etc.. Need to move some applications from the above server ...
-1
votes
0answers
8 views

Renew cert with a GitLab instance produce error

Summary I'm trying to renew my letsencrypt cert. Steps to reproduce I have installed GitLab 11.10.4 with omnibus on CentOS 7. The version of my certbot is certbot 0.31.0. I have tried the ...
0
votes
2answers
31 views

Find the size of file from absolute path

How to know the size of the file from an absolute path. For example, I have created a file test. Inside that file, I have specified the absolute paths of some other files. Now from the given file how ...
0
votes
1answer
22 views

CentOS7- Why able to ping when network services is down?

Please advice below questions: Under /etc/sysconfig/network-scripts/, there are 2 configuration interface files (ifcfg-enp0s3 and ifcfg-lo) as shown in network-scripts content I type ifconfig and it ...
-7
votes
0answers
26 views

argument in script [on hold]

“Root Task 1 2 3 4 5 " While in the root account, create a script called echo_task_number.sh to make this task a little easier. (a) The script will place a row with a few equal signs, some ...
1
vote
0answers
31 views

systemctl enable docker container service - failed

I basically follow the document in AWS https://docs.aws.amazon.com/AmazonECS/latest/developerguide/example_user_data_scripts.html I created a Centos 7 and tried to install docker, ese-agent within my ...
0
votes
1answer
23 views

get error while installing gcc with yum

i changed my yum repository to /media and mounted iso of CentOS-7-x86 to /media and used yum install packagename to install packages with dependencies, got no errors but when i tried to install gcc i ...
2
votes
2answers
33 views

CentOS 7.x on GNOME how to modify default terminal

I have CentOS 7.6.1810 with 'server with GUI' option selected at install time. I also installed terminator, I am looking for a way to change the default terminal on CentOS to become terminator, I ...
0
votes
0answers
13 views

Mate doesn't load environment variable when using menu launcher

I'm using many environment variables to setup several softwares, like maya / nuke, houdini... those variables are refering to other variables. to set them, I have created scripts in /etc/profile.d/ ...
0
votes
0answers
11 views

Can't Seem to Block or Delete Wifi Networks

I am trying to restrict the wifi access on my Centos 7 machine to block, or allow only certain networks. Nothing seems to work. I've tried to forget networks, use the firewall, and deleting the ...
0
votes
0answers
34 views

Why does man not find entries?

> man ls No manual entry for ls > man tar No manual entry for tar Every command cannot be found, except Git. I installed git a while ago and had trouble getting the git man to show up. I ...
1
vote
0answers
13 views

Install packages in CentOS without root from non enabled repository

I need to install a high number of packages in a computer running Scientific Linux 6 (based on RHEL 6) for which I don't have root access. After much tinkering and internet searching I found this ...
0
votes
0answers
3 views

Does anyone know where to find info about “OS.EnableFirewall=y” for the WALinuxAgent in Azure?

I am trying to understand exactly what change to the firewall that configuration makes, but it is not in the list of configs on the Azure git repo: https://github.com/Azure/WALinuxAgent
0
votes
1answer
20 views

yum or dnf update with `--skip-broken` on just one repo?

Is there a way to run yum update --skip-broken Such that only missing packages from one repository are skipped? As a third party that distributes RPM packages we would like our broken packages to ...
0
votes
0answers
23 views

centos 7 can't run on new pc

I have a fully working centos 7 pc, I want to change that pc so I need to take out the HDD from old to new PC( keep all files and VM config) but my new PC cant find the centos 7 EFI file to boot from.
0
votes
0answers
38 views

Linux Virtual Console (ctrl+alt+f2) scrolls past edge of monitor

I run centos linux 7 Kernel 3.10.0-957 Graphics are nvidia, resolution 2560,1440 echo $TERM returns linux In all of my ctrl+alt+f# virtual consoles, the text scrolls past the bottom of the display....
0
votes
1answer
11 views

How to reference and combine alias values

Pretty darn simple I would have expected. I have a large .bashrc file I made years ago where everything is spelled out for values on my alias's. I want to reduce the size of the file and make use of ...
0
votes
0answers
12 views

Getting trouble installing HPjmeter

I'm trying to install HPjmeter console on centos 7 desktop in order to monitor my web app GC status . I've follwed all the steps mentioned on the official user guide but when executing this command ...
-1
votes
1answer
33 views

disable shutdown and reboot commands in sudoers file for normal users not working

I have added the following lines in order to prevent normal users from soporte group to shutdown system: cmnd_Alias SHUTDOWN = /sbin/shutdown,/sbin/reboot,/sbin/halt,/sbin/poweroff # User ...
-1
votes
1answer
40 views

passwordless authentication with SSH key pair

Apologies if this question isn't sophisticated enough, I am sort of new to Gnu/Linux. I've 4 VMs in Azure all running CentOS, 1 master and 3 workers. I've set up a passwordless authentication between ...
0
votes
2answers
32 views

free command - different outputs after conversion

I'm monitoring my RAM on a CentOS 6 server and when I free -h I see 15G available which is OK but when I free -b I see 1641154969 bytes which equals 1,641154969G. free -h total ...
0
votes
1answer
84 views

How are rpm transactions used in `yum update`?

Is the whole yum update transactional or is every resolved update individually? If the yum update detects Foo and Bar need to be updated, and Bar fails because it now collides with installed package ...
0
votes
0answers
20 views

Normal SSH Setup operations fail for remote root user when origin is a MAC

So this is about Centos7, SSH remote login setup, and the fact that Macs don't have a root user. I've asked this question a couple times and been provided explanations about how ssh works. Some of ...
0
votes
1answer
15 views

Error building Docker container images on CentOS 7

I'm trying to build a CentOS 7 Docker container from a minimal template as below FROM centos:AUTO_SELECT_VERSION RUN yum -y install yum-plugin-ovl \ && yum -y install lsof perl file tar ...
1
vote
1answer
44 views

Trying to install centos 7 — getting pane is dead error

This is my very first installation of any Linux distribution. I have seen "pane is dead" questions and answers to them here, but I don't think they apply to me -- for one thing, I'm not using ...
0
votes
0answers
10 views

Sendmail Hostname error

We recently changed hostname on our Fedora server to xyz and Sendmail logs report like: July 08 00:06:36 xyz sendmail[20506]: That's fine. But we changed the hostname back to abc but the sendmail ...
0
votes
1answer
37 views

CentOS 7 not finding security update rpm packages

On my CentOS 7 server, when I run yum --security upgrade its not finding any security update rpm packages, but I know vim-minimal security update package available. How can I make yum security ...
1
vote
0answers
23 views

weblogic cluster between two different server

I have two server (for example 1.1.1.1 , 1.1.1.2). I want to have one administrator tools and two managed servers (one on 1.1.1.1 and another on 1.1.1.2) and cluster these two nodes. Is the base of ...
1
vote
0answers
16 views

Collecting Logs in full depth

We have a Linux server, whose logs are collected by EventLog Analyzer on a Windows machine. I need to collect logs of events in full detail format, e.g /home/aa/bb/a.xlsx /home/xxx/sss/b.doc ...
1
vote
1answer
20 views

Upgrade centos kernel 5

Try to update kernel latest but not shown in list available kernel. I check the repo list on the mirror site kernel 5 are listed there. Is there someone have the same issue and solution for it.
4
votes
1answer
364 views

Do scripts in /etc/cron.hourly and /etc/cron.daily, etc., get executed automatically?

I've understood that the entries in /etc/cron.d/ are executed automatically. But I have also found these in /etc/ /etc/cron.daily/ /etc/cron.hourly/ /etc/cron.monthly/ /etc/cron.weekly/ In /etc/cron....
0
votes
0answers
24 views

dracut: Fails to boot on Live USB with 2 Partitions

Context: I have a USB drive with 2 partitions: the first one is a custom, non-persistent, image of CentOS 7.6 1810 (with GNOME) and the second one is an encrypted data partition. The objective is to ...
1
vote
0answers
57 views

cd /bad-directory ; source junk.1 logs me off!

I thought I knew unix/bash etc. The compound statement USING TCSH! cd /lkjsdf ; source junk.1 completes and then logs me off IF the cd directory does not exist. It works fine if the directory ...
0
votes
2answers
20 views

How to install zutils on Centos7

How do I install zutils on CentOS7? I want to use the zutils version of zgrep. I tried yum install zutils but it didn't work.
0
votes
1answer
39 views

Read a list of files from text file, move them preserving directory structure in bash

Similar to the question asked here, I'm trying to move a list of files from one folder to another whilst preserving the directory structure. The move command happens after a chain of events earlier in ...
1
vote
0answers
16 views

Emergency mode using some kernels in CentOS

I did some mistake of fiddling with an old VirtualBox installation, trying to build kernel modules. I got rid of dkms. Still, I have the strange problem that the two latest kernel I have results in ...
0
votes
0answers
24 views

How can I download “sysinstall” on CentOS7?

My professor has specific instructions in my homework to: "use sysinstall to execute the menu system at the the command prompt" It sounds silly to me because yum is the default package manager on ...
0
votes
1answer
13 views

NetworkManager package unable to install

Currently I'm trying to install package NetworkManager in Linux 2.6.32-642.6.2.el6.i686 i686. When I run yum install, it says: [root@localhost ~]# yum install NetworkManager-config-routing-rules ...
2
votes
0answers
29 views

dhclient Active for Interfaces with BOOTPROTO=none

I'm facing a strange issue with my Linux bridge system (CentOS 7.6.1810). I have two interfaces configured with a bridged network (IP of the bridge is 192.168.42.253). When I reboot the system, it ...
1
vote
0answers
18 views

yum: unable to update puppet-agent due to missing dependency

I am trying to update a package with yum (puppet-agent) but this is failing due to a lack of dependencies - error output below. I think I know why this is: the old version (1.10.9-1) of the package ...
0
votes
1answer
12 views

Unable to install proftp or pureftp on centos 6 (typical instructions don't work)

I am having difficulty installing proftp or pureftp on centos 6. I have followed the typical instructions (alternatively) which go like this # Add EPL repository rpm -iUvh http://dl.fedoraproject....
0
votes
3answers
18 views

Install the PHP drivers for Microsoft SQL Server

I'm using web server nginx, php 7.1 fpm and laravel in Centos 7. I want to install SQL Server following the official installation tutorial for Linux but I'm confused with this command: echo extension=...
0
votes
1answer
23 views

list usb smart card reader

I have a Centos virtual-machine with a smart card reader connected, or which is supposed to be connected. How can I list on which usb port is connected and if the OS recognize it correctly? I've ...
3
votes
0answers
41 views

Yum install: unexpected nothing to do while upgrading elasticsearch

I'm experimenting something estrange with yum in centos7, lets see If someone understands what's happening: Usually, I upgrade packages using sudo yum install <package_name>-<version_info>...
1
vote
1answer
24 views

Upgrade php to same main version

I need to upgrade php on working server from 7.2.14 to 7.2.19 yum list installed php* shows only 7.2.14-1.el7.remi exist within installed packages. I can't use yum update neither yum upgrade since ...