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
1k views

centos: ping6 unknown host

I have centos 6.5 with ipv6 enabled and working (partially). When I'm trying to execute "ping6 bin6.it" it returns error "unknown host": [root@centos ~]# ping6 bin6.it unknown host Host is ...
0
votes
1answer
49 views

Is there some free space on this sda3 partition?

Total space of sda3 is 80.2 GiB ( 29.8 + .218 + 3.7 + 30 + 6.3 = 70.018 ) I don't understand where is the rest 80.2 -70.018 = 10.182 GB [root@centos ~]# df -hT Filesystem Type ...
0
votes
0answers
9 views

How to set my own ipaddress for centos 7 via virtual machine [on hold]

Guys i am new to linux i have installed centos 7 via virtual machine in my laptop. But laptop changes one place to another for working. can set my own ipaddress for not change from place to place. I ...
3
votes
2answers
1k views

tmux unable to start a new session? “1;2c”

Introduction I just installed tmux onto my CentOS 7 machine, but I have encountered a bewildering issue. Whenever I try to attempt to start up a session using tmux or tmux new -s session-name, it ...
0
votes
2answers
147 views

Add AD users to sudo group not working | CentOS 6.7

Just as the title states I am on CentOS 6.7 and want to add two domain admins to the sudo group. I have tried adding both users individully and both together see below: someuser ALL=(ALL) ALL #...
1
vote
1answer
14 views

Keep a live clone of a machine into another

I am trying to find the easiest and most elegant solution to keep two desktops running that are clones of each other. I have a machine running cobbler. Every once in a while a few delicate changes are ...
0
votes
0answers
13 views

Cannot install nextcloud despite correct permissiona

I have just spun up a CentOS 7 VM to host an instance of nextcloud however next-cloud constantly complains that the web-server cannot write into the config directory. My permissions are as follows, ...
0
votes
3answers
8k views

Apache httpd cannot parse php on CentOS 7

I'm setting up a new CentOS 7 server, I installed apache httpd successfully and get the html welcome page then I installed php 5.4 then tried to test it using test page: <?php phpinfo(); ?> ...
0
votes
0answers
17 views

CentOS: wrong network-scripts order for bridge

i created a new bridge in /etc/sysconfig/network-scripts/ifcfg-br0 and linked the real device in /etc/sysconfig/network-scripts/enp2s1 root@vhost ~ # journalctl -u network.service -- Logs begin at ...
0
votes
0answers
30 views

Apache PostreSQL database server only

I was wondering if it's possible to use apache to make a postgresql database available for connections from the web without using a website to interface with the database. Instead of having a webpage ...
0
votes
1answer
3k views

mcrypt, EPEL and CentOS 6.4

I am having issues installing php-mcrypt. I am not an administrator of any level. I have performed the following. Installed EPEL Installed REMI Configured EPEL Updated YUM Cleaned YUM Installed ...
0
votes
1answer
230 views

Linux command “systemctl status” is not working inside a Docker container

The command "systemctl status" is not working. It never has. My container is on CentOS 7. When I issue "systemctl status" I get results "Failed to get D-Bus connection: operation not permitted." Path ...
0
votes
0answers
8 views

Not able to discover new iSCSI targets I added

Initially I defined one target in targets.conf on my storage server and was able to discover and login to it on my client server. I logged out of this first target then defined a SECOND target on ...
0
votes
1answer
16 views

Setting up FTP Server (Passive) vsFTPd CENTOS7 issue

I'm actually having error on this setup. I'm getting 500 Illegal PORT command. 425 Use PORT or PASV first when go using command PUT. I'm currently using CENTOS 7.2 Here's my vsftpd.conf: ...
7
votes
3answers
39k views

PHP 5.5.13 on CentOS 6.5 with yum

I've got problems with installing PHP 5.5.13 (last stable build) on a CentOS 6.5 (64 bit) machine, through yum. Can somebody guide me through this a little bit? It is not a part of the CentOS, EPEL ...
1
vote
1answer
2k views

rc.local not being executed when os boots up

I have a script that needs to be run when os boots up. I added it to /etc/rc.local. It was working fine for sometime but now rc.local does not load at boot time. When i checked the permissions on the ...
1
vote
2answers
138 views

Why doesn't my blockdev config change execute from rc.local on reboot

I am (probably obviously) a relatively new Linux user, so I'm already bracing for the barrage of "why aren't you doing it this way instead..." comments. I'd love to hear them...but I would also really ...
1
vote
2answers
1k views

Failed to join domain: failed to set machine kerberos encryption types: Insufficient access

Has anyone gotten this error when trying to join CentOS 7 to Active Directory? I tried various ways(via cli, gui, tui) and always get same error. Failed to join domain: failed to set machine kerberos ...
1
vote
0answers
29 views

CentOS: Prioritize UDP traffic based on UDP port number?

We have an two important applications on a CentOS box - one is Syslog, which is using UDP port 514. The other is bind (DNS), using UDP port 53. Is there a tuning mechanism that can be used to give ...
0
votes
0answers
32 views

restarting service

When I try to restart a service like apache with the following command: service httpd restart it hangs, meaning it says Redirecting to /bin/systemctl restart httpd.service but then it does ...
0
votes
1answer
21 views

CentOS - cron service dies every few days

I am on using CentOS 6.7 server and every few days my cron service dies. I've tried checking: cat /var/log/messages | grep cron but there was nothing relevant. How can I check what's killing the ...
1
vote
2answers
51 views

Changes to /etc/security/limits.conf and /etc/security/limits.d/20-nproc.conf have no effect

On a CentOS Linux release 7.1.1503 (Linux kernel version 3.10.x) VM, I added the following lines to both /etc/security/limits.conf and /etc/security/limits.d/20-nproc.conf: someuser soft ...
6
votes
2answers
1k views

Error after installing dnf on CentOS 7

Installed dnf according to these instructions: yum install epel-release -y yum install dnf after that dnf --version works fine but dnf repolist or anything else gives: Extra Packages for ...
0
votes
1answer
72 views

Where to get l2tp plugin for Network Manager in Centos 7

I need to connect to the l2tp VPN of my company, but I cannot find the package NetworkManager-l2tp in repositories. I used to use it in Fedora, but I cannot find it in the repositories of Centos 7. I ...
3
votes
3answers
5k views

CentOS grub2 booting iso via loopback

I've got a usb-key setup to multi-boot different Linux images. I'm trying to add CentOS, here's a post with similar entries for grub.cfg set drive_label=multipass01 set isopath=/iso menuentry "...
0
votes
1answer
4k views

No IP address on VMware running centos 7

I just now installed Cent OS 7 on my VMware 8 and I am not able to connect it to a network. I checked the VM network and its mapped to the physical NIC. The same setting work like charm on my CentOS ...
0
votes
0answers
12 views

connect CentOS to PPTP vpn and stay connected via SSH

I have a centos 6.8 VPS in my university which can access the internet with PPTP VPN, The question is how can I connect it to PPTP and don't loose my connection to it over SSH? I'm totally new in ...
1
vote
0answers
60 views

NameVirtualHost address is not supported, proceeding with undefined results [on hold]

Apache Details Server version: Apache/2.2.15 (Unix) Server built: Aug 28 2015 22:18:57 Varnish varnishd (varnish-3.0.7 revision f544cd8) Copyright (c) 2006 Verdens Gang AS Copyright (c) 2006-2014 ...
4
votes
2answers
6k views

Installing python modules for python2.6

On my CentOS 5.8 system (el5 , 64bit), I had python2.4 after OS install and I installed python2.6 now. Now I want to install python modules using yum. But whenever I install a new python module it "...
2
votes
1answer
5k views

SELinux Write access for vsftpd and samba

This should be easy enough I think, but I'm new to SELinux. I have a CentOS 6 file server. I have some LVM file systems at /var/media and I want to use both Samba and FTP to share them with a Windows ...
2
votes
2answers
252 views

CentOS 7 - yum install not working

Whenever I want to use command yum install <packagename> I get error: No package available For example, [root@cpanel1 etc]# yum install autossh Loaded plugins: fastestmirror Loading ...
4
votes
0answers
35 views

Owner can't read /proc/$pid/io

On CentOS 7, I am trying to debug an issue where the nginx amplify agent cannot read /proc/$pid/io even though it is owned by the proper user. One of the nginx worker processes right now is pid 5693: ...
1
vote
0answers
19 views

Force authentication to use sssd not nslcd

What I did was: vim /etc/sysconfig/authconfig USESSSDAUTH=yes USESSSD=yes FORCELEGACY=no Then: authconfig --enablesssd --enablesssdauth --enablelocauthorize --update ...
1
vote
1answer
1k views

CentOS with AutoSSH, Port Forwarding Clarification

I'm using autossh and set it up like shown in the following example: http://surniaulula.com/2012/12/10/autossh-startup-script-for-multiple-tunnels/ I found it works really well, but need some ...
1
vote
1answer
35 views

Can not connect to the host itself

Well, the problem is simple. I have the site based on apache and trying to execute cron job at this site from the same server. Let's say my site http://example.com and cronjob is /usr/bin/curl http:/...
3
votes
1answer
890 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
2answers
2k views

ffprobe or avprobe not found. Please install one

I want to add tags to mp3 converted with youtube-dl & ffmpeg in CentOS 6: command line : youtube-dl -o '/Output/qpgTC9MDx1o.mp3' qpgTC9MDx1o -f bestaudio --extract-audio --metadata-from-title "%(...
0
votes
0answers
24 views

can't get wifi link

I just put a fresh install of CentOs 7 on my laptop. I wanted to set up the wifi using the terminal so I was following these instructions: http://linuxcommando.blogspot.com.br/2013/10/how-to-connect-...
1
vote
3answers
49 views

Run application built on Ubuntu on CentOS

Is there a way to deploy an application, that you built on Ubuntu, on CentOS? And if so, how? EDIT: Sorry, I should have given some more info. It's built on Ubuntu 15.10 with Qt 5.6, and besides Qt ...
-1
votes
1answer
10 views

Centos 7: Gnome-Shell in Multi-User.target/Runlevel3

i have a server on which have installed CentOS 7, Server with GUI. now, i have set my server to boot to multi-user.target isolation level (or run level 3 in old speak). i am unable to understand why ...
0
votes
1answer
221 views

How do I install driver for the Linksys WUSB6300 in CentOS

I want to install the WUSB6300 driver in CentOS. I found good information for Ubuntu here: driver for WUSB6300 in Ubuntu However that did not get me anywhere since the C code did not compile in ...
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 ...
4
votes
1answer
3k views

Bridge does not get IP via DHCP at boot

I'm running CentOS 7. I'm not running NetworkManager, and I've actually uninstalled it. My system is supposed to acquire an IPv4 address via DHCP on br0 at boot. Howver, when I log in, it has no ...
2
votes
3answers
133 views

How can I set up a secure LAMP stack on CentOS?

I have been using linux for years, but I need some clarification on what are probably pretty basic principles to how the OS works, but I definitely need clarification due to security concerns. I am ...
1
vote
1answer
1k views

Ffmpeg problems on centOS 5.8 64 bit

I did install ffmpeg with winff, unsuccessfully when I try converting avi to x264, it says I don't have it. When I try to convert mp4 to Xvid I get unknown encoder 'libxvid'. It's like nothing really ...
0
votes
1answer
15 views

Centos 6 Install PHP 5.6 Memcached conflicts

I have tried to install PHP Memcached but got error conflicts between attempted installs of [root@localhost ~]# yum --enablerepo=remi-php56 install php-pecl-memcached Loaded plugins: fastestmirror, ...
0
votes
1answer
25 views

yum installation fails because of a saved transaction

I am trying to install some packages and yum fails every time stating that the package should be installed by load-transaction command. I want yum to fetch the packages from internet and install it ...
0
votes
1answer
981 views

Downgrade Centos 7.2 to 7.1

I am currently using Centos 7.2.1511(check from file /etc/redhat-release) and trying to downgrade it to Centos 7.1.1503 (due to some package installation issue in centos 7.2) using the command yum ...
7
votes
3answers
668 views

How can I safely ensure a variable contains only a valid filename?

Given the script below, how can I ensure that the argument only contains a valid filename within /home/charlesingalls/ and not a path (../home/carolineingalls/) or wildcard, etc? I only want the ...
1
vote
1answer
1k views

“503 Service Unavailable” error in “yum update all” command

I am working on CentOS 6.4. I have setup a local repository using apache server. The path of the local repository is /var/www/html. The etc/yum.conf file has a proxy server mentioned through "proxy=...