Stack Exchange Network

Stack Exchange network consists of 174 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.

1
vote
1answer
102 views

Package libibumad is obsoleted by mlnx-ofa_kernel

I wanted to update a KVM virtualization suite (VMmanager KVM) running on CentOS 7. The error I am getting: Package libibumad-17.2-3.el7.x86_64 is obsoleted by mlnx-ofa_kernel-4.3-OFED.4.3.1.0.1.1....
0
votes
0answers
97 views

Gnome Desktop Fails to Launch After Updating xorg-x11-server

I installed xorg-x11-server v. 1.20.1-5.1.el7 last week, and when I rebooted my system, the Gnome desktop failed to launch. I used a LiveCD to get to a shell and found the following error message in ...
0
votes
2answers
41 views

Crontab error with php sendDiaryMail

I add the 30 22 * * * php /www/wwwroot/easy_xyz/xcat sendDiaryMail line in my crontab -e to like this: 30 22 * * * php /www/wwwroot/easy_xyz/xcat sendDiaryMail 55 0 * * * "/root/.acme.sh"/acme.sh -...
0
votes
1answer
24 views

iptables, vpn server, routing

I set up my server (let's call it server A) firewall so that no input/output rules be allowed, apart from: - incoming ssh conection - outgoing ssh connection This is working well by now! Now, i ...
1
vote
1answer
19 views

Send each VNC connection to a separate display

I want to use vncserver on a CentOS 7 server to send every new connected user to their own isolated display (virtual, not physical). Making virtual displays at server startup with the matching ...
-1
votes
0answers
47 views

Booting from SSD with CentOS 6.9 results in black screen (No Grub, nothing else after BIOS/EFI)

I just encountered a weird problem with my system. When I try to boot CentOS 6.9 I get a black screen from the beginning. I can not see the Grub bootloader or anything after selecting the disk to boot ...
1
vote
1answer
57 views

Gain Root Access to remote Server with sudo, su, and pkexec not working

I'm running CentOS7 on an old dell box that I repurposed as a home server. I also ssh into it from a remote location to make sure everything is running smoothly, and to do things like rsync my laptop. ...
0
votes
0answers
14 views

xRDP forces quit on login after reboot

I have a CentOS 7 VM which I access via RDP from Windows 7. I have been able to access it just fine until I recently rebooted the VM. Now when I try to login via RDP I get to the xRDP login screen and ...
-1
votes
0answers
47 views

Opinion on deleting /var/lib/yum/history files

I am looking for an opinion on removing /var/lib/yum/history files. Through an automation process, an application was added to a system of 400 servers that inadvertently and undesirably installed or ...
0
votes
1answer
33 views

How to delete centos update files that have been downloaded but not installed on a VM?

I have a centos 7 VM in VirtualBox that I'm using for development on an OSS project. I'm not worried about updates to the VM, but the VM has downloaded pending (important) updates and has now grown to ...
-2
votes
1answer
26 views

Find process source which executing python scripts [closed]

From last month some process is executing python scripts on my server with centos 6 with LAMP stack which are nothing but spam bots and eating server resources. Please check image below, How do I ...
1
vote
0answers
33 views

Mounting Case Sensitive ISO

I have an ISO whose file names and directories are case sensitive. When I mount this in CentOS 7.6 using the method I have always used: sudo mount -t iso9660 -o loop /location/file.iso /mnt/iso The ...
0
votes
1answer
27 views

How do I get a list of the ports which belong to preconfigured firewall-cmd services?

I want to open the following ports in my CentOS 7 firewall: UDP 137 (NetBIOS Name Service) UDP 138 (NetBIOS Datagram Service) TCP 139 (NetBIOS Session Service) TCP 445 (SMB) I can guess that the ...
1
vote
2answers
41 views

Is there a chance that a CentOS machine does not have RPM?

I am going to work on a remotely located CentOS machine without internet. I do not know its situation and it is very hard for me to move things between. In other words I have only one-shot for setting ...
-1
votes
1answer
53 views

Cannot login CentOS 7

I triple booted my laptop with Windows, Ubuntu and CentOS 7. I accidentally removed the /boot partition of CentOS so, now I cannot login in CentOS. Kernel missing on partition error comes when I try ...
1
vote
0answers
50 views

Files mounted over NFSv3 are owned by 4294967294 [closed]

I have a windows 2016 server which I added "server for nfs" role on and shared a folder using nfs permissions. On my Centos 6.4 server I have mounted the directory which I have shared on windows 2016 ...
0
votes
1answer
50 views

How to download rpm packages manually (without yum)?

I need to download .rpm packages into Windows for some reason. So I cannot use yum for downloading. Virtual machine option is not available either. Can I download .rpm packages manually? If yes, ...
-1
votes
2answers
58 views

How to install 'Development Tools' into a CentOS machine without internet?

I need gcc, make and other essential stuff on a CentOS machine. The thing is that the machine is not (and probably will not be) connected to the internet. Downloading the packages on some other ...
-1
votes
1answer
66 views

Xorg xorgxrdp update

update xrdp and xorgxrd on Centos 7.5.1804 , turns around on the outbuildings. currently in xorgxrdp.x86_64 0: 0.2.8-1.el7 and xrdp.x86_64 1:0.9.8-1.el7 xorg-x11-server-Xorg (x86-64) = 1.20.1 for ...
0
votes
3answers
55 views

remove dots from value

I am trying to write a script that shows me if a service is running or not. command: service ntpd status | awk '{print $5}' output: running... how can i remove those dots? or is there a better way to ...
1
vote
2answers
39 views

Postfix: Remove the software name in the email header

I need to remove the software name in the email header. Every time when I send the emails, the postfix server sent emails at the destination the emails headers include the following: by mail.example....
1
vote
0answers
17 views

FTP: Jail user to Home folder

Using Centos7 and vsftpd I would like to chroot the user "testftp" to his home folder /home/testftp. The client uses WinSCP on Windows. passwd: testftp:x:1001:1001::/home/testftp/:/bin/bash ...
1
vote
1answer
28 views

Ansible command returns change instead of success

I'm learning ansible and encountered a situation which is not clear. Running the following module command the result is a 'Changed'. ansible agent.example.com -i inventory -m copy -a 'content="Node ...
0
votes
2answers
66 views

In centos,how to switch to default gcc after switched to a higher version of gcc with devtoolset

I want to install several gcc with different versions in centos. The default version of gcc in centos 6 is 4.9.3. So I use devtoolset install a higher version of gcc. Then I switch to the higher ...
0
votes
1answer
26 views

How to find the source of library files

I'm using Centos 7 and I have got one library file "libtrs.so" so how can I know what is the incoming source of that file.
1
vote
2answers
44 views

How to read the output from an interactive program without it scrolling off the screen?

I am running fdisk on a device and I'm trying to list the supported partition types. The problem is that it immediately scrolls off the screen and I can't see it. I was using the latest Fedora on ...
0
votes
0answers
28 views

Cannot download anything in chrome because of xdg-open popup?

I am unable to download any file from chrome because of the pop up in google chrome. I have tried to download pdf and iso files so far. [msingh@centos ~]$ xdg-mime query filetype /home/msingh/...
1
vote
2answers
54 views

Mac Address filter in IPtables

I have an application on 2001 Port and i want allow some users with mac addresses to connect to this port. so i use this commands : sudo iptables -A INPUT -p tcp --destination-port 2001 -j DROP ...
0
votes
1answer
35 views

How to add a delay to the power button for accidental bumps

I have a miniature PC here with a large and prominent power button on the front which is easy to bump accidentally. The system is running CentOS 7 with systemd. I already know that I can set ...
0
votes
0answers
25 views

Install a source RPM from Fedora's rpms

I found a great package on Fedora Package Sources. It is hosted as source codes. The specific package is Syncthing, whose official website provides an rpm binary download. But I would like the ...
0
votes
1answer
39 views

How to reload NetworkManager after installing NetworkManager-wifi

I have a wireless card installed and nmcli reports that it is "unmanaged" with text in red that a "plugin is missing". Googling around led me to identify that I need to install the requisite "...
1
vote
0answers
168 views

Yum not found on Centos 7 “ No module named yum”

I recently installed CentOS 7 but have run into an issue with yum. I get the following error: There was a problem importing one of the Python modules required to run yum. The error leading to this ...
-1
votes
1answer
41 views

How to add existing user to an existing group in centos 7?

I'm trying to add an existing user called Jim, to the current group called hoho, that I've created. I've looked up the command, and this is all I got. useradd -g hoho Jim Then when I checked to ...
0
votes
1answer
48 views

Partitioning existing LVM physical volume and Create new LVM physical volume

My goal is to create new LVM physical volume named sda3. I installed the Centos 7.5 in such partitioning: Device Boot Start End Blocks Id System /dev/sda1 * 2048 ...
-1
votes
1answer
57 views

GLIBCXX_3.4.20 not found

My issue is: Failed (/usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by plugins) I have installed g++ (GCC) 4.9.1 20140922 (Red Hat 4.9.1-10) and centos version 6.10 (64 bit)
2
votes
4answers
96 views

Is there a linux command to copy a file to multiple other files based on the filename? [closed]

Is there a Linux command to copy a_b_c_d.jpg into a.jpg, b.jpg, c.jpg, and d.jpg so that each file is a copy of the original? It should extract the name from the original name, separated by _ and ...
0
votes
1answer
135 views

What is causing my EFI partition to become corrupt when booting CentOS after installation?

I am attempting to install the latest CentOS 7.5 x64 on small form factor PC ASUS Eee Box EB1037. It is an Intel Celeron J1900 (Bay Trail) with an onboard NVIDIA GeForce GT 820M. The installtion media ...
-1
votes
0answers
67 views

Disable devtoolset via scl

I am trying to find a way of disabling 'devtoolset'. I know that I can reopen a new shell and it will be 'disabled'. However I am having problem when using integrated terminal in VSCode. For some ...
0
votes
1answer
42 views

syslog-ng modification issue for unix socket

I am having issue researching the right way to go about a problem. The problem is the syslog-ng file in the salt master server at the moment only enforces unix-stream as follows: source s_sys { ...
0
votes
2answers
128 views

Unable to install openssl-libs

I'm trying to install dotnet-sdk-2.1 but it's failing due to that fact that openssl-libs isn't found. I've tried manually installing it using yum, but to no avail. yum repolist
1
vote
1answer
48 views

Transfer files from Virtualbox guest to host in script with smbclient

I'm trying to develop a script that will run on a CentOS 7 machine, but for now I am developing it in a Virtualbox instance (also CentOS 7). The script will be handling several tasks, but the part I'm ...
1
vote
0answers
48 views

Run two init.d scripts in one command [closed]

I’m trying to combine two init.d scripts to start two services at one. Current: $. service name1 start $. service name2 start Need: $. service name3 start Where name3 = name1 + name2
0
votes
1answer
23 views

Cent os error after installing

After installing centos in hp laptop i m getting this error and not able to use the system.
0
votes
0answers
15 views

How can I check which interface is connected to link when I install CentOS?

When I install the CentOS 6.8 Operation System: there are two network interfaces. one is connected link, the other isn't. I want to know how can I check which is connected link?
0
votes
0answers
48 views

How to create persistent device dummy0 on CentOS 7.4?

I need to give my server some additional IPs as IPsec VPN endpoint addresses (weird setup where our customer insists we use some of their public IPs on our end of the tunnel). The way I had it set up ...
0
votes
1answer
119 views

Unable to load SFP+

I am using CentOS7 7.5.1804. I have a Intel 82599 based 10gig SFP+ card. When I try my SFP's I get: failed to load because an unsupported SFP+ or QSFP module type was detected. I tried everything I ...
-1
votes
0answers
163 views

Failed to mount /. on boot CentOS 7

I am having trouble with this Virtual Machine. The image I'm using is a must-use due to the use case. It is cloned from another fully functional machine, and this system is provisioned by Bright ...
-1
votes
0answers
21 views

Removing a repo from yum, and any torrent client recommendation?

I have been looking to install a uTorrent on Centos 7 following this guide , but gave up due to issues with OpenSSL. Then I tried installing Transmission, and the Transmission website led me to the ...
0
votes
1answer
47 views

gdm not showing no more

I was using KDE 4.13 (maybe not sure) on Centos 7, apparently without any problem while during last boot it doesn't appear the login gdm screen. It seems it is going to appear but in the end the ...
-3
votes
1answer
35 views

Gnu/Linux: Listing files, with certain characters in the file-name, while in a different directory

How do I list all files and directories in the /etc/ directory, which have one or more digits in its file-name, and save the output to a file, in the home directory. The output must have the full ...