CentOS is an Enterprise-class Linux Distribution derived from Redhat Enterprise Linux sources freely provided to the public.

learn more… | top users | synonyms (2)

4
votes
2answers
377 views

Host multiple Linux distros on PXE Server and show these choices to PXE client

PXE Server - CentOS 6.5 64bit Objective - Client should be presented with OS choices in network boot menu - Oracle Linux 6.5, RHEL 7, Ubuntu 14. Upon selection it should proceed with the selected OS ...
0
votes
2answers
3k views

SSH connection refused

I have a CentOS Linux server with a SSH connection. It works perfectly but from time to time, the server refuses the connection. If I reboot the server, I can SSH again. What could be wrong?
0
votes
2answers
1k views

How to permanantly disable /var/log/lastlog?

When I delete files such as /var/log/lastlog, /var/log/utmp and /var/log/wtmp the files will be recreated. How do I disable the recreation of those files?
0
votes
0answers
16 views

firewalld isn't blocking/dropping ports for ports mapped from docker containers

I have firewalld installed and running on my machine. here are my active zones # firewall-cmd --list-all-zones ... drop (active) interfaces: enp2s0 sources: services: http https ssh ports: ...
5
votes
1answer
2k views

How to create a git repo using Nginx?

I've a CentOS 5 server at domain.fr. I am trying to set a subdomain so that I can use it with git : git.domain.fr My repositories are in /home/git (example /home/git/repos.git) I've installed ...
1
vote
0answers
31 views

Limit system processes using cgroups

My server runs several dozens of processes that are not in my control (mostly monitoring software). According to my application logs, sometimes some of the third party processes try to allocate too ...
1
vote
1answer
45 views

What regulates user privileges for the `mount` command?

My installation of CentOS 6.5 has stopped auto-mounting DVDs in KDE (default) X Window desktop environment (e.g. with all the KDE helper functions). Trying to troubleshoot this unexpected change in DE ...
1
vote
1answer
545 views

Got the “ERROR: Cannot decode data link type 239” message when turn on sniffer mode

I would like install snort 2.9.6 into Centos 7 the installation is ok and the result of the self-testing mode is correct but when I run this command to change Snort into sniffer or nids mode. I got ...
7
votes
2answers
73k views

Installing git “sudo: apt-get: command not found”

I am trying to install git. I run the following command: sudo apt-get install git-core git-gui git-doc But receive the following error: sudo: apt-get: command not found What should I do?
2
votes
2answers
80 views

Separate Network Traffic on Two Network Interfaces

I am not an R&S professional, so much of that realm of computing escapes me. Could you lend your expertise in helping understand how to go about configuring the separation of network traffic on ...
1
vote
2answers
3k views

CentOS Apache virtual hosts sites-available type structure

I just set up LAMP on a new CentOS server. Previously when I installed LAMP on Ubuntu, I always needed to create a virtual host definition for each website I create in my /var/www directory. But on ...
0
votes
0answers
21 views

Saving log files in the user account /home/user when hosting mutliple sites

I'm using Centos 7 and virtual host. The sites are all working great but I am trying to save the ErrorLog and CustomLog in /home/user/www/log instead of /var/log/httpd. When I change the location of ...
6
votes
6answers
8k views

jemalloc and other errors making redis on centos 6.4

I am setting up a new, dedicated, centos 6.4 system with redis. I have installed redis many times, but have never hit this issue (and have never been on centos 6.4 before). cd redis-2.6.16 sudo make ...
0
votes
2answers
4k views

What causes cron to continuously send mail and how can I disable it?

I have a problem on CentOS 6.3 system where the crond process tries to unsuccessfully send mail over and over (at least I think this is what its doing) until the OS eventually generates a "too many ...
1
vote
1answer
44 views

Adding alias in /etc/hosts for Linux OVM

I have deployed a CentOS 6.6 VM (hortonwoks sandbox VM) on my Windows 7 OS. The VM publishes apache spark applications through a http url. The url's have the hostname as "sandbox.hortonworks.com" ...
0
votes
1answer
19 views

Different linux OS on particular hdd

Have Adaptec RAID controller. There're 4 hdds on it. Existed Centos 5.10 on: /dev/sda1 - /boot ext3 /dev/sda2 - LVM I decided to migrate to Centos 7 and installed It on: /dev/sdd1 - /boot XFS ...
2
votes
3answers
832 views

installing eric5 in CentOS 6.4

I am trying to install Eric Python IDE 5 in my CentOS 6.4. The problem here is even I have installed PyQT4 its again saying that module is missing. what I am supposed to do ? here is the terminal log ...
2
votes
1answer
3k views

Can not use WEBEX in CentOS 6.5 , Fedora 18 and 20

Tried to use WebEx with the following setup: Machine : intel i5 , x86 architecture OS : CentOs : 6.5 , Fedora 18 and Fedora 20 Java : jdk 1.7_45 64 bit Browser : firefox 26 with java plugin ...
0
votes
1answer
65 views

Installing CentOS from USB results in black screen

I have an old Dell Latitude laptop (running xp) that I'm trying to turn into a test server running CentOS. It doesn't have a cd drive on it, so I'm forced to use a flash drive to try and get the new ...
0
votes
0answers
43 views

Problem Creating a tun interfcae with SoftEther VPN Client on CentOS

I'm trying to make a VPN connection using SoftEther VPN Client on CentOS 7. When I try to create a new NIC, I get this error: VPN Client>NicCreate NicCreate command - Create New Virtual Network ...
3
votes
2answers
4k 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 ...
0
votes
0answers
20 views

User Mode Linux - running CentOS - recommended FS & Kernel combination

I'm trying to run CentOS6 in "User Mode Linux" - i.e., virtualization without root privileges. It can be either 32 bits or 64 bits - whatever works right. The UML kernel is distributed seperately from ...
0
votes
1answer
45 views

Install Mono Project Offline on Centos 7.0

I want to install Mono on CentOS 7. My problem is that I can't connect my machine to the internet. What Packages do I need to download for complete installation?
0
votes
1answer
465 views

gpg-agent fail: undefined symbol gpg_err_set_errno

We started to get some odd issues yesterday; possible due to a yum install gone bad? One of the issues, PS -ef hanging indefinately (actually an ps command that looks at other user state) was fixed ...
0
votes
1answer
47 views

Dtrace on linux

I am trying to install dtrace on Cent OS 6.4 kernel 2.6.32-358.el6.x86_64 with following error [root@mscserver dtrace-20150306]# make all BUILD_DIR=build-2.6.32-358.el6.x86_64 tools/build.pl ...
0
votes
1answer
897 views

Unable to view traps through snmptrad?

I've been unable to view traps through snmptrapd. I generated a SNMP trap manually using the below provided snmptrap command: snmptrap -c public -v 2c -n "" localhost 0 uptime But I'm ...
0
votes
0answers
23 views

kickstart does not chmod a file in %post section

I have the following code executed in the %post section of a kickstart file for RHEL 6.6. echo '#!/bin/sh' > /root/add_user echo 'if [ $# -lt 1 ]; then echo "no username provided"; exit 1; fi' ...
2
votes
0answers
57 views

Install Centos7 with kickstart file fails with “entering emergency mode”

I've created and tested a kickstart file using virtualbox. However, when I try to use the same kickstart file on a different computer, I get "Warning: Could not boot", "Generating ...
1
vote
0answers
109 views

“Error uncleared PCH FIFO underrun on transcoder A” during boot centos 7 on toshiba

I have toshiba Satelite model (C50 1001C model number) laptop. When I start it is giving 1.643361 [drm:cpt_serr_int_handler] *ERROR* uncleared PCH FIFO underrun on transcoder A 1.643363 [drm ...
0
votes
1answer
26 views

Apache giving me 403 on Virtual Host

I have been trying to get to grips with Apache in CentOS 7. I have set up two virtual hosts and created basic index.html pages as follows: /var/www/domainA/public_html/index.html ...
2
votes
1answer
101 views

Stable server distribution without systemd (for OpenVZ)?

I don't want this to become a "my distribution is better" flamewar so please read the whole question and only answer if you know a distribution that fulfils all requirements. The situation is the ...
0
votes
0answers
23 views

HAproxy wont see Apache after uninstall Nginx, why?

I have a website I need to mount and I'm doing so with an HAproxy as load balancer, 3 webservers, 1 memcached, another HAproxy and a mysql galera cluster with 3 servers. All in CentOS 7. Anyway I ...
1
vote
1answer
1k views

Empty desktop after installing xrdp on Centos 6.5 with XFCE as window manager

I followed the directions to install xRDP from this site (http://ajmatson.net/wordpress/2014/01/install-xrdp-remote-desktop-to-centos-6-5/) When I RDP from Windows -> Linux, I successfully enter ...
4
votes
2answers
2k views

What is the purpose of avahi on a RHEL 7 server?

Running a server machine with CentOS 7, I've noticed that the avahi service is running by default. I am kind of wondering what the purpose of it is. One thing it seems to do (in my environment) is ...
5
votes
9answers
73k views

yum update fails: Error: Cannot retrieve repository metadata (repomd.xml) for repository …

I'm using CentOS 6.3. When I try to update my system with yum I have this message: yum update Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mirrors.ircam.fr * ...
0
votes
0answers
96 views

How to install WiFi driver in CentOS 7 on notebook Lenovo Z570

I'm newbie in CentOS. After installing (7) I can't get to work WiFi on my notebook (Lenvov Z570). Also I installed latest drivers by instruction Below diagnostic output: rfkill: [nikolay@lenovo ...
0
votes
1answer
83 views

Centos 7.1 still using outdate kernel 3.10 how to upgrade to kernel 4.0

I'd like to upgrade my Centos 7.1 kernel from 3.10 to 4.0 i did successfully in Ubuntu 15.04 using Linux 4.0.1-040001-generic even though i updated it manually it's works fine so please could ...
0
votes
0answers
18 views

Zpanel Not Showing Anything in Admin Screen / Reinstall / Repair Required

I was trying to update zpanel repository so ran few commands including zppy update zppy update zgodx and after that my zpanel admin area shows nothing , it's empty, no modules show, if I try to ...
1
vote
1answer
38 views

linux commandline can connect but webserver (or php) can't connect

We can connect to a specific url with linux (centos 6) commandline (curl, wget,...) But we can't connect to it by webserver (apache) or php. I did 'setenforce 0' command, after that webserver and ...
0
votes
0answers
29 views

Gpgpu-sim dependencies in centOS

I try to install gpgpu-sim in my CentOS 6, there are some dependencies need to be installed before I can compile gpgpu-sim successfully. the dependencies are as follows: GPGPU-Sim dependencies: ...
0
votes
1answer
65 views

Systemd kills service immediately after start

I'm writing systemd unit file for OSSEC HIDS. Problem is that when systemd starts service it immediately stops them. When I use that ExecStart directive all working fine. ...
0
votes
1answer
1k views

Adding a second hard disk CentOS

I'm running CentOS on my VMware server console, and I want to know how to make a second virtual hard disk on which I can expand the size of the primary logical volume AND and a third to hold two ...
3
votes
1answer
7k views

installing fail2ban on CentOS 7

I am using @GarethTheRed 's answer to this question to install fail2ban on a remote CentOS 7 server. I am able to complete all the steps up until tail -f /var/log/fail2ban.log, at which point I get ...
0
votes
0answers
22 views

File permission issue with web server

Our project files is hosted in Linux server using root user, i tried find the user for Apache/PHP, here is what i got by running ps aux | egrep '(apache|httpd)' [root@server tmp]# ps aux | egrep ...
0
votes
0answers
13 views

Centos 7 - where is jfx library for openjdk8?

I have centos 7.1. And I installed openjdk8 and openjdk-devel8. However, when I tried to compile in netbeans my jfx application I get package javafx.* does not exist. After some investigation I see ...
0
votes
1answer
148 views

Globally change terminal background in centos 7

This has been frustrating me. I've done a ton of googling, can globally change text in terminal using .bashrc, but I cant figure out how to change the white background to black. Going to terminal ...
0
votes
0answers
31 views

Centos 7 Slow Resolve

After installing Centos 7, I noticed that DNS lookups for addresses saved in /etc/hosts take long time, here is example: time curl -X get http://localhost real 0m0.159s user 0m0.004s sys ...
0
votes
1answer
19 views

Centos 7 - no network adapter

I've just installed centos 7.1 (64 GUI). During installation it showed me no network device (screen where people set languages etc) - I was suprised but continued installation. When I started centos ...
0
votes
1answer
854 views

Upgrade OpenGL from 1.2 to 2 for Nvidia GT218 [GeForce 310]

To run my application OpenGL version 2.0 or higher is required. glxinfo | grep OpenGL yields: Xlib: extension "NV-GLX" missing on display ":1007.0". OpenGL vendor string: Mesa project: ...
0
votes
0answers
40 views

Speed issue in copying files from one host to another

I have at home two centos boxes: Box A - centos 6.4. gui version Box B - centos 7.1. minimal version. They are connected to 100Mb router (both boxes have 100Mb network adapters). Box B has software ...