Tagged Questions

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

Creating new Ftp user and directory with Proftpd

I am having difficulty creating a new ftp user with proftpd. I have another 2 users setup on my server which I have been using to check corresponding files after running some cmds(in hope to find ...
1
vote
1answer
88 views

Setup client certificate verification in an Apache webserver via SSLVerifyCilent on a Centos 6.5+ server

Goal: My goal is to setup an Apache web server on a Centos box, with SSL and client certificate validation similar to the following Apache virtual host ...
-1
votes
1answer
22 views

Can I clear exim spool on CentOS 5.5?

My disk space is filling up with exim files, from about 90 GB, in the /var/exim/spool folder. Can I just delete these folders or will client mails be deleted? It should not be, since they have their ...
0
votes
0answers
205 views

Installing, configuring and running mariadb in foreground on Centos 7 via docker without systemd or services

Under CentOS 7, I understand we're moving from mysql-server to implementation-compatible MariaDB. I'm using a docker image of centos:latest, which puts me under the auspices of Centos 7. mysqld_safe ...
0
votes
3answers
143 views

Best way to do a full backup of CentOS 6.5 running on VMWare

I have inherited a mission critical pound server running CentOS 6.5 running on VMware. Server needs updates and patching for Shellshock but we do not want to do anything to it without having a ...
0
votes
3answers
53 views

Proper PTR record

I have a dedicated server with Plesk Panel 11.5 to handle the clients' sites and the next specs: IP 1: mydomain.tld IP 2: myclient1.tld, myclient2.tld, myclientX.tld The hostname is ...
0
votes
1answer
30 views

301 Redirect methods

Need to implement over 30, 301 redirects. The templete that I was provided looks like it's something to be pasted in a vhosts.conf file or httpd-conf. There is no existing vhosts.conf file. So I ...
-2
votes
1answer
221 views

Shrinking or removing home partition in CentOS 7 installation [closed]

I made the mistake of creating a home partition that fills up all my disk space, and it's formatted in XFS, which to my knowledge isn't shrinkable. Since I have no use for the home partition anyway ...
1
vote
2answers
40 views

Ensuring a given set of RPMs, and only those RPMs, are installed

I have multiple lists of RPMs (one per configuration), and a set of remote machines. Each list includes all of the RPMs needed to run my machine in the configuration I choose. For a given ...
0
votes
0answers
82 views

CentOS drops network interface with second ip address

I'm running CentOS 6.5 (final) on my server with two ip addresses. The main ip address is just working fine. The second ip address is working for about 24 hours. After this period it automatically ...
0
votes
0answers
33 views

CentOS - php-fpm update - rsyslog issue

Strangest thing. After updating php from 5.4.24 to 5.4.33, I noticed that php errors are no longer going to /var/log/php/all.log, instead they are back in /var/log/messages. I checked my rsyslog ...
1
vote
0answers
107 views

CentOS kickstart automated setup with parted / RAID

I'm trying to use parted to partition my entire drives automatically during the CentOS kickstart install, however, I'm getting two issues with my install. I want to kickstart my installs across ...
1
vote
1answer
55 views

How to allow non root user to access libvirt remotely on Centos 6 [closed]

Default configuration and documentation (sic!) requires root access to remote host. How to enable user access? Remote management with SSH
2
votes
1answer
676 views

LDAP authentication on CentOS 7

After upgrading to CentOS 7 it's no longer possible to login via LDAP. With CentOS 6 I used the package pam_ldap which worked fine, but now pam_ldap is no longer available for the new version of ...
0
votes
2answers
38 views

Can I lookup a software version number which is bundled with a specific CentOS version without installing CentOS?

Is there a website where I can enter a software package (for example Apache) and select a CentOS version number and get the version number of Apache which comes with the selected CentOS distribution?
0
votes
1answer
191 views

centos 6.5 ssh rsa key fails

Alright I have read many many articles and followed a few different tutorials and I can not get my RSA key to work on my centos servers. The servers are running centos 6.5 with FreePBX on them and I ...
0
votes
2answers
129 views

Centos 6.5 configuring HA cluster

I need to configure HA cluster using 2 computers. But I've got a problem, when I'm trying to start a heartbeat service it starts but throws an error. Here's the error message: Starting ...
0
votes
1answer
86 views

OpenVPN config for route some traffic through VPN CentOS 6

My server is using CentOS 6.4 64 bit and have 2 network adapter. 1st adapter have an internet ip: 192.241.190.x 2rd adapter is an LAN network with ip: 10.60.5.62 I installed openvpn and config for ...
0
votes
3answers
82 views

How to mount Physical Volumes separately which are bound using LVM

I have a VG (volume group) containing 3 PVs (Physical Volumes). Some physical fault has come up in one of the PVs (maybe?). At the attempt of mounting each PV separately, it gives mount: unknown ...
0
votes
3answers
126 views

php upload_max_filesize ignored - unable to upload 5gb file

I'm unable to upload files larger than roughly 2gb. The max upload/post values were previously set to 2500MB so I thought that was the problem. First, # php --version PHP 5.3.3 (cli) I set ...
1
vote
1answer
158 views

Upgrade mysql 5.5.40 to 5.6 on centos 6.4

I can't find a repo to add to my repolist that has an update for mysql 5.6. Does anyone know how to do this? I tried this [link] but it broke everything. I was getting a mysql_connect() undefined ...
0
votes
1answer
39 views

NFS permissions on a directory

I feel stupid not knowing this, but alas, I need to ask. I have a few directories being automounted via NFS on my CentOS boxes. Source is a Dell NAS or Openfiler (which we are working on migrating ...
1
vote
1answer
96 views

Batch MySql script stopped with error “(104)Connection reset by peer”

On my site I start a script that executes a batch process that imports into the Mysql database a lot of products (texts and images). I'm monitoring the query process from Phpmyadmin>Status and I ...
0
votes
2answers
62 views

Nagios Server Unreachable

I have set up a machine with Centos 7 and installed Nagios from the EPEL repository successfully. Using Lynx (command line browser) I can access the Nagios server running on the machine but it says ...
1
vote
1answer
78 views

CentOS configure ntpd to serve DST/localtime

I know that ntp uses UTC and the clients have to manage any DST and timezone differences on their own. The problem I have is that several noname ip cameras have a non-working DST implementation, and ...
0
votes
0answers
20 views

Linux pt_BR Locale - Bad Translations

I'm using Amazon Linux AMI 2014.09 (up-to-date) to host my PHP application, that uses locales for internationalization (usually it's pt_BR). On the production server the pt_BR translations is not ...
0
votes
1answer
67 views

TracError: Unsupported version control system “svn”: cannot import name fs

I started out with a duplicate database entry error, and in trying to fix it am no longer able to resync my Trac database at all. Unable to import all the history I tried to upgrade from 0.12 to ...
0
votes
0answers
55 views

OpenLDAP Invalid credentials on CentOS 7

Afternoon all I'm using Puppet to provision some OpenLDAP servers. The module I'm using is: datacentred-ldap, and the manifest I'm using looks like: ldap-class This process works fine on CentOS 6 ...
0
votes
2answers
63 views

Cannot install mysql-devel on centos

Everytime I try to run sudo yum install mysql-devel I am met with the following error: Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package ...
0
votes
1answer
58 views

“File not found” from bash script executed by Apache (CentOS)

I have a bash script that sets up a classpath for accessing a series of JARs (it's tf, the cross-platform, command line tool for Team Foundation Server). The file structure is something like: ...
0
votes
3answers
269 views

Fail2Ban on CentOS 6.5 Never Bans

Environment: *CentOS 6.5 *Fail2Ban 0.8.14-1 *date outputs the correct date Behavior: Fail2ban starts successfully, but does not create iptables blocks after bad SSH login attempts. I'm only concerned ...
0
votes
0answers
22 views

SVN repo not found after upgrading centos 6.4 to 6.5

I installed svn client centos 6.4 but it was not working and throwing an error and not checking out the project. I googled it around and find a blog stating to upgrade centos. So i did upgrade and ...
0
votes
0answers
35 views

pppd call to restart VPN ineffectual from a CRON

This works when I run it directly but never from a cron it is the 'pppd call OM01' which seems to be ineffectual when run from a cron. #!/bin/bash # vpnTest.sh test if you ping via the VPN # if ping ...
0
votes
0answers
28 views

yum remove package freeze while erasing

I'm using CentOS 6.5 on a server. Some time ago, I installed from a third-party repository Newscoop CMS. Now I'm not able to remove it. yum remove newscoop Freeze at the "erasing" point, shutting ...
0
votes
0answers
109 views

Configuring CentOS NIC for an untagged + tagged VLAN

I have a CentOS 6.5 system with 1 physical NIC, which is connected to a switch. The switch is configured so that VLAN 104 is untagged and VLAN 101 is tagged. The VLAN104 is network 172.22.20.0/24 ...
-2
votes
1answer
76 views

NRPE: Unable to read output locally

I am running /usr/lib64/nagios/plugins/check_nrpe -H 127.0.0.1 -c check_disk as root yet get NRPE: Unable to read output. Any help?
0
votes
1answer
119 views

Apache can't connect to remote MySQL, but mysql command line from same server can

Symptoms: I am running CentOS 6. I can connect to the remote MySQL from the command line: mysql -h a.b.c.d -u user -p -D db. Laravel artisan commands run on the local command line can also connect: ...
0
votes
1answer
45 views

Static routing on CentOS through managed switch

I am a newbie in networking and I have a question regarding static routing through managed switch. I have a cluster which are connected to a managed switch. One of the node(call it head node) also ...
0
votes
0answers
97 views

Nagios 4 on Centos 7 - Old server

I am trying to install Nagios 4 on an old Pentium 4 machine running Centos 7. I have installed the OS from the x86_64 ISO provided at the website. Nagios is downloaded with wget from Sourceforge. I ...
0
votes
0answers
25 views

Spacewalk server slow on channel cutover

I've setup a spacewalk installation with about 1300 servers. I have a few channels on this server, that look like the following: Centos 5 (latest) Centos 6 (latest) Centos 5_"date" Centos 6_"date" ...
1
vote
1answer
128 views

CentOS fails to update Bash

I'm trying to patch my server against the Shellshock vulnerability issue. However, I'm unable to update Bash to a safe version, these are the results I'm getting: # yum update bash Loaded plugins: ...
1
vote
1answer
89 views

Persistent Disk Name in RedHAt Cluster on VMWare Workstation-10.01

I am trying to implement a 2 Node REDHAT HA cluster. The following is my environment. VMWare WorkStation 10.01 Node-1 >> CentOS-6.3 x86_64 Node-2 >> CentOS-6.3 x86_64 Node-3 >> CentOS-6.3 x86_64 [ ...
1
vote
1answer
282 views

Winbind Centos wrong UID/GID

Here's the scenario: I have two machine: Ubuntu, running ldap to authencticate users CentOs, uses winbind to authenticate users to mount homedirs I use fstab and nfs shares. The problem is this: ...
0
votes
2answers
98 views

What mailer does cron use to send mail?

I am trying to debug an issue with cron not sending mail on a Centos 6 box that I did not configure. How can I determine which mailer cron is using to send mail? The crontab man page has this to say, ...
0
votes
1answer
24 views

CentOS Mirror Update Just One File

I host a local mirror of Centos5 and Cento6 to run updates of our servers. I do not update them regularly, though, to provide a stable environment for our production servers. However there are times ...
0
votes
1answer
66 views

CentOS 6.5 DU and DF dont add up [duplicate]

# df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/vg_bgsvn-lv_root 28G 26G 416M 99% / tmpfs 495M 0 495M 0% /dev/shm /dev/sda1 ...
0
votes
1answer
39 views

SSH and HTTP connections refused from ec2 instance, but the instance is in running state

My ec2 instance (CentOS 6.3) has been in running state all time but I was unable to make SSH and HTTP request to the instance until making AMI from the instance and launching new instance. Another ...
18
votes
10answers
7k views

Shellshock: How do I know if my server is compromised + suspicious files to look out for

Three questions which I hope someone can help answer: How do I know if my server is already compromised due to the Shellshock bug ? If it was compromised, is there a particular folder where I should ...
1
vote
1answer
183 views

How to start open-office headless service on a particular port in CentOS

I am trying the following to start OpenOffice headless service: soffice -headless -accept="socket,host=127.0.0.1,port=8100;urp;" I have tried with double-dash -- instead of single - and this ...
0
votes
0answers
26 views

what could be causing a 30 second delay while issuing commands through salt using PAM auth?

On my salt-master, I have pam auth enabled: external_auth: pam: salt: - .* - '@runner' - '@wheel' when I run a salt command on the master, with -a pam, there is a 30 second ...