Questions specific to the CentOS Linux distribution. Use this tag if your question relates to how the CentOS distribution affects your problem; do not use it if you just happen to be using CentOS and your question is about a specific configuration detail or syntax.

learn more… | top users | synonyms (2)

0
votes
0answers
27 views

centmin mod setup Domain Nameserver

I install centmin mod on my VPS. (ex. IP VPS 49.49.49.49) then i select option (2) to Add Nginx vhost domain then i create 2 vhost mydomain1.com and mydomain2.com. add my domain panel, there's 3 ...
1
vote
1answer
176 views

gksu replacment

In the old days of CentOS 5 i had an application that run as another user. I created a .desktop file which run a command that looked like this: gksu -u anotheruser someapplication When the user ...
0
votes
2answers
68 views

Apache map a port to a public directory

I have this directory in a vm /www/app1 and I want to be able to go to http://192.168.1.1:7778 and go to that directory how do I configure that using CentOS 7 minimal install? I just went through ...
0
votes
1answer
64 views

Browse by hostname from internet browser

I can browse my server site using ip:8080 which is inside my home network.But I am not able to browse using hostname:8080 I do not have dns server. I have edited /etc/hosts file to include ...
1
vote
0answers
126 views

apache server-status 403 forbidden azure centos vm

I get 403 forbidden for http://testapache.cloudapp.net/server-status. Below are the following exact steps I have followed. I created a new centos vm. Then ran yum install httpd Opened ...
1
vote
1answer
143 views

Restart Apache after PHP update?

One of our Amazon Linux servers has php56 installed, which is not the default PHP installation. Quite often I see updates for this package, while on other server PHP is not updated. Do I need to ...
2
votes
1answer
257 views

HTTPS not working on CentOS Apache 2.4

I have created a key and self-signed certificate and moved them to /etc/httpd/conf/ My ssl.conf is here: http://pastebin.com/gsQbKY67 The ssl_module (shared) is there when I try httpd -M Output ...
5
votes
1answer
31 views

What are SELinux “.lst” files under /usr/share/selinux/targeted on CentOS 7?

I can see several ".lst" file under /usr/share/selinux/targeted on CentOS 7: base.lst modules-base.lst modules-contrib.lst nonbasemodules.lst ".lst" files contain a list of SELinux policy ...
1
vote
2answers
167 views

How to identify cause of large buffer memory usage?

I have a production machine running a 2.6 kernel (Centos 6.7) with 64 GB of RAM of which 18 GB is apparently used for buffer memory. I am interested in identifying specifically what that 18 GB is ...
4
votes
1answer
67 views

Intermittent Network Connections - CentOS

I having a very strange issue in one of my servers which seem to lose connections every few minutes: it runs on a CentOS 6.5 64 bit arch and it frequently experiences network disconnections. I have ...
1
vote
1answer
126 views

save output of a python script to a text file

how can i save output of this python script to a text file? this is a KMS server which clients connect to it and activates their windows or office. i wanted to save the log in a text file. I should ...
1
vote
1answer
27 views

Include external files from conf files

I have large and messy conf files for postfix, dovecot and opendkim. I want to tidy these up by creating a sub folder called domains and creating a conf file for each domain. Then from the root file i ...
1
vote
1answer
305 views

How to Bind Mount /var/tmp to /tmp using Ansible and to CIS standards

I am hardening a centos6.7 VM to CIS benchmark standards. I am automating as much as I can using Ansible. The hardening document I am using is (page 12-13): ...
2
votes
0answers
180 views

CentOS 7 system wide display configuration

I have two displays, one connected via DVI and one via HDMI. I installed CentOS 7, which thinks (like every linux I've tried so far), that the one connected via DVI is the primary display and it's on ...
3
votes
1answer
134 views

How do I get the standard output/error of a service, controlled by systemd on EL7, to go somewhere other than /var/log/messages?

My use cases are what Fabrice A. Marie's Logs duplicates with systemd article (published by Kibin Labs) places into its "ugly" category, and its brief advice to add in an entire ELK stack (it's the ...
2
votes
0answers
154 views

NFS mounting options rsize and wsize can't be specified in /etc/fstab

As the Title, the options rsize and wsize can not be specified on Centos7(3.10.0-123.el7.x86_64) cat /etc/fstab: 192.168.11.1:/linux_nfs_share /mnt/nfs01 nfs ...
1
vote
0answers
37 views

Empty output file in systemd unit file

I created the below systemd unit file (Centos 7) to run KMS server and logs the client requests to the kms-server.txt file. The service runs without any problem and responses to the client's requests ...
1
vote
1answer
110 views

Saving process output to a file in systemd unit file

I created a systemd file unit (Centos 7) and I wanted to save the Python output to a file but the service won't start with the below code. [root@static ~]# cat /etc/systemd/system/pykms.service ...
1
vote
1answer
48 views

How to check if Append Function is activated/enabled on Linux server

I have an issue with an API from an external provider. Their API should do an FTP push to an external server. However, it is failing. They say that the Append Function needs to be active/enabled as ...
2
votes
1answer
2k views

How to manually configure a monitor in CentOS7, attached via KVM?

I have a fresh desktop install of CentOS7 with Gnome 3. I need to use this machine with a KVM but for some reason CentOS7 cannot detect my monitor through the KVM I have, so it defaults to "Unknown ...
1
vote
1answer
153 views

Install ssl on CentOS Apache server

I installed Apache by using sudo yum -y install httpd instead of using wget and installing that way. This means that it has been set up differently. I'm now trying to install ssl by using sudo yum ...
1
vote
1answer
58 views

CentOS 7 setting default port

I've been doing some maintenance on a CentOS 7 server and I noticed that it wasn't using the default ssh port (22). I changed it back to it's Port 22 in the sshd_config which works but when I try to ...
1
vote
0answers
14 views

Networking issues after XEN guest migration

Yesterday, after mirgation of my CentOS 5.3 VPS from ISP to my own local XEN, I was a little bit complicated: after changing all network settings inside: /etc/sysconfig/network-scripts/ifcfg-eth0 ...
1
vote
0answers
31 views

Dovecot… shadow - uknown user… how do I fix this

For one user in particular I have this maillog error and the user is unable to send files using SMTP WLMX002 dovecot[1402]: auth-worker(49961): shadow(user@domain.com,X.X.X.X): unknown user How do ...
2
votes
1answer
95 views

Replace Firewalld with system-config-firewall-tui on CentOS 7

I have a question regarding firewall config on CentOS 7. What I have done Disabled firewalld with systemctl stop firewalld.service Installed and configured system-config-firewall-tui Tested my ...
1
vote
1answer
89 views

SSH login keeps kicking me out

I am on Centos 6.6 and recently updated my server using yum, it updated a bunch of things and everything seemed fine, but I was also trying to update Ruby RVM and Node.js and NPM (Node Package ...
2
votes
2answers
214 views

Compiling Octave 4 with OpenGL .. X11 configure script linking error

I want compile Octave 4 with OpenGL/GUI support but don't know which packages to install on RHEL/CentOS system. I only get warning: configure: WARNING: OpenGL libs (GL and GLU) not found -- disabling ...
1
vote
0answers
18 views

FTP Server Allowing Public FTP Users When Are Restricted

I'm configuring FTP on a Centos 6.5 Machine, First I disabled Firewall & SELinux on Machine With Relevant Commands. Then installed FTP Via Yum, enabled service on boot & in running session ...
1
vote
0answers
47 views

CentOS not booting up after showing 5 ducks

I have been trying to install CentOS on my system for couples of days, without any success. After creating a flash drive with OS and and trying to install OS from this, it only shows 5 ducks and ...
1
vote
1answer
196 views

CentOS7: remove nvidia-x11-drv-340xx wants to uninstall the whole xorg

I need VNC xorg access to a headless server. So I installed, like I did for a twin one, Gnome and all the stuff. By mistake I had elrepo repository enabled, and when installing gnome I had it ...
1
vote
1answer
723 views

“503 Service Unavailable” error in “yum update all” command

I am working on CentOS 6.4. I have setup a local repository using apache server. The path of the local repository is /var/www/html. The etc/yum.conf file has a proxy server mentioned through ...
1
vote
0answers
136 views

NFS Share on Centos 7 Fails to automount

I have a fresh install of Centos 7. I cannot seem to auto mount an NFS share located on 192.168.254.105:/srv/nfsshare from the Centos client. Mounting the share manually however, works perfectly. ...
2
votes
1answer
153 views

Installing HHVM on centos 6.5

So I have followed about 8 tutorials on how to install hhvm on centos 6.5. However, I always fail when i do the sudo yum install hhvm portion with the following error: Error: Package: ...
1
vote
1answer
139 views

Changing label of xfs root file system

I'm running a centos 7 server. I want to change the label of the root file system (xfs). xfs_admin -L "newlabel" /dev/mapper/centos-root fails because it can't operate on a mounted fs. Is this ...
1
vote
1answer
218 views

CentOS 7 installation: partition problems and corrupted UI

I'm trying to install CentOS 7 to HP Z440 workstation having (some kind of) RAID setup. The default installation fails with screen full of garbled text apparently with some kind of serious system ...
1
vote
0answers
123 views

Install wireless usb on CentOS 7 (VMWare)

I am very new to Linux. I have installed CentOS 7 on a virtual machine using a windows host. I am wanting to install my USB wifi dongle so it can be used on the CentOS 7 guest. (My windows does not ...
3
votes
1answer
50 views

Benchmarking With SELinux

I've been performing some benchmarking tasks on freshly installed CentOS machines with SELinux enabled and disabled. The tasks include copying files of various sizes, sending variable amounts of data ...
-1
votes
1answer
79 views

vsftpd, 553 Could not create file. How do I chown two different users?

I'm new to linux, but I'm learning! I'm running CentOS 6.7 with nginx and I'm trying to get vsftpd to work. I can log in via FTP okay, but when I try to write a file, I get an "553 Could not create ...
1
vote
0answers
145 views

Postfix cannot start but dovecot is ok

My postfix service cannot start. Here is message: Job for postfix.service failed. See 'systemctl status postfix.service' and 'journalctl -xn' for details. And here is service status: ...
1
vote
0answers
159 views

Mysql 100% 1 core CPU load

I have 8 cpu in server, and Mysql works only on 1 cpu core on 100%. How can I use all cores? my my.cnf [mysqld] safe-show-database query_cache_limit=1M query_cache_size=64M ## 32MB for every 1GB ...
1
vote
1answer
186 views

Linux Copy user's permission to another user

The server is centos, the user is named dev_admin. Now I added a new user ops_admin and I want to copy dev_admin's permission to ops_admin. I tried the following command as root: useradd ops_admin ...
1
vote
0answers
128 views

Apache SSL timeout is not matching settings

I have a CentOS 6.7 apache Server version: Apache/2.4.7 (Unix) server with both http and https ports configured. They are configured the same, except for the SSL specific settings. The most relevant ...
2
votes
2answers
63 views

Having trouble making sense of the df command

uname -a Linux CentOS01.localdomain 3.10.0-229.14.1.el7.x86_64 #1 SMP Tue Sep 15 15:05:51 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux Here is the output of lsblk on the centos VM I'm playing with: ...
3
votes
2answers
140 views

Ban IP using Iptables/Firewalld

I was DDos Attacked by Chinese Great Firewall twice this year. Now I download zone file from http://www.ipdeny.com/ipblocks/ .I want to do these things: If Someone from Anywhere wants to connect to ...
1
vote
0answers
31 views

Remove permanent redirect and clean DNS

I am experiencing "Server not found" errors since I did the following, in my server I had this domain structure: example.com -> permanent redirection to app.example.com app.example.com I removed ...
2
votes
2answers
2k views

How to set JAVA_HOME correctly on CentOS to install Apache Solr

I am trying to set JAVA_HOME so that I can install Apache Solr with the help of this tutorial. I am connected to my server using ssh with root user To allow the running sh script to install Apache ...
1
vote
2answers
2k views

NFS servers and firewalld

I haven't found a slam-dunk document on this, so let's start one. On a CentOS 7.1 host, I have gone through the linuxconfig HOW-TO, including the firewall-cmd entries, and I have an exportable ...
0
votes
0answers
31 views

Disadvantages of certain filesystems when using a HDD in a Samba server?

I have found that using an NTFS drive in a CentOS 7 based Samba/FTP server is not so good, as after a few months of use, I was greeted with numerous read errors which required me to manually remove ...
0
votes
1answer
294 views

Updating TeamViewer

I installed TeamViewer (v10) on CentOS 7. When I connect to that box, I get a message that the remote software is out of date and that I should click on the label to update the software remotely. ...
2
votes
1answer
58 views

Reduce the size of an existing VolumeGroup to create a new PhysicalVolume

I have test machine that is set up with default partition settings for CentOS 6. [root@base_machine ~]# df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/VolGroup-lv_root ...