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

List of important commands to have an idea of settings for future reference

I want to keep the settings of my linux machines in github etc to have an idea of file locations, firewall rules, network settings and any other critical settings. What I remember are the following, ...
0
votes
1answer
24 views

How to make sudo commands work over ssh without asking for a password?

I set up a server to accept ssh without passwords, and it works fine for nonprivileged commands. However, when I try to run sudo commands, I'm still asked for a password: $ ssh -t test@192.168.1.52 "...
0
votes
1answer
20 views

Linux daemon accounts and kerberos

there is something I can't grasp about security in Linux. I have a piece of software, it's running as a service on user X, it needs RW for directory Y owned by user Z and group C (both which is in ...
0
votes
2answers
32 views

centOs : system time getting reset back to UTC after changing it using timedatectl

I have a Centos machine with version 7. I am trying to change the system time using the timedatectl command. The time gets changed but after a few seconds it gets reset back to it's original time. [...
0
votes
0answers
17 views

Reverse proxied wordpress redirects to lan ip address

I installed wordpress on a CentOS7 LEMP and am accessing it behind a nginx reverse proxy (also on centos7). Everything was working fine until I played with the permalinks (maybe?). I reinstalled the ...
1
vote
0answers
31 views

Virtual ethernet config file missing in /centos/redhat

I am seeing virtual ethernet files like eth0:1 eth0:2 eth0:3 in "ifconfig -a". How do I find the exact config files related to these virtual ethernets? I am not finding any references in /etc/...
0
votes
0answers
24 views

How to install devtoolset on a RHEL without Internet connection?

My RHEL Linux machine has no connection to the Internet. I can only install on it by scp-ing files and using rpm rather than yum. This page ought normally to contain the requisite rpm file or files. ...
0
votes
1answer
16 views

Setting up a VPN client connection in CentOS 7

I have to connect remotely from client on CentOS to VPN server, hosted on Windows. What have been done: Installed packages yum install ppp pptp Contents of /etc/ppp/peers/harkiv_vpn # pty "pptp xxx....
0
votes
1answer
44 views

Two similar services, two IPs, one server?

I'm running a CentOS 7 box. On this box I have two services which should both be exposed using port 443 for HTTPS traffic. Using a reverse proxy is no option, one service cannot be reconfigured to ...
2
votes
1answer
22 views

Package temperature above threshold, cpu clock throttled

I have 2 HPE Proliant DL360 Gen10 servers that are configured nearly the same. They both run CentOS 7.5. The only differences are that one has newer firmware and kernel, in an attempt to fix this ...
1
vote
1answer
48 views

What to update to keep the server secured?

I've been asked to specify which updates are needed to update our server and have it secured - problem is I'm not an expert on this. I know that we've very old software. For my work I need PHP 7.2 ...
0
votes
0answers
28 views

Strongswan client L2TP over IPSec, IPSec tunnel established but can't connect inside VPN (Centos6)

Been beating my head over this issue for two days now. I am trying to connect a Centos 6.10 development system in my home to the Sonicwall VPN at work. NetworkManager-l2tp will not work, not relevant ...
0
votes
0answers
15 views

Bypassing a Load Balancing Packet Marking setup for Rate Testing on Centos 7

Trying to Bypass a load Balancer Our system has directs network traffic into a three way load balancer across three cellular modems in normal operation. We use a program called speedtest_cli that ...
0
votes
1answer
33 views

Logrotate Separate Policies in Same Directory

I am running rsyslog on CentOS and logrotate to rotate my logs. All hosts write their logs to /var/log/syslog/ in their own separate directory in this manner: /var/log/syslog/host1 /var/log/syslog/...
-2
votes
0answers
25 views

bypass network and route directly to server

We have client Macs who utilize a 10GbE adapter to reach our internal network as well as our CentOS 7.4 SAMBA server. The topography from server to client is as follows: The Server is connected over ...
0
votes
1answer
21 views

comparing the default enabled modules of httpd on CentOS to apache2 on Ubuntu

I'm migrating a server from Ubuntu 16.04 running Apache2 to CentOS 7.5 using httpd. By checking the enabled modules on both machines I found that httpd enables many more modules by default in ...
6
votes
1answer
299 views

Finding used space on CentOS

I have a couple of servers that are approaching capacity, however I can't seem to find where the space is being consumed? When I run: [root@server /]# df -h Filesystem Size Used Avail Use%...
0
votes
1answer
13 views

verbose output for ip xfrm command?

I have an up script for strongswan that adds policies like this: ip xfrm policy add dir in src $PLUTO_PEER_CLIENT dst 0.0.0.0/0 proto any varl src $PLUTO_PEER dst $PLUTO_ME proto esp mode tunnel ...
0
votes
0answers
22 views

MSSQL - Failed to Start Engine

I restarted my Dedicated server for maintenance. Everything worked fine before I did the restart now I can't get MSSQL working. I'm using CentOS Linux 7 sudo systemctl status mysql-server mssql-...
0
votes
0answers
19 views

httpd 2.4 - Address already in use: AH00072: make_sock: could not bind to address error for any listening port

My RHEL 7.5 has httpd 2.4 installed on it and it serves static pages from /var/www/html properly. However, it is not redirecting to my Django app and I have been troubleshooting the issue. On ...
1
vote
1answer
49 views

How to install company proxy certificate

My CentOS 7 server which is in AWS private cloud(company network), is unable to connect to some sites. After some work I managed to narrow the problem down to following problem. The following ...
0
votes
0answers
7 views

docker issues (mount folder and after restarting iptables)

I have issues when running docker for some SMTP services. Host server IP : public ip address Docker host: 192.168.1.1 docker container: 192.168.1.2 Host OS : Centos7 Docker image : Ubuntu 1) mount /...
0
votes
0answers
30 views

Centos/Linux Logs administration

What are the most important logs to save in a centos and linux environment and how can i manage this in a single server as an access . I tried using logwatch , but currently I'm still learning in its ...
0
votes
0answers
28 views

Updating firmware on an IBM x3850 M2 CentOS

So I recently got my hands on 2 IBM X3850 M2's and thought i should do a firmware update on everything, so I went to the IBM "Fix central" and took notice of that only RHEL or Windows server seemed to ...
-2
votes
1answer
48 views

Raid 5 the hard disks on Hetzner

Hi ordered a server from Hetzner and added a 500GB SSD to the server. Ran the installerimage and Im not sure Software Raid is working on all three Hard Drives of mine. How can I add Soft Raid to the ...
0
votes
0answers
7 views

G suite integration: local server emails can't send to g suite (postfix)

I have setup G suite with my local email server, where I only migrated few emails to G suite to reduce the costs and kept my mail server running for other emails. A@example.com have a g suite account ...
-1
votes
0answers
16 views

Httpd headers fails in Centos 7

I have create a module on a subdomain to my site. I have next httpd config : <VirtualHost .....> <Directory "/var/www/html"> AllowOverride All Header set Access-Control-Expose-...
3
votes
2answers
82 views

CentOS 4.6 Time Drift

I have a CentOS 4.6 box that was previously a physical device, and has been made into a VM, that has a cronjob to restart the server everyday at 23:00. Which is fine. However, since the shift to ...
0
votes
0answers
25 views

`wc` holding yum lock for over 2 days

I just logged onto a server that hasn't been logged into for two months (August 2nd). When I did yum remove google-authenticator, I got: Existing lock /var/run/yum.pid: another copy is running as pid ...
0
votes
0answers
15 views

Haproxy rabbitmq proxy isn't working on any other ports

I'm trying to make an haproxy that routes traffic to three different rabbitmqs global log 127.0.0.1 local2 chroot /var/lib/haproxy pidfile /var/run/haproxy.pid ...
0
votes
0answers
20 views

Upgraded PHP 7.2 successfully but issue with Cache Refresh / Memacache in Centos

As I have upgraded upgraded PHP 5.4 to PHP 7.2 in centos by using following commands. I have successfully upgrade to php 7.2 Due to some reason cache is not updating. I have custom clear cache ...
0
votes
0answers
27 views

ethtool “Operation not supported”

I cant change any adapter settings with ethtool. ethtool -s eno1 speed 1000 duplex full autoneg on Cannot set net settings: Operation not supported This same message appears with any combination of ...
-1
votes
0answers
33 views

Setting grub to boot from latest kernel

In about the last 6 months, when yum installs a new kernel, the kernel selection menu does not time out picking the selected kernel, usually the first. To say this a different way, the boot menu does ...
0
votes
0answers
9 views

A little confusion about DBM files and how they work

I have apache 2.4 and am using RewriteMap DBM files. ie: <IfModule mod_rewrite.c> RewriteEngine On RewriteMap examplemap "dbm:/etc/httpd/conf/rewrite.dbm" RewriteCond ${examplemap:$...
0
votes
0answers
18 views

java.io.UnixFileSystem.getBooleanAttributes0(Native Method)

My OS=CentOS Jdk + Tomcat 8.5 + mod_jk connector Here is error: HTTP Status 500 – Internal Server Error Type Exception Report Message Servlet execution threw an exception Description The server ...
1
vote
1answer
13 views

PostgreSQL - Clear space on Linux machine

How can I delete all stored records of my PostgreSQL data in CentOS 7 machine? Previously I inserted 10 million rows of data with 12 columns, and I ran into storage issues, so I dropped the tables ...
-1
votes
1answer
19 views

Need help installing ejabberd on Centos/RHEL7 with SELinux and reverse proxy

I've been trying to get a web client to use EJabberd on the recommended port (5281) through a reverse proxy (HAProxy) on Centos7 with SELinux enabled. I am not familiar with SELinux context rules. ...
-1
votes
1answer
40 views

How to enable IBRS when it is disabled?

I have been updating some servers to the latest patchlevels and wanted to check the security state regarding Meltdown, Spectre and Spectre-NG. Using the current V 0.39+ of the spectre-meltdown-...
0
votes
1answer
78 views

PostgreSQL - Could not extend file No space left on device. HINT: Check free disk space

I've been inserting data into PostgreSQL DB, and got the error message: psycopg2.OperationalError: could not extend file "base/16384/61892": No space left on device HINT: Check free disk space I am ...
1
vote
0answers
37 views

Where does sendmail get its user authentication information?

I set up a new remote CentOS email server using sendmail and dovecot. I am able to receive mail into mailboxes but can not use SMTP to send. Trying to login by hand using # telnet mail.steelydev....
0
votes
0answers
8 views

Nodejs/Apache config for proxy pass

I want to use Nodejs/Apache proxy pass to serve my APIs, but after add below apache(httpd) config, it seems that config not working. OS: CentOS 6 /etc/httpd/conf/httpd.conf: ... <VirtualHost *:...
0
votes
2answers
68 views

Upgrading PHP 5.3 to 7.x on CentOS 6.10 (final) - Unmet Dependencies

I am a bit rusty these days and could use some help. I've cracked opened a few old servers and have started the process of dusting them off. In the process I'm updating things like PHP. I regret to ...
0
votes
0answers
37 views

Please help to calculate MaxRequestWorkers for event MPM for apache

I am using CentOS 7 VPS with 2Gb RAM. I have upgraded apache to latest 2.4.35 version. I am worry about if my server will have great load it can switch off apache process. So I need to tune up some ...
0
votes
0answers
30 views

~1300ms latency touching file on nfs mount

I have an NFS mount where the server is on the same subnet as the client. When I time touch testempty from the client, I get: touch testempty 0.00s user 0.00s system 0% cpu 1.325 total The time ...
0
votes
0answers
33 views

Ovirt - host deployment fails due to engine ip

I'm trying to setup ovirt 4.2 on a CentOS 7.5 server. I'm using the command line tool "hosted-engine" (hosted-engine --deploy) because cockpit gave me some errors with no explanation, so I thought the ...
0
votes
0answers
18 views

Switch this setup to use charon instead of pluto?

I using this wiki but using a newer version of strongswan: https://docs.openvpn.net/configuration/extending-vpn-connectivity-to-amazon-aws-vpc-using-aws-vpc-vpn-gateway-service/ My version uses ...
0
votes
0answers
11 views

where do I tell strongswan to find the ipsec.conf file?

https://wiki.strongswan.org/projects/strongswan/wiki/IpsecStarter Im on centos. Centos renames the ipsec command "strongswan". i put ipsec.conf in /etc/strongswan but it doesnt read it when I run ...
0
votes
0answers
12 views

How do I stop a single connection?

ipsec version Linux Libreswan 3.23 (netkey) on 3.10.0-862.11.6.el7.x86_64 ipsec status show 1 connection active: Total IPsec connections: loaded 2, active 1 ipsec stop stops everything. But how ...
0
votes
2answers
90 views

Why does dd make the host unresponsive?

As root I yesterday did dd if=/dev/zero of=/var/lib/libvirt/images/dat.img bs=1G count=1000 and for many hours it made the server completely unresponsive. The raid controller is an HP P410 with 4 ...
1
vote
0answers
12 views

Removing failed Raid0 volume from CentOSv6 boot sequence

I need help. To date the majority of my Linux 'software RAID' use has been done via the Graphical Installer. Now, one of the drives comprising my RAID-0 volume has failed and at boot, the system ...