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
61 views

Cron jobs have stopped working due to PAM

My cron jobs have stopped working on my CentOS 7 server. The server is running WHM/cPanel. It seems like it is an issue with PAM service because in /var/log/secure I can see the following errors when ...
0
votes
1answer
24 views

Centos 7 python update package python-2.7.5-80 rpm

I am looking for this RPM python-2.7.5-80.el7_6.x86_64.rpm to address the security issue. yum update not getting this package? Any idea how to get this version of rpm for centos 7? Thanks Update ...
0
votes
0answers
15 views

What is the equivalent of systemd-analyze in CentOS 6?

systemd-analyze is the command to investigate time taken by each service during boot in CentOS 7. Is there a similar utility in CentOS 6 for doing this? update: extending the question after Lucas' ...
1
vote
2answers
15 views

How to enable firewalld without breaking application?

I have multiple CentOS 7 machines in the same LAN. Each one is communicating with a few others and having one or more applications installed that each listen on various ports (database, webserver, ...
2
votes
2answers
6k views

How to upgrade from Centos 7.1 to 7.2?

The software I'm using is only supported by CentOS 7.2. I tried sudo yum --releasever=7.2 update and get Cannot find a valid basurl for repo: base/7.2/x86_64. With sudo yum update takes me ...
10
votes
3answers
35k views

CentOS 7 update using “yum update” does not work

I have a VM running CentOS 7 that I have not used for a long time. Today I launched it and tried to update the CentOS system to the latest version using yum update, but I got a lot of errors: Loaded ...
2
votes
1answer
29 views

Stopping brute force attempts

"postfix/smtpd[28164]: warning: unknown[45.227.253.210]: SASL PLAIN authentication failed: authentication failure" Normally I'd use fail2ban however it seems that under the openvz container fail2ban ...
0
votes
1answer
1k views

Creating arbitrary directory in kickstart before %post

One of the non-OS packages that I need to install via kickstart config requires a pre-existing (non-standard) directory, is there a way to create arbitrary directory before %post in kickstart? ...
0
votes
0answers
10 views

XRDP Crashing on login on CentOS 7

I was happily using xrdp on my CentOS 7 vps, but I touched something and I broke it. I was trying to change the system language via terminal last time I've been able to access my DE. Here are ...
1
vote
0answers
10 views

systemd service start after network online and time synced

I made a system service for a python script, I want it starts on boot after the server is online and the time is synced correctly. What do I have to add in .service file? I tried in [Unit] with ...
0
votes
0answers
3 views

I broke xrpd on centos 7 while messing around language settings

I was trying to change my system language on my centos 7 vps. I tried following this guide : link to guide I put in this command and nothing happened. localectl LANG=it_IT.UTF-8 So I logged out by ...
1
vote
1answer
1k views

Number of open file descriptors won't change when I set them in CentOS 6.3?

uname -a Linux lab.testing.com 2.6.18-164.el5 #1 SMP Thu Sep 3 03:33:56 EDT 2009 i686 i686 i386 GNU/Linux ulimit -Hn 1024 ulimit -Sn 1024 ulimit -n 1024 I opened /etc/sysctl.conf in vi and added ...
1
vote
2answers
8k views

Install Samba 4.4 on Centos 6

I am running Centos 6.8 and would like to install a higher version of Samba. I am already running Samba, but I think I need some of the newer features (like Spotlight support). Normally I try to ...
0
votes
0answers
19 views

Why is my static IP configuration not working in CentOS 7?

I installed a fresh version of Minimal CentOS 7. I can ping google.com when it is set to dhcp. When I run nmcli -p dev I receive: enp2s0f0 ethernet connected enp2s0f0 lo loopback unmanaged -- ...
41
votes
5answers
362k views

How to create a FTP user with specific /dir/ access only on a Centos / linux installation

So I'm on a VPS - CentOS Linux installation. I have vsFTPd on the server. I currently have SFTP access to the server via my root user, but am now trying to create a new user with FTP access to a ...
0
votes
0answers
14 views

How can I install postfix-pcre on CentOS 7

For Ubuntu I can install this by running sudo apt install postfix-pcre How am I able to install this for CentOS 7?
2
votes
1answer
3k views

How to remove password prompt when executing su <user> command in CentOS 7?

I have two users in my CentOS system User1 and User2. I am logged in as root user and trying to add User1 to sudoer list using visudo. I have entered the following line at the end of the file User1 ...
0
votes
0answers
19 views

Centos7 Delete .htacess file [on hold]

i have created a .htacess file for my site and now im getting a 500 error on the site, how can i delete the file to start again. Thanks in advance
0
votes
0answers
14 views

Error within /var/log/messages for new SSD

'm getting this message on a new server build running CentOS 7 and am confused by it. This was a brand new 500gb Crucial SSD drive I bought and installed only a couple months ago. I get this every ...
0
votes
1answer
13 views

Centos7 libvirt permission issues qcow2 images

This is all on a clean install of Centos7. Installed from minimal image, updated and then the following guide followed. Following this guide: https://www.cyberciti.biz/faq/how-to-install-kvm-on-...
0
votes
1answer
24 views

Is it possible to give alias name to ip address with port number in CentOS 7

I have one question regarding given alias to ip address with port number. For example I am executing jenkins in my local system in port number 8080 and nexus in port number 8081. I will accessing ...
5
votes
2answers
18k views

How to install/setup mutt with Gmail on CentOS and Ubuntu?

How to setup the email client Mutt to send, receive and read email under CentOS and Ubuntu using a Gmail account as a relay
0
votes
0answers
17 views

CentOS virtual console is displaying blank with a blinking cursor

I have been working on this issue for a while now and cannot seem to get anything working. Overview: I have the latest CentOS 7 1810 build (within VMPlayer) Building an application to run on CentOS ...
1
vote
1answer
4k views

Host-only network adapter (enp0s8) not starting on boot in CentOS7

I've installed CentOS7 in virtual box. I've 2 network cards - one host-only (vboxnet0) adapter enp0s8 (which I want to be static) and the other the NAT adapter enp0s3. The host-only adapter never ...
0
votes
0answers
6 views

how to control the mousekey on gnome3 in centos7

After I recently switched to the mouse key, the cursor speed is too slow. There is no xkbset command. How do you do that?
1
vote
2answers
130 views

Install custom perl modules

I have build an RPM from a proprietary software collection in a CentOS 7 environment but the build process required executing some Perl modules (.pm files) found within the source itself. When I ...
-1
votes
0answers
5 views

Centos 7 PHPVBOX [on hold]

I am getting alot of errors when I try to set up a phpvbox from my home server running centos 7. Are there any good tutorial to watch about the set up process.
1
vote
1answer
7k views

CentOS 7 - No packages marked for update

With yum update I'm not able to update packages. I have tried every possible solution which is provided like yum clean, yum repolist, etc but none of this seems to solve this problem. sudo yum update ...
4
votes
3answers
18k views

How to start application after login on CentOS?

I am trying to start GUI application with upstart script on CentOS. I have test script located /etc/init/ folder. start on desktop-session-start stop on desktop-shutdown respawn script export ...
5
votes
6answers
46k views

No IP address on VMware running centos 7

I just now installed Cent OS 7 on my VMware 8 and I am not able to connect it to a network. I checked the VM network and its mapped to the physical NIC. The same setting work like charm on my CentOS ...
0
votes
1answer
39 views

Can be ping-ed but failed to SSH (Might be server hangs)

We have a server that can be ping-ed but failed to SSH. Here's the verbose of ssh [user@/etc]$ssh -v user@111.111.111.111 OpenSSH_5.3p1, OpenSSL 1.0.1e-fips 11 Feb 2013 debug1: Reading configuration ...
1
vote
2answers
889 views

TigerVNC installation on CentOS 7 (as in Red Hat System Administrator's Guide )

I want to install TigerVNC on my freshly installed CentOS 7 server, version centos-release-7-4.1708.el7.centos.x86_64. So besides other tutorials I've tried already, I followed the Red Hat guide. ...
1
vote
1answer
1k views

Can't set the locale (man-db.cron)

Everyday I am receiving an email with the following content /etc/cron.daily/man-db.cron: mandb: can't set the locale; make sure $LC_* and $LANG are correct When I check the results of of /etc/...
-1
votes
2answers
26 views

Is it safe to disable clamscan and clamd services on linux server

We have a dedicated CentOS server with 8 CPUs. We often observe clamscan and clamav taking too much CPU. I have heard experts saying linux doesn't require an antivirus. If that is true, is it safe to ...
1
vote
1answer
1k views

using cpu.cfs_quota_us and cpu.cfs_period_us to limit CPU usage

There are 32 cores in a system (2 cpus each 16 cores) and I want to limit a user to use only 4 cores (100% usage for that 4 cores). There are two kernel parameter for that according to the manuals: ...
0
votes
1answer
86 views

CentOS 7: When building Mapnik, the configure step does not find optional dependencies like libpng-devel, libjpeg-devel, etc

I am trying to build/install Mapnik (3.0.10) on a CentOS 7 system and I am having trouble getting all the dependencies in place and recognized. I have installed gcc/g++ compiler from the gcc6 series ...
-1
votes
0answers
13 views

Disabling automatic hiding of launcher sidebar in centos 7

How does one prevent the launcher sidebar (if that is what its called) from auto hiding in CentOs 7? The only way to make it visible right now is either by pressing super or hovering the mouse ...
0
votes
0answers
14 views

Fuse filesystem hangs

I have CentOS 6.10. My fstab file contains this mount point: curlftpfs#ftp://free:free@ftp.zakupki.gov.ru/ /mnt/eis_ftp_44fz fuse ro,noauto,intr,nosuid,nodev,direct_io,no_remote_lock,connect_timeout=...
0
votes
0answers
1k views

Booting from CD in CentOS

I am trying to modify the grub boot manager in my CentOS machine so that it can boot from a CD-rom. The method I am most familiar with (and the method that all of my Google searches tell me to do) ...
0
votes
0answers
15 views

update-ca-trust extract not adding certificates to ca-bundle

CentOS Linux release 7.6.1810 (Core) Kernel 5.1.11-1.el7.elrepo.x86_64 I put a cert-file to /etc/pki/ca-trust/source/anchors File looks like that: -----BEGIN CERTIFICATE----- ...
1
vote
1answer
4k views

Centos 6.6, resize partition

We have a Centos server as a virtual machine where the / path is getting full. So we want to resize the partition from 50GB to 70GB. I followed this guide https://www.thomas-krenn.com/de/wiki/...
0
votes
2answers
1k views

Tomcat 8 doesn't start

Upgraded tomcat 6 to 8 on Centos 7. I get this error in logs: /usr/local/ctera/apache-tomcat-8.0.14/bin/catalina.sh: line 421: -Djava.endorsed.dirs=/usr/local/ctera/apache-tomcat-8.0.14/endorsed: ...
0
votes
1answer
17 views

linux system stuck and show kernel log

The system version is centos6.5, it stuck today, and there is no log at all in /var/log/messages, When I connect the host with a display device, it shows log blow: and the mouse and keyboard were ...
0
votes
0answers
13 views

CentOS 7: Why am I still getting this “built with.. but.. running with” error?

Presently I am getting the error: Application built with libpng-1.6.16 but running with 1.5.13 Upon getting this error I tried reinstalling* libpng1.6.16 from source per this guide, which seems to ...
0
votes
1answer
900 views

CentOS server failed to mount /sysroot: bad initramfs?

Our VPS SSD host based on KVM has experienced crashes during the last months: I was given just two screenshots of logs from my collegues and no journalctl log at all. We have two other hosts but from ...
0
votes
1answer
1k views

pip not working after installing another python version

My CentOS 6.5 machine already had Python 2.6 installed in it. Now I just installed Python 2.7. But now, pip is not working. Whenever I run any pip command, it shows following error- File "/usr/bin/...
0
votes
0answers
35 views

Permission denied for imjournal: rename()

after disabling and enabling SELinux the Apache and MySQL cannot start, this error shows in messages.log: imjournal: rename() failed for new path: '/var/lib/rsyslog/imjournal.state': Permission ...
0
votes
1answer
1k views

Kernel Panic on CentOS - Google Compute Engine Instance

I'm getting a kernel panic error in a CentOS instance of Google Compute Engine. I'm able to see the error and already figure out how to solve it, but I can't get into the GRUB menu trough the serial ...
-2
votes
0answers
10 views

Cacti Server v1.2.3 PHP error Timezone on CentOS

Why do I get this PHP timezone error?
1
vote
1answer
877 views

how do I manage dependencies for this manually installed rpm file?

How do I manage the dependencies while manually downloading and installing these rpm files? Googling the names of the rpm files results in differently-named rpm files. I cannot use yum install ...