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
18 views
+50

Creating custom package group for yum repository gives “comps file is empty/damaged”

I am having trouble setting up a custom package group for my custom yum repository in RHEL7.6. First, here are the steps I am taking to create the custom yum repository. Create a directory that will ...
-1
votes
0answers
7 views

R 3.6.1 Installation issue in CentOS - lib/libR.so: undefined reference

How to install R 3.3.1 in my own directory installed "conda install -c anaconda gxx_linux-64 "followed the above link. when i try to run make command. getting the below error. have gcc 4.8.5 and 9.1 ...
-1
votes
0answers
10 views

Make CentOS 7 recognize “LC_ALL=C.UTF-8”

I personally run Debian and Ubuntu servers and I have LANG=C LC_ALL=C.UTF-8 on all of them. Whenever I SSH onto a CentOS machine or try to run my programs on it, it complains about the bad LC_ALL ...
2
votes
1answer
4k views

Hostname lookup (ping) hangs indefinitely

Normally if I try pinging an address it will either do so promptly or state that the host is unknown. On one machine however, it seems that trying to ping an unknown host will cause it to hang forever ...
1
vote
1answer
25 views
+50

Spacewalk reboot the server after patch installed

I am using Spacewalk release 2.9 to manage my CentOS Linux server. using below spacecmd command to push the new packages. I want to reboot the server once all the packages are installed on the machine....
0
votes
1answer
7 views

tkdiff installation problem on centos 7

I am just trying to install tkdiff on my centos 7. For installation I am running below cmd: sudo yum install tkdiff but I am getting error message: No package tkdiff available. Error: Nothing ...
4
votes
1answer
3k views

Set KDE Desktop Environment like default CentOS 7

I want to change default Desktop environment from GNome to KDE. My asking is for CentOS 7, I was Trying with How to install Desktop Environments on CentOS 7? # echo "exec startkde" >> ~/....
1
vote
2answers
6k views

root needed to launch X11 application

I'm building a Qt application using QML technologie. QML use OpenGL. The computer running the build is a CentOS 6.7, with intel GPU. I'm using it only on SSH, and I use XMing (or VcxSrv sometimes) ...
0
votes
1answer
5k views

tigervnc on centos - black screen

I am running tigervnc-server on CentOS 6.8, however the gnome desktop won't start for me! I have done a yum groupinstall of "X Window System", "Desktop" and "General Purpose Desktop". On one of my ...
1
vote
0answers
18 views

Show list of open ports using firewalld in CentOS7

Is there an easy way to show a full list of all the ports that have been opened using firewalld? I know the command firewall-cmd --list-all, but that just shows service names, not the ports that ...
2
votes
1answer
117 views

rsync daemon with enforcing selinux policy rsync_export_all_ro still prevents access to files under /var/spool/postfix/private/

I have a number of Debian-based systems that get backed up regularly using rsync. For a number of reasons I have had to deploy a small CentOS 7 server, and I want to add it to my backup schedule. It ...
0
votes
3answers
872 views

Grep latest file for string and alert / email if found

I want to grep this string 'FCE-Error' from a folder than contains loads of text based files The folder looks like this -rw-r--r-- 1 root root 0 May 22 10:30 T201805220930.CIR -rw-r--r-- 1 ...
0
votes
0answers
13 views

How to check the Integiry of the each PHP files in linux server using lighthttpd server?

I have a project requirement, Where I have to check the integrity of each PHP files before executing it using md5 or some method. The hash value is stored safely within the server. What I have done: ...
1
vote
1answer
23 views

Was /etc/yum/repos.d ever a thing?

In some places I've read, users have mentioned the path /etc/yum/repos.d along side /etc/yum.repos.d. Was this a path that actually used at some point? I even loaded of CentOS 5.11 and it's still /...
0
votes
0answers
12 views

CentOS 7 firewalld errors and warnings after default install

My VPS provided a minimal CentOS 7 install which did not come with firewalld pre-installed. This question is related to this question I installed it and had the following errors at startup: # ...
1
vote
2answers
617 views

Install MPICH on CentOS error could not determine the size of a Fortran INTEGER

I followed the this installation guide to install MPICH on my machine. I got the following error while configure: configure: error: Unable to configure with Fortran support because configure could ...
3
votes
4answers
9k views

Install aria2c on Centos7

I would like to install aria2c on centos7. I tried with yum install aria/aria2/aria2c but I receive "no package available". What is the proper way to install aria2c on centos7?
0
votes
0answers
9 views

OpenVPN Fails to Connect to Server Running on Private Server

I have not used OpenVPN AS on cloud services. What I want to do is connect to a OpenVPN Access Server setup on a VPS. The server is CentOS 7 and the client is commandline openvpn for Linux. The ...
0
votes
1answer
11 views

Issues in getting internet from another node through Ethernet

I am trying to get internet on node1 [IP: 1.2.3.4] from another node2 [IP: 5.6.7.8] which has a working internet connection, through ethernet. Packet forwarding is enabled on the node2 which is ...
1
vote
0answers
15 views

Two default gateways with different metric on CentOS 7 box - how?

I'm begging for help here. Been spending hours researching how to solve what seemed like a simple problem: on a CentOS 7.6 host with two network interfaces on two different networks, how to have two ...
-2
votes
2answers
465 views

Resizing root partition in azure CentOS VM

I have a 128 GB SSD Managed disk in Linux - CentOS 7.3. The root partition now shows 30 GB approx and is mounted under "/", ie root. lsblk shows the remaining - So we are good for now. My requirement ...
0
votes
1answer
29 views

Looking for latest i386 DVD ISO download

I'm having trouble finding this CentOS download: 7.6.1810 *.ISO DVD i386 Does anyone know whether this particular build was made available?
0
votes
1answer
883 views

Set up network teaming on Centos 7

I've been preparing for my RHCE exam and on of the objectives is to configure network teaming/bonding. I'm currently trying to configure a server with two interfaces and combine them to a teaming ...
1
vote
1answer
4k views

Error: Cannot find a valid baseurl for repo: base

When I say # yum update This is output: Loaded plugins: fastestmirror, replace, security Setting up Update Process Loading mirror speeds from cached hostfile YumRepo Error: All mirror URLs are not ...
1
vote
2answers
7k views

Could not load file '/etc/sysconfig/network-scripts/ifcfg-lo' when I use ifdown or ifup

When using ifdown or ifup for the lookback interface in CentOS 7: [root@localhost etc]# ifup lo I have got the error below: Could not load file '/etc/sysconfig/network-scripts/ifcfg-lo' Could ...
0
votes
1answer
19 views

Install php 7.X (for new wiki) alongside php 5.3 (for old wiki) on CentOS 6

I would like to replace the ancient Mediawiki (version 1.21.2,l PHP version 5.3.3, MySQL 5.1.73) used by my company with a brand new Mediawiki site running the latest version (requires php 7.0.13 or ...
0
votes
0answers
28 views

Terminal Login Screen Language between SSH and Telnet [duplicate]

on the login screen of a CentOS 7, when changing password is enforced with an ssh terminal I have two different languages: login as: user1 user1@192.168.0.20's password: You are required to change ...
1
vote
1answer
7k views

Job for vsftpd.service failed because the control process exited with error code

I can not restart the vsftpd. [root@localhost vsftpd]# service vsftpd restart Redirecting to /bin/systemctl restart vsftpd.service Job for vsftpd.service failed because the control process exited ...
0
votes
0answers
18 views

gpg consuming 100% cpu

I'm using gpg (GnuPG) 2.0.22. I'm using it to encrypt my backup files. However, I have observed that once it start encryption, it uses 100% cpu. Any way to avoid this? It's necessary and on priority. ...
3
votes
3answers
5k views

Creating an iso from the virtual machine

I have openSuse installed as a virtual machine on Oracle Virtual Box, and I have configured some softwares with the way I require. I need to replicate the similar environment on a new Server (NOT the ...
1
vote
1answer
5k views

Reinstaling NSS library on CentOS (Amazon AMI)

I had a problem during updating of the packages on CentOS AMI from Amazon (S3). I got a bunch of duplicated packages. Among them: nss-softokn-freebl-3.16.2.3-14.2.38.amzn1.x86_64 is a duplicate with ...
0
votes
1answer
825 views

Apache resource failed to start in Pacemaker

I am using Pacemaker with Corosync to set up a basic Apache HA cluster with 3 nodes running CentOS7. For some reasons, I cannot get the apache resource started in pcs. Cluster IP: 192.168.200.40 # ...
1
vote
1answer
1k views

How to route network in order to use internet on CentOs?

I have 2 computer in local network which have CentOS both. One has wireless card which can use internet connection. Other computer does not have internet connection. I want to route ip addresses in ...
2
votes
3answers
6k views

How to setup FUSE for using AppImages on CentOS 7?

I have noticed that FUSE is poorly documented for CentOS and I would like to run an AppImage on CentOS 7. I have installed all FUSE-related packages via running: sudo yum install -y fuse* afuse this ...
0
votes
0answers
12 views

Problem loading CentOS on Linux Virtual Box

I am trying to install CentOS 07-1810 on my new Virtualbox and I was getting an error message. It looks like the software is bigger than the available size of my System hard disk, but being a new user ...
0
votes
1answer
4k views

xfs_repair could not find valid secondary superblock

I had 3 bad tracks on my hard drive so I used Disk Genius to fix it,ofcourse the data near the back tracks were wiped out.Then I booted from linux rescue disk and run xfs_repair /dev/sda1 xfs_repair /...
23
votes
6answers
135k views

CentOS 7 - Rename network interface without rebooting

I'm renaming network interfaces by modifying the files in /etc/sysconfig/network-scripts. eth0 -> nic0 eth1 -> nic1 The content of the network scripts looks like this, after modification: # cat /...
5
votes
1answer
3k 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 ...
1
vote
1answer
30 views

hostname failing to resolve in CentOS 7

I have a DNS server configured but the hostname is failing to resolve. I keep getting these error when running host: [root@ns1 ~]# host hostname Host hostname not found: 5(REFUSED) And I also get ...
0
votes
1answer
3k views

SMB/CIFS enable large rsize/wsize to netapp

I’m connecting from a Centos 7.2 client to a Netapp cifs fileshare. We had to swap over from NFS as we lost 30% of space due to a lack of “hole drilling”. Performance has slowed down due to cifs ...
0
votes
1answer
3k views

CentOS 7: Job for httpd.service failed

I have a CentOS 7 VPS where I am trying to install virtual host following the instruction from https://www.digitalocean.com/community/tutorials/how-to-set-up-apache-virtual-hosts-on-centos-7. I have ...
0
votes
1answer
933 views

Install libicui18n locally on CentOS

I tried installing Seurat package in Rstudio, in a markdown file and apparently I need to install libicui18n locally on CentOS for it to work: https://bioinformatics.stackexchange.com/questions/4148/...
0
votes
0answers
13 views

Rebuild a Centos kernel from a Debian netboot

I have (had) a Centos 7 system running on a server at OVH, booting from hard disk. I did a kernel update, and being in too much of a hurry rebooted just after it looked like all went well. It didn't. ...
0
votes
0answers
14 views

How to make CentOS iterate over principals in .k5login (take password for one of them)

at my work, we use combination of Debian and newly some CentOS 7 machines. We have a group of kerberos+LDAP servers to provide means of user authentication to another machines. Everything is fine ...
0
votes
1answer
1k views

PHP-FPM: 'No such file or directory' error from nginx/error.log. Path or permissions issue? [closed]

I am getting a "FastCGI sent in stderr: "Unable to open primary script: /var/www/mediawiki/index.php (No such file or directory)"" error when I enter my wiki address in a browser bar. Here is my PHP-...
1
vote
2answers
319 views

enable systemd service in non-default target like `chkconfig --level` did

In Centos 6 I used: chkconfig --level 12345 network on chkconfig --level 12345 sshd on Now have Centos 7.1. Is it possible to additionally enable sshd in resque.target using some command line tool? ...
23
votes
4answers
52k views

Encode with ffmpeg using avi to mp4

What command lines to use to convert from avi to mp4, but without destroying the framesize and making the file small as the original size or a little bit bigger, and same thing with mp4 to avi? ...
2
votes
3answers
188 views

PAM Kerberos and RStudio

I am trying to get Kerberos PAM to pull a ticket and not destroy it after an RStudio login on CentOS 7. My rstudio file in /etc/pam.d/ looks like: #%PAM-1.0 auth required pam_krb5....
3
votes
1answer
6k views

Starting Tomcat Service when starting CentOS/RHEL/Fedora

I want to install tomcat 8 and run it at startup time I am following these tutorials: Install Tomcat 7 on CentOS, RHEL, or Fedora How to install Tomcat 8 on a CentOS 6 VPS I created the tomcat user:...
2
votes
0answers
21 views

CentOS 6.5 Installation

I am currently trying to install CentOS 6.5 (LiveDVD from bootable USB) on an HP Z4 G4 Workstation, however, due to a hardware compatibility issue, the text version is installed. The GUI is required ...