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
2
votes
1answer
1k views

LFTP exclude file extensions

I am trying to mirror directories with lftp but I don't want to download filetypes that are notoriously large like .mp4 and .swf. But I am having trouble with the regex - and seeming like the exclude-...
0
votes
0answers
35 views

CentOS/RHEL won't accept opened ports from outside. firewalld disabled

Can't seem to get any outside connections while hosting either MinecraftServer or UnturnedServer. firewalld is off. netstat -an | grep 25565 lists minecraft with tcp 0 0 0.0.0.0:25565 0....
2
votes
1answer
37 views

Allow passwordless root login on the serial console

I do a lot of local development work with (CentOS/RHEL) virtual machines. Rather than configuring everything with a default root password -- which, if exposed to the network, can be problematic -- I'd ...
0
votes
0answers
40 views

How to implement security profiles during installation of CentOS 8?

I am new to the Linux environment and I found CentOS to be a stable and secure operating system. I do not have much knowledge about the security profiles and how well do they protect the operating ...
4
votes
1answer
1k views

How to reset linux centOS 6.0 keyboard shortcuts with custom changes to default one?

On Single Desktop Environment.... I created some custom shortcuts, but currently I want to revert all the changes to default settings (which having no custom changes). Example: created like CTRL + N ...
8
votes
2answers
19k views

Linux install goes to blank screen

I downloaded both latest Centos and Fedora ISO and burned onto CD using Imgburn. I then first booted up with Centos CD on my old HP DC5000 computer. It appears to boot to the CD just fine and gives me ...
1
vote
1answer
1k views

CentOS 7: write failed: broken pipe when trying to reboot

Commands I've tried: sudo reboot sudo systemctl reboot Both commands just ask for my password for sudo then write: Write failed: Broken pipe Then they close the SSH connection and I can re-login ...
0
votes
1answer
948 views

How to create a volume group that is larger than 2 TB on a non-GPT system?

I've recently setup a CentOS 6 x64 server with 4x 3TB drives, running on top of a RAID-10 array. Current partition schema is as below; /boot 500M (Standard ext4) vg_root 10G (LVM) swap 12G (...
1
vote
0answers
21 views

What kind of actions trigger the below mentioned Cent OS logs

systemd: Removed slice User Slice of systemd: Stopping User Slice of systemd: Created slice User Slice of systemd: Starting User Slice of Someone please be kind enough to explain me these logs one by ...
1
vote
0answers
22 views

How to mount connected USB external HDD in CentOS 7?

All of the guides I've found say the first thing to do is to run fdisk -l, to identify the disk. Sadly it doesn't seem to show up on fdisk for me. Next I checked dmesg, which gives this output: [...
0
votes
1answer
27 views

Resolving message “Loading jwk to TPM2 failed!”

I'm at my wits' end on this one. A CentOS 7 box with a TPM module. If I reboot it from the terminal, it seems fine. But if I hard reboot it, it apparently gets stuck in this state, spitting out: Nov ...
0
votes
0answers
8 views

How to reconnect a logically disconnected (but still physically connected) USB hard drive after a reboot in CentOS 7?

I assumed it would just show up again, like it did after initially plugging in, but it seems after issuing a reboot command the drive is no longer visible. Before I rebooted the only place I could ...
2
votes
1answer
1k views

why centos7 free command output available value less than free value

I ask a question, In my centos7, why available value less than free sometimes I think available value is equal to free+buff+cache, available means when start a app how many memory can use? [root@...
0
votes
1answer
2k views

CentOS 6.6; java 7: libjli.so cannot be found

Background I have written a Java program to capture network packets. The code uses a wrapper API around libpcap and works nicely - as long as I run the program via sudo. I am now trying to figure ...
0
votes
1answer
1k views

Cann't start MySQL on my Linux server with Centos 7 OS

I have already installed MySQL in a Server (Centos 7) by the following commands: yum install -y mysql yum install -y mysql-server yum install -y mysql-devel After the installation, I type mysql and ...
0
votes
1answer
40 views

Enforcing TLS V1.2 on client communication?

I am after a sanity check to ensure that what I have been asked to investigate is actually achievable. I am currently building out a Centos7 server, which will be used to deliver files to AWS S3, ...
0
votes
1answer
4k 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
16 views

Does ss5 proxy server support IPv6?

Doesn't seem to work. My server have IPv6 activated and working. curl -6 directly also works, but not with the proxy. I have check the log and the error is "no IPv6 support"
1
vote
2answers
24 views

Forward journald Logs on CentOS7 to SIEM-Server

Is it possible to directly forward logs from journald to a Remote-Log-Server? I only see the option ForwardToSyslog in the /etc/systemd/journald.conf config file. Or do I have to forward it to ...
2
votes
2answers
8k views

run multiple instances of MySQL CentOS7

I need to have multiple instances of MySQL running on my PC. I did this: yum install mariadb-server mariadb => install mysql mysql_install_db --datadir=/var/lib/mysql => use mysql_install_db ...
0
votes
2answers
1k views

postfix & cyrus-SASL SASLDB2 0: NO “authentication failed”

We are setting up a Postfix mail relay to accept only authenticated smtp sessions and forward them to our backend smarthosts. CentOS 6.8 postfix-2.6.6-6.el6_7.1.x86_64 cyrus-sasl-lib-2.1.23-15.el6_6....
0
votes
0answers
19 views

ds-389 won't import 10rfc2307bis.ldif

I've installed the ds-389 LDAP server on CentOS7 (package 389-ds-base). I tried extending the schema by adding the file 10rfc2307bis.ldif to the /etc/dirsrv/slapd-auth/schema folder. After the file ...
1
vote
0answers
25 views

Memory information

I have a server with centos7 , installed with 8 memory modules. I want to know what specific memory is installed on DIMM_A4 for example. With dmidecode or lshw I get the information on all the ...
1
vote
2answers
2k views

I wiped my /etc/yum.repos.d

I think I seriously messed things up on my EC2 instance which I'm currently hacking on. I tried to install some rpmfusion repository from which to install FFMPEG, but it broke things and I wasn't able ...
0
votes
1answer
23 views

web server unreachable

I have a VM Linux (CentOs) machine. From there I try to run a CLI but this error occrs: request to https://XX.XXX.XX.XX/api/accounts/prelogin failed, reason: connect ETIMEDOUT XX.XXX.XX.XX:443 Can ...
2
votes
1answer
1k views

error: cant't find command linux when booting system

Recently I've installed CentOS 7 on my pc, previously I had debian 7 and manjaro installed. When I installed manjaro I overwrote the bootloader of debian and manjaro's grub recognized the two systems ...
0
votes
0answers
45 views

CentOS 7 black screen after installing openssh server

My cent OS 7 VM goes into blank screen after installation of openssh server.I tried to try this on another centos7 VM ,same issue occured. Every time when I do yum install openssh-server,all the ...
8
votes
2answers
53k views

Sendmail Attachment

I was wondering if it's possible to include an attachment with sendmail. I am generating the following emailfile.eml files with the following layout From: Company Name <example@nowhere.com> To: ...
1
vote
0answers
19 views

Cannot transfer data to Linux VM through FileZilla

I want to transfer from my local computer to my Linux (CentOs) VM through FileZilla. The file should be in this path in my Linux VM: `/etc/pki/ca-trust/source/anchors. But when I try to upload the ...
0
votes
1answer
2k views

Docker build via proxy returned TLS handshake timeout

I did try build Docker container, Internet resources access only via proxy. I did set proxy connection for Docker. Did use method 2 After did check this command [root@server01 docker]# systemctl ...
0
votes
2answers
1k views

403 http code appears when I go to a certain website

I wrote a PHP script to a particular site using a home computer for debugging. Script worked properly, when I tested it on a home computer. The script has stopped working when I deploy the script on ...
0
votes
0answers
11 views

Methods for agreeing to license on CentOS 8 Minimal install

How does one agree to the CentOS license agreement from the CLI after a Minimal Install? If there are ways of Agreeing beforehand, like with a Slipstreamed Windows install, I'd love to hear that too. ...
1
vote
0answers
94 views

Salt-master install CentOS 7 — can't find packages

I am trying to install salt-master on a new CentOS 7 server. When I run the yum install for salt-master, I get the below errors and the installation doesn't work. I seem to get the same errors if I ...
5
votes
2answers
1k views

First key pressed repeates forever

I just installed CentOS 6.4 on an old machine I acquired for a development box, but I am running into keyboard issues I can't get around. I start the machine and go to type a user name in and ...
1
vote
2answers
9k views

Mail Server on CentOS - Relay access denied

I have setup Postfix and Dovecot on my CentOS Server. Now I am using unsecure SMTP and POP/IMAP (ports 25 and 110/143). I can send mail locally to and from myself, but when I want to send email TO ...
2
votes
2answers
1k views

Veritus volume manager perl not avaliable

I am trying to install veritas volume manager on Centos 6.5 while running the script its throwing me Cannot find perl to execute
2
votes
2answers
1k views

NFS Share on Centos 7 Fails to automount

I have a fresh install of Centos 7. I cannot seem to auto mount an NFS share located on 192.168.254.105:/srv/nfsshare from the Centos client. Mounting the share manually however, works perfectly. /...
1
vote
1answer
1k views

/var/lib/puppet/state/agent_catalog_run.lock exists

I'm seeing the following error on CentOS 6.4: # puppet agent --test Run of Puppet configuration client already in progress; skipping (/var/lib/puppet/state/agent_catalog_run.lock exists) What should ...
0
votes
1answer
941 views

CentOS7 found wifi device use lsmod but nmcli

I could find my wireless device (rtl8188eu) using the command lsmod after updating the kernel to version 4.10 in CentOS 7 # uname -r 4.10.2-1.el7.elrepo.x86_64 # lsmod | grep 8188 r8188eu ...
0
votes
1answer
48 views

script to move files to Google Drive

I have a CentOS 7 server, no desktop gui. It's used for inbound/outbound VOIP call recording, my plan is to copy today's recordings to my Google Drive. I have seen multiple Google Drive Linux ...
0
votes
1answer
21 views

grub2-mkconfig not using /etc/default/grub?

I'm trying to add a kernel option "xxx" by adding it to the existing GRUB_CMDLINE_LINUX="xxxx crashkernel=auto rhgb quiet" line in /etc/default/grub, but after doing so, when I run grub2-mkconfig –...
0
votes
1answer
93 views

Allow SCP in RHEL CentOS 7 selinux

running rhel 7.6 (or centos 7.6) With selinux = enforcing doing an ssh in to or out of the system works, but doing a scp to the RHEL selinux system does not work. On the RHEL system if I do ...
-2
votes
0answers
14 views

Automatic joining AD with Kerberos - CentOS

After each server creation (we use centos), I must tape this line manually to join AD (via kerberos): #kinit user #net ads keytab create -U user #net ads join DOMAIN.COM -U USER createcomputer=$...
0
votes
0answers
16 views

Tomcat 7 / logback produces logs to /var/log/message & journactl

Since we change our server from Centos 6 / Tomcat 6 to Centos 7 / Tomcat 7, tomcat's logs have changed places. Before the were located inside catalina.out and now they are in /var/log/message (and ...
0
votes
2answers
1k views

Packet flow in a virtual bridge with two interfaces, centos 7

I am struggling to create a bridge firewall with iptables since I cannot find/catch packets flowing through a bridge with two interfaces in centos7. No ip addresses are configured on interfaces or the ...
0
votes
0answers
53 views

How to install PostGIS on CentOS 8 when Postgres comes from central repos?

On CentOS 8 I've installed PostgreSQL 10 using the packages provided by the postgresql module from CentOS repositories, instead of those provided by the official PostgreSQL YUM repositories. I ...
0
votes
1answer
53 views

Where can I find the Copyright information of .rpm file?

I can see the licence information about rpm file by executing below: rpm -qip {rpmfilename}.rpm but there is no information about copyright holder. Is there any easy way to know who has the ...
0
votes
0answers
13 views

Firefox starts up in Japanese from GUI, in English from command line

I've just installed CentOS 8 (build 1905). I use the system in English (with Hebrew as a secondary relevant language) - not in Japanese. After some initial activity (which doesn't involve playing ...
0
votes
1answer
58 views

Can the CUDA RHEL repo be used with CentOS 8?

I'm using CentOS 8 (build 1905) on some machine, and would like to install CUDA on it. It seems that other than a manual RPM download, there is also a YUM repository - for RedHat Enterprise Linux (...
-2
votes
0answers
33 views

Centos 7 cannot upgrade my Kernel

I follow the hint https://linuxhint.com/upgrade-kernel-centos-7/ and type this command at the kernel : rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org It gives the following error :...