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
1answer
930 views

Testing stunnel - tcpdump?

I have the following stunnel config on the server: chroot = /var/run/stunnel setuid = nobody setgid = nobody pid = /stunnel.pid cert = /etc/stunnel/stunnel.pem key = /etc/stunnel/stunnel.pem client ...
0
votes
2answers
1k views

Errno 5 Input/output error when running yum check-update

I tried to update a server over SSH, but when I ran yum check-update I got an error: [error 5] Input/output error I think this means the RPM libraries may be damaged or corrupt, but I'm not sure ...
3
votes
1answer
55 views

Resume Bash Script After Reboot

I have a bash script that changes some configuration in OS and database and it needs reboot then other commands are needed to be run. something like this: newvalue1= ip= . . some commands . ....
16
votes
3answers
35k views

CentOS - killall command (to kill all processes with names matching a given pattern)

I recently started using CentOS. I went to try to use the killall utility but found it missing, with me receiving a command not found message when trying to use it. How can I get this functionality ...
2
votes
1answer
1k views

Protected multilib versions: openssl

I'm running on Centos 6.2 x86_64 Trying to install ruby 2.1.2 ---> Package libselinux-devel.x86_64 0:2.0.94-5.2.el6 will be installed --> Processing Dependency: libsepol-devel >= 2.0.32-1 ...
1
vote
3answers
1k views

Need to install VirtualBox Guest Additions 4.3.8 in CentOS 6.3

My host system is OSX 10.9.2 and I'm running VirtualBox 4.3.8. In a Hadoop class I took recently, we were provided with a VM disk image preloaded with CentOS 6.3 and a lot of Hadoop-related ...
1
vote
1answer
1k views

502 Bad Gateway

I ran the following iptables commands to start pptp server: iptables -A INPUT -i venet0 -p tcp --dport 1723 -j ACCEPT iptables -A INPUT -i venet0 -p gre -j ACCEPT iptables -A FORWARD -i ppp0 -o ...
1
vote
1answer
43 views

/usr/bin/node no such file or directory

I currently broke my node setup by attempting to upgrade it following a tutorial. I added a symlink and I was told to just reinstall node on here since the symlink can't be undone. I went ahead ...
0
votes
0answers
53 views

CentOS7 OpenSSH won't start with machine and hangs when ran via systemctl

The SSHD service is enabled on my VM, however it does not start when the machine boots. Further, if I run systemctl start sshd it simply hangs. If I manually run /usr/sbin/sshd, it starts no problem ...
0
votes
2answers
26 views

Centos OS command to unlock domain account

I have CentoOS servers that are on my MS domain. I had another admin login to one with the wrong password 3 times. We have unlocked him on the domain but he is still locked out on that server. What ...
1
vote
1answer
50 views

What is the package release process at CentOS

What's the process if a security patch is available for a package on CentOS? I'm waiting for bind-9.9.4-74 Since 5 days, there are this commit 'import bind-9.9.4-74.el7_6.1' on https://git.centos....
0
votes
1answer
39 views

How to turn on syntax highlighting for vi/vim?

Running a minimal ISO of CentOS_7 I've tried writing a .sh script using vi but can't get syntax highlighting to work. Pressing escape and typing :syntax on as shown in articles like this one are not ...
1
vote
1answer
1k views

VPS: How to forward traffic to devices from public IP

My goal is to set up a public IP for a Android Smartphone which is running an "IP Cam" software. The interface can be accessed in local network on (example) 192.168.0.2:8080, but it has no public IP, ...
0
votes
0answers
15 views

XRDP single session per user

I would love to have a Linux CentOS 7.6 system here in the office where all users connect to and work on. But... there is a catch. Default XRDP sessions work nicely in a way that from a single machine ...
1
vote
1answer
26 views

PXE boot fails With “Could not locate boot server.”

My target machine with PXE enabled receives a lease from dnsmasq and prints a message UD: 192.168.10.123 which is the address of my dnsmasq/tftp server but then fails to get any further with "Could ...
0
votes
0answers
29 views

Empty /home/user folder for NEW users [duplicate]

I am new on Linux so I don't know if this is a normal behavior or not. I am reading a bit about how to manage users. The thing is that when I create a new user using the "adduser" command it creates ...
1
vote
2answers
1k views

Centos 7 - Recover mysql db from data files .frm and .ibd

I have migrated my operating system from Windows to Centos 7 without getting backup of mysql through mysqldump. Now I have mysql data files .frm and .ibd . I want to migrate them How can I migrate ...
0
votes
2answers
1k views

Trying to install CentOS 7 Server with manual partitioning but GUI is very different from CentOS 6

When I installed on CentOS 6, to get a "headless" or command-line only server with the manual partioning I wanted I went through the below steps: Choose "Install with basic video driver" Choose type ...
3
votes
2answers
7k views

How to make IPv6 static routes persistent on CentOS?

Static routes are forgotten once the network service is restarted. However, IPv4 static routes can be made persistent by adding them to /etc/sysconfig/static_routes. This file is read by the network ...
0
votes
1answer
2k views

how to increase cache memory in centos

I have been facing a insuffient space in "/var/cache/yum" directory. due to this my gui of centos crashes.i want to increase the size of cache directory. also want to know the actual size of cache ...
0
votes
1answer
2k views

selinux blocking vsftpd directory listing

I am trying to get a better understanding of selinux and configuring a local ftp repository on Centos7. I installed vsftpd on my host. I created a repository on my host: /var/ftp/pub/centos7 EFI ...
2
votes
5answers
2k views

Centos 7 and Windows 10 Dual Boot Grub Not Saving Last Choice

I have a dual boot system with CentOS 7 and Win10. My install was totally vanilla (CentOS then Win10) and went fine. Everything is great except that grub does not appear to save my "last" choice ...
0
votes
0answers
8 views

centos: run a single site on startup(browser-GUI) - without Desktop environment

what i want is when i start my centos 7 server(minimal) automatically to show to user this site youtube.com and user can just browse and not to do anything else. So there will be no desktop just ...
0
votes
1answer
46 views

rpmgraph: https://linux.die.net/man/8/rpmgraph USAGE and capabilities, Fedora, CentOs, RedHat

PROBLEM: I'm trying to get this program running, I want to make a topological map/graph of the dependencies and packages on a rpm system: rpm-devel-4.14.2-1.fc29.x86_64.rpm Fedora 29 Download gives ...
0
votes
1answer
2k views

Firewalld — interface not adding to zone

I have a peervpn interface "tap0" which I am wanting to accept all traffic from. Box is CentOS 7. My understanding is that I just need to add the interface to the "Trusted" zone. When I try this ...
0
votes
1answer
1k views

Configure a subdomain (Virtualhost) for phpMyAdmin

I have a problem with configuring a subdomain (Virtualhost) for phpMyAdmin. My current .conf look like this: <VirtualHost *:80> ServerName php.erichermansson.com ServerAdmin webmaster@...
0
votes
0answers
11 views

Printing output in full screen with auto detect for putty screen size

Using the following alias I were able to achieve BTC current price from Binance exchange. alias binance="curl -sS 'https://api.binance.com/api/v1/ticker/price?symbol=BTCUSDT' | jq -r '.price | ...
8
votes
4answers
14k views

What does it mean to be in group 0?

Several users in a system I inherited have their group set to 0 in /etc/passwd. What does that mean? Do they essentially get full root privileges? The system is running CentOS 5, and the users ...
1
vote
1answer
1k views

kernel headers and kernel devel

command rpm -qa | grep kernel output kernel-3.10.0-514.16.1.el7.x86_64 kernel-tools-libs-3.10.0-514.16.1.el7.x86_64 kernel-headers-3.10.0-862.9.1.el7.x86_64 kernel-devel-3.10.0-862.9.1.el7....
0
votes
1answer
25 views

Centos 7 RPM Packaging - Create a desktop shortcut during installation

I am developing a cross-platform UI with .Net Core and am packaging it using RPM Package Manager. I have created the RPM file to be locally installed. The %install section of my spec file looks like ...
0
votes
0answers
198 views

Centos 7.5: MOK Manager does not show up

I'm going to install VMWARE‌ drivers, i.e. vmmon and vmnet, on my CentOS. However since their signature and certificate are not installed on CentOS, I had to sign them myself and install my sign/...
1
vote
1answer
1k views

Configure Ident Server on CentOS 7

I am trying to figure out how to configure ident server on CentOS 7 but it looks like the ident package is no longer supported for CentOS 7. I don't want to install it from source due to some ...
1
vote
0answers
29 views

PXE boot a computer using Ironic Bifrost

I am using Openstack Ironic standalone using Bifrost. I followed this link link https://docs.openstack.org/bifrost/latest/install/index.html#introduction to install Bifrost on CentOS system in ...
6
votes
3answers
20k views

Removing /home LVM and merging in to /

[root@host.com ~]# pvdisplay -s Device "/dev/sda2" has a capacity of 0 [root@host.com ~]# vgdisplay -s ...
0
votes
1answer
1k views

IPTABLES comment: No chain/target/match by that name

Faced with error when adding new rule with 'comment': # iptables -I INPUT 1 --source 66.***.***.78 -j REJECT -m comment --comment "Some" iptables: No chain/target/match by that name. Without comment ...
0
votes
2answers
36 views

How to translate APT-Get install packages to YUM [closed]

I have a Raspberry PI, which I am required to use CentOS 7. I am also trying to use the papirus eInk display (https://github.com/PiSupply/PaPiRus) The drivers and dependencies installation ...
-1
votes
1answer
45 views

Rsyslog in not logging due to Selinux, is my workaround ok

I have these two parameters in /etc/rsyslog.conf $ModLoad imjournal # provides access to the systemd journal ... # Turn off message reception via local log socket; # local messages are retrieved ...
0
votes
1answer
1k views

Enable sssd caching and linux to honor that cache on CentOS 5

I wanted to enable sssd caching on CentOs and not to use nscd caching, because sssd itself is giving that option. However, authconfig is not giving the option for --enablecachecreds even on the ...
3
votes
1answer
64 views

error while loading shared libraries; file too short

I am working on a CentOS 7 workstation. I had installed Rstudio and it was working fine until recently. But now, if I try to launch it at http://localhost:8787/ I get an error that says Unable to ...
1
vote
1answer
1k views

How do I remove login password for Centos6.5?

Question 1 On Centos 6.5, I have a username called admin. How can I make it so the system logs in automatically? Question 2 How can I configure system to login as root user when there are other ...
10
votes
0answers
4k views

How to disable sudo related logging for successful command execution under CentOS/Fedora?

You can disable sudo related log messages via adding something like Defaults:juser !syslog to the sudoers file. That will disable logging to syslog. But under e.g. CentOS/Fedora there is an auditd ...
-1
votes
1answer
41 views

OpenSSL Crypto development libraries are not installed properly in required location

When I configure turnserver-3.2.3.95 in my CentOS, I meet the following problem. $ cd turnserver-3.2.3.95/ $ sudo ./configure more is /bin/more install is /bin/install pkill is /bin/pkill Use TMP ...
1
vote
0answers
42 views

Can't launch CentOS 7.6 installer if PC has M.2 NVMe PCIe SSD

A PC has a Toshiba 512 GB NVMe PCIe SSD. Windows 10 has been installed on it and boots OK. When trying to install CentOS 7.6 on this SSD, the system hangs during boot, and I can't enter the CentOS ...
0
votes
1answer
22 views

unable to connect with localhost (11.213.234.24) on port 9200 from vagrant

I am running vagrant from a virtual box with centos. Trying to connect my localhost on port 9200 from vagrant by using (curl -X GET 'http://11.213.234.24:9200'). Getting below error curl: (7) couldn'...
0
votes
1answer
117 views

sshd[5589]: error: PAM: pam_open_session(): Cannot make/remove an entry for the specified session

I am working with a CentOS7 minimal install. I configured pam_radius with pam_script and was always able to ssh to the server using pubkey auth: that was on purpose. But after hardening the server ...
0
votes
2answers
27 views

Echo shell log while entering and then exit

While I type a command, this command will authenticate with a remote server and do a bunch of things. If pass, it will give me a bash shell with its environment. My goal is to save these log which ...
0
votes
3answers
1k 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
2
votes
1answer
26 views

AutoFS not working as expected with CIFS shares

I have this setup Client: Centos 7.6.1810 up to date Server: Windows 7 pro AutoFS Configuration # tail -1 /etc/auto.master /srv/xray /etc/auto.xray # cat /etc/auto.xray cdm8240 -fstype=...
0
votes
0answers
18 views

centos: Xshell login server, prompt not shows $ or #

terminal tool in CentOS : [see20@localhost ~]$ terminal tool in XShell : [see20@localhost ~] no $ or # shows in XShell run in each termainl : printf '%s\n' "$PS1" output: [\u@\h \...
0
votes
0answers
28 views

Cannot bind TCP/TLS listener socket to addr XX.XX.XX.XX:3478

After installing and configring turnserver on a CentOS-7.X server, I meet the following poblem. $ ./turnserver ... ... 0: Cannot bind TCP/TLS listener socket to addr 39.39.39.39:3478 0:...