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
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

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.

-1
votes
2answers
21 views

Centos 7 Move storage space from one filesystem to another

I have a server using Centos 7, and with the storage capacity allocated as such: What I would like to do is take some of the space from the /dev/mapper/centos-home file system and give it to /dev/...
0
votes
0answers
5 views

Awstats configuration LogFormat using access.log

I've been trying to apply my awstats configuration on my centos server for a couple of days. He returns the following message. Could you help me? This is message error : Create/Update database for ...
0
votes
0answers
34 views

Linux slow command response despite no apparent load

Once in a while some of my Linux boxes enter some kind of strange state that results in having to reboot them. All commands take about 5 seconds to execute. But if you run the same command twice in a ...
0
votes
0answers
14 views

linux find folder with specific names where is not access for long time [on hold]

I need find folders (in CentOS) with name .*\.[a-z]{2,5} recursively where is not access (or modify) for more than 2 months in their subfolders or files. Subject folders are in different levels. /...
0
votes
0answers
13 views

haproxy “no server available” but backends are reachable

I've got haproxy serving two backends for my servers with this configuration: frontend a_prod maxconn 500000 bind 0.0.0.0:1234 mode tcp option tcplog log ...
-2
votes
1answer
10 views

-bash: memcdump: command not found

I am try to execute command in centos server for memcached : memcdump --servers localhost but not working.show the error : -bash: memcdump: command not found I can't understand why give it.
0
votes
2answers
22 views

Unable to start BIND DNS Server (On CWP)

I'm configing CentOS Web Panel on my server but there is a problem all my services is working but "BIND DNS Server" When i try to start it. It says : Job for named.service failed because the ...
0
votes
1answer
39 views

Can I add Centos or Redhat main repositories to Amazon Linux?

I’m trying to use AWS Cloud 9 for development, however it forces you to use Amazon Linux, instead of my familiar Ubuntu. The major limitation is the lack of available packages. Is it possible to add ...
0
votes
0answers
8 views

CentOS 6.8 Postfix+Dovecot can't receive emails

I have a problem with Postfix. I think that I'm doing something wrong, but I can't understand what! Here is my main.cf file, after postconf -d alias_database = $alias_maps alias_maps = hash:/etc/...
1
vote
0answers
24 views

Apache web server redirect from http to https error

I have a multi-host setup for my Apache web server with letsencrypt SSL running. I'm basically hosting 2 applications which are OpenProject and SugarCRM which I don't believe should matter. Here's ...
0
votes
3answers
41 views

Restore corrupted partition table in emergency mode without fdisk command

When I manage a VPS, I used fdisk to adjust partitions. But when I reboot, the server complained that the block count 2780624 exceeds size of device (2441472 blocks) and entered emergency mode. I ...
-1
votes
0answers
28 views

Selinux preventing Apache to serve files from /var/www/someFolder(s)?

I am using CentOS 7 and was configuring a virtual host for Apache. This is what has happened: I tried to check whether apache was working fine or not, I checked httpd.conf and found that the ...
1
vote
3answers
43 views

Why /etc/sudoers failed when doesn`t use absolute path?

I want to give my account nova sudo priviledge so I add this configure to /etc/sudoers Defaults:nova !requiretty nova ALL = (root) NOPASSWD: /openstack/bin/nova-rootwrap /etc/nova/rootwrap.conf * ...
0
votes
1answer
20 views

cannot read clients from nas table in freeradius only from clients.conf

I have installed freeradius on Centos. The MySQL database is populated with some data for testing, and the freeradiusd.conf and sql.conf are configured. The RADIUS server is able to connect with the ...
0
votes
0answers
16 views

How to reset permission for the whole file system? [duplicate]

I made a typo chmod -R 777 / is there a solution of the only one backup data and reinstall the server.
0
votes
0answers
14 views

Making CentOS7 .iso with Mate Desktop

I aim to create a Centos ISO with preinstalled Mate desktop environment. http://www.smorgasbork.com/2012/01/04/building-a-custom-centos-6-kickstart-disc-part-1/ How to create a custom ISO image in ...
0
votes
0answers
31 views

Can't install packages or yum update: no space left on device [duplicate]

When i try to execute: Yum update Output: [Errno 28] No space left on device: '//var/lib/yum/rpmdb-indexes/version.tmp' Output of: df -h Filesystem Size Used Avail Use% Mounted on /dev/...
0
votes
0answers
9 views

How to regenerate the initrd for an ovirt node manually via shell?

While deploying gluster on an existing ovirt cluster I was forced to create a new initrd because there was a config change in /etc/multipath.conf. So I did a dracut -f to regenerate the initrd. Turns ...
3
votes
1answer
191 views

CentOS 7 SNMP port always closed

I have a CentOS 7 server in which I opened up ports for SNMP connections. Even though I can see the ports open here: [matias@Centos_7_VM ~]$ sudo firewall-cmd --list-all [sudo] password for matias: ...
0
votes
1answer
23 views

Constant ACPI errors in /var/log/messages on Centos 6.10

/var/log/messages is full of this, occurring every second. I can see this has been going on for at least 4 days but any older logs have been purged. Maybe it's always been like this. Jul 8 04:07:...
0
votes
1answer
25 views

File uploads > 100KB hang with no apache errors

Originally posted on stackoverflow, but deleted and moved here. Apache 2.4.6 -- PHP 7.0 -- CentOS 7 VM Memory: 8GB -- CPUs: 2 -- Available HD: about 200GB Having a strange problem where file ...
0
votes
2answers
48 views

MariaDB won't start after server crash. No error logs

My CentOS 7 server recently crashed by having a hard drive unplugged while it was running and now MariaDB won't start and I'm not getting any error logs. Everything else on the server seems to be ...
0
votes
1answer
33 views

MySQL not finding database/tables through symlink

In my installation of MySQL the database files are located in ./var/lib/mysql. I wanted to move one of those databases to another drive, so I followed instructions to move one database to a different ...
0
votes
0answers
58 views

CentOS VLAN tagging is not working

I am trying to enable two VLANS in CentOS 7 and following the article of Redhat. 1.Configure the parent interface in /etc/sysconfig/network-scripts/ifcfg-em1, where X is a unique number corresponding ...
0
votes
0answers
58 views

NDJBDNS setup on Centos - Dig @127.0.0.1 times out

I'm in the process of replacing an old Gentoo DNS setup (running DJBDNS) with a CentOS 7 one, and have decided to go with NDJBDNS since it appears to be the most modern implementation of TinyDNS. ...
0
votes
0answers
58 views

How to sync a Linux secondary DHCP server?

In this article they don't explain how the secondary DHCP server gets synced and in this one they sync the files with home made scripts. Question Having a secondary DHCP server is good practice I'd ...
1
vote
0answers
36 views

SFTP chroot jail on Centos system with Active Directory integration

I am trying to set up a SFTP chroot jail environment on one of our Centos, which is integrated with Active Directory for user authentication (set up with Realmd/oddjob). I would like to chroot each ...
1
vote
2answers
62 views

How to update/detect increased storage volume size /w Linux

I have upgraded my storage and increased the size of total volume. When I check the extended size in storage management page (MSA2040), it shows everything is alright and its extended. But when I ...
0
votes
1answer
49 views

Is there a way to override 'nr_hugepages' via boot parameters in kernel 2.6 (CentOs 6.8)

Set vm.nr_hugepages too high in /etc/sysctl.conf and the kernel panic during boot due to not having enough memory. Is there a way to disable this via a boot parameter in grub menu? Tried hugepages=0, ...
-1
votes
0answers
24 views

Using PHP 7 for CentOS web version while CLI is already 7 and web is currently 5.6

In my centos , php -v shows 7.2 version But phpinfo() shows 5.6 That mans both versions are available and CLI version is using php7 and web version 5.6. How to upgrade the web version to PHP 7
0
votes
1answer
46 views

Can a Centos 7 OpenVZ Container run on a Centos 6 Node

Since OpenVZ isn't actually virtualization and just a container would there be issues setting up a CentOS 7 container on a Node that is only running CentOS 6?
1
vote
2answers
37 views

Disk space issues

My server have disk space however its showing disk space is full. This is bare-metal server and deleted many files but still showing disk is full Please check below outputes: [root@host1 tmp]# df -...
0
votes
0answers
19 views

TCP Client-Server connection inside Docker

I have a GUI application running on my host (a CentOS 7 VM) at 127.0.0.1:3281. This connects to a server, also running locally at 127.0.0.1:1341 via a TCP channel. This works perfectly on my CentOS ...
1
vote
1answer
61 views

Tomcat Tomcat/9.0.8 error java.lang.NoClassDefFoundError: javax/management/MBeanServerNotification

i am getting the following error when starting my java spring application > `16-Jul-2018 12:00:02.108 WARNING [http-nio-8080-exec-4] org.apache.catalina.loader.WebappClassLoaderBase....
0
votes
0answers
6 views

Screen active but no sockets in /var/run/screen [migrated]

I have a game server running on Centos 7 via screen. I can confirm that the game server is running, I can connect to it with the client, and ps faux gives me this output: steam 10111 0.0 0.0 ...
1
vote
1answer
19 views

Access of users using google-authenicator without token

I'm using google authenticator pam module on CentOS to create a 2FA authentication for my users, however, I want that only the users that have already registered with the authenticator are asked to ...
0
votes
1answer
43 views

How to extend centos_root partition on Centos 7 and Hyper-V

I've been struggling to get this right and tried plenty of tutorials with no luck. I have a Centos 7 installed as a guest on Hyper-V and need to expand the disk space on centos root partition. I've ...
1
vote
1answer
33 views

2 Docker Containers 1 Image

I've been trying to get two containers of a single image started up, however when I am unable to attach to the second container. Here's what I've got so far. []#docker image ls gives me the one ...
0
votes
1answer
205 views

PostgreSQL is out of control: high cpu load, high memory consumption

I'm using PostgreSQL 9.2.32, installed on CentOS 7 with Plesk, with a very small amount of tables (the tables are small too) and Vapor 3 as backend. After a few hours, my server is out of memory, ...
0
votes
2answers
109 views

VNC viewer shows black screen for one user and normal for the other

I installed TigerVNC on a CentOS 7 and configured its service for two users (user1 and user2). It worked perfectly until recently. When I try to connect with VNC Viewer with user1 it shows just a ...
0
votes
0answers
59 views

Cisco ASA and Squid with WCCP2

Configure a transparent proxy Squid redirection with a Cisco ASA via WCCP. Squid is already configured with authorization through Active Directory (Kerberos and LDAP groups), works if the client to ...
0
votes
2answers
122 views

CentOS 7 custom service failure (Interactive authentication required)

I am trying to setup an OFBiz fork called Scipio as a service on CentOS 7. The service wrapper script changes the user to a dedicated one for the program. All of the program's files are owned and in ...
1
vote
0answers
32 views

Accessing Virtual Machine From A VPN Client (Cisco AnyConnect)

I have a CentOS 7 server running on a virtualbox that we use for hosting an in-house local website. The network settings of the VM are configured with: Bridged as adapter 1 NAT as adapter 2 The ...
1
vote
1answer
17 views

Rancher 2.0.4 multiple ip on worker

I setup multiple IPs on host with working node for rancher 2 Host is pingable from outside world on each of this IP. But not doesn't see this IP and if I configure hostport to IP:port format, I get ...
0
votes
0answers
75 views

Centos 7 - install and mount fc multipath disks

I tried to install multipathing on a Centos 7.5 host following some links like https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/dm_multipath/mpio_components https://www....
0
votes
1answer
128 views

CentOS 7 Kernel Update

I updated the kernel on our servers from the CentOS default of 3.10.xxx to 4.17.xxx using the elrepo repository. After adding the repo, I installed the kernel-m1 package. Edited /etc/default/grub to ...
0
votes
1answer
76 views

Syslog-ng loggen behavior

Here's the situation: I have syslog-ng version 3.15. I've noticed that when using TLS and non-TLS transmission, the logs are different. I have noticed that, when sending logs using the loggen -i (...
0
votes
1answer
48 views

rsyslogd uses 435M of swap memory right after restart

I have Centos 7 # cat /etc/centos-release CentOS Linux release 7.3.1611 (Core) fresh rsyslogd # rsyslogd -version rsyslogd 8.36.0, compiled with: enough free memory # free ...
0
votes
1answer
43 views

Route SSH to internal virtual network via centos7 vm router

Trying to route ssh traffic to vm servers in isolated network on a centos7 KVM host. Can ping from either side but ssh times out. I'm connected to my home router from work via vpn. i have a static ...
0
votes
1answer
78 views

CentOS 7 disk space [duplicate]

I have a Centos7 server in which when executing the command df -h the occupied disk space is of 90GB but if I do a du -sh / * the sum of all directories does not correspond to 90GB, in this case it is ...