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
34 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:/...
1
vote
0answers
12 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 ...
0
votes
0answers
19 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
39 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 ...
0
votes
1answer
11 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
22 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
34 views

Restrict a user so it doesn't have permission to do anything

I am trying to create a user whose only goal is to authenticate and receive jobs and files from a virtual printer (CUPS) in his home directory. The user should not be able to do anything at all. Even ...
3
votes
0answers
30 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
1answer
22 views

aes-ni enabled but no kernel support?

Tools like cpuid and cat /proc/cpuinfo can confirm that aes instructions are available right? But then I check /proc/crypto and do not see AES. I am running CentOS 6. Am I correct in my understanding ...
0
votes
1answer
29 views

Script to ban IPs that try to enter root on server

Is there such a script that blocks IPs that try more than 3-4 times to access root? Because everytime I open the server (CentOS) i get the message that root has been brute forced (bots obviously). I ...
-3
votes
1answer
15 views

how to configure kickstart server in RHEL7? [on hold]

please let me know the full configuration of kickstart server in RHEL7 server.
0
votes
0answers
6 views

Internet keeps getting disconnected on VirtualBox Host

I'm running OS X 10.11.5 on which I have installed CentOS 7 on VirtualBox. Everything seems to be working correctly except this minor bug. Internet keeps getting disconnected if I leave the CentOS ...
1
vote
1answer
59 views

Unable to add or delete users

I'm currently having issues running adding, deleting and modifying Linux users. Reasonably new to Linux so pretty sure I have tried everything to resolve this. [root@device01 /]# useradd testuser ...
0
votes
0answers
30 views

Outgoing network connections fail, incoming ssh login delayed [closed]

I'm having the following trouble with outgoing connections in CentOS: yum cannot connect (just hangs on "Determining fastest mirrors") Could not retrieve mirrorlist http://mirrorlist.centos.org/?...
0
votes
1answer
21 views

Clone disk of a running VM and run it on VirtualBox

I'm in the following situation: I need to "clone" the disks (sda, sdb) of a running CentOS VM over SSH (i did this step by following this guide) and deploy them on something like VirtualBox. I tried,...
0
votes
0answers
10 views

Add Softether Service

I'm running CentOS 7, up-to-date. I installed Softether like they did in the tutorial. Now, I tried to add ad service to start ans stop the server. Like in the tutorial. I created the file at /etc/...
0
votes
0answers
16 views

Can't pipe contents of a file but can do more [duplicate]

I am trying to transfer SSL certificates from my server to a docker container running on the same server. Permissions on the file: $ sudo ls -al live/my.server.com/cert.pem lrwxrwxrwx. 1 root root ...
7
votes
3answers
664 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 ...
0
votes
0answers
38 views

can not add key to ssh agent with ssh-add, because it asks for a pass-phrase

I just generated an SSH key, without a passphrase, to run some scripts that pull files from GitHub. However, I was having issues so I ran ssh -vT git@github.com which according to the debug statements ...
0
votes
1answer
19 views

Site cannot be reached after installing centos 7

Hello I am new to this unix background. I had set up a server on centOs 7. i had given ip as 192.0.2.123 and host name as www.example.com. now when i www.example.com hit the hostname in the browser ...
0
votes
0answers
12 views

CentOS: Torrent through VPN while still being able to serve web applications

I have a CentOS server with a a torrent client (anacrolix/torrent) and would like all torrent traffic to go through an OpenVPN connection. However, I still need the server to be able to be reached for ...
-1
votes
0answers
22 views

Unable to connect to remote asterisk

I am using CentOS 7 (Latest Veriosn). I have installed Asterisk 13 on my CentOS. Now I am trying to start the Asterisk by using this command #asterisk -rvvvvvvvvvvvvvvv but no luck,I am getting ...
1
vote
2answers
40 views

Extend virtual hard disk for CentOS

I have extended a thick virtual hard disk to 80 GB under vSphere for a CentOS virtual server. I need to extend the logical volume to maximum allowed. Can someone please assist? The physical sda2 is ...
0
votes
0answers
7 views

CC_Deny CSF does not work > CentOS6 [closed]

CSF and also installed the two dependencies, went to the CSF Firewall configuration. I opened the .conf CSF located the "CC_Deny" and added "US". I saved and used "csf -r" in the terminal to give ...
0
votes
0answers
20 views

How to create & restrict ftp user on cent os [duplicate]

I know nothing about server. but I need to setup a server and provide different ftp user accounts for different project. So, I've setup a web server. install all necessary things along with vsftp. I ...
0
votes
0answers
9 views

Getting error to install centos 7 from bootable usb

I am trying to install cent os 7 from bootable usb but it is giving below error, see screenshot Anyone knows what went wrong.
1
vote
1answer
27 views

How to setup a docker container to run on boot in CentOS 6.7

I have a CentOS 6.7 server and I would like to run the docker containers at boot time. The docker service already gets started at boot time. I would like to run this command on boot time: docker ...
3
votes
0answers
31 views

Is is possible to override an RPM's service user account during installation?

While doing an installation of an RPM using either rpm or yum is it possible to override the default user account that's typically defined in the RPM .spec file? I'm specifically dealing with an RPM ...
0
votes
0answers
33 views

Why i cannot access this shared directory? [on hold]

1) I have created two users mukesh and mukesh2 2) changed the default user private group name from mukesh to shared_dir for directory shared_dir [mukesh@centos Desktop]$ pwd /home/mukesh/Desktop [...
-2
votes
1answer
21 views

Halt the server daily at a specific hour

I have a CentOS 5 server, I want it to halt DAILY at 21:00 and wake up DAILY at 8:00 For the wake up I did it in the bios, but for the halt I want to configure it through cron. How to do it with SSH? ...
3
votes
1answer
17 views

Display and network card not working if booted without a display

I'm facing a kind of a mysterious problem. We have a PC with Debian 8 installed. It boots fine and works well, unless I try to boot it wihout a display. So, I shutdown the PC, unplug display and then ...
3
votes
1answer
32 views

can't login in new user via ssh 'server refused our key'

There are a number of similar questions, for example SSH: "Server refused our key" with no reason However, I've gone through the suggested checks and can't seem to get a new user to connect ...
0
votes
2answers
25 views

grub in centOS, I can't start my Server

I was changing my HD with a (Windows Program for Partitions), now I can't to start the server, CentOS. I remember this: /etc/grub.conf & default=1 timeout=10 splashimage=(hd0,4)/grub/splash....
0
votes
0answers
17 views

ffmpeg-php is showing in phpinfo but not working

Php info result ffmpeg-php version 0.7.0 ffmpeg-php built on Jul 13 2016 22:27:57 ffmpeg-php gd support enabled ffmpeg libavcodec version Lavc57.50.100 ffmpeg libavcodec license nonfree and ...
0
votes
0answers
12 views

Move Linux Partitions, Dual Boot with windows [migrated]

I'm not thinking about Expand Linux Partitions... I need Shrink (one, the larger) and move it (two, with the swap)... Here my HD from Windows (Disk Management) Now, I want to reduce the last ...
1
vote
0answers
71 views

CentOS 6.8 + Samba4 + Kerberos: No credentials cache found

I am trying to release a server using ‍‍CentOS 6.8 + Samba4 (Winbind - LDAP + Kerberos) + NSS. I was able to join the domain, but I still getting this warning/error message: [root@snfs2 ~]# net ads ...
0
votes
0answers
18 views

option conflicts between FPM and ./configure

Short version- trying to use FPM to make an RPM and the --python-blahblahblah flags seem to not be working. I think they are being overwritten by something else and I'm hoping someone who understands ...
1
vote
0answers
23 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, using UDP port 53. Is there a tuning mechanism that can be used to give higher ...
0
votes
1answer
20 views

append mode in Centos and Ubuntu

Both my systems show the very same permissions on the file. -rw-r--r-- I have a script running in R that uses a basic R function download.file('http://www.sample-videos.com/csv/Sample-Spreadsheet-...
-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 ...
1
vote
3answers
37 views

Finding the file that contains the added path to $PATH

A command has been added to the $PATH, but I cannot find the place that the path has been added to $PATH. Please see that which shows the full path to the binary file, however looking into .bashrc, ....
0
votes
0answers
28 views

Redhat : “gluster volume status” shows NFS Server on localhost as N/A and Offline

I have 2 Nodes GlusterFS setup on 2 Redhat 6.7 Servers. (GlusterFS versions are both 3.7.12) Then the "NFS Server on localhost" status on one Server shows "n/a" and Online "N", while it is showing all ...
0
votes
0answers
16 views

not able to install ffmpeg php

I have installed this ffmpeg in CentOS server using ffmpeg auto installer version N-80962-g70d418c. After that I downloaded ffmpeg-php-0.6.2 and tried to configure and I got this error: configure:...
0
votes
0answers
16 views

500 OOPS: cannot change directory VSFTPD and S3FS

So, I am receiving the "500 OOPS cannot change directory" from VSFTPD ONLY when I have my S3 bucket mounted. It connects and changes directories just fine when I unmount the S3 bucket. Has anyone ...
1
vote
1answer
39 views

Grant access to a different user's home directory

I've created a user that's locked down to it's home directory and does nothing else but allow a client to upload an ftp file to us - hands slightly tied at the moment regarding that, so I've had to do ...
0
votes
0answers
25 views

CentOS SFTP chroot

I've some issues chrooting an SFTP access for a client. I can access the directory, but the problem is I can't read / write, I can just access the directory. Below is what I've done : # cat /etc/...
0
votes
2answers
32 views

Trying to compile DWM on Centos 7.2 - missing freetype/config/ftheader.h

/usr/include/ft2build.h:56:38: fatal error: freetype/config/ftheader.h: No such file or directory #include <freetype/config/ftheader.h> I have freetype-devel installed. There are no other ...
0
votes
1answer
49 views

CentOS 6.5 Internet Issue Troubleshooting

I have a CentOS 6.5 server running at a remote location that I access using SSH through port forwarding on a router. Everything was working fine until today when I found I can no longer access the ...
0
votes
1answer
21 views

centos6.4 fetchmail not downloading mail more than 5MB?

i just configured fetchmail in CentOS 6.4. by the help of this tutorial everything is working mail is downloading well. But it's not downloading mails with attachments more than 5MB(approx.). ...
2
votes
1answer
29 views

How to restart ngnix server on CentOS

I recent buy a VPS on DigitalOcean and installed CentOS and follow the tutorial to install Ngnix Server, then I follow the tutorial to create a Virtual Host, but when I put this command to restart: ...