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
0answers
13 views

How to config NGINX server block work with port and directory in same time?

I am using CentOS Linux release 7.6.1810 (Core), NGINX 1.12.2, VPS has ip 103.48.111.34 I have two domains: foo.com and bar.com . Domain control at GoDaddy. http://foo.com use ASP.NET Core, can ...
0
votes
1answer
18 views

kernel error in CentOS 6.9

Recently I see these messeges in my /var/log/messeges and dmesg | less: kernel: INFO: task flush-8:32:1065 blocked for more than 120 seconds. kernel: Not tainted 2.6.32-696.el6.x86_64 #1 ...
0
votes
0answers
21 views

Centos 7: Fails login with fluxbox and lightdm

On my Centos7 vm I have installed fluxbox and lightdm. But when I set the password correctly it still fails to login. Originally I had a the following .xinitrc: exec /usr/bin/startfluxbox But with ...
0
votes
1answer
29 views

CentOS 7 issue - cannot install VMware Tools: There is insufficient disk space available in /usr/lib

I cannot install VMware Tools on my CentOS 7 Minimal VM. I expanded out the VMDK another 4 GBs (started with 2 GBs) via vSphere, then ran these commands to try and use the new space on disk of the OS ...
0
votes
0answers
32 views

Workaround for shrinking a XFS CentOS root partition

I run a cloud VPS with Centos 7 installed. Unfortunately, I could not customize disk partitions during installation so now I have no free space in the volume group automatically created because it is ...
0
votes
0answers
42 views

login with rsh having zero size terminal (stty)

I've received a very peculiar problem all of sudden to the Linux hosts while doing rsh to them from a remote site and them opening a file it returns the file opened very limited on the terminal saying ...
0
votes
0answers
17 views

By enabling automatic security updates on CentOS/RHEL 7 how can I control the rest?

If I enable automatic security updates via "update_cmd = security" in "/etc/yum/yum-cron.conf" how am I able to control the "default" behavior of the other packages?
0
votes
1answer
51 views

Kernel panic - not syncing:VFS: unable to mount root fs on unknown block(2,0)

I have the same Gentoo version installed on 16 machines. Using the same 3 DVDs created in the same way with the same CentOS version and 2 same brand portable DVD-ROMs, I have managed to get the ...
0
votes
0answers
9 views

Only 1 out of 2 nvme same capacity ssds is detected on CentOS kernel 4.20 ml version

I have plugged 2 nvme pcie ssd of same capacity on to my dell server running CentOS 7.6 and kernel version 4.20-ml but only one gets detected all the time. While booting from kernel 4.20, an error: "...
0
votes
0answers
32 views

Unable to install 32-bit Gtk on RedHat 7: Protected multilib versions

I'm trying to install a 32-bit version of the GTK onto a RedHat 7 Enterprise system. As the system isn't yet registered with Red Hat, I've gone ahead and used a Centos 7 repo for now. If I understand ...
0
votes
0answers
31 views

WoL doesn't work

I have two computers DELL OPTIPLEX 960 connected to one switch. Both have CentOs 7 with minimal installation. IPs are 192.168.8.51/24 (MAC 00:26:b9:86:85:13) and 192.168.8.52/24 (MAC 00:26:b9:86:84:5f)...
-1
votes
0answers
20 views

Centos 7: accidentally modified /var/log/* permissions

I have accidentally changed owner of all files /var/log/* to apache:apache (when I actually needed to do that only for few files). Then I realized my mistake and manually reverted the owners names to ...
2
votes
0answers
42 views

Replace CentOS with Ubuntu on a remote server (SSH access only) [closed]

I am trying to replace CentOS with Ubuntu Server on a remote machine where the only access is via network (SSH-only at present, VNC may be set up if needed). I have fully backed up all data on the ...
0
votes
2answers
47 views

Why is find showing different ordering on CentOS vs RHEL?

I have 2 different machines - one running RHEL7 and one running CentOS-7.5. find --version reports version 4.5.11 on each. I've created the following dierectory structure on each. ./dir/some-file ./...
1
vote
0answers
48 views

dnf upgrade kernel on Centos 7…

On one install, dnf managed to upgrade that kernel. On a newer machine (installed and upgraded today), it fails. Not sure why… Here is a full run: ; sudo dnf upgrade -y Last metadata expiration ...
0
votes
0answers
61 views

Boot custom CentOS 7 Live ISO from hard disk to RAM

I'm trying to create a customized package of CentOS 7, which could be placed in an internal hard drive of a non-virtualized server, and booted to RAM using a bootloader (e.g. grub) in a UEFI ...
0
votes
0answers
12 views

CentOS 7.6 Computer Freezes When Changing Display Settings

I am using three monitors and am having an issue where the primary monitor is off to the far left. When I go into the Gnome settings and try and move the monitors around, it freezes. If I unhook and ...
0
votes
1answer
27 views

SElinux and TCP Traceroute

I need to run a TCP Traceroute in the browser but are getting a few SElinux alerts. I have tried creating a policy with audit2allow, e.g ausearch -c 'traceroute' --raw | audit2allow -M my-traceroute ...
0
votes
1answer
37 views

Can you assign different DNS servers to different network interfaces?

I am trying to have my eth1 use 10.50.1.11 and 10.50.1.12 dns servers whilst my eth0 interface uses 8.8.8.8 and 8.8.4.4 dns servers. I am running centos 7 vms within xenserver 6.5. eth1 is a closed-...
0
votes
1answer
27 views

Can I 'yum remove quota' (CentOS 7)

To avoid a long conversation explaining why I want to do this I will just cut straight to the chase. To totally remove quotas can I simply yum remove quota And change UUID=ed9b61db-4055-4ecb-...
0
votes
0answers
14 views

Crontab (Replaced) on Logs - explanation

I've noticed that one of my scripts aren't running and found that it is on last Feb 21. Checked it on the cron logs and found this one: Feb 21 16:07:21 callertag-cc01 crontab[18564]: (ctapp) REPLACE ...
0
votes
1answer
31 views

Why does first yum update on CentOS 7 ask to accept keys

I ran yum update on a newly built machine. Why does it ask to accept keys? Is it safe to accept the keys? base/7/x86_64/signature ...
1
vote
0answers
24 views

systemd's [ok] and [fail] at the beginning of the line

I have got to re-write heaps of boot scripts for a variety of servers of mine because of upgrading from CentOS 6.X (SysVinit) to CentOS 7.X (systemd). There is a file "/etc/rc.d/init.d/function" that ...
0
votes
0answers
14 views

Installation fails/hangs centos7 entering dracut shell prompt

I am tryung to install centos 7 on desktop. configutation. I5 8 GB 500 gb hdd No graphic card (internal intel graphic) Installation method from USB. Created bootable with yumi multiboot. Below ...
-1
votes
1answer
38 views

How can I find what uses the space in a LV(logical volume)?

The logical volume(aka LV), centos-home is created automatically when installing CentOS 7 by default, but I didn't use it manually. Now, I have mounted an empty directory, work to centos-home. /home/...
0
votes
0answers
26 views

Plymouth Boot Screen hang

Centos 7 unable to boot normally hangs on plymouth screen. And gives this. Warning dracut Centos 3.10.0.514.26.2.el7. Kvm was installed. When tried to boot in rescue mode it give this error ...
1
vote
2answers
30 views

How to setup my unpartitioned, unmounted SSD?

I am running a CentOS 7 server with a 500gb SSD. Via SSH i got this output [root@localhost ~]# df Filesystem 1K-blocks Used Available Use% Mounted on /dev/sdb1 33538048 33537160 ...
0
votes
0answers
39 views

CentOS 7: Unable to complete install: internal error: libxenlight failed to create new domain

I have a problem with the installation XEN on CentOS. I did everything through virt-manager, I did not try through the commands, but there should be the same error as I understand it. Worth the ...
1
vote
0answers
13 views

Way to keep device up with no cable attached? CentOS 7

I can't seem to find a way to do this in CentOS 7 with Network Manager enabled. I have SW that requires the front Ethernet connection (enp2s0) be up in order to properly start and work. It will ...
0
votes
1answer
8 views

CentOS reinstall after crash (regularly)

I have an old laptop which runs CentOS 7 and runs a MQTT server, MySQL and few java apps. The laptop sometimes crashes (due to its old age) and forces me to format and reinstall CentOS again. I have ...
0
votes
0answers
31 views

Blank screen when installing CentOS 7 on Xenserver

Similar to this question: Linux install goes to blank screen I have the CentOS 7 template, more than 2 GBs of RAM, I'm using the minimal installation latest file, XenServer 6.5. When I go to any ...
0
votes
0answers
11 views

How can I customise root partition (/) volume size in VM ( Centos7) creation using Packer?

I'm creating a vmware machine("type": "vmware-iso",) using packer. By default it creates /(root) partition with size appx 40 GB(not sure why? default ?). Now I am struggling to find out a way through ...
0
votes
1answer
10 views

Possibility to convert ppd from OSX to CentOS linux

I have one issue and that is, I cannot set our plotter to work with cups server. I have Canon imagePROGRAPH iPF755 Plotter machine and I have set CentOS 7.6 to be a print server for all our printers. ...
-1
votes
1answer
46 views

Missing dependencies gd and libgd.so.2 installing nginx on Centos 6 [closed]

Missing the above dependencies when trying to install Nginx from EPEL on Centos 6. I've copied the outbpt below: # yum install nginx Loaded plugins: fastestmirror, priorities, replace, security ...
-1
votes
1answer
58 views

How to disable SELINUX using grub?

I accidentally enabled SELINUX and reboot the system without knowing it's consequence. Now, I can't access the login system in my CENTOS 7 unit. What I've tried so far: https://serverfault.com/...
1
vote
1answer
44 views

Bandwidth utilization is more than max speed

Ethtool shows max speed is 1Gb/s. But in glances/SAR results in more than 1.7Gb/s. Can somebody clarify this... # ethtool ethX | grep -i speed Speed : 1000Mb/s there is no dropped packets till ...
0
votes
2answers
47 views

nmcli won't let me remove DNS entry from /etc/resolv.conf

Centos 7.5, nmcli version 1.20.2 Whenever I try to remove entries from /etc/resolv.conf I get the following errors. [root@client ~]# cat /etc/resolv.conf # Generated by NetworkManager search home ...
0
votes
3answers
37 views

Move or rename subfolders

I have a folder structure like this: /ms/files/a/ /fb/files/a/ /db/files/a/ It should be like this: /ms/files/b/ /fb/files/b/ /db/files/b/ I can find the folders I need to move or rename using ...
0
votes
0answers
118 views

Missing /lib64/libstdc++.so.6: version `CXXABI_1.3.8' and CXXABI_1.3.9' on Centos 7?

I'm trying to run a certain program and I get the errors /lib64/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by ./software1_runtime) /lib64/libstdc++.so.6: version `CXXABI_1.3.9' not ...
0
votes
0answers
61 views

File contains no section headers on Centos

When I tried to install CMake but writing the following sudo yum install cmake I got the following error File contains no section headers. file: file:///etc/yum.repos.d/mcepl-vim8-epel-7.repo, line:...
2
votes
1answer
62 views

How can install mod_evasive or mod_security with httpd24

I'm trying to install mod_evasive and mod_security vainly, with httpd24 under Cenots 6.10. I have tried this solution : https://github.com/shivaas/mod_evasive, downloaded : mod_evasive24.c $...
0
votes
1answer
13 views

Adding .htaccess to Wordpress results in 500 Internal Server Error

I am moving a Wordpress site to a new dedicated host. I have managed to move the assets and import the wordpress database. I update the wp_options to the tempory domain name (until I'm ready to make ...
0
votes
1answer
68 views

Starting just an X server on a minimal installation

I need to run a program that I haven't developed, the issue is that even if it doesn't run any GUI interface (can be used on silent mode) it still requires an X server running because of the way it's ...
0
votes
1answer
23 views

linux aplication binary files location - how to find out?

An application usually consists of 3 different file types : binary files configuration files application data Where does Linux (CentOS, RHEL) store the binary files for a given application / how ...
0
votes
1answer
39 views

SFTP SELinux ssh_chroot_full_access

I always configured SFTP on Centos 6 like this: https://www.linuxtechi.com/configure-chroot-sftp-in-linux/ Where in the comment this item appeared: setsebool -P ssh_chroot_full_access on From the ...
-1
votes
0answers
17 views

How to use a CentOS HDD on another CentOS PC

My CentOS 5 server crashed (for unknown reasons).  I have the hard drive connected with USB to my laptop, which runs CentOS 7.  How do I mount this drive so that I can extract some of my important ...
3
votes
1answer
63 views

ZFS on Linux: cannot destroy snapshot, dataset is busy

I'm trying to delete a bunch of old ZFS snapshots but I get errors saying that the datasets are busy: [root@pool-01 ~]# zfs list -t snapshot -o name -S creation | grep ^pool/nfs/public/mydir | xargs -...
0
votes
1answer
26 views

Running a service on CentOS as a system user other than root

I've created a system user jackett (useradd -r jackett) and I'm trying to run a systemd service under it on CentOS 7. Service File: [Unit] Description=Jackett Daemon After=network-online.target [...
0
votes
2answers
43 views

side effects of disabling selinux

A few days ago I ran into a big problem and asked it here and I found out that selinux was the cause of that. I have some virtual and physical machines with CentOS 6.7 or 6.9 as OS. They all have ...
0
votes
0answers
44 views

Cannot use SSH after one night

I am using CentOS 7 server. Yesterday's night, I lean using SSH and SFTP. Everything is ok. I connect to SFTP via File Zilla on macOS 10.14.3 SFTP: sftp://103.48.194.xxx user: root password: **** ...