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
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
0answers
87 views

httpd and mysqld used out of memory

I choose 512mb ram for my Centos VPS with very low traffic new website .but after 2,3 hours after rebooting, i have only 24mb free memory. when i use top command: 2981 root 20 0 37176 10m ...
1
vote
0answers
138 views

CentOS server can't be reached from local net after no active request to outer net for some time

I'm setting Wake-On-Lan of my CentOS server so that it can be wake up through Internet. I set a static ip address on my server, preserve the ip address on the router and create a static ARP entry of ...
1
vote
0answers
147 views

How to configure pam.d config files in CentOS

I am hardening a CentOS 6.7 VM to CIS standards. https://benchmarks.cisecurity.org/tools2/linux/CIS_CentOS_Linux_6_Benchmark_v1.1.0.pdf The above is the document I am using to harden the image. I am ...
1
vote
0answers
34 views

cups: connection timed out

Per title I'm showing connection timed out in the /var/log/cups/error_log. D [29/Oct/2015:17:43:32 -0400] cupsdSetBusyState: Printing jobs D [29/Oct/2015:17:44:04 -0400] [Job 11441] Connection ...
1
vote
0answers
48 views

Linux/CentOS - can't su after changing ownership

I mistakenly changed ownership of all files on a CentOS system from root to my login account. I can login but if I su I get: su: cannot set groups: Operation not permitted I don't need the system ...
1
vote
0answers
66 views

CentOS Running process not responding to kill signals and not context switched

An updatedb process on my linux server is not responding to kill signals. (kill -9 or SIGSTOP) [root@chroot-1 ~]# ps auwx | grep -i 4505 root 4505 99.5 0.0 59544 1256 ? RN 09:43 ...
1
vote
0answers
208 views

CentOS 7 - Forcing a disk to be /dev/sda

I've been wrestling with this problem for awhile now, and I've hit a wall and need help. In my system, I have 1 drive connected to a SATA port, an SSD. CentOS 7 is installed to this disk. Also in ...
1
vote
0answers
126 views

gmail Internal parse error: Illegal envelope To: address (invalid domain name): root@[1.2.3.4]

Sending e-mails to my own gmail account from a server without a domain name. When using internal hostname basinsrv.localdomain, cannot reply. Tried these non-default settings in main.cf: myorigin ...
1
vote
0answers
179 views

vsftpd 2.2.2 - 500 OOPS: priv_sock_get_cmd

I'm very new to Linux, and I'm currently experimenting with it and several services in order to familiarize myself to it. I've installed vsftpd to access the machine over ftp however I'm getting the ...
1
vote
0answers
18 views

Unable to update CentOS6.6 due to 404

For a long while I've had a scheduled call of 'yum upgrade' to keep my VPS healthy. Recently the update fails because no repositories can be found from the various mirrors. ...
1
vote
0answers
23 views

Restoring VG configuration from recovered drive

Had to reinstall CentOS on a server with three RAID 1 arrays. I installed the OS on sda (300g), and left sdb and sdc alone (they were not formatted or otherwise fiddled with). The OS is up but ...
1
vote
0answers
68 views

How to recover an Intel RAID 0 on a Rocks cluster distribution

We had a Rocks 5.5 distribution on our cluster and wanted to upgrade to 6.2. The "/export" partition was mounted on a Intel software RAID 0 array of 2 identical hard drives (HD) (/dev/sdb and ...
1
vote
0answers
49 views

Linux PAM: add specific lib to Makefile and compile a single module

I am dealing with the development of a custom PAM module for a CentOS7 system. As starting point, I'd like to use the project linux-pam, specifically: compiling only the pam_permit module; adding as ...
1
vote
0answers
2k views

Bash session errors on commands: “fork: Cannot allocate memory”

I have a bash session open to a remote server and something is wrong. I created a directory "test" and touched the files inside touch 1 2 3 4 5. I then tried to copy the directory cp test/ test2/ and ...
1
vote
0answers
44 views

Cyrus Performance Tweaks?

Okay guys, I have put a lot of research into this so bear with me. Here's what I am up against. I have been working with RC for a long time and I know some awesome SQL tweaks that work wonders, etc. ...
1
vote
0answers
2k views

Adding CentOS 7 to Active Directory

I am having a hard time adding a CentOS 7 machine to my domain (Active Directory 2012 running in Windows 2008 mode). I am using realmd to join the machine to the domain. Here is what I have checked so ...
1
vote
0answers
37 views

Which Kickstart commands and options cannot be %included?

I'm using Kickstart to automate a CentOS 7 installation and I'd like to create a common Kickstart file so I can %include it. After some testing it seems like some commands (like text) cannot be ...
1
vote
0answers
37 views

Libgcrypt warning: MD5 used - FIPS mode inactivated

Last week I enabled the openSSH FIPS 140-2 module on Server "A", and that system works flawlessly (including tsql queries to a SQL Server instance). I recently enabled the openSSH FIPS 140-2 module ...
1
vote
0answers
341 views

Centos 7 Mail log?

Previously I was using tail -f /var/log/maillog on Centos 6 When trying tail -f /var/log/maillog in CentOS 7 it says: cannot open ‘/var/log/maillog’ for reading: No such file or directory tail: no ...
1
vote
0answers
190 views

How to stream webcam on linux vps with videolan and output to html

It used to be quite simple to stream my webcam facing out into the yard to the world on my website. However, telstra has changed things where can't find a way to point my webcam to anything but local ...
1
vote
0answers
71 views

Can't setup mount of EncFS on user login

I've tried to setup EncFS to be mounted on user login as described in this guide excluding the Password Utility section, however it works with little success. The EncFS works properly ...
1
vote
0answers
264 views

Vagrant + CentOS 7 - Apache fails to start, I don't see an error

I'm spending some time trying to provision a Vagrant box running from a CentOS 7 base box. After a fresh install of Apache, I am able to hit the server over http and restart the server, but as soon ...
1
vote
0answers
167 views

CentOS 7.1.1503 Minimal cannot install Gnome Desktop via yum groupinstall “GNOME Desktop”

I've installed CentOS 7 as a virtual machine using virtualbox. That part worked fine and I've got my network connection working properly. I've updated yum and that worked fine. It would seem that ...
1
vote
0answers
77 views

LFTP exclude file extensions

I am trying to mirror directories with lftp but I don't want to download filetypes that are notoriously large like .mp4 and .swf. But I am having trouble with the regex - and seeming like the ...
1
vote
0answers
192 views

Centos 7 - Can't download RPM (Trying to connect with IPV6)

I am normally an Debian/Ubuntu guy, but I wanted to test the foreman on CentOS 7, but I am having some trouble with the rpm command. I have tried to disable IPV6 with echo 1 > ...
1
vote
0answers
160 views

EXT4 Journaling - Problem

Basically my root (/) ext4 partition keeps being mounted as read-only when I apply internal journaling feature. I understand that this should be default, but today I had been trying to apply external ...
1
vote
0answers
69 views

iptables blocking incoming FTP traffic 2/3 minutes after being reset

On CentOS 6.6- At first, iptables was blocking access to my FTP server at all while it was on. After some research I added the lines to /etc/sysconfig/iptables that are suggested in the question ...
1
vote
0answers
58 views

How has this arrangement of RAID disks occurred and is it recoverable?

I some months ago set up two RAID arrays for a system under CentOS 7. I was somewhat confused that the device list included two entries for each array, i.e. one had /dev/md126 and /dev/md126p1. The ...
1
vote
0answers
328 views

Centos 7 GUI Freeze problem

I have installed CentOS 7 DVD ISO on my MSI GE70 Laptop that has geforce gtx 765m, when the GUI comes after 5 seconds screen freeze. Is this an nvidia problem? How can I solve it? I cannot disable ...
1
vote
0answers
1k views

CentOs7 Python 3.4 Install Method

This post relates to this question where I was asked to explain how I installed python3 on my system. I was attempting to install python3 on my system for development purposes. Something went wrong ...
1
vote
0answers
253 views

how do I mount an external hard drive connected via SATA Wire to CentOS 7

I have CentOS 7 installed as a guest OS inside VirtualBox running on a Windows 8.1 machine. There is a SATA Wire connecting the machine to an external hard drive that used to contain a dual boot ...
1
vote
0answers
539 views

PuTTY does not connect over SSH; other clients work fine

I have a CentOS system that I can connect to using several SSH clients (FireSSH, WinSCP, MySQL Workbench over SSH). For some reason, PuTTY, which was working a few days ago, can not connect. It will ...
1
vote
0answers
148 views

How to install a CentOS image manually?

I am moving my project from CentOS 6 to CentOS 7 and need to deal with the changes in the boot requirements introduced by CentOS 7, particularly the upgrade from grub to grub2. The gist of the problem ...
1
vote
0answers
96 views

compile ffmpeg centos

I used this Guide http://trac.ffmpeg.org/wiki/CompilationGuide/Centos To install ffmpeg in my VPS with CentOS 6 64. But it was installed in /root/bin/ and I need to install it in usr/bin/ to run ...
1
vote
0answers
921 views

saving file to usb stick while using linux boot stick

I am using the instructions in this youtube video to install CentOS 7 on a new computer that is running Windows 8. The tutorial uses UniversalUSBInstaller from PenDriveLinux, but the installation is ...
1
vote
0answers
893 views

USB WiFi on CentOS7

I've got a clean installation of CentOS 7 on a desktop PC and a USB WiFI Adapter (RTL8191SU 802.11n). Connecting through USB leads shows "USB Ethernet: connecting" in Gnome3's network status bar. ...
1
vote
0answers
641 views

Centos 6.6 not booting on Virtualbox on Windows host

I downloaded the QuickStart VM from Cloudera that has preinstalled Spark/Hadoop etc. I have been working on that for the last 4-5 weeks and it was running absolutely fine, but recently I had to ...
1
vote
0answers
219 views

cannot upgrade kernel (grubby fatal error: unable to find a suitable template)

I have an appliance (read: a PC in a rackmount chassis which sits in the rack and does its job for years without anyone really paying it much attention until it dies) running CentOS 5.4. Trying to ...
1
vote
0answers
149 views

Job for openvpn@server.service failed

here is the problem during starting the OpenVPN service.. Just after command systemctl start openvpn@server.service terminal shows message: Job for openvpn@server.service failed. See 'systemctl ...
1
vote
0answers
138 views

Install php apache module from source in CentOS 6.6

I tried running yum install php on my centos box however it kept installing an older version. Therefore I installed apache 2.4 and php 5.4 from source. However, I'm not sure how to install the ...
1
vote
0answers
142 views

Run 2 instances of xinit with output to separate video out

I have a video card with 2 video outputs. I want to run 2 instances of xinit and draw 2 different displays. I want one display to be output to one video out and the other to go to the other video out. ...
1
vote
0answers
1k views

how to make LVMs at available boot? kernel panic - dracut cannot find logical volumes after kernel upgrade in CentOS 6.6

I have a centoOS 6.6 vmware vm that I ran yum update on which upgraded the kernel after reboot, I started getting this: dracut Warning: No root device "block:/dev/vg_myhost/lv_root" found dracut ...
1
vote
0answers
236 views

SSD installed, but shows as HDD in command output

Strange issue here. I have a 480GB SSD drive installed in this server. I installed it myself. I see it, it's there. But, I'm getting an incorrect output on a typically used command to determine if ...
1
vote
0answers
275 views

Using Cgroups with Systemd to restrict bash cpu & memory

I want to restrict every user on my Centos 7 server who is logged in via SSH. They should not be able to use, for example, a forkbomb and kill the whole system. The superuser will have no restriction. ...
1
vote
0answers
104 views

how do I migrate liferay from one server to another?

I'm trying to migrate liferay to another server (both are linux machines, and I'm using the CE bundle with tomcat7). I moved over the entire folder. This is not enough, because usernames/passwords ...
1
vote
0answers
288 views

Error running startx on CentOS via SSH

Whenever I attempt to run startx on a system I have SSHed into, I get the following output: xauth: creating new authority file /root/.serverauth.6604 X.Org X Server 1.15.0 Release Date: ...
1
vote
0answers
260 views

Problem with usb's on CentOS

I have problem to recognize my USB devices on the CentOS 5.9(Final). Here are all the appropriate commands to help me debug me problem. dmesg | grep usb usbcore: registered new driver usbfs ...
1
vote
0answers
148 views

I2C driver support baud rate parameter

I have several test machines running CentOS release 6.5 (Final) and we are using Python 3.3 using the SMBus package to communicate over the SMBus (e.g., I2C). We are using the i2c-dev module. The ...
1
vote
0answers
438 views

PHP Fatal error: Call to undefined function mysql_pconnect() in

PHP Fatal error: Call to undefined function mysql_pconnect() in I'm using php version 5.3. server centos 6 I installed php-mysql. i don't know much about centos. Another server which is centos 5.9 ...