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
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
39 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
33 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
19 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
26 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
33 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
52 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
22 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
32 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: ...
0
votes
0answers
10 views

CentOS or RHEL 7 - change nic used by cluster

I have a two nodes RHEL 7.1 cluster (NFS server) that currently uses 10 Gbps ethernet nics. The servers use a SAS shared storage. If I have to switch to Infiniband (IPoIB), can I stop the cluster, ...
0
votes
0answers
29 views

centos yum error: Cannot retrieve repository metadata (repomd.xml) for repository

Our OS is CentOS 5.4. I run into this metadata file does not match checksum issue when I tried to sudo yum update and searching for a solution online, I read this post https://www.centos.org/forums/...
0
votes
1answer
16 views

Flashing cursor artifact in CentOS 7

I'm using CentOS 7 with GDM/GNOME 3 on a Dell laptop. I'm using the kmod-nvidia drivers with Bumblebee to support the laptop's Optimus capabilities. In the graphical environment starting from the ...
0
votes
0answers
14 views

Sort, right-click context menu, on linux vnc desktop

I use Open in Terminal lot of times. On right-clicking VNC desktop, more often, create folder is clicked. To avoid that I wish to have Open in Terminal on top of menu or remove Create ... options ...
2
votes
1answer
44 views

yum Error: No module named site

I installed Greenplum on Centos 7 and now I cannot use yum. I need to install samba-client but when I run: yum install samba-client I see this error: ImportError: No module named site which ...
0
votes
0answers
28 views

Choosing the right Centos release

I am remotely accessing the server which is a Linux machine using Putty and VNC viewer. On my server I have Cadence circuit simulator installed, so I am remotely logging in to get access to Cadence. ...
2
votes
0answers
27 views

How To Permanently Add Source IP to Route Table Entry in CentOS 5.11

I have a multi-homed CentOS 5.11 server in which I have manually changed the default route entry so that packets are sourced from a particular IP (45.32.6.197). How can I make this change permanent ...
0
votes
0answers
25 views

Where can I find and install the mingw-w64 packages for CentOS 7?

I'd like to compile programs for Windows (such as Firefox) using mingw-w64 (not mingw32) but am struggling to find the correct packages for CentOS 7. Here's a list of my repos: $ yum repolist ...
0
votes
1answer
22 views

ecryptfs-setup-private failing on Centos 6

$ ecryptfs-setup-private --force Enter your login passphrase: Enter your mount passphrase [leave blank to generate one]: ************************************************************************ YOU ...
0
votes
0answers
17 views

Can I install Wordpress via Softaculous on CentOS? [on hold]

New to this whole CentOS thing... finding it all very confusing as I'm used to cpanel on shared hosting.. now have my own server! Trying to successfully install Wordpress and trying to find the ...
1
vote
0answers
26 views

How to set up NAT on the host for virtual machines in Fedora 23 with Firewalld, in order to make them visible to other devices on the network?

Host: Fedora 23 Guest: CentOS 7.0 KVM/QEMU Here is what I am trying to do. Set up NAT on the host system (Fedora 23) so that the guest (CentOS 7.0) would be visible from outside (by other devices ...
0
votes
1answer
23 views

Is there any way to Install postgres from Binary in linux machine irrespective of Linux build(Debian/CentOS/others)

I am trying to install postgres on different machine using ansible. Currently I am using postgres source to install on a partical location. Its taking too much time. Is their a way to run postgres by ...
3
votes
1answer
89 views

I can't enable Swap space on CentOS 7

So I'm following a tutorial to install OTRS which is Open source Ticket Request System. So in order to install, it requires: 4GB of Swap space. Here's the command i used: [root@ip-10-0-7-41 ~]# df -h ...
0
votes
0answers
34 views

stop server side caching file (Centos 7, Apache)

I set up a server but I need to disable server caching temporary on my website to see my changes. I actually set up another website on my sub-domain so it would be better if I disable caching by ...
0
votes
2answers
57 views

Unable to install libyaml-devel libffi-devel in CentOS

I am trying to install latest of ruby through RVM. I could not install install as it requires libyaml-devel and libffi-dev. When ever i try to install them i get error that no package found [root@dev ...
0
votes
1answer
48 views

Rotate IP outbound IP address in Ubuntu or CentOS

My OpenVZ VPS has two IPv4 and two IPv6 addresses: 23.54.xx.102 23.54.xx.103 2604:xxxx:1::xxxx:6x0b 2604:xxxx:1::xxxx:5x7c Now I want to rotate my outbound IP so that when I run any PHP, ruby or ...
0
votes
1answer
28 views

prompt for network setup during kickstart installation centos7

I am trying to set the ip manually during kickstart installation using centos 7. During the installation it has to prompt for the network setup. I tried using the below configuration : network --...
2
votes
0answers
36 views

CentOS 7 - Can't mount /var/tmp as bind

I'm working on a freshly installed CentOS7 with LVM. I want to bind mount /var/tmp to /tmp and added the following to /etc/fstab. /tmp /var/tmp none rw,nodev,noexec,nosuid,bind 0 0 ...
1
vote
1answer
25 views

CentOS not starting after environment change

I created a CentOS machine using a Cloudera training vm with the help of VirtualBox. Then, because I want to use spark on the virtual machine, I installed the java 1.8 version following the exact ...
1
vote
1answer
52 views

/dev/root on CentOS7 is almost full?

i have used Linux for a number of years but usually on Ubuntu and haven't ever had this issue before. The other day all of our web sites on the NGINX VHosts stopped responding and after snooping ...
1
vote
3answers
32 views

Online Linux Server [closed]

I'm wondering if there is any online Linux VM solutions available for purchase/subscription with a public IP? I'd like to pay a monthly/yearly fee for root access to an IP address of a Linux (CentOS) ...
2
votes
0answers
37 views

Redhat and Centos servers glibc errors

Please forgive if I am not wording this correctly and my current lack of information, but I am losing my mind trying to figure this out and I am not currently behind the servers in question. I have ...
0
votes
0answers
27 views

USB network card dongle on CentOS 7(.2)

I've just started using a USB-to-gigabit-nic dongle on my CentOS 7.2 machine and it's giving me a headache. To get the NIC registered I constantly have to remove and re-insert the USB after each ...
0
votes
1answer
42 views

Where to find SSL private key on a CentOS server

I am running a server on CentOS, and I would like to decrypt and view the SSL traffic. However, I cannot locate any of the keys necessary to do this. My /etc/pki/CA/private folder is empty, and my /...
1
vote
2answers
60 views

Why my web browser always downloads the .php page rather than show it?

I installed a CentOS7 system in VMware Workstation. The host machine's OS is Win7; I compiled and installed apache2 (httpd) and MySQL in CentOS, and they both work well, I mean I can visit the index....
0
votes
0answers
14 views

Booting CentOS 7 with classic grub

I'm trying to setup a new virtual server with a web host whose hypervisor platform doesn't support the use of Grub 2. So I need to setup classic Grub to boot my CentOS 7 VM. Is this possible? I've ...
-1
votes
0answers
34 views

Access tomcat server on a virtual machine

I'm having this problem, I think it's a very basic problem, many things sound similar, but still I couldn't find the answer: My laptop has windows 10, I install VM Ware and created a virtual machine, ...
0
votes
0answers
50 views

Why my CentOS7 system can't resolve domain names any more?

Yesterday , I disabled NetworkManager on my CentOS7, to get static IP when it starts. Today , I found that I can't ping to websites any more ,because it shows unknown host www.xxxx.com to any www.xxxx....
0
votes
0answers
15 views

package-cleanup --oldkernels won't clean out an old 3.x kernel with 4.x kernel installed

I think package-cleanup is getting confused and thinks only 1 kernel is installed. Centos 7.2 I had a single 3.x kernel installed. I then installed kernel 4.x using rpm -Uvh http://www.elrepo.org/...
-1
votes
1answer
57 views

Restarting a service on a time interval

How can I set the CentOS to restart a service on a time interval?
-5
votes
1answer
35 views

Why Centos RPM can not be done by the root user

In CentOS wiki says that can not be done rpm-packages under the root user, because it may damage the system. Why? I do not understand what exactly it can do harm. The documentation RPM nothing found. ...
0
votes
2answers
53 views

Why can't I configure a static IP on my CentOS7 system?

my /etc/sysconfig/network-scripts/ifcfg-eth0 is like this: And I have issued the command "systemctl restart network". But when I issued "ifconfig", it shows that the ip on eth0 is 192.168.1.117,but ...
0
votes
0answers
37 views

i915 error when installing CentOS 7 on my notebook - what's wrong?

I'm trying to reinstall CentOS 7 on my notebook. The iso has been mounted on a pen drive with uNetbootin and, regardless of being the Minimal or DVD version, I get the following errors: [drm:...
1
vote
1answer
23 views

set expiry date for an account in the future has problem

The output of passwd -S command shows a date which is quite confusing. Please see the following commands root@cluster:~# passwd -S 9240305 9240305 LK 1970-01-01 0 99999 7 -1 (Password locked.) root@...
0
votes
1answer
42 views

CentOS web server move hdd to another computer [duplicate]

I have an web server with CentOS 6.7 installed. Now I aqquired a new computer and want to make it to run the web server but it is hard to fresh install and copy all the content (hundreds of websites). ...
0
votes
1answer
82 views

Not getting a static IP for CentOS 7 [duplicate]

I'm not sure what I am missing to have my static IP?? Here are my network configuration files: /etc/hosts: 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 ::1 ...
1
vote
2answers
44 views

Unable to completely remove installed package with yum remove [closed]

I removed a package on Centos 6 with yum remove, but if I run the command yum list installed | less it's shown as installed and my problem is that it conflicts with a newer version I'm trying ...
1
vote
1answer
39 views

How to use the setarch uname command in a shell script

I am trying to create a korn shell script in RHEL7 to silently install an agent at my job. However the agent requires an old version of the agent be installed before being upgraded to the new version ...
0
votes
0answers
25 views

3.10 kernel changed how it handles scsi / udev behavior

This is a nfs booted kernel and custom initramfs to execute code on bootup. Here is dmesg after that piece completes and pivots into the running file system. https://paste.fedoraproject.org/387110/...