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]

Community ENTerprise Operating System; a Linux distribution based on Red Hat Enterprise Linux widely used on web servers.

0
votes
1answer
17 views

how do I ssh Linux VM over virtualbox from windows

I spin up a Centos7 virtual machine over Virtualbox and trying to access via ssh from putty over windows from another machine in a same network, below are the details of my VM: IP addresses: Windows ...
0
votes
1answer
22 views

Home server becomes unresponsive after indeterminate time

I've been having an issue with a home server of mine (mostly used for plex) becoming unresponsive after steadily decreasing amounts of time. I originally noticed the issue a few months ago but put ...
0
votes
1answer
31 views

CentOS 7: installed devtoolset-7, but GCC 7.8 is using GCC 4.8 installation's old C++ include files

I'm trying to compile and install Pistache on a CentOS 7 machine, following their instructions. This is a package that requires C++ 11, so since the Development Tools package on CentOS 7 installs an ...
0
votes
1answer
28 views

CENTOS command won't run on startup

I have rtorrent installed and I am trying to run this command so it runs automatically on startup: screen -S rtorrent -d -m su root -c "rtorrent" I added it to: nano /etc/rc.local But nothing seems ...
-1
votes
0answers
14 views

Authentication token manipulation error for root password update

Without changing the password, I suddenly could not log into the centos 7 root account, while the system says the password is not correct. I have a user under sudoer group, so I did "sudo su" and ...
0
votes
0answers
6 views

Username canonicalization in kerberos tickets

I have following problem with my system. Server-Linux is attached to Active Directory and hasAD-REALM. Client-Linux is attached to freeipa and has LINUX-REALM. Freeipa trusts Active Directory (one ...
0
votes
0answers
38 views

VPN over layer 2 setup

Firstly, I'd like to mention, that I have only some IT knowledge, so I'm looking forward for you correcting me everytime I get something wrong :) Also, I'm not expecting cmd-by-cmd solution, although ...
0
votes
0answers
13 views

yum update failed “StopIteration” hdr = idx.next()

Just trying a routine yum update And first got this: ... Cleanup : ncurses-base-5.7-3.20090208.el6.x86_64 ...
1
vote
0answers
11 views

Give access to CloudFlare IPs in iptables

I trying to DROP all requests except CloudFlare requests, and give SSH access to a certain ip. so I write this rules : iptables -P INPUT DROP iptables -P OUTPUT ACCEPT iptables -P FORWARD DROP ...
0
votes
0answers
12 views

Lost connectivity after creating macvlan

I am a complete noob at Linux networking, but I have a homeserver with a bunch of KVMs for various services. Anyway all the KVMs have macvtap interfaces, which means that by default the host cannot ...
0
votes
1answer
49 views

FFMPEG - why do I end up with old version after installing?

I managed to install FFMPEG on Centos via WHM following this guide. But when I run ffmpeg -version I get: 2.8.15 ...whereas the official site says the latest version is 4.0.2. How can I update my ...
0
votes
1answer
8 views

How to make UFW work with firewalld on CentOS 7?

I've installed UFW on a fresh CentOS 7 installation, but it doesn't open the ports. I'm configuring UFW as I would on a Debian system: sudo ufw default deny incoming sudo ufw default allow outgoing ...
2
votes
1answer
11 views

Will enabling the debug shell affect the systemd shutdown sequence?

I'm troubleshooting an issue where CentOS stops at "Reached target Shutdown" when I issue a reboot command. In other words the system does not reboot but remains as is after printing the mentioned ...
0
votes
0answers
14 views

Centos 7 on vmware stopped while booting

I suspended CentOS 7 on VMware while updating and later when I tried to boot the virtual machine it stopped here: I tried to repair virtual machine but this error repeats. I don't have access to ...
0
votes
1answer
35 views

Apache not executing PHP on CentOS 7 in browser

I've installed the following: [root@localhost conf.d]# yum list installed | grep 'http' httpd.x86_64 2.4.6-80.el7.centos.1 @updates httpd-tools.x86_64 2.4.6-...
0
votes
1answer
25 views

Nothing happens after yum install php72 php72-php-cli

I ran the following commands twice to ensure it's installed: yum install php72 php72-cli returns Package php72-1.0-1.el7.remi.x86_64 already installed and latest version now running php -v ...
0
votes
0answers
12 views

Unable to connect to Bamboo server on centos

I have installed an Atlassian Bamboo server on a remote Linux machine. After running the start-bamboo.sh script and starting the server I am trying to reach it from my personal computer, and I am not ...
0
votes
0answers
10 views

DRBD - /dev/drbd0 is missing after reboot

I've found out that block file /dev/drbd0 was missing after reboot Please advice. lrwxrwxrwx 1 root root 10 Oct 24 15:20 pgsql -> /dev/drbd0 You have new mail in /var/spool/mail/root [root@...
1
vote
1answer
30 views

SSH agent forwarding mixed with su user -

If I ssh to my server as such: ssh root@<ip> -A Then I do this remotely: ssh git@github.com # Hi username! You've successfully authenticated Then this remotely: su user - Then this ...
0
votes
1answer
22 views

Correct Version of ffmpeg

I'm having issues replicating a centos 6 instance. It looks like I have 2 versions of ffmpeg on my old server: ffmpeg -version gives me: ffmpeg version 1.2.5 built on Jan 30 2014 19:45:47 with gcc 4....
0
votes
1answer
21 views

Setting up a reverse proxy without opening an incoming port (only an outgoing port) on the firewall

I've received an unusual request to which I'm not sure there's a solution. My client wants to host a web application on Machine A, and have it accessed only by visiting a URL of the publicly-...
0
votes
1answer
46 views

VirtualBox: Creating isolated web server accessible from internet with restricted access on LAN

I am sure this question has been answered before, but I can't seem to find a workable answer. I have a CentOS 7 virtual machine running inside VirtualBox 5.2.20 hosted on a Windows 10 Pro computer. I ...
0
votes
0answers
22 views

Ec2 Instance Root-Volume with market place codes went to Read-only mode

We have an EC2 instance in the North Virginia Region in which the root volume went to read only mode all of a sudden. The root volume(XFS fs) has market place codes for the centos ami. I have tried ...
1
vote
1answer
28 views

yum transaction error when trying to install RPM built from RPM spec file

I use a meta package to manage software and common dependencies across several lab systems, and until today, this has worked great. However, after a recent build every RPM spec file directive to copy ...
0
votes
0answers
17 views

ReadOnly Access for members of Active Directory Group

I have a Linux host that runs on CentOS 7, joined to domain through realm. My goal is to provide ReadOnly access to one of the AD groups say "LinuxRO-USR", the users of this group should only be able ...
0
votes
0answers
23 views

Cannot do su in CentOs

I have troubles with su on system that is attached to Active directory. [user1@host_test ~]$ su - username Password: su: Permission denied [user1@host_test ~]$ But i can access server with ssh [...
2
votes
1answer
89 views

How do I format an NTFS drive on CentOS 7 so that I can also use it in Windows?

We have a LIDAR system that collects data in the field. The computers that process the raw data are Windows computers so we use NTFS. However, the LIDAR system itself runs CentOS 7. Normally this ...
0
votes
1answer
11 views

snmpwalk v2 unknown token (centos)

I've installed opennms on centos7 but when trying to enable snmp on it I keep getting the unknown token errors. Such as comsec2, group, view, access. The command I'm trying to run is: snmpwalk -v 2c ...
0
votes
0answers
17 views

pyanaconda yumpayload.py while installing custom CentOS

I have added grub2 efi packaged to package folder and used below command to create repo createrepo -v . I didn't do any changes in comps.xml as an entry with grub2efi is already present in packages ...
0
votes
0answers
33 views

Headless CentOS 7 on iDRAC: eject commands (specifically -t) fail to close dvd tray

We're doing a lot of experimentation with a sever environment that has required several consecutive wipe/reinstall of CentOS 7. It's a headless, rack-mount server, and we're installing from a DVD. It'...
0
votes
1answer
25 views

Keytabs generation issue

I have troubles while creating keytabs for user. Keytabs are working only when I have rc4-hmac encryption enabled [root@host ~]# klist -kte test_user.keytab_rc4 Keytab name: FILE:test_user....
0
votes
0answers
46 views

Customized CentOS7.4 mininal iso not working for uefi

I am trying to create custom iso with CentOS7.4 mininal. For testing the command which i used to create iso. I did the following Unpacked Centos minimal iso. Copied contents to other directory I ...
2
votes
1answer
19 views

Can iptables change its rules based on the network you're currently in?

Does iptables have a way to automatically adapt some of its rules or just straight out switch which rule sets it's using based on what your current network is? I have a lot of uses for something like ...
0
votes
0answers
43 views

Pihole on CentOS 7.5.1804 - lighttpd failed to start

After updating my CentOS 7 server, the Pihole admin page no longer loaded. Investigating the issue, I found that the lighttpd service was failing to start. [root@x ~]# service lighttpd start ...
0
votes
1answer
61 views

Size of boot image is 48 sectors -> No emulation

I am trying create iso (supporting uefi) as follows, genisoimage \ -follow-links \ -o $dir/$iso_name \ -b isolinux.bin \ -c boot.cat \ -no-emul-boot \ -eltorito-alt-boot \ ...
1
vote
0answers
30 views

Unable to update yum packages using CentOS 7.5

I have been getting the following error while updating yum packages. http://mirror.centos.org/centos/7/os/x86_64/repodata/repomd.xml: [Errno -1] Error importing repomd.xml for base: Damaged repomd....
0
votes
0answers
34 views

Syntax highlighting for PowerShell on Linux?

With PowerShell on Linux (pwsh), is there a way to get syntax highlighting on the console in the same way that it works by default in the Windows console?
0
votes
1answer
47 views

Disabling Network Manager in CentOS 7 and enabling network.service causes 'Network is unreachable' error

I installed CentOS 7 using the minimal ISO on my Proxmox VPS, configured my ifcfg-eth0 file. After that I was able to use yum update, ping 8.8.8.8, connect via SSH, etc. After following this guide to ...
0
votes
1answer
71 views

yum broken when I interrupt updating nss-softokn-freebl-3.36.0-5.el7_5.x86_64

My system is centos7. [root@centos7 caiyiheng]# uname -a Linux centos7 3.10.0-229.el7.x86_64 #1 SMP Fri Mar 6 11:36:42 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux My system run in a virtualbox. When I ...
0
votes
1answer
17 views

Return to ec2-user from a custom user

When creating an ec2 instance I use a bootstrap script. On the instance I install and configure an nginx web server. For security reasons, I need to create a new user (www-data). The www-data user ...
0
votes
1answer
33 views

Tracepath not working in Centos 7 with Vagrant

I'm attempting to use tracepath to get the traceroute for a bunch of URL's, but it's not working correctly. For every URL I try It just returns the same result e.g [vagrant@centos7 ~]$ tracepath ...
1
vote
0answers
125 views

Smartcard authentication on CentOS

I tried to implement a smart card authentication in a Samba4 domain (Samba AD). Currently I have two domain controllers (CentOS), a file server and several clients (CentOS and Windows). In regards to ...
0
votes
0answers
17 views

VMware Host-only connection to web server from host

I've set up apache and the relevant firewall services on CentOS 7. If I set the network to bridged then I can access the web server from the host computer using 192.168.0.87. However when I change ...
1
vote
2answers
80 views

ArchLinux Virtual Machine can only be logged in through SSH after logging in through virt-manager

I installed two ArchLinux virtual machines on my CentOS server with virt-manager on KVM. The ip addresses are 192.168.1.138 and 192.168.1.183. After installation, I installed OpenSSH and copied the ...
0
votes
0answers
13 views

CUPS on RHEL: Duplicate One Printer's Config (not all of cups cfgs) to Add Identical Printers With Same Configuration

I am just looking to take the settings of one printer (intermec px4i) and clone them(only editing hostname and addr.) or make some sort of template so i can add the rest of the px4i's on our network. ...
1
vote
1answer
9 views

Setenv list edit Centos 5.11

Been looking for an answer but nothing seems to give me a simple one-liner answer (I am not a computer genius). I want to edit one of the variables (I see them with setenv commant) on a centos 5.11 ...
3
votes
1answer
36 views

Problem with shared folder SAS University Edition on a Mac using Parallels Desktop

I've managed to install the SAS University Edition (SASUE) as a VM on Parallels Desktop 14. The appliance works, but the shared folder is not showing up. I managed to install the Parallel Tools onto ...
1
vote
1answer
14 views

windows network drive linux mount requires sudo after mounted

I am able to mount a drive to the linux box using sudo. sudo mount \ -t cifs \ -o 'vers=3.0,username=myuser,domain=mydomain' \ '//windows-ip/share-folder' ~/testmount/ This works great, ...
1
vote
0answers
92 views

Tunnel Gre between two hosts (vps and dedicated server)

Hello guys i need to resolve this problem (all server have installed centos 7): i'm trying to create a gre tunnel through vps (in Italy - OpenVZ) and a dedicated server (in Germany), but they do not ...
0
votes
1answer
46 views

use du to exclude mounted volumes but check root volume only

I am trying to check my disk usage, because my root volume is full. I'm on Centos 7.5. I thought that giving du the -x flag gets it to ignore mounted volumes. But when I check my disk usage on this ...