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
1answer
67 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
3k 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
460 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 ...
4
votes
2answers
264 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
204 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
3k 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
59 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
523 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 12:...
0
votes
1answer
242 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
50 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
130 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
66 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
1answer
135 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
181 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
131 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
1answer
719 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
334 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 ...
1
vote
3answers
5k 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
646 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
147 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
33 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
69 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 routines:...
0
votes
1answer
9k views

How can I extend VMware Partition on Centos 7 using GParted?

I've a problem with increasing a partition from 20GB to 120GB, VMDK file. Here is what I've done: using vmware-diskmanager to increase vmdk file from 20 GB - 120 GB. It's ok. download and boot from ...
1
vote
1answer
300 views

Yum update is not working properly in centos

Yum update is not working.I am not able to ping the external networks too yum update Loaded plugins: fastestmirror, refresh-packagekit, security Loading mirror speeds from cached hostfile ...
2
votes
0answers
2k views

nginx: [emerg] “server” directive is not allowed here

I get the following error message when trying to configure server: []# nginx -s reload nginx: [emerg] "server" directive is not allowed here in /etc/nginx/conf.d/hello-world.conf:1 Configuration is ...
2
votes
1answer
430 views

Do I have a dead NIC?

OK so this is kind of a long one due to command output. Not necessarily in complexity as I'm only showing some basic t-shooting so any feedback would be appreciated. Basically, I have a fairly new ...
1
vote
1answer
5k views

warning: mysqli::real_connect(): Headers and client library minor version mismatch. Headers:50537 Library:50623

warning: mysqli::real_connect(): Headers and client library minor version mismatch. Headers:50537 Library:50623 How do I do with it? I think I have a different version between mysql client and server,...
2
votes
1answer
2k views

What are gpg-pubkey* packages?

I compared the packages list reported by RPM and YUM on a CentOS 6 and 7. I noticed the lists were slightly different (same issue with RHEL). See Listing installed packages with yum and rpm mismatch ...
2
votes
0answers
113 views

Yum error in Centos : beginner

"Error Type: Error Value: File contains no section headers." I got this error that pops up regurarly. I am really new to centos and am using it for schools work. I must have tried to change ...
1
vote
0answers
483 views

Is it possible to convert RHEL to CentOS?

The software vendor that we used has always specified that we should load RHEL on servers we've bought to run their software however they did start to accept CentOS and even now prefer it on new ...
0
votes
1answer
47 views

Standards for dealing with older/previous “.bak” backup of config file before new edit

Assume I have a config file "foo.conf." This file is rarely edited. At some point in the BeforeTime(tm) it was edited and "foo.conf.bak" was created to save the previous state. Now, I want to make ...
0
votes
1answer
445 views

How to disable local delivery in exim Vesta CP panel

How to disable local delivery in exim VestaCP Panel, I'm getting “Unrouteable address” error message in mail log.
3
votes
1answer
2k views

CentOS 6 interfaces bonding, round-robin instead of active-backup, duplicates frames

Two interfaces, eth0 and eth1 are part of a network bonding bond0 on CentOS 6. All worked well under CentOS 5, but after the upgrade to CentOS 6.6, keeping the same configuration, the network works ...
1
vote
1answer
3k views

NginX + PHP-FPM displays blank php pages

I have a problem where my server running NginX with php-fpm loads blank PHP pages (strangely except for my phpinfo.php file, which loads normally). If I put an index.html page in the same directory ...
0
votes
0answers
114 views

putty does not allow me to input special chars

I am having trouble accessing a folder with a very long name with • in its name. seems like every time I try to input • the putty window is not parsing the character successfully. Any ideas?
0
votes
0answers
281 views

How can I disable FTP access/login for users

I want to temporarily disable the FTP Access of the FTP users I have tried following commands for user "aadmi" but still able to login sudo passwd -l aadmi which said Locking password for user ...
4
votes
1answer
2k views

Install Apache https 2.2 under Centos 7

I would like to install Apache httpd 2.2 (httpd-2.2.15-39.el6.x86_64) under CentOS 7. The default repositories only have Apache httpd 2.4 available. Does anyone know where there is a CentOS 7 ...
0
votes
1answer
395 views

CentOS 7 VNC users dont share desktop session

I installed VNC server on a CentOS machine. I set up a user, and then enabled the VNC server for them on startup following these steps: https://www.digitalocean.com/community/tutorials/how-to-install-...
0
votes
1answer
703 views

NFS File Mounting error in centOS

I'm trying to mount server filesystem using NFS in centos. But I'm getting Connection timed out error. Below are the steps I followed. At server side: [centos@ip-172-31-46-199 landingzone]$ sudo vi ...
1
vote
0answers
468 views

md5 password hash

I'm looking to create a md5 hash to use in /etc/shadow. Someone suggested using grub-crypt. Every time I put the same password in I get a different hash. [root@endpoint ~]# grub-crypt --md5 Password: ...
2
votes
1answer
404 views

firewalld rules to route two user groups to different apps in OpenVPN

I have OpenVPN successfully configured on a remote CentOS 7 server to allow https access to employees and administrators, while also blocking ssh access to everyone who is NOT an administrator. This ...
4
votes
3answers
7k views

Yum says a package is installed, and not installed, and it's blocking other packages from being installed

I am trying to install a new package (glibc-static), and I get the following error ---> Package nss-softokn-freebl.i686 0:3.14.3-18.el6_6 will be installed --> Finished Dependency Resolution ...
1
vote
1answer
2k views

CentOS 7 No package … available

(CentOS 7 64 Bits) Following these steps: http://freevps.us/thread-2789.html I get errors, anyone can help me please? STEP 2, running this command yum install libICE.so.6 libImlib.so.1 libORBit-2....
0
votes
2answers
84 views

Learning resources for people interested in learning Linux [closed]

I am a B.Tech student and I would like to study Linux but don't know what I should study nor how to. The current priority of my college degree is C/C++, Java and .Net. They don't provide me with any ...
1
vote
1answer
79 views

Cannot update password policy for user

I am trying to update the password policy for a user. It should be as follows: Must be changed every 30 days Once changed, cannot be changed for 3 days Must be disabled after 45 days of inactivity ...
3
votes
1answer
804 views

How to enable systemd user sessions for remote logins on CentOS 7?

I am trying to enable systemd user sessions on my CentOS 7 server. All the pieces seem to be there, and I have also run loginctl enable-linger <user>, but I don't have a systemd user session (or ...
0
votes
1answer
4k views

How to install Owncloud on CentOS 6.5

I wanted to install Owncloud on my VPS running CentOS 6.5. I followed the instructions on the official owncloud website but when I run the command yum install owncloud it says Error: Package: ...
1
vote
2answers
242 views

FTP straight to directory, rather than making it relative to FTP users home directory?

I've set up an FTP server using vsftpd on a Centos 5.10 machine. This is my target directory on the server: /var/www/supercoolstuff I can connect from a Windows XP machine using WinSCP then ...
1
vote
2answers
494 views

What is the correct way to set up sw RAID1 so either drive boots?

I've set up a non-UEFI CentOS 6.6 "blank" install with /boot and / each in a separate RAID 1 (3 drives/1 spare). I removed one drive, rebooted, and let it sync to the spare. When I saw this was ...
1
vote
1answer
2k views

CentOS 7 - Cannot start OpenVPN Access Server

I have been trying to install the OpenVPN Access Server on my CentOS 7 VPS. However, I have been running into a number of problems. Initially, I had followed this DigitalOcean guide, but after I had ...