Questions tagged [centos]

CentOS (Community Enterprise Operating System) is based on the Red Hat Enterprise Linux operating system. QUESTIONS MUST BE ABOUT RUNNING PROGRAMS UNDER CENTOS. Questions about server administration may be asked on https://serverfault.com

CentOS is a community-supported, mainly free software operating system based on Enterprise Linux (RHEL). It exists to provide a free enterprise class computing platform and strives to maintain 100% binary compatibility with its upstream distribution. CentOS stands for Community Enterprise Operating System.

Currently supported versions:

  • CentOS 5 (April 2007 - March 2017)
  • CentOS 6 (July 2011 - November 2020)
  • CentOS 7 (July 2014 - June 2024)
12486 questions
3
votes
1 answer

Hadoop - 3 Data nodes are alive up and running but the report/url is not showing the live data nodes

I have One Name Node (Master Node)and 3 Data Node(Slave Nodes) .I have configured a single data node in Name node itself which is working fine and Showing up in the report. All the daemon are up an running individually but the 3 Data Nodes(Slave…
Vinay Ram
  • 61
  • 1
  • 1
  • 9
3
votes
2 answers

Error Installing Java7 on Linux Centos Server

Good evening, Im trying to install Jre and Jdk 7 on a commandline Centos virtual private server but it keeps trying to install each HTML line on the Oracle download page instead of the actual file. I already downloaded the rpm files and theyre in…
3
votes
1 answer

Install GMP on CentOS

I've tried to install GMP on CentOS and this error appears: yumdownloader --source gmp Enabling mysql-tools-community-source repository Enabling mysql-connectors-community-source repository Enabling mysql56-community-source repository Loading mirror…
Paulo Monteiro
  • 31
  • 1
  • 1
  • 5
3
votes
2 answers

X11 is not available - Centos

I have installed R 3.3.0 on a Centos server. I have installed multiple packages including shiny and further installed shiny server. I have loaded my app files and the app is running. I have some ggplot which is not rendering and I am getting a…
Apricot
  • 2,925
  • 5
  • 42
  • 88
3
votes
3 answers

Unable to access Jenkins from browser on Windows

I installed Jenkins on CentOS 7 running in VMware Workstation. Jenkins Service is running: jenkins.service - Jenkins Service Loaded: loaded (/etc/systemd/system/jenkins.service; disabled; vendor preset: disabled) Active: active (running)…
V. Roma
  • 31
  • 1
  • 1
  • 3
3
votes
3 answers

Futex based locking mechanism

Somebody can tell me an example of using locking mechanism based on futex? (for muticore x86 CPU, CentOS)
Dima
  • 1,253
  • 3
  • 21
  • 31
3
votes
1 answer

Selenium not working on server as it works on local machine

I have recently completed my Selenium Python scraper. It works totally fine when I run it on my personal machine but the results are not same when I run it on the server. On the server I am running headless using…
abhanan93
  • 251
  • 1
  • 2
  • 11
3
votes
0 answers

Supervisor throws spawnerr for all programs

I'm trying to configure supervisor on an EC2 Amazon Linux Ami instance. I installed supervisor with sudo easy_install supervisor and put its config file in /etc/supervisor.conf. Currently the file look like…
moku
  • 4,099
  • 5
  • 30
  • 52
3
votes
1 answer

PHP unlink large number of files

I have around 600k images in one directory, and i need to delete almost half of them with PHP. In one array i have stored names of files that need to be deleted and when I try to loop through array and call unlink($filename) server crashes after ~1k…
Milos R
  • 71
  • 1
  • 5
3
votes
1 answer

CentOS 6.6 by default uses Python 2.6, which throws a syntax error when running Swift commands

I need to use CentOS 6.6 for a project which comes with Python 2.6 by default. When I install Swift it places the install inside /usr/lib/python2.6/site-packages/swiftclient/, so if I do a 'make altinstall' to install Python 2.7 or 3.3 it still runs…
TJ_
  • 328
  • 2
  • 13
3
votes
4 answers

Cannot find mvn command after install Maven on CentOS

I followed this tutorial to try install maven on my Remote Centos server http://www.unixmen.com/install-apache-ant-maven-tomcat-centos-76-5/ I got /opt/maven when calling echo $MAVEN_HOME And got…
Bing Gan
  • 415
  • 3
  • 6
  • 12
3
votes
2 answers

Handling ctrl + c in perl when script ran using setsid

My Perl script looks like this A.pl #!/usr/bin/perl system("perl ctrlc.pl"); ctrlc.pl sub signal_handler { print "Niraj"; } $SIG{INT} = \&signal_handler; print "Enter number"; my $no1 = <>; When I run perl A.pl and press Ctrl-C it is…
Niraj Nandane
  • 1,318
  • 1
  • 13
  • 24
3
votes
2 answers

Starting services at container startup

I'm trying to run 3 services at my container startup (snmpd, sshd and centengine) As runlevel is unknown in the container, services won't start. I built an image with this Dockerfile : FROM centos:6.7 MAINTAINER nael # Update CentOS RUN…
Nael
  • 61
  • 1
  • 8
3
votes
1 answer

Python syntax error running freshly installed `meld`

I'm installing meld as described here: sudo yum install intltool itstool gir1.2-gtksource-3.0 libxml2-utils However, when I try to run meld this error appears: File "/usr/bin/meld", line 47 print _("Meld requires %s or higher.") % modver …
Michael
  • 5,775
  • 2
  • 34
  • 53
3
votes
2 answers

Insert line in nginx configuration file ansible inside http {}

I am writing an ansible script to deploy django in centos 7. My problem is with nginx. I have created /etc/nginx/sites-available and /etc/nginx/sites-enabled directories and have to include sites-available in /etc/nginx/nginx.conf file at the…
Eutychus
  • 442
  • 8
  • 12
1 2 3
99
100