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
1answer
10 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
21 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
12 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
18 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
1answer
18 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
18 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
15 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
4 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
4 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
27 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
0answers
23 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
42 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
0answers
18 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
14 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
12 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
17 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
0answers
48 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
0answers
14 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
10 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
23 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
36 views

Linux for real time production server [on hold]

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
8 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 ...
1
vote
1answer
22 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
58 views

sudo -i returns an error [on hold]

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
40 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
33 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
31 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
0answers
53 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
22 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 ...
4
votes
2answers
54 views

Allow virtual terminal switch only for root

I'm currently working on a CentOS system (with Gnome desktop), where i want to disable the use of console for non allowed users. Actually when logging in with a standard user it launch my app and ...
0
votes
0answers
8 views

How to set up Qmail to accept joining email list via Mailman LISTNAME-join@DOMAIN?

My configuration: CentOS 5.8, Plesk 11.0.9. I am trying to make my mailing list accept another way of joining a list. That is to join the Mailman mailing list by sending email to ...
0
votes
0answers
35 views

How to log failed username and plaintext passwords in dovecot server using PAM authentication?

I am configuring web mail honeypot in centOS 6.6 using SquirrelMail, postfix and Dovecot. I need to log all the entered user name and plain text passwords for web mail login. Modifications done to ...
0
votes
0answers
38 views

CentOS: Connection reset by Peer error while running python script

For my college project I am building one traffic generation tool using python. I have developed my own linux server and client on Vmware. I am using urllib2 for traffic generation in python. The ...
0
votes
2answers
73 views

Installing latest wireshark impossible?

It looks like installing a later version of wireshark is near impossible on redhat 6. I've searched the web extensively and can't find any questions where someone has said their issue was resolved. ...
-1
votes
0answers
30 views

Is there any Centos package that autocompletes the commands with arrows?

In my Mac's Terminal, pressing ↑ autocompletes any word, e.g. when I type ssh + ↑ it autocompletes to the last ssh I've used. But in my Centos 7 VPS, when I press ↑, it always overwrites to the ...
1
vote
0answers
25 views

Preventing automount in CentOS 7

How can I tell CentOS 7 not to mount a new IDE drive (new to the system, but with data I want to examine) the first time I plug it in, so that I can do forensic analysis on it knowing I won't have ...
1
vote
0answers
42 views

Timezone problems with CentOS under VirtualBox

I have the following problem on a CentOS 6.5 system running under VirtualBox v4.2.4 on Windows 7 Pro SP1. date always prints a UTC time but with the correct timezone shown, e.g. if I run date at ...
0
votes
1answer
23 views

How do I limit inbound and outbound bandwidth to and from a specific host on CentOS

As the title says, I am trying to limit inbound and outbound bandwidth to and from a specific host on CentOS. The reason is that this host consistently uses a large amount of bandwidth and this needs ...
1
vote
1answer
19 views

default owner and group for symlink and chown pass-through

I have two questions but they are very closely related to each other. I have a new Debian server by Linode, and my previous server was a CentOS run by Hostgator. I use this command quite frequently ...
1
vote
2answers
36 views

Live resizing of an ext3 filesytem on CentOS6.5

I have a problem with my remote server hosted by my provider, I have only SSH access. The problem consist of getting this error file system rootfs has reached critical status that causes problems with ...
1
vote
1answer
32 views

Analyzing logs offsite, with a different computer

I have a computer deployed with no internet access. I have small windows in which to copy the log directory to a USB stick and analyze offsite. If I pull the logs off of a CentOS / RHEL system ...
0
votes
0answers
52 views

How can I let a application/user account only create and update a log file (no read permissions) in Linux

I'm attempting to setup a fairly restrictive Apache Tomcat installation on CentOS 6.6 and am stuck on file permissions for the log folder. The tomcat folder and all it's sub-directories are owned by ...
0
votes
0answers
40 views

Cannot retrieve repository metadata (repomd.xml) Centos 6.6

I'm trying to upgrade centos 6.6 with yum update I keep getting this error message Cannot retrieve repository metadata (repomd.xml) for repository: centos6 x86_64. Please verify its path and try ...
0
votes
1answer
10 views

Why doesn't my IOstat change its output at all?

My IOstat doesn't change...at all. It'll show a change in blocks being read and written, but it doesn't change at all when it comes to blocks/kB/MB read and written. When the server sits idle...it ...
1
vote
0answers
40 views

32-bit package from a repo that should only contain the 64 bit packages

Trying to a do install of some packages and it seems that it is trying to pull a 32-bit package from a 64-bit repo. Installing for dependencies: cyrus-sasl-lib i686 ...
1
vote
4answers
84 views

How can I update a password without entering the password twice?

I effectively have a sticky keyboard (host machine to RDP to vCenter to virtual console), but need to update the password of a VM I am building. Using the rescue environment CentOS media offers, I ...
0
votes
0answers
73 views

Custom compiled Nginx with ngx_pagespeed in CentOS 7 wont start

Since PageSpeed must be compiled along with Nginx, and I don't like the way instructions are in the Google page, I decided to follow another great one. Anyway, I did everything there. And when I get ...
0
votes
1answer
25 views

How to install udisks1 in CentOS 7?

I have several scripts that I need for various tasks with USB devices, but they were written with udisks1 in mind. Porting them over to udisks2 has proven difficult, if not impossible, so I'm ...