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)

0
votes
1answer
362 views

Grep /var/log/maillog for email to a certain user, based only on his linux username

Level 1, beginner here. Question about grep and maillog. I have a learning environment, based on Linux CentOS, with Postfix and SquirrelMail running, but my assignment is more in general. I need to ...
1
vote
0answers
297 views

Vagrant + CentOS 7 - Apache fails to start, I don't see an error

I'm spending some time trying to provision a Vagrant box running from a CentOS 7 base box. After a fresh install of Apache, I am able to hit the server over http and restart the server, but as soon ...
2
votes
1answer
83 views

Where can I find gtkglextmm for centos 6?

Yet another "where can I find" question. I'm looking for gtkglextmm, the gtk/gl C++ wrapper, for CentOS 6. On my Ubuntu system, I know you can get it with sudo apt-get install libgtkglextmm-x11-1.2-...
4
votes
0answers
155 views

pppd issue over serial cable

I'm trying to set up a ppp connection between 2 computers via serial cable, to enable TCP/IP over serial. Computer1 -> USB-Serial Converter -> Serial Cable -> Serial port of Computer 2 On computer ...
3
votes
1answer
1k views

Nginx says open() “/etc/nginx/conf.d/foo.conf” failed (13: Permission denied)

Here is what I have in ls -al /etc/nginx: total 52 drwxr-xr-x. 4 root root 4096 Jul 28 04:16 . drwxr-xr-x. 78 root root 8192 Jul 28 03:37 .. drwxr-xr-x. 2 root root 26 Jul 28 03:55 conf.d drwxr-...
1
vote
0answers
197 views

CentOS 7.1.1503 Minimal cannot install Gnome Desktop via yum groupinstall “GNOME Desktop”

I've installed CentOS 7 as a virtual machine using virtualbox. That part worked fine and I've got my network connection working properly. I've updated yum and that worked fine. It would seem that ...
0
votes
0answers
201 views

X will not start, Centos 7

I installed X/X11 and proceeded to install DWM on my X220. However, X does not start and I am having trouble figuring out why. I have posted the /var/log/Xorg.0.log file here: http://pastebin.com/...
0
votes
2answers
1k views

PAC Manager dependencies problem under Centos 7.1

I have downloaded PAC Manager from sourceforge.net/projects/pacmanager/files/pac-4.0/pac-4.5.5.5-2.x86_64.rpm/download When I try to do yum install on it, I get dependency errors at the end: Error: ...
0
votes
1answer
908 views

OpenLDAP: Invalid syntax error when trying to add LDIF

I keep getting an invalid syntax error when trying to create a user in OpenLDAP (CentOS 7). This is a new install of OpenLDAP for testing purposes. So far I've managed to create a group called "Lab ...
-2
votes
2answers
275 views

Google chrome and chromium black window

When I update my google chrome or chromium to a version that is higher than 38 The window of the browser gets black functional square. It's all black even the top bar. I basically can't see anything ...
0
votes
0answers
119 views

why can't install centos-6.6 such the way as centos-7.0 from usb-hdd?

Here is the file structure in my usb-hdd. ├── boot │   └── grub │   ├── fonts │   │   └── unicode.pf2 │   ├── grub.cfg │   ├── grubenv │   ├── i386-pc ├── centos-6.6 │   └── ...
0
votes
2answers
558 views

Python 2.7.10 on centos 6.6 but no IDLE

I installed Python 2.7.10 on my Centos 6.6 32 bit laptop but when I type IDLE at the prompt I get this [sinux1@horriblehost ~]$ idle ** IDLE can't import Tkinter. Your Python may not be configured ...
1
vote
1answer
169 views

Boot to different partition after restore of operating system

Let's say I have a server with one RAID with 3 partitions: P1 - 20G OS / programs P2 - 190G Data P3 - 20G unused If I ever need to roll back P1 to a previous state, and I've restored a past ...
3
votes
0answers
80 views

How to get the values for “set root” in menuentry while setting password for GRUB2 on CentOS 7

I need to disable single user mode on my servers running CentOS 7. I read the RedHat documentation on what goes to /etc/grub.d/40_custom and how to encrypt the password and all but one details makes ...
1
vote
3answers
486 views

Send mail at startup

I want to send a mail to myself at the restart of a server. We use AWS, and a restart results in a changed internal 10.x.x.x address. This address has to be configured in Postgres and elsewhere, and ...
0
votes
1answer
42 views

How to find what custom config is used by iptables?

I need to open the custom iptables config, and change old IP address to new. How I can find what custom config is used by iptables?
-1
votes
1answer
1k views

Centos 7 - firewalld - passthrough traffic with firewall-cmd

How can I allow traffic from some hosts network A (behind eth0 interface) through my centos 7 box to network B (some hosts behind eth1). network A: 1.1.1.0/24 network B: 2.2.2.0/24 Firewall ...
1
vote
1answer
156 views

How to change FTP home directory in Centos 6

I have created one Linux CentOS 6 instance in Amazon EC2 and installed cPanel on it and started running my websites there. The issue I face was when I try to FTP to the instance with the following ...
0
votes
1answer
190 views

Installing a different php version for a subdomain

I have a cPanel dedicated server installed with PHP 5.2.17. I need to use php 5.3 version for my subdomain and the directory needed php.5.3 is /home/website30/public_html/blog/. Can anyone provide ...
0
votes
1answer
58 views

Can't install gcc on CentOs 7.0

I have to install gcc on a server that does not have any access to internet due to security issues. I tried ftping the source tar and building it on the server, but it requires gcc to compile gcc. So ...
1
vote
1answer
93 views

LFTP exclude file extensions

I am trying to mirror directories with lftp but I don't want to download filetypes that are notoriously large like .mp4 and .swf. But I am having trouble with the regex - and seeming like the exclude-...
1
vote
1answer
207 views

Really need to understand CENTOS fdisk -l output

I am running centos on a server and the HDD config for my server is 2 1 tb drives with 32 gb RAM. Now when I use fdisk -l command, i see the below output which is really not understandable. Could ...
0
votes
4answers
410 views

How to delete files from a directory based on the contents of a gzipped tar file?

Given that I: have a directory that contains over 1000 files have a gzip'ed tar file that contains a subset of those files (x.tgz) What is the single command line (if it is possible) that will ...
1
vote
0answers
242 views

Centos 7 - Can't download RPM (Trying to connect with IPV6)

I am normally an Debian/Ubuntu guy, but I wanted to test the foreman on CentOS 7, but I am having some trouble with the rpm command. I have tried to disable IPV6 with echo 1 > /proc/sys/net/ipv6/...
5
votes
2answers
1k views

How to permanently disable root-password prompt for recovery mode, RHEL7

Note: I asked a similar quesiton concerning version 6 of these bundles here. Note that 7 uses systemd and may have a different implementation In the rare cases that a RHEL or CentOS 7 system is ...
2
votes
1answer
173 views

How to permanently disable root-password prompt for recovery mode, RHEL6

In the rare cases that a RHEL or CentOS 6 system is prevented from booting by (for instance) an improper shutdown, or a forced fsck-check failure on boot, the console will prompt the user for a root ...
1
vote
1answer
71 views

tar ignoring “newer” option

How do I get tar to only include files newer than a certain date? I have tried the following, both of which include older and newer files (today is 2015-07-20): tar -cj -N 2015-07-07 directory | tar ...
0
votes
1answer
513 views

Writing an install script for CentOS

Every time I deploy a VPS server, I install VNC server. But every time I have to do this: yum groupinstall Desktop yum install tigervnc-server yum install vnc yum install firefox (etc.) Can I ...
0
votes
1answer
112 views

How to create Swap from already created mount points

I have prepared a CentOS 6.5 with all mount points at formatting time, including swap. Now, when I am trying to run command swapon, it shows 0 0 0. And when I am trying to create it again using mkswap,...
6
votes
1answer
2k views

Yum error while installing MongoDB on CentOS?

I am using Centos 6.6 (x86_64) Trying to install most stable mongodb version available. but I am stuck with this error (which might seem repeated but none of the previous answers worked for me) [root@...
3
votes
0answers
249 views

EXT4 Journaling - Problem

Basically my root (/) ext4 partition keeps being mounted as read-only when I apply internal journaling feature. I understand that this should be default, but today I had been trying to apply external ...
1
vote
2answers
1k views

Cent OS 6.6 enable Plaintext authentication on dovecot and postfix

A customer of mine wants to use gmail as their default mail client but I have rolled forward to a new CENTOS server version (6.6, ok it's not "new" new) and the dovecot and postfix settings are ...
0
votes
3answers
1k views

Which ISO file, vmlinuz and initrd.gz to use for installing CentOS from Multiboot USB?

I have created a multiboot bootable USB with GRUB and used it to install Debian 8.1 successfully. A multiboot USB is one that contains the ISO images of multiple operating systems, with GRUB being ...
0
votes
1answer
686 views

virsh and creating storage pools - What is sourcepath “- - - -”

I am running CentOS 7 and was following a chapter in a book dealing with virtualization and creating storage pools. I successfully ran the following command, but I'm not sure what setting - - - - as ...
0
votes
1answer
955 views

How to install bower on CentOS 7?

I am trying to install bower on CentOS 7, after installing node.js. To install node.js I followed these steps: Step1: wget http://nodejs.org/dist/v0.10.30/node-v0.10.30.tar.gz Step2: tar xzvf node-...
-3
votes
2answers
2k views

Installing python on CentOS

I am unable to digest the fact that Linux CentOS requires users to do so much just for installing Python. It was so easy installing python on Ubuntu. Also since CentOS comes with python2.5 it leads ...
0
votes
1answer
87 views

CentOS 6 Cron Logging Without Postfix

On a CentOS environment I am setting up, I have no need for email of any kind. I would like to simply disable postfix entirely, however this also disables logging from cron which I do need to have. ...
0
votes
1answer
264 views

Keyboard binding for “activities overview” in Gnome3 on CentOS7 only brings up applications menu

I found a "Gnome Help" web site that listed the keyboard shortcut for the "activities overview" screen, but I found that wasn't working. I then found the "Settings"->"Keyboard"->"System" preferences ...
0
votes
1answer
156 views

How to determine or set keyboard shortcut for activities view in gnome3 on centos7?

Is there a way in Gnome3 on CentOS7 to list the actual keyboard shortcuts for things like the activities view? I can find lots of web pages that tell me what they should be, but I'd like to know for ...
0
votes
1answer
1k views

NTFS formatting disabled while using Gparted in CentOS 7

I am using GParted for formatting my usb-device(a pendrive). And, I unmounted my device using the GUI program itself. The device doesn't show mounted anymore. When I try to format my usb-device(/dev/...
1
vote
1answer
64 views

What are the default file permissions in CentOS?

What are the default file permissions in CentOS 5, CentOS 6 and CentOS 7? Is there any difference in the default file permissions between these OSs?
0
votes
1answer
692 views

Connect to SFTP using Centos Linux VM

I have Centos running a Linux VM on a Windows machine. I'm not able to connect to the VM using WinSCP with sftp on port 22 or ftp on port 21. I have Subsystem sftp /usr/libexec/openssh/sftp-...
3
votes
1answer
3k views

what is the canonical way to start a daemon in rhel/centos-6 init script?

I found lots of good documentation for ubuntu's start-stop-daemon and there is a man page for a binary daemon. But from what I can tell the canonical way to start a daemon in a rhel/centos script is ...
1
vote
1answer
126 views

nfsstat -s: What does sequence mean?

I am having a lot of trouble with my NFS v4 server running over infiniband (IPoIB), every time the load gets high, the nfs server locks up and I have to reboot the server to fix the problem. I get the ...
1
vote
0answers
82 views

iptables blocking incoming FTP traffic 2/3 minutes after being reset

On CentOS 6.6- At first, iptables was blocking access to my FTP server at all while it was on. After some research I added the lines to /etc/sysconfig/iptables that are suggested in the question ...
0
votes
1answer
376 views

How to connect to a CentOS VM over ftp?

Host - Windows 7 Guest - CentOS I have installed vsftpd as according to this guide and the service is running. But when I try to connect to the VM from the host using FileZilla the connection times ...
3
votes
2answers
3k views

How to install RabbitVCS on CentOS 7 & nautlius 3?

I haven't found any solution working so far :( What I've tried so far was follow steps from the manual. First I installed all required packages (at least I think so, naming isn't always the same) . ...
1
vote
1answer
249 views

Tracking Source IP of Dropped Packets

I have a server running CentOS 7 which is showing a considerable amount of RX dropped packets on ifconfig. I believe those may be caused by hardware problems such as faulty cables and connections. ...
0
votes
1answer
49 views

How to Install “remotely” Binary source from another path location

Suppose this I have a Bynary_Package.tar.gz When i unzipped this: zxvf Bynary_Package.tar.gz -C /path/dir/ Now, I move to cd /path/dir/Bynary_Package/ when I list this with ls -Al I have the ...
0
votes
1answer
78 views

hicolor icon error in pgadmin3, but hicolor-icon-theme installed

I have a CentOS 7.0 box that I am SSHing into from Windows with putty and the Xming Windows server. When I run pgadmin3 (installed via yum) I get the following: (pgadmin3:23011): Gtk-WARNING **: ...