Stack Exchange Network

Stack Exchange network consists of 175 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
1answer
173 views

traceroute command: replacement or alternative

On recent Linux based operating systems there is no ifconfig and traceroute. Some functionality has been incorporated into the ip utility (see here for examples), but I have not found a replacement ...
0
votes
1answer
22 views

Centos 6.7 in a laptop does not detect network interfaces but detect network hardware

I am installing CentOS 6.7 in my laptop, I have Windows 10, Centos 6.7 and Ubuntu 18 installed, but CentOS is the only OS that is not detecting any network interface, wired neither wifi. I used ...
0
votes
1answer
34 views

Prevent FTP users from moving directories

I'm essentially trying to disable the mv command for FTP users on my CentOS server. I was thinking of editing their .bash_profile file and using this: alias mv="" But that feels system breaking. ...
0
votes
0answers
61 views

CentOS 6.6 - Another df vs du issue

I know this has been discussed many times, but I couldn't find my solution anywhere. I have a CentOS 6.6 system that has the root filesystem with 28GB used when I use df command. However, du shows me ...
0
votes
0answers
28 views

Able to Connect to vsftpd server using Windows 7, but getting error using Ubuntu 14.04

I tried connecting to my FTP server (vsftpd/CentOS 7/Alibaba Cloud ECS) from my Window 7 system installed on a VirtualBox using FileZilla, and it seems to be working fine. But in my default system, ...
-1
votes
1answer
20 views

crond php server crash

My CentOS server crashed with 100% memory with swapping, after running fine for a week. Investigating the /var/log/messages shows me the following: https://pastebin.com/CSF8DDzX Basically, alot of the ...
-1
votes
0answers
90 views

Downgrade PHP 7.3.2 to PHP 5.4 CentOS 7.6

I've tried this : service httpd stop sudo yum-config-manager --enable remi-php54 sudo yum-config-manager --disable remi-php73 sudo yum -y downgrade php php-cli php-fpm php-mysqlnd php-zip php-...
0
votes
0answers
38 views

Logging Chrooted Users SFTP Activity

So I'm having the issue where I can't seem to log users SFTP activity. I can see when a new session was created by a specific user, but can't see where they've been or what they may have dropped ...
1
vote
1answer
42 views

How do I create/manage subdomains on my CentoOS nameserver with httpd to reach local running webserver from outside via SSL? [closed]

I would need some kind of workflow for my setup I took over from someone else. Lets name the headless server "example.com". named, dovecot, postfix, selinux and firewall-cmd are in place. I would ...
0
votes
1answer
81 views

Disabling Nouveau to install NVIDIA on CentOS 7.6 causes blank monitor

I'm trying to install NVIDIA drivers on an embedded system running CentOS 7.6 that has a Quadro P5000 GPU. I'm generally following the instructions outlined here but my monitor does not display ...
0
votes
2answers
115 views

How to move disk space from /dev/sda to /dev/sda1?

I have a Virtual machine using centos 7 with 200GB disk.For some reason my layout is: df -h Filesystem Size Used Avail Use% Mounted on /dev/sda1 100GB 95GB 5GB ...
0
votes
2answers
84 views

How to extend primary partition? Linux [duplicate]

My primary partition is running out of space (/dev/sda1). The main partition (/dev/sda) having much more free space. I want to transfer space from (/dev/sda) and extend to (/dev/sda1) partition which ...
1
vote
1answer
99 views

CentOS 7 “Invalid user __ from xx.xx.xx.xx port xxx” - Not showing the attempted username entered

When taking a look into my /var/log/secure logging file, I'm able to see attempts to log into my CentOS system via SSH, however, the username is blank. I've recreated this myself by entering false ...
1
vote
1answer
53 views

CentOS rpm package not available when using yum

I wanted to install Oracle 11.2 on my centOS7. I did all but one prerequisite steps. Oracle requires me to have a lot of rpm packages preinstalled. Do I need to find all of them and then download ...
0
votes
0answers
27 views

Pernament tunnel at every boot in CentOs 7

I want to have my tunnel UP at every system restart. It is my non persistent solution: ip tunnel add vti0 local 222.222.22.222 remote 33.333.333.333 mode vti key 41 ip link set vti0 up ip addr add ...
0
votes
0answers
56 views

How to configure yum to support https

I am trying to configure yum 3.4.3 to support HTTPS on my CentOS 7. Currently I am getting the following error when trying to update an application with yum clean all; yum update myApp. The error: ...
0
votes
1answer
85 views

Trying to install CentOS 7 and Windows 10 on same drive (dual boot)

I installed Windows 10 on my SSD and then CentOS 7. After the CentOS install's final reboot, there isn't an entry in grub for my Windows 10 stuff. Here's fdisk -l isk /dev/sda: 1000.2 GB, ...
0
votes
0answers
24 views

Why guest centos ping gateway but can't ping dns 8.8.8.8?

I have installed centos 7 on vmware which itself is installed on ubuntu 16 I want to connect to internet using nmcli (network manager), I have done the following : nmcli connection add +connection....
0
votes
1answer
11 views

Centos 7 / FreePBX14 Distro Email

I am trying to find out what mail service is being used to send voicemail to email on Centos 7 / FreePBX14 Distro.
0
votes
0answers
31 views

CentoOS 7 Samba Share USB NTFS

Cannot seem to find an answer which includes all of the specifics of my situation. I followed instructions in Sharing a mounted drive with samba on CentOS7, but still have a problem. I have CentOS 7 ...
0
votes
1answer
50 views

cannot offline install vnc server on CentOS 7

I am trying to install realvnc server on my CentOS 7 VM. I've downloaded the rpm package from the official website. I am using ESXI and nothing is or should be connected to the internet. When trying ...
0
votes
0answers
21 views

transfering a redis db to a txt file

hello i have a redis Db that has words as key and integers as value. ( the value represents how many times a word apears somewhere ) . I am using the next script to transfer the data to a txt file: #...
1
vote
1answer
24 views

Abnormal server load on centos 6 [closed]

Last 3 nights at exactly 00:00 UTC the server stops responding, all services are also halted and the server load goes to 1800-3500, when we only have 24 processors. We were only able to login at start ...
2
votes
0answers
48 views

User account mapped to SELinux staff_u account but unable to run sudo command

I have two user accounts in my virtual machine, anim and anim2. Both are part of the wheel group and can run su/sudo commands. I was reading on redhat how SELinux user staff_u can only run sudo ...
0
votes
1answer
38 views

Big clock on whole screen in centos-7

I was going to write command tmux detach but I accidentally pressed some other key/ key combinations and saw a big clock on the whole terminal. There was just time printed and nothing else. I don't ...
1
vote
1answer
188 views

-bash: yum: command not found via SSH [closed]

I'm trying to deploy a project to a remote server via SSH but I kept getting this error saying command not found no matter I typed sudo or yum. So far I've checked a few posts but still have no idea ...
0
votes
1answer
66 views

logrotate not able to truncate catalina.out [duplicate]

I'm running tomcat server in my centos machine. I've following content in my /etc/logrotate.d/tomcat file: /log/apache-tomcat/catalina.out{ copytruncate daily size 256M rotate 8 missingok ...
1
vote
1answer
34 views

CentOS 7 - problem encountered with the set up of spec file during creation of RPM package

I'm aiming to translate a Debian package to an RPM package to install it on a CentOS Linux 7 (Red Hat). I used alien to accomplish it: alien --to-rpm --scripts --keep-version --generate debian_pkg.deb....
1
vote
0answers
31 views

yum install multiple packages requiring all for success

On centos 7 (docker), I see yum install command with several packages succeeds even if some are not found. This is nasty for scripting :-( (in this example golang not found because I didn't add EPEL ...
1
vote
1answer
45 views

redirecting traffic via .htaccess or VirtualHost .conf fails with https on centos 7 multisite server

I have a Centos 7 server configured for multisite web hosting. One of the things I'm trying to do with this server is redirect traffic to old subdomains to subdirectories on our primary website. The ...
0
votes
0answers
46 views

login not working from new tty but with su <username> works

I'm installing LDAP auth on CentOs7 (command-line way). I'm facing a strange behaviour: [root@client]# su ldapuser01 (run as root) works and let me connect as ldap user (without prompting for a ...
1
vote
1answer
20 views

CentOS7 - Fatal Module usbip_host not found

I installed usbip: rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org rpm -ivh http://www.elrepo.org/elrepo-release-7.0-3.el7.elrepo.noarch.rpm yum install usbip-utils Then I tried to load ...
0
votes
1answer
28 views

How to easily convert Debian script to RPM script? [closed]

I'm aiming to translate a Debian package to an RPM package to install it on a CentOS Linux 7 (Red Hat).I used alien to accomplish it: alien --to-rpm --scripts --keep-version debian_pkg.deb. However, ...
0
votes
1answer
130 views

Tomcat startup.sh file works but starting tomcat.service does not [duplicate]

Short Story: When running 'sudo systemctl start tomcat', it seems to call shutdown.sh immediately after startup.sh: Feb 03 19:36:49 xxxxx startup.sh[10285]: Tomcat started. Feb 03 19:36:49 xxxxx ...
-1
votes
1answer
27 views

error when make nginx in centos7 [closed]

I add some other modules when making nginx.The configuration file is as follows ./configure --prefix=/etc/nginx --sbin-path=/usr/sbin/nginx --modules-path=/usr/lib64/nginx/modules --conf-path=/etc/...
0
votes
0answers
23 views

How come this service is not running? Why is it exiting? (Docker CentOS container)

I am trying to install Tenable Security Center in a CentOS container upon a base install of Debian. Inside my container, the following returns when inspecting SecurityCenter service (suppose to ...
3
votes
1answer
106 views

LVM 'dissapeared' [closed]

I am struggling getting a customer's server back up.Apparently the machine just slowed down and when they rebooted it, it booted into dracut claiming it can't find the UUID of the disks. The original ...
1
vote
0answers
29 views

Route traffic on a specific port of an IPv4 server to an IPv6 target

The situation is that I have an IPv6 server which should also be available from the IPv4 net. As getting an IPv4 onto this server is out of the question I need to route the traffic through a second ...
0
votes
0answers
16 views

FRRouting Configuration

I am trying to configure FRR on CentOS 7 and I cloned the source code from github. The next step was to run ./bootsrap.sh but I can't seem to run the script. Whenever I run the script an error ...
1
vote
1answer
164 views

Can't start network.service after removing NetworkManager

I have this problem that I can't fin a solution on the internet. I have a centos 7 server with cpanel and whm. I deleted the NetworkManager and wanted to turn on network.service. Then I always get ...
0
votes
0answers
78 views

How to config HTTPS on Apache tomcat

I have installed the Apache Tomcat/7.0.76 on centos7. I want to enable SSL on the tomcat. I have root, intermediate, domain certificate. Like this 85163c004aa3625d.crt gd_bundle-g2-g1.crt gdig2....
-1
votes
1answer
50 views

Centos 7 RHSA-2019:0201 - Security update rpm

An update for systemd package released for Redhat Enterprise Linux. Is this rpm update avilable to Centos 7 OS? Centos Required this rpm systemd-219-62.el7_6.3.x86_64.rpm. Link: https://dl....
0
votes
0answers
25 views

Gnome 3 mouse stuck on top bar between screens

I am using gnome 3 on centos 7.6 with a dual monitor setup (primary screen on the right). Whenever I move my mouse across the top bar right the right screen to the left screen, the mouse stops in ...
-3
votes
4answers
95 views

How to cut while Grepping [closed]

current input is from the command grep -i "final_model" /dir1/dir2/dir3/user/dir4/assemble.preprocessing current output is: final_model=</dir1/dir2/dir3/user/dir4/test_F00ME001.inp> required ...
0
votes
0answers
15 views

how to get enumerated out from snmptrap?

I have the following part in my own MIB: Severity OBJECT-TYPE SYNTAX INTEGER { clear( 0 ), warning( 1 ), ...
2
votes
1answer
26 views

Solaris 5.10 shell replacement for Centos 7 migration

I have an old Solaris 5.10 server. I'm migrating the tomcat products to Centos 7. There are two accounts on the Solaris server that I need to migrate. The shells for both of those accounts are ...
0
votes
0answers
40 views

NIS user can not connect to NIS server

i have run an NIS service on Centos7 on a virtual machine. also i installed another Centos7 virtual machine as client. so i want to connect from my client vm to server vm. at client vm 'systemctl ...
0
votes
0answers
39 views

“semanage port” command does not work

So, I was tasked to chagen SSH port in a CentOS server. As I did in the configuration file, the service failed to start, so after a little research I found that I should make some changes in selinux, ...
0
votes
1answer
30 views

Hebrew (Unicode) file-name support on CentOs 7

I have a VPS with CentOS 7 installed. I am trying to upload to the server a file that has a Hebrew name. I tried to upload it via FTP (Pure-ftpd) and I get: Failed to convert command to 8 bit charset. ...
0
votes
0answers
17 views

Is there any way to know when Centos VM was suspended inside VM?

I have Centos VM on Hyper-V. And I want to write script that will restart some service inside VM after VM was paused by hypervisor? Is there any way to make VM know whether it's been paused? Or may ...