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
1answer
7 views

Gimp: Cut And Paste Rectangle on New Layer

I have an image open. I then made a rectangle. I then cut out the rectangle. I then created a New Layer called loveLanguage. I am now trying to paste the contents of the cut-rectangle it onto this ...
0
votes
1answer
3k views

CentOS 6.6; java 7: libjli.so cannot be found

Background: I have written a Java program to capture network packets. The code uses a wrapper API around libpcap and works nicely – as long as I run the program via sudo. I am now trying to figure out ...
3
votes
2answers
2k views

OpenVPN connects to the Server successfuly but no internet access

I want to setup an OpenVPN Server and after a week of trying day and night (no Linux Knowledge) I was able to successfully connect to the Server using OpenVPN GUI but now that I can Connect there is ...
2
votes
1answer
2k views

devtoolset-4 was removed from centos-release-scl?

I need to install gcc 4.9 on CentOS 6. And I usually do the following: yum install -y centos-release-scl yum install -y devtoolset-3-gcc-c++ make cmake re2c libuuid-devel libxml2-devel zlib-devel ...
2
votes
1answer
9k views

Unable to use yum repos whether with baseurl or mirrorlist in CentOS 6.5

Since a couple of days, I'm unable to retrieve repositories data with Yum, in my CentOS 6.5 server. I did yum clean all a dozen of times, it emptied all but didn't solved the problem. I tried to ...
0
votes
1answer
32 views

Where to find RPM packages for CentOS 6?

I need to download some RPM files for CentOS release 6.10. I noticed that CentOS-6 reached end of life. Is it still possible to find its RPM packages somewhere?
0
votes
0answers
32 views

Automating SELinux user mappings for SSSD AD users without an IdM solution

I have several RHEL7 and CentOS7 based systems that are tied into a Windows Server 2019 Active Directory using realms/SSSD. Currently, AD users adopt the unconfined_u SELinux user mapping by default. ...
0
votes
0answers
7 views

CUDA thows exception in podman container running on Centos 8 with SELINUX=enforcing

Getting following exception in podman container when running cuda with SELinux enforcing mode on host os: Traceback (most recent call last): File "/usr/lib/python3.8/threading.py", line ...
1
vote
1answer
3k views

Ports not really open after firewalld command

OS: CentOS 7 This is a question that is bordering on two issues. I have a docker machine running where I recently installed the PLEX container from linuxserver/plex. The current problem is that I ...
0
votes
1answer
2k views

sysctl: setting key “net.ipv4.ip_forward”: Invalid argument

This is a vanilla install. I just did a yum update to Centos 7.3 and install KvM and rebooted. When following a guide and setting up IP Forwarding like I always have done I get the following: sysctl: ...
1
vote
0answers
37 views

SSH pubkey auth fails on CentOS 7.9 but not 7.8

I have access to a number of servers via ssh. Some of them are running CentOS 7.8.2003 and some are running 7.9.2009. I can connect to the 7.8 servers without issue while I have to use password auth ...
0
votes
1answer
76 views

CentOS 8.3 kickstart text only install timezone problem

I have a custom text install using kickstart (ks.cfg) for CentOS 8.3. The problem I'm having is with timezone setting in ks.cfg. timezone is required in ks.cfg, so in previous version of CentOS, the ...
0
votes
1answer
13 views

Custom Window Maximise CentOS 7 XFCE

I wanted to know if it's possible to set a custom limit for how far windows maximise in CentOS using XFCE4. My second panel is slightly elevated from the bottom of the screen and I wanted to know if ...
7
votes
2answers
12k views

How can I bring up a non-boot (ONBOOT=no) network interface with iproute2?

Have a network interface that does not come up on boot-up: [belminf@tito ~]$ grep ONBOOT /etc/sysconfig/network-scripts/ifcfg-enp0s3 ONBOOT=no I know I could do the following for DHCP: [belminf@...
0
votes
0answers
15 views

Open Outgoing Port 25 On GoDaddy VPS

I am unable to send an email from the cli on this GoDaddy server I got. I spoke with GoDaddy technician and they said I am the one who is responsible for openning outgoing port 25. Technician also ...
0
votes
0answers
10 views

Cuda update on centos wants to install new version. but old versions are taking up so much space that new version can't be installed

I just ran yum update, and a cuda update on centos 7 wants to install new version. but old versions are taking up so much space that new version can't be installed. Install 3 Packages (+52 Dependent ...
1
vote
0answers
15 views

/etc/udev/rules executed to late during boot

I have some udev-rules in the old /etc/udev/rules/ - folder which I want to be used during boot. Everything works fine except for the time when these files are "executed". The rules rename ...
2
votes
1answer
5k views

prompt for network setup during kickstart installation centos7

I am trying to set the IP manually during a kickstart installation using CentOS 7. During the installation it has to prompt for the network setup. I tried using the below configuration : network --...
1
vote
2answers
31 views

Adding vi to vim mapping for all users in centos

I'm using a specific centos7 image from AWS EC2 which, for some reason, does not have vim installed. I already run ansible scripts on newly spun up servers, so I planned to add VIM via ansible. I ...
0
votes
0answers
22 views

How do I enable support for a cipher in openssh on CentOS?

Context: I'm following a guide to debug a .NET application running on a CentOS 7 virtual machine from Windows through SSH. And I know almost nothing about SSH on nix. Problem: VS complained that it ...
1
vote
2answers
2k views

Dual displays, one fixed, one spinning (CentOS 7)

I have 2 monitors and would like to have my setup like this: Monitor = fixed desktop (only 1) Monitor = dynamic, spinning desktop (1+) It was working like this at the beginning but somehow I changed ...
0
votes
1answer
2k views

Old CentOS 5.6, Due to github.com delete the TLSv1/TLSv1.1 support, How can I access to github.com/repo.git using git system

Now I have a cluster with Rocks 5.4 based on CentOS 5.6. When I git push the code to github.com, I run into the errors: error: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert ...
1
vote
2answers
4k views

“Error uncleared PCH FIFO underrun on transcoder A” during boot centos 7 on toshiba

I have toshiba Satelite model (C50 1001C model number) laptop. When I start it is giving 1.643361 [drm:cpt_serr_int_handler] *ERROR* uncleared PCH FIFO underrun on transcoder A 1.643363 [drm ...
5
votes
2answers
12k views

CentOS 7 cpupower not setting the CPU's to maximum

On my machine, i have power savings disable on the BIOS. When I run Ubuntu on this machine, the CPU's are running maximum at 2100 MHz. However, when I'm running CentOS 7, even with the scaling ...
0
votes
0answers
20 views

Stuck on localhost

When I try to login to my Centos 8 vps it automatically defaults to root@localhost. This is a big problem as I’m trying to create a minecraft server, so when I attempt to connect, I can’t. On a ...
1
vote
1answer
1k views

Oracle 11gR2 failed on CentOS 7

I am installing Oracle 11gR2 on CentOS 7. I have the packages installed, I have the kernel parameter set but still its not working. Here are the images. [Installation Image
1
vote
1answer
1k views

Installed PHP extensions to wrong PHP version

I just bought a VPS and it came with PHP5.3.3 and that wasn't good for our website, so I successfully (so it seemed, anyway) installed PHP5.6.7 and successfully registered it with Plesk. For the ...
3
votes
4answers
5k views

Remove all kernel packages except the currently used one

How can I automatically delete all other kernels which I'm not using? So, here's my situation: Using different versions of Ubuntu / CentOS Automatic updates were on -> Linux downloaded many new ...
1
vote
1answer
8k views

Can't install VirtualBox Guest Additions on CentOS7 (with kernel 4.4)

I installed kernel 4.4 from ELRepo, along with kernel-lt-tools, kernel-lt-devel & kernel-lt-headers. I also installed dkms. vboxadd-install.log contains this: grep: Unmatched ) or \) The ...
7
votes
1answer
4k views

How to enable systemd user sessions for remote logins on CentOS 7?

I am trying to enable systemd user sessions on my CentOS 7 server. All the pieces seem to be there, and I have also run loginctl enable-linger <user>, but I don't have a systemd user session (or ...
26
votes
7answers
71k views

Unable to locally verify the issuer's authority

I am not able to open any https URLs using wget or curl: $ wget https://www.python.org --2015-04-27 17:17:33-- https://www.python.org/ Resolving www.python.org (www.python.org)... 103.245.222.223 ...
1
vote
1answer
1k views

Killing all python scripts except grep process and a specific python script

How can I run command in bash to kill all python scripts except script called test.py and the grep's pid itself, in case we are using something like ps -ef |grep I think I can use something like ...
0
votes
1answer
2k views

Saved message in /usr/rp//dead.letter when sending e-mail on CentOS

We just changed a server from RHEL to CentOS. We have some scripts which run some reports and e-mail them. The part that does the e-mailing is below. function email_report { ( echo "Report ...
0
votes
1answer
24 views

cronjob to empty a file in a directory

I have a problem with logs on my web server using apache (centos web panel) Because it is an API server, once in a few days, the domlogs directory of the server get big enough to crash the server (...
1
vote
1answer
13 views

Centos 8 secondary install failed with “Unknown error has occured”

Bought an HPE Proliant Microserver Gen10 Plus and added a Kingston A2000 M.2 SSD drive with an adapter where I wanted to install the OS. A "regular" SATA disk was planned to hold my data. ...
2
votes
4answers
11k views

Why can't I access to my ftp server with my local user account?

First of all I'm using Centos 6 server, putty and wordpress.org I followed the instructions from this link to set up vsftpd and ftp in centos server. For the vsftpd.conf file, these were the changes ...
-1
votes
1answer
15 views

Graphics upgrade on Centos 7

I possibly have a problem with my intel g33 driver on Centos 7. How can i dowload and install it? "sudo yum upgrade" command returns "No packages marked for update"
0
votes
0answers
1k views

I can’t get to my CentOS 8, Failed to switch root, '/sysroot'

I have only pictures. And I can’t write the Question well. I was starting my laptop (I have Windows 10 Pro and CentOS8). systemctl status initrd-switch-root.service https://i.stack.imgur.com/fuGRU....
4
votes
2answers
1k views

How to correctly install Git 2.17.1 from source on CentOS 7.4?

I'd like to install latest available git to day (git-2.17.1), on CentOS 7.4, because some applications are complaining for it, and not only. I'm trying to install git-2.17.1 from source on CentOS 7.4. ...
0
votes
1answer
2k views

Centos 7 Failed to start LSB: VirtualBox Linux Additions kernel modules

Recently I ran updates on one of my Centos 7 Development Environments (server) which is running though Parallels on Mac OSX. Now, when I went to start the VM recently I received this output: [FAILED] ...
0
votes
1answer
2k views

Locating the directory for systemd scripts

Tried to add a startup script for cent os, but can't find upstart script directory (which typically is in /etc/init on my ubuntu system] I heard it's in "/usr/lib/systemd" but it's not on my system: [...
1
vote
0answers
162 views

Strange behaviour in CENTOS 7 where binary is not available as root, but is available to user data process [duplicate]

In AWS EC2, I am using Centos 7, I observe strange behaviour where a binary for Hashicorp Vault CLI (/usr/local/bin/vault) is available during boot to commands I run in user data. It is also ...
0
votes
0answers
20 views

Http git Repo Authentication

<VirtualHost *:80> SetEnv GIT_PROJECT_ROOT /var/www/git SetEnv GIT_HTTP_EXPORT_ALL DocumentRoot /var/www/git ScriptAlias / /usr/libexec/git-core/git-http-backend/ <Directory "/usr/...
1
vote
1answer
292 views

Hostname won't resolve after setting up new server

I just completed a fresh install of Centos 7 on a PC. It is connected to the campus network, so I am not in control of the DNS server. I gave it a hostname by setting the HOSTNAME value in /etc/...
16
votes
1answer
6k views

How to disable sudo related logging for successful command execution under CentOS/Fedora?

You can disable sudo related log messages via adding something like Defaults:juser !syslog to the sudoers file. That will disable logging to syslog. But under e.g. CentOS/Fedora there is an auditd ...
1
vote
2answers
1k views

Build CentOS RPM for current git release, unsuccessful rebuild with alternate prefix

I am stuck in an effort to provide an maintain an up-to-date git release for a collection of CentOS Linux servers. I was hoping to be able to create binary RPMs that I could just have published to a ...
0
votes
1answer
2k views

How to Install or Upgrade to Kernel 4.19 in CentOS 6

# lsb_release -a LSB Version: :base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch Distributor ID: CentOS ...
0
votes
1answer
9 views

How to install kernel-headers/devel-4.x on CentOS7

I cannot figure out how to install kernel-headers/devel-4.x on CentOS7. I want to compile a program using headers from a later kernel version without having to upgrade CentOS. I'm running CentOS 7.9 (...
1
vote
1answer
58 views

Routing between two networks that have duplicate IP addresses

On a linux box we have three network interfaces, they look like below | CentOS 6 Server | ---------> eth0 (DHCP (192.168.1.x) Default Gateway, connects to a wired internet, |----------> eth1 (...
3
votes
2answers
2k views

Problem installing nodejs on Centos (with yum and building from source)

I am trying to install lastest nodejs on CentOS: [root@test-visitele ~]# uname -a Linux test-visitele 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux [root@...

1
2 3 4 5
153