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]

CentOS is a free (as in beer and speech) GNU/Linux distribution that is community driven and based on source code released from RedHat.

0
votes
1answer
28 views

Azure - Outgoing SSH connection - timeout

I have problem with ssh outgoing connection with Azure - Centos 7 image - public IP. Simply timeout. I see on all settings, and I think that all is fine. Any ideas? azure newbie Thanks
0
votes
1answer
16 views

Offline installation ImageMagick

I am trying to install ImageMagick into a RedHat 7 which is offline. To do so, I've downloaded ImageMagick RPM along with it's dependencies using : repotrack -p . ImageMagick but also tried with ...
0
votes
1answer
21 views

ipv6addr_secondaries not properly working centos7

Hello I tried to configure additional ipv6 addresses on my centos 7 server but it seems different from centos 6. this used to work on my centos6 server BUT NOT ON my CENTOS 7 IPV6ADDR_SECONDARIES="...
1
vote
1answer
54 views

Why same disk model but different capacity?

I'm trying to replace an old disk on a JBOD that I inherited. I bought exactly the same model but it seems it has a different capacity (resulting from different number of disk sectors), preventing me ...
0
votes
2answers
47 views

IPtables blocking SSH only if using conntrack

Error As you can see, the only difference between the working and the not working configuration is -m conntrack --ctstate NEW,ESTABLISHED,RELATED. If I use -m conntrack --ctstate NEW,ESTABLISHED it ...
0
votes
0answers
11 views

How do I tell anaconda kickstart installer to assign a specific MAC address to when creating a bond?

I want to force use of specific MAC address when creating a bond at install time on CentOS/Fedora. I do expect that the side effect of doing this is that the /etc/sysconfig/network-scripts/ifcfg-...
1
vote
1answer
26 views

Formatting/creating file system on multipath volume for ZFS on Linux?

I inherited a ZFS on Linux (CentOS) storage pool and I have a faulty multipath device (mpathah) in my pool: raidz3-6 DEGRADED 0 0 0 ... ... mpathba ONLINE ...
-1
votes
0answers
24 views

how to find cause of shutdown

I have a HP proliant server with centOS 6.9 as OS and DB2 10.5.5 as database. these errors were in diag: 1. A fatal error occurred in data protection services 2. An unexpected and critical ...
2
votes
1answer
45 views

How to setup a cron job every random weekday?

As the question is fairly self-explanatory, I would like to know how to set a cronjob to execute any random weekday without using any external script. EDIT: In case people have not understood this ...
0
votes
0answers
16 views

Display Content From primary.com/account When Visiting secondary.com/account Without Changing URL In Browser [closed]

I am a website developer who uses cPanel's WHM on a VPS running CentOS. I have root access to the server. I have two domains, lets call them primary.com and secondary.com. Each website has it's own ...
2
votes
1answer
23 views

How migrate directory ACLs when migrating apache between different VMs?

I am copying two directories from my on-prem server to apache on AWS /var/www/my_app, and /etc/httpd When I get the long listing for /etc/httpd I get the following on my local server with all those +...
1
vote
2answers
47 views

Sticky bit resets after every reboot

I've got a CentOS server that performs a few dedicated tasks, where different processes/users need to full access to each others files. As these files are temporary in nature, they are stored in the /...
0
votes
0answers
21 views

Can't restore PV metadata

I have a corruption problem on a PV (within a multipath, don't know if it matters). The base system is a CentOS 7 and the volumes are hooked up via iSCSI to an external storage. I found the LVM UUID ...
-2
votes
0answers
39 views

Upgrade Centos 6 to Centos 7 using ssh

I have a server with the latest version of centos6 and want to upgrade it to centos7. I read some articles that almost all of them using PreUpgrade Assistant and redhat-upgrade-tool that need a ...
1
vote
1answer
25 views

MongoDB won't run if dbPath is symlinked

I have installed MongoDB 4.0.4 from the official repo. I followed these instructions. My OS is CentOS 7 and SELinux is in enforcing mode. If I use a dbPath value which is a symlink to another ...
1
vote
0answers
37 views

Dynamic DNS, basic configuration not working

I'm trying to implement DDns, where DHCP daemon updates dns records instead of myself. From what I understand, it should work. But it doesn't. I would be very grateful, if somebody points out my ...
0
votes
1answer
10 views

Cannot run getent command remotely

On my CentOS 7 machine, I am running this command: pssh -h rephosts -i "/bin/getent hosts sync.$(hostname) | awk '{ print $1 }'" but I am only getting my host ip (where i am executing this command) ...
1
vote
1answer
58 views

ProFTPd returns “530: Login incorrect.”

There are some weeks that I don't use the FTP server, and now I have tried to connect but it's returning this error. I did some "yum update", but I don't know what else has changed since then. When I ...
0
votes
0answers
27 views

Is it possible to bond two bond two network connections and almost double single connection speeds?

I have two gigabit ethernet adaptors on my servers and my switch also supports 802.4ad and I tried several ways of configuring the bonding but so far I was not able to speed-up single connection ...
2
votes
0answers
15 views

Libreswan Testbed in VirtualBox

I'm currently working to create a testbed in VirtualBox for two VMs with an isolated opportunistic IPSec network with LibreSwan. All services are coming up fine, but network traffic between the two ...
0
votes
0answers
98 views

Centos 7 realm join and sssd logins not working after update from 7.5.1804 to 7.6.1810

I was configuring a new server from a Centos 7 release 7.5.1804 template and ran a test join to our AD domain. Everything was fine. I ran a yum update and updated the O/S to release 7.6.1810, ...
0
votes
0answers
8 views

Tomcat Java error (Java/Tomcat noob)

Have an old java site archive that I'm trying to spin up to see what could be done to "convert" it to php, but I'm terrible when it comes to Java and Tomcat. Dropped the .jsp files in to the webroot ...
0
votes
0answers
40 views

Redirect outgoing email from postfix for testing base on destination

I have set up a testing server for a web app that sends out email notifications. Since this is a testing environment I have set up postfix to redirect all outoing email to a single testing email ...
0
votes
2answers
117 views

NVIDIA-SMI can't communicate with NVIDIA driver

Problem description I am trying to set up a centos-7 GPU (Nvidia Tesla K80) instance on Google Cloud, to execute CUDA work. Unfortunately, I can't seem to properly install/configure drivers. Indeed,...
0
votes
2answers
55 views

FTP: Jail user to Home folder

Using Centos7 and vsftpd I would like to chroot the user "testftp" to his home folder /home/testftp. The client uses WinSCP on Windows. The user testftp can reach the server and connects initially ...
2
votes
2answers
24 views

Can I unsilence kickstart step Performing post-installation setup tasks?

While anaconda kickstart installer runs the "Performing post-installation setup tasks" tasks are not visible on console and their outcome is only saved to ks-post.log file. I do want to also display ...
4
votes
1answer
45 views

locked out of ssh and sftp and require new password

I have tried to log into my Google Instance running "CIS CentOS Linux 7 Benchmark Level 1" and get the following message. It's asking for the current password which we don't have. Is there a way to ...
0
votes
1answer
29 views

Changing partitions on a Centos 7 system from the command line

I have just done a fresh install of a Centos 7 system that has 3 disks in it. I have ended up with the following: [root@nas /]# fdisk -l Disk /dev/sda: 2000.4 GB, 2000398934016 bytes, 3907029168 ...
1
vote
1answer
51 views

Prevent VM clock running faster than it should

I have a unRAID 6.6.5 server with perfectly correct time and multiple Linux VMs which used to be perfectly synced too. I rebooted one of my VM and suddenly the clock goes twice as fast as the hwclock. ...
0
votes
0answers
25 views

CPU/Node HT Link sync error SuperMicro H8QG6

We have couple of SuperMicro H8QG6 (with 512 GB RAM and AMD Opteron (48 cors)Processor) servers which they are all running Centos 7.5.1804 ( kernel 3.10.0-862.14.4.el7.x86_64) and we have only ...
-2
votes
0answers
64 views

Postfix modify headers

I need some help with modify on postfix headers. I would like to remove the strings localhost and (Postfix) on the header as I want to replace it with mydomain.com and for Postfix string I want to ...
1
vote
0answers
649 views

SSL issues “Peer's certificate issuer has been marked as not trusted by the user.”

We have a public facing development server that requires SSL for a particular function. Yet EVERYTHING that uses SSL in any form returns curl: (60) Peer's certificate issuer has been marked as not ...
0
votes
2answers
106 views

Configure SELinux to allow all outbound tcp and udp ports

I have an application that potentially connects to any outbound, remote tcp/udp port. As a result, I want a way to allow all outbound tcp and udp connections. I understand that you can use a ...
-1
votes
1answer
56 views

1 bridge - 1 vNIC - Multi VLAN

I have an issue that I can't resolve since a few weeks... I present to you the configuration for understanding: I have a NAS Qnap that it makes Virtualization (qemy/kvm). The OS of the Qnap is CentOS....
0
votes
0answers
17 views

sentilo.cumuluscity.es in permanent close waite

First I'm a complete novice saddled with administrating a Centos server. Please don't tell me I have no business being an admin - I already know. At the moment 2 databases (dedicated IPs) are locked ...
0
votes
0answers
15 views

ossec-remoted segmentation fault at start

We are currently using OSSEC on one of our server, as a part of tortix, and since recently the service ossec-remoted won't start anymore. Looking at /var/log/messages I can see the following error: ...
-1
votes
1answer
43 views

How to upgrade to Centos 7.3 to CentOS 7.5.x?

I need to update my VM to CentOS 7.3 to 7.5. What is the standard procedure to upgrade the server?.
-2
votes
0answers
20 views

Change the headers in postfix

I need some help with configuring on my vps. I am using postfix software to send the email and when I send the email from my server using PHP, I can see the localhost in the header which it show like ...
0
votes
1answer
27 views

Failed to Start Apache Server

I tried to configure my WebPage SSL Certificate, after configured it I restarted Apache Service and the output is the next: httpd24-httpd.service - The Apache HTTP Server Loaded: loaded (/usr/...
0
votes
1answer
38 views

Centos 6.10 Swap File Issue Wrong size

I have Centos 6.10 Server with initial swap of 3.81 GB working ok no issue. I noticed wrong swap today amount of 4kb. I tried removing the partition and recreate entry on fstab and remount but no ...
0
votes
1answer
42 views

Errors on yum.cron.hourly.conf in new Centos install

I have a VPS with a fresh Centos 7 install, and am getting mail from Cron with these errors: ConfigParser.MissingSectionHeaderError: File contains no section headers. file: /etc/yum/yum-cron-hourly....
-2
votes
1answer
47 views

FSCK while booting Centos [closed]

I want to do fsck check while booting. my centos, not booting and kernel panic error showing. so how to use fsck in kernel command line to do a file system check. please do let me know as its urgent. ...
0
votes
0answers
19 views

Iptables block doesn't work [duplicate]

Someone doing DOS attack on our server. "UDP (60 bytes) from 207.180.196.234:60797 to x.x.x.x:9987 on eth0 " Targeting 9987 port ( Our TeamSpeak3 server port ) We are trying everything what we can ...
0
votes
1answer
64 views

Run tshark in google cloud with external ( public ) IP

I had tried to run tshark in a centos 7 instance hosted in google cloud platform. When we analyze the captured packets, it is only showing the internal IP of that server. Is there any way to get the ...
0
votes
0answers
44 views

RedHat 7.6\8.0 and LSI SAS 2008 controllers

Starting with versions 7.6 \ 8.0beta, RedHat has disabled support for SAS controllers on the LSI SAS 2008 chip. However, in Fedora 29 with the kernel 4.18, the controllers work. So, RedHat simply ...
0
votes
1answer
27 views

different firewalld rich rule behavior in kvm host compared to kvm guests

I have a CentOS 7 KVM host with a single public IPv4, which is housing multiple guest OS's and acting as a firewall / gateway for guest network 192.168.1.0/24 / nat. I want to run a webserver of 1 ...
1
vote
1answer
38 views

Apache If statement not working

I have a about 25000 urls from my old site that have abc in the url. I want to use 3 DBM files in my apache conf. The goal is if the URL does not contain abc ie. http://example.com/1234.htm then I ...
0
votes
1answer
35 views

ARP table not updated until response is sent

I'm executing the arp -a command on CentOS 7 in order to translate an IP address to a MAC address (since I can't access the source MAC of the layer 2 frame in Java). I see a lot of cases where the ...
0
votes
1answer
20 views

CentOS 7.5.1804 dnsmasq starts at boot when systemd service dnsmasq is disabled

I am configuring SAMBA AD DC using SAMBA_INTERNAL DNS on CentOS 7.5.1804. For this to work nothing should listen on port *:53/tcp while samba is starting. Something in system starts dnsmasq at boot ...
0
votes
1answer
49 views

Is it possible to create iface teaming/bonding over tunnel devices?

I have several physical NICs on one server which should be able to access peer server's physical NICs. I have ip-tunnel devices (currently set as GRE) between each pair of NICs. I'd like to team/bond ...