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.

Filter by
Sorted by
Tagged with
0
votes
0answers
13 views

Need to set serial number for assembled server - need AMIDELNX.EXE [on hold]

I have a self built server running Centos 6 which I wish to upgrade. The software I am looking to install needs the server serial number to be set in BIOS. The field currently shows "To be filled by ...
0
votes
1answer
13 views

Ruby app onetimesecret failing to start from systemd unit

I'm trying to install ruby app onetimesecret on CentOS 7.4.1708 (Core) by this manual: https://github.com/onetimesecret/onetimesecret. Ruby is installed with rvm. Everything is fine while running ...
2
votes
0answers
11 views

dovecot: pop3-login: Disconnected (tried to use disallowed plaintext auth)

I have just installed Virtualmin on Centos 7.6 I am stuck-up with Dovecot POP3 Server Facing an error: dovecot: pop3-login: Disconnected (tried to use disallowed plaintext auth) I have googled for ...
1
vote
1answer
19 views

fdisk -l show 500GB, df -h show 240 gb

after incrase the disk space of my centos vm (in esxi hypervisor) when i execute fdsik [root@sopiqecommerce ~]# fdisk -l Disk /dev/sda: 504.7 GB, 504658657280 bytes, 985661440 sectors Units = ...
0
votes
2answers
50 views

do not let me enter the server with the private key

I launch my command from cmd: start putty -load 192.168.1.200 -i C:\Users\Administrador\Desktop\id_rsa.ppk" it goes out to me to enter private password in putty: Using username "root". ...
0
votes
1answer
46 views

CentOS sending out NTP packets while NTP service is stopped

NTP service is stopped, still my CentOS machine is sending out NTP packets to a NTP server: # service ntpd status ntpd is stopped
5
votes
3answers
574 views

Too many open files (CentOS7) - already tried setting higher limits

First time setting up a VPS – being mindful not to ask here unless I done due diligence and provide context. On my remote VPS, through the terminal, almost all commands I run end up with an Error: ...
1
vote
1answer
298 views

CWP7 - mod_rewrite not working?

Recently I was forced to migrate from cPanel to CentOS Web Panel and there is a case-sensitive issue with file names, so "filewhatEver.jpg" is not being found in a url "filewhatever.jpg" (had no ...
0
votes
1answer
19 views

From Host, Can't Connect to OpenLDAP server installed on VM

I have created an OpenLDAP install on a CentOS Hyper-V VM hosted on my Windows 10 laptop. Using Apache Directory Studio (on the VM), I have created a connection, setup up the domain, and added Groups ...
1
vote
0answers
22 views

Automatic reboot of server for no reason

My server has restarted and I can't find a reason for this.. Installed on kvm virtualizor server. I checked the logs but didn't see the reason for the restart. last +x reboot [root@localhost ~]# ...
1
vote
0answers
19 views

LVM not booting after VM migration from KVM to VMWare

I've migrated a VM from an old system based on Centos and KVM. The VM itself is also based on Centos. The VM had 4 disks in it and those are still being kept, everything was basically converted. The ...
1
vote
0answers
21 views

Selective file permission errors on NFS mounted volumes

I have two Red Hat 7 clients (one is RHEL, one is CentOS) NFS mounting a directory from a NetApp server. The RHEL client mounts the volume read-write, whereas the CentOS client mounts the volume read-...
2
votes
1answer
19 views

While RAID1 is resyncing after create, can i write files to it immediately?

I searched but i just found this. How to interrupt software raid resync? My question is can i write files to my raid1 device while... [root@centos ~]# cat /proc/mdstat Personalities : [raid1] ...
0
votes
1answer
20 views

Trying to str replace patches while doing `for` on a specific directory

I am trying to run the ffmpeg command on a directory containing a lot of MP4 files, this ffmpeg command should generate multi bitrate files on a single file. And it works fine. I am running a loop ...
0
votes
1answer
39 views

Unable to extend a logical volume on LVM after replace disk

We have a Dell PowerEdge R920 with Raid 1 configuration (Perc H730P : raid controller). I upgraded the raid volume from 2x 300Gb disk to 2x 600Gb disk successfully. Now, I need to extend my logical ...
0
votes
1answer
30 views

Extend CentOS Parition - Already have 4 Primary Partitions

I have a CentOS server, acting as my syslog server (CentOS Linux release 7.4.1708 (Core)). As my syslogs have grown in size, we've had to extend the volume a couple time. Now the main disk is 500 GB....
0
votes
2answers
57 views

Setting SElinux Labels for a magento site on Centos 7

I was hoping someone could kindly help myself. I have a Magento site running on a Centos 7.6 server. Now, the site is not correctly loading and looking in the messages.log I see numerous entries ...
0
votes
0answers
24 views

error upgrading python's packages in centos

during update I've got some errors in python's packages Error: Package: python-django-1.8.14-1.el7.noarch (@centos-openstack-ocata) Requires: python-django-bash-completion = 1.8.14-1.el7 ...
0
votes
0answers
14 views

Centos 7 no input in grub serial console

I use serial over lan console on intel S1200V3RPL server board. It worked nicely, but filesystem got corrupted and I had to reinstall. I've setup serial console the same way,but there is no input in ...
0
votes
0answers
16 views

Trying to mount shared Windows 10 folder on virtual machine vmware Linux Centos and it gives me: mount error(13): Permision denied [closed]

am trying to mount a shared folder from windows 10 to a vmware virtual machine linux centos with this command : mount -t cifs //ip/folder /mnt/win -o username=xxx,password=xxx,file_mode=0644,dir_mode=...
0
votes
1answer
30 views

How much resources does MySQL (MariaDB) use vs. Apache/PHP-FPM on my server? [duplicate]

I host about 60 client sites on this server: AMD EPYC 7401P 24 Cores "Naples" (Zen) 128GB DDR4 ECC RAM NVMe storage. Centos7 All sites are PrestaShop 1.7 sites with each their own PHP 7.1 PHP-FPM ...
0
votes
0answers
30 views

Using iptables to limit httpd, ssh and icmp

I want to block ICMP and limit SSH and HTTPD traffic to eth0 My original iptables looks like this filter :INPUT DROP [0:0] :FORWARD DROP [0:0] :OUTPUT ACCEPT [0:0] -A INPUT -m state --state ...
1
vote
2answers
31 views

`ldapmodify` not working - doesn't change the file content

I'm following the steps in this thread: Basic openldap setup using slapd.d configuration I created and saved my own .ldif file with the changes I needed and saved it as changes.ldif. Here is the ...
0
votes
1answer
29 views

Access Denied to server linux SSH

I can't access the server using ssh user@IP with the right password i get access denied even though the sshd config is set correctly i restarted it reloaded nothing worked. I generated an rsa key over ...
0
votes
0answers
14 views

Create a network with 2 postfix server

I'm trying to create a network with 2 postfix server (named mail1 and mail2). My goal is that the first server send mail to the second. So I installed postfix on 2 centos. When I try to do a simple: ...
2
votes
3answers
62 views

CentOS 7 how to get interface name by macaddress?

I'm trying to figure out how I can get the network interface name and then change the name. Right now it's easy to change the name with this example: ip link set eth1 name <newName>; However I ...
1
vote
1answer
25 views

Trying to use Apache Directory Studio to edit LDIF file results in “Permission Denied”

I have created a Linux CentOS 7 VM, and on it, I've installed OpenLDAP. Now, I need to modify the file olcDatabase={2}hdb.ldif. This is proving to be a challenge. I'd MUCH rather use a GUI tool than ...
3
votes
1answer
30 views

LDIF file — why should I not edit it directly?

(Downvote me for this question if you must. But I've been googling this and trying to follow tutorials for 2+ days now. I'll take the downvotes if it means hopefully getting this solved.) I'm ...
0
votes
0answers
12 views

update php 5.6 to 7.3 in chroot jail (rhel 7)

Im running rhel 7.5. I have moodle 3.4 running in chroot jail with php 5.6. I need to update php version to 7.3 to match the requirements of moodle 3.4 Outside the jail my php is up to date (7.3) so ...
0
votes
0answers
29 views

PAM accepting any current password when changing LDAP password

I have a Centos-7.6 system, using PAM to authenticate LDAP users. I've managed to force an LDAP user to change their password, by setting shadowLastChange to 0, so their password must be changed. But ...
0
votes
1answer
58 views

CentOS 6.9, Cannot retrieve repository metadata (repomd.xml) for repository: 10gen, how to?

I just started having this issue today. Any ideas? [root@centos-4gb-nyc2-01 ~]# yum upgrade Loaded plugins: fastestmirror, replace Setting up Upgrade Process Loading mirror speeds from cached ...
0
votes
1answer
37 views

Centos 7 VM won't boot, Kernel Panic, Google Compute Engine

Two weeks ago my Centos 7 VM that's been running on Google Compute Engine for two years suddenly crashed, serial console log reveals: [ 1.668426] List of all partitions: [ 1.669174] No ...
1
vote
1answer
55 views

Why does XFS uses lvm cache chunk size instead the raid5 setup for sunit/swidth

I have 4 disks available on my virtual machine for testing sdb, sdc, sdd, and sde. The first 3 disks are used for a RAID5 configuration, the last disk is used as lvm cache drive. What I don't ...
0
votes
2answers
34 views

Do it really need specfic SUDO in crontab command line?

I am using CENTOS 7 with SELinux enabled. The server has root account and 1 user account, In general, I use the root access and do everythings. Today I try to config the cron job runs every night ...
0
votes
1answer
72 views

openstack installation rally error

I've got a problem throught installation of openstack in a VM Centos7 the error is: [root@localhost ~(keystone_admin)]# rally deployment create --fromenv --name=existing Command failed, please ...
0
votes
1answer
31 views

How to set firewall's log in debian?

I am familiar with debian,so i want to build my vps server with debian instead of centos. There are log file /var/log/firewalld both in centos and debian. In order to activate log function for ...
0
votes
0answers
24 views

2-Factor Authentication Using Puppet

I applied 2 factor authentication using google-authenticator by applying a puppet manifest to a centos server. I have made all the changes that are required to sshd_config and pam.d/sshd files. But ...
0
votes
0answers
14 views

Postfix >2.10 CentOS vs Email Checkers and Unknown senders

I have an Email Server well configured and working fine with CentOS 7 and Postfix >2.10. and I have two different questions: 1- How to configure Postfix to prevent Email Checkers like ex.: email-...
1
vote
1answer
55 views

NGINX - axios GET request returning the VUE.js index.html file for all static html files i'm trying to fetch via get requests

So, I have a vue app that's working well on my MAC running npm run serve. Running npm run build and deploy my code to my CENTOS environment (using NGINX) all of the .get requests are coming back are ...
0
votes
2answers
38 views

Is it possible to block email sender names in sendmail on CentOS?

We have been getting a lot of fake emails sent to employees acting like our CEO and our firewall is not capable of blocking specifically what we want. The emails come in from regular gmail accounts ...
1
vote
0answers
59 views

Query Failed: Lost connection to MySQL server during query (Remote connection stable issues)

i've been reading a lot about this and didin't find any solution, that's why i am creating this topic. First im going to give you my dedicated server specifications root@...
0
votes
0answers
34 views

centos 7.6 conflict while install RPM [duplicate]

I am creating own RPM package of dahdi-linux-complete-3.1.0-rc1+3.1.0-rc1 using dahdi.spec file. BUt while installing the package it gives following conflict: file /etc/init.d from install of centos-...
0
votes
0answers
21 views

Unable to update CentOS 7 [duplicate]

I had a perfectly working CentOS 7. Then, while installing some programs (and unfortunately I am unable to backtrace it) it seems the xorg and xorgxrdp conflicted with some RHEL repository and I ...
0
votes
0answers
35 views

Create custom OpenVZ templates

These days I installed OpenVZ on my CentOS 7 machine. I can create VPSs with OS templates downloaded from OpenVZ.org, but if I try to install it with unique templates, errors occur. I created a VPS ...
-1
votes
1answer
49 views

How do I deploy docker web services on a local unix machine?

I have the following situation. I have a CentOS machine that is currently providing a few Flask applications on different subdirectories (e.g. http://address/app1, http://address/app2 etc.). Users ...
0
votes
1answer
37 views

Linux create symlink from tmpfs to slow drive

My application creates cache inside my OS drive which is slow so I have mounted tmpfs and created a directory inside it. Then I created a symlink and pointed it to my slow OS drive path where caches ...
-2
votes
1answer
70 views

Webserver with merged disks and backup optimal Solution

I have to set up an HPE server GEN10 with 2x240GB SSD & 3x1.2TB HDDs as a webserver. Client needs a production repo (live on apache folder), multiple development repos and backup. My idea is 1) ...
0
votes
0answers
31 views

NFS read/write mountpoint returns read-only file system error when written

I have two nodes running CentOS Linux release 7.3.1611 (Core), one for computing (mu01), the other for storage (io01). As root, I mounted a directory /data on io01 to /data on mu01 by mount -t nfs -o ...
0
votes
2answers
35 views

CentOS 7, 2 NIC ports, 2 subnets configured, but both not working simultaneously

I have set up a CentOS 7.6 server (Lenovo SR650 with x722 10 GbE card) and have tried to designate the two NIC ports (not 2 NICs, just 2 ports) to be on different subnets with different gateways etc. ...
0
votes
0answers
20 views

CENTOS, problems to identify why a user is using so much space [duplicate]

I am having disk space issues with my CentOS server, a single user is using up to 1,7tb of data, or it is what the du -sh* /home command is telling. But when you enter the user folder and use the du -...