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.

0
votes
0answers
8 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
27 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
0answers
11 views

how to share file in samba from linux machine to linux machine [on hold]

Question 1 >> I need the steps for file sharing in Samba .... Linux machine to other linux machine , i am using Centos6.4 Question 2 >> & i have 50 user accessing samba file, in case if i add 1 ...
0
votes
0answers
10 views

can't open gnome-disks

I'm trying to open gnome-disks, using command: gnome-disks I get an error: (gnome-disks:466785): Gtk-WARNING **: 09:08:36.327: cannot open display: my login is root, and my server is cenOS7/...
0
votes
1answer
12 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
17 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 ...
0
votes
0answers
21 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 ...
-2
votes
1answer
18 views

Directory deleted in CentOS 6.8 Server [on hold]

I need to recover permanently deleted folders & file stored in a directory.I am using CentOS 6.8 server.
1
vote
1answer
31 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. ...
-1
votes
0answers
18 views

What issues might I face using the epel mainline kernel with CentOS? [on hold]

I'm upgrading a dual processor Opteron (Abu Dhabi) to a Ryzen 2000 series processor. I understand that there seems to be a minimum retirement somewhere in the 4.x kernels for proper boost support and ...
0
votes
0answers
10 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 ...
-4
votes
0answers
16 views

How to install Apache, Mariadb, PHP and phpMyAdmin on CentOS 6.10? [on hold]

What partition should I create for my server with 4GB of RAM, 2TB HDD to install programming language / tools / product / server program as follows: -> CentOS 6.10 -> Apache: v2.4.37 -> PHP: v5.6....
0
votes
0answers
21 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
31 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
21 views

How to add an app using a repo [on hold]

Find an application that does not already exist within your Centos VM. 2) Install the application. 3) Please provide the commands used to complete this along with the which repo you got the app from....
-1
votes
2answers
32 views

How do i compile linux kernel 4.19 on centos [on hold]

I am trying to compile the linux kernel into a binary (Trying to make a linux distro) on centos. I need a step by step walk through on how to do this.
-2
votes
1answer
14 views

Find process source which executing python scripts [on hold]

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
26 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
19 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
votes
0answers
11 views

CentOS7 Wake On Lan Stopped Working

I configured wake-on-lan (WOL) on my server running CentOS7 the other day using instructions I found here: https://www.lisenet.com/2016/set-up-wake-on-lan-wol-on-centos-7/ After suspending the ...
1
vote
2answers
35 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
33 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
29 views

Files mounted over NFSv3 are owned by 4294967294 [on hold]

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
28 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, ...
0
votes
0answers
13 views

Samba 4.7.1 multiple shares and access (CentOS 7.5)

I have started a file sharing server based on Samba 4.7.1 and CentOS 7.5 My goal is to setup private shares for groups or single users and one public share with only to read permission. I made ...
-1
votes
0answers
16 views

How to add a rewrite rules in apache server

I want to deploy a three different URL. The problem is while I am trying to access a careers.example-study.com it is automatically rerouted to example-study.com webpage. The details which i have a ...
-1
votes
2answers
41 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
29 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
0answers
17 views

CentOS 7 Packages with their dependency

I have a server Which CentOS 7 is installed on it. for some security reason i can't connect to internet and use yum or apt to get packages. if i want to install a new package on my server i'll have ...
0
votes
3answers
40 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
26 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
13 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 ...
0
votes
1answer
10 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
23 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
23 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.
0
votes
0answers
12 views

NAT issue between Centos 7 Host and Centos 7 VM (guest)

I have the following problem/request: I have a dedicated server with Centos 7 and i have installed vmware player on top o that. I would like to serve a website on the VM so my problem is how to ...
1
vote
2answers
41 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 ...
-2
votes
0answers
38 views

bash: /usr/bin/yum: /usr/bin/python3.7: bad interpreter: No such file or directory

my server is CentOS. Linux release 7.4.1708 kernel: 3.10.0-693.el7.x86_64 It is not possible to use yum package manager. Every command (install, remove, search etc.) will produce the error message: ...
0
votes
0answers
10 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
40 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 ...
-2
votes
0answers
42 views

Command is not executed when executed as service

I need to execute a command as a service. I followed the following tutorial to it(https://medium.com/@benmorel/creating-a-linux-service-with-systemd-611b5c8b91d6). Following is my script. #!/bin/...
0
votes
1answer
31 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
12 views

Cryptsetup-reencrypt permission denined

We are running a Centos 6.10 machine and need to encrypt a previously unencrypted filesystem. We are using the cryptsetup-reencrypt command as follows: cryptsetup-reencrypt --new --reduce-device-...
0
votes
0answers
19 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
23 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
40 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
37 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
38 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
0answers
26 views

Slow ext4 after fsck on system disk

I have this crazy thing where after a supposedly successful run of fsck on ext4 (after a few tries, though) the reading speed of everything is quite slow. That is until i try to re-read. The second ...
0
votes
0answers
16 views

Cannot load modules/mod_evasive24.so into server: /etc/httpd/modules/mod_evasive24.so: file too short error

I've been trying to configure mod_evasive on my apache server but it can't load the mod_evasive module which results the apache server to not get started mod_evasive.conf file LoadModule ...