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)

1
vote
1answer
245 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): ...
1
vote
0answers
151 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
115 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
142 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
99 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
43 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 ...
1
vote
1answer
838 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
115 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
55 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
13 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
20 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
90 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
71 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
185 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
16 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
45 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
179 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
560 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
116 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
131 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
124 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
173 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
106 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
45 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
70 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
131 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
130 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
140 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
93 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
59 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
125 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
28 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 ...
1
vote
2answers
1k 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
29 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
233 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
54 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 ...
0
votes
1answer
98 views

How to setup automatic IP assignment after ethernet cable is plugged in

I have a Centos server and I have a problem with automatic detection of cable connection. Whenever server is up before router has started i need to restart server to make it detect IP. For Example: - ...
2
votes
1answer
128 views

`su` and `sudo bash` give a root prompt that won't execute any command

This is happening on a CentOS 6.7 server, that I can ssh to as root or as my ordinary user. Opening an ssh session as an ordinary user and switching to root within the session gets the expected ...
0
votes
1answer
27 views

chkrootkit unable to execute by shell

I installed chkrootkit with yum (centos 6.5) sever with plesk 12.5 but I'm unable to execute it. Can you help me? (I'm not an expert) [root@~]# chkrootkit -bash: chkrootkit: command not found ...
0
votes
1answer
89 views

Init script for a daemon to run screens on CentOS

I have a question concerning a init.d script. Currently I have a init script that launches a custom daemon as follows: sudo -u "$user" $cmd >> "$stdout_log" 2>> "$stderr_log" & ...
2
votes
1answer
271 views

Can't resize main partition on CentOS 7

I ordered a dedicated server and it came with a primary partition of 20gb and a second partition of 1.8TB. I see no point in this as I plan to use it as a web server. As such I need to put pretty much ...
1
vote
1answer
114 views

Which process/daemon replaces netplugd in Centos 7.1?

I'm moving a piece of software from Ubuntu 12.04 to Centos 7.1. Part of the original installation script runs dpkg -i netplug_1.2.9.1-2ubuntu1_amd64.deb. I can't install a ubuntu deb on Centos, nor ...
1
vote
1answer
54 views

How to install Aforge image processing lab on Linux with Wine

I am trying to install Aforge Image Processing Lab on my Centos. I configured my wine to 32bits like; WINEARCH=win32 WINEPREFIX=~/.wine32 winecfg And I install .NET 2.0 framework like; env ...
0
votes
2answers
760 views

Install libjpeg.so.8 to CentOS 6.6

I need install libjpeg.so.8 to CentOS 6.6 but i do not understand how to do... I have installed libjpeg-turbo libjpeg-turbo-devel but libjpeg.so.8 there is not
1
vote
1answer
167 views

Zabbix: HTTP service is down

I'm configuring Zabbix to monitor our servers. Zabbix is new to me. It is up and running, and monitoring works for some services. One of our Centos servers has http running, so it seems logical to ...
0
votes
2answers
643 views

Wget command - how to download from a specific IP address and Port

I am working on Centos 6.4 and I am new to this operating system. I was downloading a 5 GB file using WGET command. I observed that it was trying to download the file from different IP addresses ...
0
votes
0answers
139 views

How do I install driver for the Linksys WUSB6300 in CentOS

I want to install the WUSB6300 driver in CentOS. I found good information for Ubuntu here: driver for WUSB6300 in Ubuntu However that did not get me anywhere since the C code did not compile in ...
0
votes
0answers
1k views

SSH Connection Refused In CentOS?

For a week, SSH was working perfectly. Today I restarted my server and I got this error in my Mac terminal: ssh: connect to host 162.243.7.7 port 22: Connection refused This is very odd... I am ...