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

learn more… | top users | synonyms

0
votes
1answer
50 views

Postfix Mail Server & hosted Gmail relay setup

I am trying to setup our web server so that it can send emails from various web apps to reset password etc. Our mail is hosted by Gmail with a custom domain eg. mydomain.com. Right now emails going ...
0
votes
2answers
231 views

Redirecting port 8080 to port 80 - how to add in /etc/sysconfig/iptables file?

On CentOS 7 Linux (acting as LAMP - and not "firewall/gateway") I have created a custom systemd service for running embedded Jetty at port 8080 as user nobody: [Unit] Description=WebSocket Handler ...
1
vote
0answers
25 views

How to troubleshoot a MySQL / MariaDB error

I've imported two Wordpress databases to a system (CentOS7), and I did not have any problems. When I try to import an .sql file (obtained with mysqldump command) for a vBulleting forum (the newest ...
0
votes
1answer
17 views

Centos 6 partition raid

Firstly, I am 20 years windows user. Recently, i decided move to unix and buy a centos server for my work. Today, i found that I missed a 3TB disk drive, it does not show on my system. I dont know ...
-2
votes
1answer
14 views

Directory mounted on a newly created logical volume does not show a correct size

I have two physical hard drives on a Linux system (server / hosting), and I created a logical volume from sda3 (partition on disk A) and sdb (the whole disk B). I then mounted it on /home directory, ...
-1
votes
2answers
61 views

DRBD Setup on 2 node CentOS 6.8

I have installed and configured DRBD on 2 centos nodes and after creating the metadata when i try to start the drbd service, its complaining that the module is not loaded. See below for more details. ...
1
vote
1answer
66 views

Can rsync be used to upgrade operating systems?

I have two identical hard disks (say HDD1 and HDD2) with 4TB capacities. I want to create install CentOS, update it, install services and create users on one of the hard disk, say HDD1. Now if I ...
1
vote
1answer
174 views

Every website on the server redirects to a foreign page, even after clean install

First of all, this is my first time posting here, so sorry if I posted in the wrong section. To get to the point: I have a CentOS 7 + Gnome server, with VestaCP configured and running 2 WordPress ...
0
votes
1answer
33 views

Massive /dev/shm RAM drive unused, safe to shrink?

today I ran the command df on my CentOS 6 - MySQL/Sphinx database server linux machine (with 80GB of RAM). Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda2 ...
0
votes
1answer
77 views

How can I configure an HAProxy server running behind a firewall?

I am having trouble with the following: I am setting up an HAProxy load balancer on CentOS 7 behind a firewall. The firewall on the HAProxy server as well as the outside firewall are configured so ...
0
votes
0answers
18 views

Error reading loginuid: open /proc/1406/loginuid: no such file or directory

I have a Centos 7.2 instance on which is installed an OpenShift Origin master (so Docker + Kubernetes). I don't know if my issue is related to this issue but my logs show: Error reading loginuid: ...
0
votes
1answer
59 views

SSH connection is slow and buggy when connected by IPv6

I noticed that my SSH session is not usable (random connection errors, hugh delay, etc.) when I'm connected by IPv6. I'm not connecting to my server by IPv4/IPv6 addresses directly. I use my domain ...
1
vote
0answers
35 views

Domain User home directory upon first login

I'm having some trouble setting up default files in the user home directory. The setup is a Centos 7, and I've successfully let it join the company's domain and authenticate through our AD. I'm able ...
0
votes
0answers
54 views

Random “PHP Startup: Unable to load dynamic library”

Since yesterday I suddenly started getting a random error on my server: { "name": "PHP Core Warning", "message": "PHP Startup: Unable to load dynamic library '/opt/plesk/php/7.0/lib64/php/...
-1
votes
1answer
62 views

CentOS 7 FTP unable to retrieve directory list

So I recently installed my DirectAdmin license on my server which is running centOS 7 but now I am getting stuck with connetcing to my FTP server. I have done the following commands to open my FTP ...
0
votes
0answers
13 views

How to determine maximum concurrent requests that a server configuration can handle? [duplicate]

I want to buy a used server, but I don't know how to select the best one according to my needs. I have millions of static files, all of them are html, css, js and images, and are under 1MB is size. ...
0
votes
0answers
16 views

Squid With Multiple IP

I have a problem with my SQUID. I have multiple IP on the host machine and let us just call them 111.222.333.100 and 111.222.320.34 Everyone can connect to the Proxy as long as he got the correct ...
0
votes
1answer
44 views

Upgradeing mysql on centos 7 with virtualmin

I have a running centos 7.2 with virtualmin, mysql 5.5.47 I would like to upgrade the database to a newer version. How should I do it without breaking anything ?
0
votes
3answers
155 views

Passwordless root SSH on CentOS 6 with public key

I am trying to create a "passwordless" setup so that the remote server is more secure without password + I can automate the login process. I have created a new ssh key with ssh-keygen, and copied the ...
0
votes
1answer
58 views

Enable TLS 1.2 for Apache/2.2.29 (Unix) with CentOS release 5.9 (Final)

Trying to Test my SSL Server test at https://www.ssllabs.com/ssltest/analyze.html?d=cp3.co.in and getting "C" grade with error No support for TLS 1.2, which is the only secure protocol version. ...
0
votes
0answers
46 views

Custom centos6.7 iso does not boot in uefi

I have created a custom CentOS 6.7 iso and in BIOS it boots and installs my application successfully. When I configured my VMware to boot in UEFI i get this error: -EFI Virtusl disk (0.0)... ...
0
votes
0answers
52 views

CentOS Kickstart - failed to find a suitable stage1 device

I've been trying to PXE boot a CentOS 7 installation, and keep on getting an error: storage configuration failed: failed to find a suitable stage1 device Now, I think this will be because of my ...
-1
votes
1answer
90 views

How to cleaning up /tmp

I have a CentOS web server with many clients on it. I see the /tmp reached DISKCRITICAL just after about two months since I made 8 GB (after expansion from 4 GB)! I want to know the reasons that make ...
0
votes
0answers
12 views

mariadb best performance [duplicate]

I have a web server running Centos with 126G RAM and 24 treads hosting only one website on joomla 3.5. The website because very slow after i reach 100 concurrent users. Result of htop: 1 [|||| ...
0
votes
0answers
57 views

Apache2/Httpd does not start after boot on CentOS7/LXC. Manual restart gets it working

I'm facing a strange problem: I got Apache2 installed on my CentOS7-based VPS. If I reboot the container the httpd does not start: ● httpd.service - The Apache HTTP Server Loaded: loaded (/usr/...
3
votes
1answer
57 views

SELinux on CentOS7-based LXC?

Is there any way to enable SELinux on LXC-based container using proxmox 4.2?
1
vote
1answer
25 views

Certutil in CentOS complaining of an incorrect password

I just setup a minimum Centos 7 and ran pwgen and tried to create a new database. It complains that it is the incorrect password. These are my commands: # pwgen -sy 32 1 > /etc/openldap/certs/...
2
votes
1answer
70 views

MySQL performance problems after hardware upgrade and move to VM

Recently we've ran some (security) updates on our servers and rebooted the machines. Our development server did not came online anymore due to a problem with the GPU (integrated in CPU). We've ...
1
vote
1answer
105 views

Fresh CentOS install with Apache in VirtualBox: Host OS can't access the test page

Context: I just got a job as a sysadmin and my employers are quite aware that I'm new to this scene so they're having someone show me the ropes. Her first task for me was to set up a VM with CentOS. ...
1
vote
1answer
40 views

CentOS 7 machine lost connectivity after DDoS attack [closed]

We were testing the DDoS protection of a CentOS 7 machine but after it ended, the connection on the machine is just gone. The configuration of the connection is exactly identical to before the DDoS ...
0
votes
1answer
34 views

my ssh is OK,but mha ssh check is fail

CentOS 6.6 + MySQL MHA(0.56)\ ssh-keygen -t rsa ssh-copy-id -i /root/.ssh/id_rsa.pub root@slave2 and my SSH check is ok [root@master ~]# ssh -v root@slave2 OpenSSH_5.3p1, OpenSSL 1.0.1e-fips 11 ...
1
vote
0answers
73 views

CentOS mail bounced error dsn=5.1.0 status postfix issue

I'm running centOs on my server and i use postfix for sending emails but a while ago postfix has started bouncing every mail i try to send giving this error: Jun 9 12:06:49 IrideLamp1 postfix/pickup[...
0
votes
0answers
15 views

Why would Centos host access the nvme device that in sleep mode

I use a standard NUC PC with CentOS 6.6 installed to be the host; and what I set on the host side is enabling the Link Control Register L1 state. On the device, as soon as it de-assert the CLKREQ#, I ...
0
votes
0answers
27 views

Trying to install virtualenvwrapper in CentOS 6.7 and figuring out pip, setuptools, virtualenv

I'm trying to set up my server that has CentOs 6.7 installed (take a look last line of this question.) I just followed this guide an installed python2.7.11 and python3.4.3. To install ...
0
votes
0answers
11 views

Adding additional locale translation to java/icedtea web start under CentOS 7

I am trying to see if there is any supporting documentation on how to add or download/install new translation for locale support on a java web start application. The application is a '.jnlp' file ...
2
votes
0answers
42 views

Apache 2.4.20 and “SeverTokens Prod” causes “segmentation fault”

Simply stated I am running Apache 2.4.20 on CentOs 6 and am in the process of hardening this VM prior to rolling it out. I added this line: ServerTokens ProductOnly Which on restart promptly gave ...
0
votes
1answer
74 views

CentOS6 box: yum remove Percona-Server-shared-51 dependencies

I want to install Percona 5.7, but when I run the relevant yum command it tells me that 57 clashes with Percona-Server-shared-51. I don't really know why I even have that installed, since I also have ...
-2
votes
1answer
37 views

Change the permission and ownership of a sub directory in centos

I m having the following sub folder structure. /public/trunk/src/common/site/ I want to change the ownership and permission for site and their sub directories alone. How can i achieve that? Thanks
1
vote
1answer
95 views

how to run a shell scripts at every login in Centos

Actually i want to run my shell script at every time when a user login as well as at boot. i have tried using using crontab but it runs only at boot not at every login.so please tell me how to do ...
0
votes
1answer
35 views

IP Range - Subnet network configuration on CentOS 6.4

I have problems to configure an subnet /25 on an vps with CentOs 6.4 have tried different version. The original eth0 settings are: DEVICE=eth0 #HWADDR=de:8f:24:e9:7b:04 TYPE=Ethernet UUID=64e110dd-...
0
votes
1answer
39 views

SSL on some virtualhosts complains about wrong domain name

So I recently ran into this problem and want to describe the issue and the solution here: I have several virtualhosts on a httpd server and started to install letsencrypt SSL certificates on it via ...
0
votes
0answers
69 views

Missing /var/log/messages file in CentOS 6.8

I'm not sure what I'm doing wrong, but my Linux box doesn't seem to be logging any info to the messages file. Will someone please help? Here's the content of the /etc/rsyslog.conf file (rsyslog-5.8....
0
votes
0answers
29 views

wget FTP directories with more than 10k folders

I have an issue trying to move servers. I have a couple of folders with 300k subdirectories and wget will only copy the first 10000 (the same number that Filezilla is capable of showing). Splitting ...
0
votes
0answers
29 views

virt-install fails when binding to spice socket

I'm trying to set up a Windows 2008 server virtual machine on CentOS 7 with virt-install. I currently have two linux containers running without issue. The command I'm running to set up the VM is virt-...
0
votes
0answers
26 views

check_esx.pl doesn't work

I try to execute a shinken plugin: /var/lib/shinken/libexec/check_esx3.pl. It fails. error CHECK_ESX3.PL CRITICAL - Server version unavailable at 'https://dc-srv03.rthd.intra:443/sdk/vimService.wsdl'...
0
votes
2answers
55 views

IPTables won't start automatically after reboot - Red Hat 7

In Red Hat 7 I'm trying to force the IP tables service to start automatically after reboot. Currently, after every reboot I need to run the command: sudo systemctl start iptables I've tried setting ...
0
votes
1answer
68 views

Replacing mysql with MariaDB

phpMyAdmin shows this version ! I am new to Linux and servers. I was using mysql 5.5 (was installed using third party repositories) as my DBMS and then I decided to replace it with the latest version ...
2
votes
2answers
79 views

Installing Mellanox ConnectX-2 10gbe PCIe Card on Centos 6

I just installed a Mellanox ConnectX-2 10gbe PCIe x8 Card into my server running CentOS 6.7. On boot, dmesg shows the mlx4_core driver being loaded automatically however I see no eth1 device ...
0
votes
2answers
42 views

Centos setting password for user, but still can't log in on it

I've got a problem, where even though i set a password and try to log in with it, it doesn't work. I created a new user called test with password test. When i try to log in i get "access denied". I ...
-1
votes
1answer
55 views

Postfix lost connection with “server/host” while receiving the initial server greeting

I have postfix on CentOS6.6 on my local server(192.168.1.103), from which I'm unable to send emails to any domains. The following is the error obtained when sent to our company email.: Jun 2 11:...