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

rsync: Sync all files to single directory, ignoring directory structure

I would like to sync all files to a certain directory without syncing the directory structure. So far, I have this: rsync -vcr --remove-source-files --exclude='*sample*' --exclude='*Sample*' --include='*/' --include='*.avi' --include='*.mkv'…
Cory
  • 39
  • 3
3
votes
1 answer

Solr Quickstart tutorial: "Error: Could not find or load main class org.apache.solr.util.SolrCLI"

I am following the solr quickstart tutorial, and I was unable to even make it halfway down the page before running into issues. I downloaded the tarball here using wget, and then ran a tar -xvf on it. I attempted the VERY first command... bin/solr…
Zack
  • 13,454
  • 24
  • 75
  • 113
3
votes
4 answers

PHP with MSSQL not installing in centos 7

I want to connect MSSQl server through PHP in CentOS Linux system. But getting below error, Fatal error: Call to undefined function mssql_connect() in /var/www/h..... For that, i refered some site and found solutions. But that also not…
selvan
  • 1,183
  • 3
  • 16
  • 24
3
votes
2 answers

OpenStack: Keystone and nova-network inactive after reboot

After Installing RDO (OpenStack Packstack) on CentOS 7.2 (7.2.1511) I always end up with following: Once OpenStack is successfully installed I can use OpenStack as intended. Even that openstack-status returns: .. openstack-nova-network: …
3
votes
2 answers

Installation of package ‘forecast’ had non-zero exit status

With R version 3.2.3 (2015-12-10) on centOS I am trying to install.packages('forecast') I get this: install.packages('forecast') Installing package into ‘/usr/lib64/R/library’ (as ‘lib’ is unspecified) also installing the dependency…
Emad
  • 279
  • 5
  • 22
3
votes
1 answer

Run R script with the start up of R

I just want to run an R script example.r automatically when I start R I am using R version 3.2.3 on centOS I searched for this but I couldn't figure that out.
Emad
  • 279
  • 5
  • 22
3
votes
1 answer

Can't locate object method "ssl_opts" via package "LWP::UserAgent"

All related modules are installed and also checked dependencies ..already installed everything even though given below error : Can't locate object method "ssl_opts" via package "LWP::UserAgent" on centos 6 Can anyone help me?
dev disoza
  • 31
  • 2
3
votes
2 answers

Trigger event on AWS EC2 instance stop/terminate

Is there some way to trigger an event (e.g. running a script to push some logs to S3) when an EC2 instance is stopped/terminated? I have looked into triggering the script using a service in /usr/lib/systemd/system but I haven't had any luck with…
user1015492
  • 155
  • 2
  • 10
3
votes
1 answer

Cron BAD FILE MODE vs permission denied

I have a cron job for backuping my databases: ➜ ~ crontab -l @daily /etc/cron.d/pg_backup.sh There is a problem with setting appropriate permissions, though. When I have: ➜ ~ ls -l /etc/cron.d/pg_backup.sh -rwxr-xr--. 1 root root 1359 Apr 14…
Kamil Lelonek
  • 14,592
  • 14
  • 66
  • 90
3
votes
1 answer

kick-start via virt-install does not reboot

I have a setup where I perform a kickstart of a new VM through a virt-install. Everything runs fine but in stead of performing a reboot, as instructed in the kickstart file, the virtual machine shuts down. The VM host is a CentOS 7.2 system running…
Johan G
  • 407
  • 5
  • 12
3
votes
2 answers

How do I include packages in different directory with CMake?

I am trying to compile a piece of C++ code on a server with CentOS. I need to include a library (NLopt) that is installed as a module at the location "/services/tools". I have tried "module load NLopt", but CMake does still not find the…
Christian Ravn
  • 187
  • 1
  • 2
  • 14
3
votes
3 answers

Init.d script hanging

I have an init.d script that looks like: #!/bin/bash # chkconfig 345 85 60 # description: startup script for swapi # processname: swapi LDIR=/var/www/html/private/daemon EXEC=swapi.php PIDF=/var/run/swapi.pid IEXE=/etc/init.d/swapi ### BEGIN INIT…
ehiller
  • 1,346
  • 17
  • 32
3
votes
1 answer

lldb arrow key issue

I'm building the llvm/clang/lldb tool chain on my CentOS 6.6. I checked out the code of the version 3.7 and built the clang/lldb executable successfully. Everything works grateful except when I launch the lldb debugger and hit the arrow keys I just…
jayatubi
  • 1,972
  • 1
  • 21
  • 51
3
votes
2 answers

PhantomJS 408 error "Socket operation timed out"

I'm getting this error when trying to open a webpage that is on the same server as the PhantomJS code. PhantomJS can open any other webpage (ssl or not) but won't open any webpage that is on my server. I always get this error and there is very…
David T
  • 134
  • 1
  • 10
3
votes
1 answer

php gnupg get_key failed error

I am trying to decrypt a simple message with PGP(gnupg) in PHP. But I always get this error: get_key failed. On stack-overflow I see many people with this problem but I can't fix it. I followed this tutorial that includes how to set the permissions…
Jan Wytze
  • 3,307
  • 5
  • 31
  • 51
1 2 3
99
100