Questions tagged [centos]

1

votes
1

answer
174

Views

How to install GCC/G++ 8 on CentOS

I'm used to install packages on Debian/Ubuntu distributions, but now I need to install gcc and g++ version 8.*. There is only version 4.* in CentOS repositories. What's the correct way to install them manually?
Eenoku
0

votes
0

answer
8

Views

Yum php 7.2 install dependency errors (Centos 6)

I'm running Centos 6 and am trying to update our PHP version from 5.4 to 7.2. So far I've installed the Remi and EPEL repository as instructed by several guides. wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm wget http://rpms.remirepo.net/enterprise/remi-release-6.rpm rp...
Natalie Hedström
1

votes
2

answer
13.2k

Views

How do I manually install a program to CentOS 6, without using yum or rpm? [closed]

I have created a CentOS server in a virtual machine and now I would like to know how to install programs from scratch, without using yum or rpm. Every search I've tried on how to go about finding each individual program and what commands I would use to install them has returned very useful informati...
HonkiePlusPlus
1

votes
1

answer
408

Views

MongoDB can't start as a service

I am trying to run mongo as a service on CentOS 6, by using 'service mongod start'. However, I get the 'Failed' error I checked the log file and there is the following error at the end of it: IllegalOperation: Attempted to create a lock file on a read-only directory: /var/lib/mongo, terminating I h...
Bobonik
1

votes
0

answer
32

Views

how do I remove http to https redirects cent OS wordpress LAMP stack

I have a website that has redirects when I moved to https. I have since removed some of those pages but the redirects are still there an giving me 404 error. I have checked the .htaccess file and the redirects are not there. Where are these redirects kept? the answered provided in the post is on how...
Michael
1

votes
0

answer
246

Views

Unable to connect error in the csf update

If you refer to the ConfigServer Security & Firewall - csf on your server, in 'Upgrade' section you should see this message: 'You are running the latest version of csf. An Upgrade button will appear here if a new version becomes available' One of the features of this firewall is its automatic updat...
Ferhad Konar
1

votes
1

answer
317

Views

MBSTRING issue: Unable to load dynamic library

Error message on frontend: A PHP Error was encountered Severity: Core Warning Message: PHP Startup: Unable to load dynamic library '/opt/cpanel/ea-php70/root/usr/lib64/php/modules/php_mbstring.so' - /opt/cpanel/ea-php70/root/usr/lib64/php/modules/php_mbstring.so: cannot open shared object file: No s...
Jonathan Aboujedid
1

votes
0

answer
580

Views

centos7.2 error: Input/output error

Our server runs Centos 7.2, today it seems to fail. When I connect to it using ssh, I get -bash: /share/home/MGI/.bash_profile: Input/output error and log in like this: -bash-4.2$ ls failed, ls: cannot open directory .: Input/output error Trying to edit a file with vi will get Permission denied bu...
jsjie
1

votes
0

answer
188

Views

Postgresql initialization error

how do I create a postgresql database cluster with unprivileged user account. I'm using Centos 7. I have created a user and added them to the 'sudoers' and 'wheel' groups already. I use this user to install postgresql version 10.1 which I do successfully but when I run the initdb command to start t...
polycarp royal
1

votes
0

answer
82

Views

Transmission script-torrent-done not running?

settings.json 'script-torrent-done-enabled': true, 'script-torrent-done-filename': '/var/lib/transmission/.config/transmission-daemon/torrent_complete.sh' the owner of the torrent_complete.sh - is transmission, the chmod is 777, but the script is still not executing, what I am doing wrongg?
Blurry Script
1

votes
0

answer
14

Views

Programatically Get Monitor Make, Model and Serial No in CentOS

I need to scan multiple Linux machines running CentOS and get the systems and monitor details - Make, Model and Serial No. The machines have Nvidia GPU installed. Commands such as dmidecode are able to get a lot of hardware info such as Model, Serial No and Proc Details, but is not able to get me th...
anil
1

votes
0

answer
59

Views

Netmap pkt-gen generates no packets

i have successfully compiled and installed netmap on a node provided by my university running CentOS 3.10. Im trying to use the sample app pkt-gen for generating and recieiving packets to measure the system overhead produced i.e. the time to move a packet between the wire and the application. The f...
ccpx
1

votes
1

answer
424

Views

CENTOS 6.9 php soap extension installed but not working

I have VPS server on OVH with: CENTOS 6.9 kvm v68.0.27, WHM and cPanel When I use SoapClient get error: Uncaught Error: Class 'SoapClient' not found in /home/kowal/public_html/[...] I successfully installed soap php extension as root yum install php-soap Then go to WHM -> MultiPHP INI Editor and fo...
Blazej
1

votes
0

answer
39

Views

Could not find wheel packages using pip command on CentOS?

If I am running pip install scipy on Ubuntu, pip finds whl package and installs it but for centos, it tries to download the source and compile and install it explicitly. I have observed this with lots of packages while installing on centos I would like to know is there anything I can do on centos so...
user3401493
1

votes
1

answer
363

Views

python subprocess “no such file or directory” inside docker

app.py def which(program): import os def is_exe(fpath): return os.path.isfile(fpath) and os.access(fpath, os.X_OK) fpath, fname = os.path.split(program) if fpath: if is_exe(program): return program else: for path in os.environ['PATH'].split(os.pathsep): exe_file = os.path.join(path, program) if is_e...
ealeon
1

votes
1

answer
115

Views

Php sockets don't work properly (CentOS 7)

When the page with this code is opened it just starts infinitely loading Port 889/tcp is opened Machine has php 7.2 from remi repository with such plugins: php php-mysql php-gd php-ldap php-odbc php-pear php-xml php-xmlrpc php-mbstring php-snmp php-soap curl curl-devel php-mcrypt php-pecl-apWhat ca...
Artshellorok
1

votes
1

answer
172

Views

is it possible to have load balancer with reverse proxy on apache server?

currently I am having 4 servers as below A : 191.11.1.100 B : 191.11.1.101 C : 191.11.1.102 D : 191.11.1.103 www.example.com is cent OS server where I have installed apache and I am able to do load balancing of server A and B on the same with help of JKMount but on the same server I want to have rev...
EatSleepCodeRepeat
1

votes
1

answer
66

Views

Error while trying to update Context Broker

I was trying to upgrade my Context Broker's version with yum install contextBroker but I got the following errors. Any ideas? Error: Package: contextBroker-1.7.0-1.x86_64 (fiware) Requires: libgnutls.so.26(GNUTLS_1_4)(64bit) Error: Package: contextBroker-1.7.0-1.x86_64 (fiware) Requires: libboost_re...
Kostas Tsakos
1

votes
1

answer
198

Views

Any other SelectorProvider ( default EPollSelectorProvider) at CentOS?

Does any one know if there is any other SelectorProvider other than EPollSelectorProvider for CentOS? Or can you please tell me how to find available SelectorProvider thus I can specific in the -Djava.nio.channels.spi.SelectorProvider, therefore my applications can select other Providers? Thanks.
Aiyan Ma
1

votes
1

answer
507

Views

SVN connector JavaHL not loads

I have error native javahl 0x00100000: Cannot load libraries: Could not initialize class org.apache.subversion.javahl.SVNClient while setting Eclipse connector to SVN on my 32bit CentOS 6.9 : I did: yum install subversion-javahl Libs located in /usr/lib ls -la /usr/lib/libsvnjavahl* -rwxr-xr-x. 1 r...
vico
1

votes
0

answer
487

Views

Run React dev server as background process?

I've been recently experimenting with React and I want to be able to run the dev server that's initialized when you run npm start in the react app's directory as a background process on centOS so that I can continue to use the command line. Is this possible with something like pm2? I tried various c...
samcp20
1

votes
0

answer
139

Views

How to set up apache basic authentification with shiny server opensource?

I am trying to setup apache basic authentification to shiny server running on Cent OS 7 For the moment I figured out how to set up the authentification to basic html files floowing this tutorial https://www.server-world.info/en/note?os=CentOS_7&p=httpd&f=8 Howerver when trying to change the location...
user2486276
1

votes
2

answer
400

Views

Call to undefined function imagecreatefromwebp() on PHP Version 7.2.2

I am getting this error on PHP Version 7.2.2, which is supposed to come with webp. does webp need to be installed separately ? Call to undefined function imagecreatefromwebp() i run CENTOS 6.9 standard [host] with cpanle v70.0.12 GD Version bundled (2.1.0 compatible)
Hosam alzagh
1

votes
0

answer
255

Views

Mysql not starting generating below errors centos

Mysql is not starting generating following error. When I moved ibdata1 file in /var/lib/mysql directory it starts working but this removes my databases. The system encountered an error while starting the “mysql” service with the command “/etc/init.d/mysql start”: The subprocess reported err...
deepsingh
1

votes
0

answer
207

Views

LetsEncrypt Certbot-Auto freezes when trying to run any command on Apache

I am trying to get LetsEncrypt SSL certificates installed on a Centos 6 server using Cerbot-Auto, however no matter what I try, it just hangs on: Apache version is 2.2.15 Command ./certbot-auto -v When I press CTRL + C to exit the program, it takes about 15 seconds and then exits with a stack trace:...
Hunter
1

votes
1

answer
151

Views

Postfix integrated with SendGrid, but has since stopped sending email

I am running a CentOS server with Plesk. Several weeks ago, I set up Postfix to integrate with SendGrid using the instructions here. At the time, this worked without problems. More recently, the server has stopped sending any emails. When I use the PHP mail() function, it returns true, but the maill...
TempestWindblown
1

votes
1

answer
222

Views

Error unix_socket_directory in upgrading from postgresql 9.2 to 9.6 in RedHat

I'am strugling for hours already in upgrading my postgresql server 9.2 to 9.6. Here is what I've done: Ran this as postgres: /usr/pgsql-9.6/bin/pg_upgrade --old-bindir=/usr/bin/ --new-bindir=/usr/pgsql-9.6/bin/ --old-datadir=/var/lib/pgsql/data/ --new-datadir=/var/lib/pgsql/9.6/data/ --check Got the...
1

votes
1

answer
1.3k

Views

docker error initializing graphdriver: driver not supported

I am having problems to execute an older version of docker in a CentOS 7 VM. I installed docker Docker version 17.09.1-ce because its the version that I need, I need to run some software over it and the latest version Docker version 17.12.1-ce is not compatible with that, so I need to install and ol...
Sredny M Casanova
1

votes
1

answer
244

Views

Troubleshooting unusual Git issue, specifically the -5938 error code?

I can't seem to interact with our git repositories from one of our servers, I keep getting an odd message when I try it. As far as I know the server hasn't been updated in any fashion since the last time this particular action was run where it previously worked correctly. Can't seem to find any info...
cosmicsafari
1

votes
2

answer
365

Views

Update PATH in Centos Docker image (alternative to Dockerfile ENV)

I'm provisioning docker Centos image with Packer and using bash scripts instead of Dockerfile to configure image (this seems to be the Packer way). What I can't seem to figure out is how to update PATH variable so that my custom binaries can be executed like this: docker run -i -t my_binary I have...
IvanR
1

votes
0

answer
44

Views

Need help. Redis works like a turtle with centos swap

Need help. Redis works like a turtle with centos 7 swap. I create swap in centos 7: sudo dd if=/dev/zero of=/swapfile count=4096 bs=1MiB; sudo chmod 600 /swapfile; sudo mkswap /swapfile; sudo swapon /swapfile; sudo echo '/swapfile swap swap sw 0 0' >> /etc/fstab; Install Redis: yum -y install epel-r...
w3bc0d3r
1

votes
0

answer
132

Views

NGINX - This site can't be reached

Recently my nginx.conf files became corrupted on a couple of CentOS web servers. I put them back together based on development versions I have, but am running into an issue where I get a 'This site can't be reached.' message whenever I access the site through the clustered URL or via HTTPS. It works...
jceddy
1

votes
1

answer
2.3k

Views

Pandas unrecognized by Python3

I am using python3 in CentOS and I was able to install pandas using pip3, but when I do import pandas in python3, it throws import error: no module named pandas.
dduque
1

votes
1

answer
111

Views

PHP Warning: PHP Startup: murmur: Unable to initialize module, compiled with wrong API module

I'm trying to compile a custom php extension against php7 on centos 7. When I run phpize in the extensions directory I get: Configuring for: PHP Api Version: 20160303 Zend Module Api No: 20160303 Zend Extension Api No: 320160303 However when I install the module and run php I get: PHP...
grafhax
1

votes
0

answer
257

Views

error while loading shared libraries: libgtk-x11-2.0.so.0

I'm using CentOS 7 x64, npm 5.6.0, node v9.5.0. I executed npm i electron in my console and it completed the installation without any errors. However, when I type in electron in my console, I get the following error /usr/lib/node_modules/electron-prebuilt/dist/electron: error while loading shared li...
newbie
1

votes
0

answer
48

Views

imgcodecs.imwrite Opencv Java in Centos is very slow while writing to disk

I am writing a code to capture an image from the usb camera and saving it to disk.My test system configuration. Pentium 4 ,Centos 6.8 i am using the following jars. javacv.jar javacpp.jar opencv-linux-x86_64.jar opencv.jar opencv-android-arm.jar The program works fine but the time taken to create th...
Ijas N
1

votes
0

answer
146

Views

Can I use packer with QEMU builder to generate centOS 7 base (ISO) image?.

I have read the documentation for QEMU builder and I am wondering if it's possible to generate ISO CentOS base image with cloud init custom configuration using QEMU.
gangadhar r
1

votes
1

answer
1.9k

Views

undefined reference to `USER_ERROR__inconsistent_build_configuration__see_dlib_faq_1_'

So when I use the command make I get the following error: [[email protected] c++]$ make [ 25%] Building CXX object CMakeFiles/TestSVM.dir/TestSVM.cpp.o [ 50%] Linking CXX executable TestSVM CMakeFiles/TestSVM.dir/TestSVM.cpp.o: In function `__static_initialization_and_destruction_0(int, int)': TestSVM.cpp:...
Mona Jalal
1

votes
0

answer
704

Views

Opcache on php 7.0 Centos 7

i ran into a problem, which is bugging me for a couple of days ... I googled all over the internet but couldn't find the answer. I have VPS with centos 7, and seperate VPS for proxy with nginx. Centos VPS have php7.0 but for some strange reason CLI version of PHP is 7.1. I wanted to install Opcache...
Joe Remix
1

votes
0

answer
299

Views

Set php version for specific virtualhost Centos7/Apache

I have been installed php7 on Centos7/Apache (http://kho.ltdvietnam.com/info.php) Now I want to install and run php5.6 on specific virtualhost since that source code only can run on PHP 5.6. Could you tell me how: 1. Install php5.6 beside my current php7 2. Setup php5.6 on specific virtualhost Thank...
user3181303

View additional questions