CentOS is an Enterprise-class Linux Distribution derived from Redhat Enterprise Linux sources freely provided to the public.

learn more… | top users | synonyms (2)

0
votes
0answers
33 views

How to install rpm

I have CentOS-6 and rpm and yum installed on it. The problem is that I had make utility on my system, but somehow it got uninstalled. Now, i want to install make with 'yum install', then I get ...
0
votes
1answer
42 views

httpd 2.4.6 on CentOS 7 - question related to module config in httpd.conf

I am sorry to post this type of question here but due to the great experience and skillsets here, I hope for your understanding. I am using (unfortunately) httpd package (v 2.4.6). In various guides, ...
0
votes
3answers
27 views

Check installed grub2 modules

I run CentOS 7. Is there a way (e.g., a command) to check which grub2 modules are currently installed?
0
votes
0answers
16 views

Moving Informatica data(directories) from one unix server to another unix server

Can we migrate directories from one unix server to another unix server, without the need of installation of Informatica softwares on the new unix server? If yes, then will there be any change in the ...
0
votes
1answer
47 views

Installed PHP extensions to wrong PHP version

I just bought a VPS and it came with PHP5.3.3 and that wasn't good for our website, so I successfully (so it seemed, anyway) installed PHP5.6.7 and successfully registered it with Plesk. For the ...
-1
votes
0answers
10 views

Issue with setting up StrongSwan VPN [duplicate]

I'm trying to set up a strongswan VPN. During the setup I get this error $ sudo strongswan pki --gen --type rsa --size 4096 --outform der > ipsec.d/private/strongswanKey.der -bash: ...
1
vote
1answer
34 views

CentOS 6 Static IP Address

I've just assigned my CentOS machine with a static IP address using the /etc/sysconfig/network-scripts/ifcfg-eth0 which has the following lines and seems to be working #eth0 config DEVICE="eth0" ...
0
votes
0answers
53 views

CentOS 7 /var/log/messages

We have a CentOS 7 (3.10.0-229.1.2.el7.x86_64) server running as our main file share server. We randomly see the following error messages showing up in our /var/log/messages and have been trying to ...
0
votes
0answers
22 views

Cannot mount LVM partition after restoring LVM metadata

I have resized two LVM partition (/var and /home) and somehow resize process went wrong. After reboot system wasn't able to mount /var and /home. I have used RIPLinux to check if I can mount those ...
0
votes
1answer
61 views

Centos 7 - Trying to install postgresql (from postgresql.org)

I am trying to install Socorro service on fresh Centos 7 (installed on Amazon ec2). I am following the instructions from the official documentation - Socorro. I installed the PostgreSQL 9.3 RPM ...
0
votes
0answers
23 views

How do I show that a Desktop environment is NOT installed?

I need to document that a server is running a minimal installation of CentOS. I'm aware that I can echo $DESKTOP_SESSION (returns blank), but is there a better way of showing that the OS is minimal ...
0
votes
1answer
24 views

VPS: How to forward traffic to devices from public IP

My goal is to set up a public IP for a Android Smartphone which is running an "IP Cam" software - the interface can be accessed in local network on (example) 192.168.0.2:8080 - But it has no public IP ...
0
votes
1answer
14 views

Nginx File 404 when trying to launch drupal install.php

I am getting a 404 when trying to access the install.php for drupal on nginx. Below are my /etc/nginx/nginx.conf and /etc/nginx/conf.d/default.conf files. the nginx user and group own the ...
0
votes
1answer
24 views

mount times out with iptables --policy OUTPUT DROP

I previously ACCEPTed all output traffic by default. Recently changed the policy to DENY output by default, only opening ports needed for server/application functionality. When I tried to mount a ...
1
vote
1answer
47 views

How to create permanent ip alias belonging to different subnets in Centos

I followed this link and created few alias ips on my centos 6.5 machine but all these ips belong to same subnet. What I have: My machine: eth0, 10.91.56.3 IP Alias1:eth0:1, 10.91.56.4 IP ...
0
votes
0answers
34 views

Dovecot ACL config for read-only user mail folders (CentOS 6)

I'm using Dovecot as an IMAP server. It's the latest version from source installed to /opt. Dovecot -n output: # 2.2.16: /opt/dovecot/etc/dovecot/dovecot.conf # OS: Linux 2.6.32-504.12.2.el6.x86_64 ...
0
votes
0answers
13 views

Rsyslog logs retransmitted after log rotation

I have config setup on all my CentOS servers to forward all syslog messages to a Graylog server via rsyslog. In Graylog I have then configured streams to alert on the occurrence of certain message ...
2
votes
1answer
23 views

Resize MDADM/Software RAID underlying partition and filesystem

I am running out of space on my root partition and would like to steal some from a different partition. The drives are 2x120GB with mdadm software RAID. I am using CentOS 6.5 64-bit. I used the centos ...
0
votes
1answer
22 views

What does the “-y” do in “yum -y groupinstall gnome”?

I've been googling and reading tutorials, but while the authors go into detail with all the things you can do with yum, no one ever mentions what the -y flag is for. I'm trying to automate this with ...
2
votes
1answer
54 views

Policy in /etc/pam.d/password-auth is not being enforced

I've updated login.defs and password-auth to include a minimum length on passwords (12), but the minlen is not being enforced when I attempt to change a user's password with passwd. None of the ...
0
votes
0answers
51 views

CentOS limits.conf & cpulimit not working

I have a CentOS server I am testing things out on. In it, I have configured USERNAME hard maxlogins 4 USERNAME hard cpu 1 USERNAME hard nproc 10 in ...
0
votes
1answer
35 views

Configure systemd-journal-gateway on CentOS7

I installed systemd-journal-gatewayd on CentOS7 and started it. If I connect to the given port the HTTP server is answering but the response is always emtpy. Neither /entries?follow nor /entries?boot ...
0
votes
2answers
47 views

Yum Broke For some reason

i am trying to install Mysql Client i am getting this annoying message. I am still unable to find the proper answer. [root@localhost Downloads]# yum install mysql-bench There was a problem importing ...
0
votes
0answers
45 views

Why does PostgreSQL 9.4 on CentOS7 not run via the `systemd` service file on boot?

As root, if I change to the postgres user with su -l postgres then run /usr/pgsql-9.4/bin/pg_ctl start -D ${PGDATA} -s -w -t 300, PostgreSQL starts successfully. As root, if I run systemctl start ...
1
vote
0answers
25 views

Why does my USB modem produce multiple /dev/ttyUSB* files?

I have a single Sierra Wireless USB 308 modem we are using for sending SMS message to, and receiving SMS messages from, customers. When this single device is plugged in, the system creates multiple ...
0
votes
0answers
10 views

c server handle multiple connections, error on port no [migrated]

I've been experimenting with server code from http://www.linuxhowtos.org/C_C++/socket.htm. The regular server code worked fine, I've changed it slightly to hardcode in a port number rather than read ...
0
votes
0answers
21 views

How do I troubleshoot these SELinux AVC errors?

Background: I have a CentOS 6 LAMP server. Recently the server has started to become unresponsive every few days. Originally, mysqld would throw a nagios alert and I would be unable to even ssh into ...
1
vote
2answers
30 views

Append DNS suffixes to /etc/resolv.conf

Is it possible, and how do I configure CentOS 6.6 so that /etc/resolv.conf will obtain its configuration via DHCP, but will also have additional domain names added to the search line? Bonus points if ...
0
votes
0answers
35 views

Repackage RPM with kernel

I am tinkering with CentOS 5.4 and upgrading the kernel to the latest 2.6.18 build 402. What I need to do is to rebuild the initrd to include a modified init script, then repackage it all into an RPM ...
1
vote
1answer
61 views

Centos inside Virtualbox — how to set custom resolution?

I have Centos inside Virtualbox. I need custom resolution for my screen. I run xrandr as proposed on the net. New resolution appears in the dropdown. But it doesn't work. Virtualbox addons are ...
2
votes
2answers
66 views

Clone Python from one linux machine to another

I want to run some of my python scripts on my new Linux (Centos 6.5) machine that I developed on another Linux machine (also Centos 6.5). But my problem is that my new machine is not having internet ...
0
votes
1answer
47 views

Cannot use EPEL repo, get NSS error -5990 (PR_IO_TIMEOUT_ERROR)

I'm using vagrant to start up a centOS 7.0 VM. My provisioner is trying to set up EPEL 7 via yum install epel-release -y and then trying to install ansible via yum install ansible -y It installs ...
2
votes
1answer
39 views

Interacting with Tape Library on CentOS 7 via mtx

I have a Quantum SuperLoader 3 plugged in via SAS to a CentOS 7 system. It shows in dmesg and lsscsi and is handled by the ch driver. $ lsscsi [0:2:0:0] disk LSI MR9271-8i 3.24 ...
1
vote
0answers
18 views

CSF not blocking port when removed from csf.conf

I have removed VNC port 5901 from the csf.conf configuration file and executed a csf -f a csf -x and a csf -e to flush and restart CSF. There is a vncserver running on port 5901 and when doing an ...
1
vote
0answers
37 views

Protected multilib versions: openssl

I'm running on Centos 6.2 x86_64 Trying to install ruby 2.1.2 ---> Package libselinux-devel.x86_64 0:2.0.94-5.2.el6 will be installed --> Processing Dependency: libsepol-devel >= 2.0.32-1 ...
2
votes
1answer
83 views

httpd 2.4.10 in CentOS 7

How can I update my httpd version 2.4.6 to 2.4.10? If I try to update it with yum, it says that I have the latest version. I want to update httpd to 2.4.10 version because a security issue of the ...
1
vote
1answer
50 views

Autoinstallation of Centos7 (PXE) ends up in booting to the live-DVD login

EDIT: 2015-03-29 16:14 UTC+1: After downloading the images, the VM throws the error "Failed to mount RPC Pipe Filesystem" I am trying to do automatic installation of CentOS 7 via PXE. My PXE server ...
0
votes
0answers
13 views

Trigger a graphic window during kickstart

I have built some custom centOS instalaltion CD with the help of anaconda and kickstart, nothing really exciting here, everything is working fine, packet are installed, pre and post installation ...
0
votes
1answer
41 views

Error: you do not appear to have the sources for the 2.6.32-042stab102.9 kernel installed

I've just bought a new VPS with Cent OS 6.6 installed. I'm attempting to install Asterisk 11 on this VPS via command line remotely. I've used the directions here however I get this error: you do not ...
-1
votes
1answer
46 views

Linux for real time production server [closed]

I would like to know a linux OS for a real time 24x7 running production server. I have heard that RHEL is pretty stable & suitable for this type of usage. Now I would like to know how it is ...
0
votes
0answers
10 views

How can I maximise Netbeans window from the terminal?

I am on CentOS 6 and using VNCViewer to remote in to a box which has four monitors. The problem is VNCViewer won't allow me to click on the Netbeans Window "Maximise" square, top-right, so I can ...
2
votes
1answer
61 views

Plymouth Boot Splash - Turn off switching to text

I am working on an appliance system based on CentOS 6. I have created a custom boot splash, but I can't find any information on how I would disable the feature to switch to text mode (switching the ...
1
vote
0answers
20 views

Create new TCP Connection for every http requests in Python [migrated]

For my college project I am trying to develop a python based traffic generator.I have created 2 CentOS machines on vmware and I am using 1 as my client and 1 as my server machine. I have used IP ...
2
votes
1answer
66 views

sudo -i returns an error [closed]

When I try to switch to root using sudo -i i get the error /var/tmp/sclDvf3Vx: line 8: -i: command not found... However, su - works which I will continue to use. I'm by no means a linux system ...
0
votes
2answers
56 views

Enable ssh host to guest & guest Internet on CentOS 7 guest with VirtualBox

I have 2 CentOS 7 guests running in VirtualBox on a Ubuntu host. I want to be able to: Connect using ssh from host to guest Download/install packages from the Internet on the guest. I currently ...
0
votes
1answer
87 views

gcc installation on CentOS 6.6: configure issue

I'm trying to build/install gcc on CentOS6.6, following this instructions: http://qt-project.org/wiki/How-to-Install-Qt-5-and-Qwt-on-CentOS-6 After the auto-config err'ed out: [felix@localhost ...
1
vote
1answer
36 views

Email evading my spam filter

I'm having trouble with email evading my Barracuda Spam firewall. I believe the spammers are using my A Record to bypass my MX Record which is what directs email to my Barracuda for processing. How ...
0
votes
1answer
55 views

What variables are valid within /etc/default/useradd file?

My /etc/default/useradd file is as follow: # useradd defaults file GROUP=100 HOME=/home INACTIVE=-1 EXPIRE= SHELL=/bin/bash SKEL=/etc/skel CREATE_MAIL_SPOOL=yes man page for useradd provides many ...
0
votes
0answers
113 views

Installing owncloud8 on CentOS 6

I'm trying to install owncloud 8 on CentOS 6 - the problem is that the default CentOS repos have only php 5.3 - but owncloud 8 requires php 5.4. So following this guy: How to install Owncloud on ...
0
votes
0answers
25 views

Control TCP Connections in Python

For my college project I am trying to develop a python based traffic generator.I have created 2 CentOS machines on vmware and I am using 1 as my client and 1 as my server machine. I have used IP ...