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
2answers
22 views

CentOS rsync directory contents but not directory?

I'm trying to get the contents of /deploy/ to populate to /panda/ but it doesn't seem to work. I searched on here and found instruction to leave the trailing slashes; however each time I run it a ...
0
votes
0answers
41 views

Can't Send or Receive mail from Dovecot/Postfix Mail Server (Centos 7)

So I've been looking into getting a mail server set up and while it's been problem after problem I feel I'm getting it close to working. Now it just doesn't seem to be receiving mail (no errors via ...
2
votes
1answer
79 views

Extend XFS parititon ( xfs_growfs )

Here are the partitions of my server : NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 54.6T 0 disk ├─sda1 8:1 0 1004.5K 0 part ├─sda2 8:2 0 19.5G 0 part / ├─sda3 ...
0
votes
1answer
32 views

Centos 5.11 No module named yum [closed]

I'm running Centos 5.11 and I installed python 2.7 (replacing 2.4) I soon found out that yum won't work with 2.7, as expected if I put python -V it shows Python 2.7. My classmate did a snapshot of ...
1
vote
0answers
26 views

CentOS install - select existing partition as /

I'm installing CentOS on a system that has pre-defined partitions (XFS, created by Ubuntu 14.04 Live CD). I can select the little 500MB partition and give it a mount point of /boot no problem. When ...
0
votes
1answer
51 views

How to create a volume group that is larger than 2 TB on a non-GPT system?

I've recently setup a CentOS 6 x64 server with 4x 3TB drives, running on top of a RAID-10 array. Current partition schema is as below; /boot 500M (Standard ext4) vg_root 10G (LVM) swap 12G ...
0
votes
1answer
47 views

Firewalld says a port is open, but nmap says its closed

On my CentOS 7 install I'm having trouble connecting one of my email accounts made on the server as an alias on Gmail. I have run the following commands: firewall-cmd --permanent --zone=public ...
0
votes
1answer
29 views

Issue with copying the public Key

I'm trying to copy the public key to my remote host but I keep getting this message, "Permission denied (public key). Password authentication is set to YES in my /etc/ssh/sshd_config file, I have ...
1
vote
2answers
35 views

Run an executable as a service on a port

I have a C program (say a simple Queue system) which I compile and get an executable file. I want to run this executable as a service on a specific TCP port on a CentOS system which I can connect to ...
0
votes
0answers
33 views

How to bootstrap a new dependency configuration on a cluster?

I have access to a cluster running a CentOS 6, which have not been updated. For that reason, the glibc, ld-linux and other dependencies that, I think, are kernel-based are all out-of-date. I have no ...
1
vote
3answers
110 views

NTP synchronization in CentOS 7

I configured an NTP server on a CentOS 7 machine (a virtual one) and also configured the ntp.conf file of the clients (which also are virtual and run CentOS 7). The NTP synchronization works perfectly ...
0
votes
1answer
45 views

CentOS “service network restart” FAILED - where is the error log?

In CentOS, I ran the following command. But it doesn't give me explicit errors to investigate. How can I troubleshoot further or find the errors? service network restart
0
votes
2answers
46 views

How do you stop posgresql on centos 7?

How does one stop a Postgresql instance, 9.2, on CentOS 7. I found nothing under /etc/init.d/ nor a ctl program.
0
votes
0answers
41 views

Rockstor hanging infinitely on boot

I been using this site for a long time but this is my first time asking a question. So here goes: I have recently created a NAS running Rockstor and everything seemed to be running fine (apart from ...
0
votes
1answer
40 views

Docker image create

I want create own docker image. I use a Dockerfile to create it and want to run only httpd server and mysql client. below can see my edit file. Is my Dockerfile is correct or not? # Dockerfile that ...
0
votes
0answers
30 views

autofs asks password for passwordless samba share on Centos 7

I have a samba share that does not require password. Here are non-default lines in my smb.conf: [global] map to guest = Bad User [distr-ro] path = /home/distr public = yes ...
1
vote
1answer
26 views

Are yum updates seamless?

Let's say I want to use yum to update mysql. Let's also say that I have a cron job that runs some commands using mysql. If I do a yum update, and then that cron job runs during the update, is there ...
0
votes
1answer
68 views

GRUB2 CentOS7 KDE boot logon screen

First of all so you understand my knowledge on the matter, I'm a 10-year Mac user and I only run Linux vm's to serve enterprise services. I have never really used Linux X systems, beside gnome once or ...
0
votes
1answer
108 views

Troubles with certificates

[Tue Mar 01 17:29:01.443730 2016] [:error] [pid 12834] Misconfiguration of certificate's CN and virtual name. The certificate CN has mail.[domain.com]. We expected www.[domain.com] as virtual name. ...
0
votes
1answer
50 views

How to make a simple script run at login everytime

I'm extremely new to Linux style computing. Please keep that in mind. I figured out how to write a script for the calendar to pop up in the terminal. !/bin/bash Shell Scrip to display current date, ...
0
votes
0answers
30 views

Transaction check error when trying to update ganglia-web on CentOS 7

I'm trying to update the version of "ganglia web" on CentOS 7 but I'm getting this "transaction check error" message. Here are the details of what's displayed: Downloading packages: Running ...
1
vote
3answers
75 views

preventing dos attack in apache webserver

This is the version of apache we're using - httpd-2.2.15-39.el6.centos.x86_64 We recently had our website down due to DoS attack and hence started exploring iptables, and how to use it to prevent DoS ...
0
votes
0answers
28 views

has anyone successfully installed AMD proprietary drivers on Centos 7 and AMD 7730M?

The question is pretty straight forward. I was able to build the rpm package called fglrx_p_i_c-15.302-1.i386.rpm using the help offered at my previous question on the matter: how can I build Radeon ...
1
vote
1answer
59 views

How to debug an Out of memory crash

Recently one of my CentOS6 server crashed because of an Out of memory Error: It seems to be related to the postgres database used by java web-applications (deployed on tomcat). But I cannot find ...
1
vote
1answer
79 views

iptables rule explanation

I was looking to update iptables in our webserver which would prevent DoS attack to an extent. 1) Related to web traffic, below are the iptables rules i found. iptables -I INPUT -p tcp --dport 80 ...
1
vote
0answers
66 views

Force OpenVPN to route all traffic through one IP address (2 IPs on same NIC)

I've trying to dig up a solution for this, but all I keep turning up is how to bind OpenVPN to a particular hardware interface. Not quite what I need to do here. I run a server and I have 2 IPs at my ...
0
votes
0answers
54 views

Is there any way of opening a remote session without using the display in rdesktop?

I'm trying to use rdesktop to connect to one of my machines: rdesktop -u username host -p password When I run this command I get ERROR: Failed to open display: which is normal as I'm connected to ...
0
votes
1answer
61 views

Install php-pecl-memcached

I'm trying to install php-pecl-memcached in php v5.4.45 and Centos v6.5. My command is following. yum --enablerepo=remi install php-pecl-memcached However I encountered the following error. ...
1
vote
1answer
80 views

md raid not mounted by dracut

Background I'm running Centos 7. Originally, it was running on a single disk that looked something like this: 1 200M EFI System (/boot/efi) 2 500M Microsoft basic (/boot) 3 465.1G ...
2
votes
0answers
139 views

Install CentOS on RAID (manually) on UEFI system

I'm struggling with the manual configuration of a RAID1 + RAID10. I'm trying the procedure on a VM (VirtualBox 5.0.14 r105127) on OSX 11.10.3. The strategy I took is: The complete set of commands I ...
0
votes
1answer
109 views

Best practice for installing Oracle 11g R2 on CentOS 7 / RHEL 7

I am a new user. I tried to log into chat to ask advice in framing this question, but I need at least 20 reputation points to participate in chat, so I am asking here with the intent of improving my ...
0
votes
0answers
49 views

can't `yum install ruby-augeas` on centos6.7

I have a problem installing ruby-augeas gem. (reason behind this, is so I can install stackstorm... which stops its install due to this) Following the errors/logs, it appears I need to downgrade(!) ...
0
votes
1answer
149 views

CentOS 6 and Devtoolset-3

Trying to install C++ from Devtoolset-3 to my CentOS6 system I've ran into dependencies problem: bash-4.2# yum install devtoolset-3-gcc-c++ Loaded plugins: fastestmirror Loading mirror speeds from ...
0
votes
1answer
52 views

No 'Makefile' created KAMENSKY/Text-Bidi-2.11.tar.gz

I am trying to install following perl module via cpan on centos 6.x but unfortunately getting error. Please advise to solve. Text::Bidi Version: 0.03 Usage: Label batch PDF CPAN /usr/bin/cpan ...
0
votes
0answers
11 views

No 'Makefile' created KAMENSKY/Text-Bidi-2.11.tar.gz [duplicate]

I am trying to install following perl module via cpan on centos 6.x but unfortunately getting error. Please advise to solve. Text::Bidi Version: 0.03 Usage: Label batch PDF CPAN /usr/bin/cpan ...
1
vote
2answers
63 views

Renaming Files and Directories Recursively using rename/find

I started learning linux on vmware using centos 7. I created an image directory and several layers of files and sub-directories in that folder. most of the names containing spaces. I want to use a ...
0
votes
1answer
60 views

How to install Neo4j on CENTOS 6.7 x86_64?

I want to use Neo4j on CENTOS 6.7 x86_64, but I could not set up the Neo4j Server, I am using secure shell, typing this command : wget -O - http://debian.neo4j.org/neotechnology.gpg.key | apt-key add ...
0
votes
1answer
34 views

Finding the Oracle JDBC version using the command line

I want to check out the Version of my Oracle JDBC driver. In this case, I know the driver is 12.1.0.2: /u01/app/oracle/product/12.1.0.2/dbhome_1/bin/oracle But without that I am searching for a ...
0
votes
2answers
34 views

how to create table with fields in command line Centos

How do I do this in command line? Below is code i saw imported to PhpmyAdmin but i don't use any interface... CREATE TABLE IF NOT EXISTS `products` ( `id` int(11) NOT NULL AUTO_INCREMENT, ...
1
vote
2answers
33 views

Efficient way to deploy a custom kernel onto multiple hosts

I recently had to do a custom build of the Linux kernel from its source. That custom kernel is now installed on the machine I used to build it and works fine. Now there are other similar systems ...
1
vote
1answer
152 views

Docker container doesn't expose ports when --net=host is mentioned in the docker run command

I have a CentOS docker container on CentOS docker host. When I use this command to run the docker image docker run -d --net=host -p 8777:8777 ceilometer:1.x the docker container get host's IP but ...
0
votes
2answers
47 views

how to uninstall oracle 11g xe from centos 7?

I installed oracle 11g xe to test a software and have not been using it for a while. How to cleanly uninstall?
1
vote
2answers
54 views

Could the compile procedure be the real difference between Red Hat EL and CentOS? [duplicate]

The last few days I'm itching to change the distribution I'm using for years, Debian. Since stability is of major importance for me and I'm not interested in bleeding edge features, I've decided to ...
0
votes
0answers
16 views

Audit source cant able to run auditd

I have downloaded the audit-2.4.1-5.el7.src.rpm package, built, configured, performed make and make install steps. The auditd.service has been included in the systemd/system/ folder. Now, service ...
1
vote
1answer
41 views

ImportError: No module named '_struct' when installing setuptools

I've installed separate Python versions on Centos 6.7 using the instructions listed here, using a local install (not my package manager). When I tried to install [setuptools][2] (e.g. python3.5 ...
1
vote
1answer
41 views

CentOs 7 CronTab set JAVA_HOME

With the root user I configured the JAVA_HOME variable for crontab like this: [root@localhost ~]# vim /etc/crontab _______ SHELL=/bin/bash PATH=/sbin:/bin:/usr/sbin:/usr/bin:/opt/jdk1.8.0_71/bin ...
-1
votes
2answers
228 views

install syslog-ng on CentOS 7

I've just finished installing a fresh installation of syslog-ng on CentOS 7, but syslog-ng.service failed to start. It says: Failed to issue method call: Unit syslog.service failed to load: No ...
1
vote
0answers
67 views

CentOS 7 unable to cleanly umount a bind mount using rbind and rslave

The following sequence of commands will fail on CentOS 7 (kernel version: 3.10.0-327.10.1.el7.x86_64): [hidden]$ mkdir -p A B/a C/b [hidden]$ sudo mount --bind A B/a [hidden]$ sudo mount --rbind B ...
0
votes
0answers
25 views

Disable Power Management in CentOS 7 with KDE

I have just installed CentOS 7 on a new laptop and have a strange compatibility issue where I get a black screen when I plug in the power adapter. I found the fix to be unticking the 'Enable Power ...
1
vote
0answers
33 views

List services with port numbers

I would like to list all installed services (especially running) with their port numbers, where they are assigned. Could you be so glad and help me with this command?