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
57 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
31 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
25 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
44 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
69 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
68 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
58 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
54 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
21 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
41 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
98 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
79 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
48 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
50 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
73 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
72 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
65 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
112 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
38 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
58 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
142 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 ...
4
votes
2answers
64 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
10 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
81 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
53 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
131 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
vote
0answers
33 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
58 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
30 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
24 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
42 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
36 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
66 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
65 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
14 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
47 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
88 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
120 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
29 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 ...
0
votes
2answers
267 views

Install mplayer on Centos 7

I've been trying for several days to install mplayer on Centos 7 without success, I've install many repos but nothing works, I've always the following error: -> Resolve Dependencies completed ...
0
votes
1answer
97 views

Problem with routing tables network interface in Centos 6.6

I've problem with the routing tables, I've 2 network interface. (2 interfaces with 2 difference network address IP address: 112.xxx.xxx.xxx: static IP and 10.xxx.xxx.xxx local IP) 1: IP address is: ...
1
vote
3answers
47 views

What does || mean in bash? [duplicate]

Apologies if this is a duplicate post. I did try searching to see if someone already asked/answered this but didn't find anything. What does || mean in bash? For example, in researching steps to ...
0
votes
1answer
20 views

unable to block out-going traffic

I've run $ iptables -I OUTPUT -j DROP -d [ip address] and found that some processes are still connecting the destination ip I've blocked above: $ lsof -p [pid] it shows: ...
0
votes
0answers
29 views

openvpn enable to connect to the server

I have centOS 7 64 bits, When I try to connect with openvpn my client.conf I have this error: Mon Mar 16 09:11:26 2015 TLS_ERROR: BIO read tls_read_plaintext error: error:14090086:SSL ...