Questions tagged [centos7]

Version 7 of CentOS Linux distribution. The CentOS Linux distribution is a stable, predictable, manageable and reproduceable platform derived from the sources of Red Hat Enterprise Linux (RHEL).

0
votes
1answer
14 views

Ansible install JsReport on CentOS 7

I am having hard time writing ansible script for installing JsReport on CentOS 7. I am trying to translate these operations: https://jsreport.net/learn/centos into ansible script. What i tried so ...
-1
votes
0answers
11 views

MySQL on CentOS 7, sudo systemctl start mysqld

I installed MySQL on CentOS 7. When I run sudo systemctl start mysqld I'm getting the below error: Job for mysqld.service failed because the control process exited with error code. See "systemctl ...
0
votes
0answers
38 views

How can i use the upgraded version of Sqlite3 for my Django project?

I am trying to create a django application on a server running on Centos 7. When i tried to migrate the application, i got the error:"SQLite 3.8.3 or later required (found 3.7.17)." Thereafter I ...
-1
votes
0answers
13 views

How to bind local ip address to public ip address in CENTOS7

I want to connect my local ip address of server to pblic ip address. I want send email from my MTA but in MTA i can only define local ip not public ip. I configured that for loacl ip (i used amazon ...
0
votes
0answers
30 views

Watching directory for new files. Faster way than using `dirent`'s functions?

I am building an application which has to check a directory for new files then, for each new file, launch a new process which manipulate that file (after which the file gets deleted). Basically the ...
3
votes
0answers
20 views

Files are not found in server, but they are uploaded

I am trying to install opencart TVS on VPS server which is running Centos 7. I have used some tutorials, done everything like they said. Opencart files are uploaded into server but however install/...
0
votes
0answers
6 views

rtweet create_token missing value where TRUE/FALSE needed

So I have been collecting tweets for some months on an external Linux Centos 7.6.1810 server but for some reasons, I can not do it anymore. So my code is consumer_key ='xxx' consumer_secret ='xxx'...
0
votes
0answers
8 views

Odoo is failing to start on Centos7 can anyone point me in the right direction?

We just installed Odoo on a Centos 7 Server running CPANEL However, when I attempt to start the service I get the following code: odoo12.service - Odoo12 Loaded: loaded (/etc/systemd/system/odoo12....
0
votes
0answers
32 views

Python script runs from terminal, but not crontab. Using absolute paths but to no avail

This is my crontab. SHELL=/bin/bash PATH=/home1/<user>/.pyenv/shims:/home1/<user>/.pyenv/bin:/usr/lib64/qt-3.3/bin:/usr/nhnkrb5/bin:/usr/bin:/bin:/usr/X11R6/bin:/home1/<user>/....
-1
votes
0answers
12 views

How am i able to add 2 dynamic ip(one primary and other secondary) to a single network interface?

The file "/etc/sysconfig/network-scripts/ifcfg-ens33" consists of the primary ip(set by DHCP). As i add an alias i.e "/etc/sysconfig/network-scripts/ifcfg-ens33:0" where i have set BOOTPROTO ...
0
votes
0answers
18 views

undefined reference to `__cxa_throw_bad_array_new_length

There are several posts citing this (or similar) undefined references, but none of those was of help. I have code which compiles nicely on gentoo 4.14.83, with both gcc-7.3.0 and gcc-8.2.0. On ...
0
votes
0answers
16 views

Jenkins file system on Linux server VS Jenkins EXECUTOR_NUMBER variable

I have Jenkins on Centos server with only one job calls "HOMEPAGE". I would like to run this job in parallel, this is why I setup 5 executors for master node. This "HOMEPAGE" job running java ...
0
votes
0answers
5 views

Need to Sticky Notes for CentOS-7

I recently started to work on CentOS-7 (moved from windows). But I am not able to install any of the sticky notes which I got from google search like Xpad, Globenote and tomboy. If someone have any ...
-1
votes
1answer
18 views

Composer install, ext-dom missing - LEMP Centos 7

When I run composer install I get the following error theseer/tokenizer 1.1.0 requires ext-dom * -> the requested PHP extension dom is missing from your system LEMP stack on Centos 7 7.3 I found ...
0
votes
0answers
11 views

No Spring WebApplicationInitializer types detected on classpath - GEONETWORK 3.6 - CENTOS7

I put the geonetwork.war file in the webapps folder of my working installation of Tomcat 7.0 on CENTOS 7. But when it tries to deploy it, I got the following error: INFO [http-nio-8081-exec-1] org....
0
votes
1answer
22 views

Unable to setup rails database

I'm trying to setup my rails environment for development on CentOS7. When I try to create the database I get the error PG::ConnectionBad: FATAL: no pg_hba.conf entry for host "[local]", user "...
0
votes
1answer
67 views

How to fix my bash script from error: syntax error near unexpected token `done'?

I am trying to run this bash program in a Centos7 machine. I have tried many different ways but all the time I get this error: line 31: syntax error near unexpected token `done' line 31: `done' Line ...
0
votes
0answers
24 views

connect EHOSTUNREACH nodejs

I have 2 server running on same ip but difference port: 3000(nodejs) and 8080(php). Some reason I call api to ip:3000 then I use library request-promise to access ip:8080, but I get error: Error: ...
-1
votes
0answers
12 views

mod_fcgid: error reading data from FastCGI server Tryed all of these, noone work, any idea?

I have this error since 2 weeks when i go from php 5.6 to 7.2 (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server Premature end of script headers: index.php using joomla ...
0
votes
1answer
15 views

Cannot open assembly '/usr/lib/mono/4.5/xsp2.exe': No such file or directory

I need your help,i use 'yum' command to install xsp by this following command, sudo yum install xsp then i tried to ensure that xsp is installed or not, [root@vultr src]# xsp -v Cannot open ...
0
votes
0answers
270 views

django can't find new sqlite version? (SQLite 3.8.3 or later is required (found 3.7.17))

I've cloned a django project to a Centos 7 vps and I'm trying to run it now, but I get this error when trying to migrate: $ python manage.py migrate django.core.exceptions.ImproperlyConfigured: ...
0
votes
0answers
27 views

my nginx doesn't display php file at centos7

I installed nginx at centos7(VPS) I know this question are often asked here. I've been searching solution but my nginx get worse. so I post here. when first time I tried open a php file broswer asked ...
0
votes
0answers
10 views

i want to connect to mysql server and mongodb server from a client vm machine

i installed mysql server and mongodb server on a vm machine (serveur) and i want to conneect to these serves from an other vm machine (client) these bothe machines are connected with pfsense and ...
0
votes
0answers
10 views

how to allow external connection from centos server

Am trying connect to comet-server but i keep getting mysqli_connect(): (HY000/2002): Connection refused in only when i upload my file online but on localhost it all worked fine. I have check from the ...
0
votes
1answer
18 views

Jenkins cannot find g++

I am learning all of these new technologies. I have a home server for private development with latest version of centos 7.6 (minimal installation). I am trying to keep the server as light as possible. ...
1
vote
1answer
47 views

(Http-01): urn: ietf: params: acme: error: unauthorized error when I execute “$ sudo certbot renew --dry-run” command

environment ・Nginx ・ CentOS 7 ・ Certbot 0.31.0 $ sudo certbot renew --dry-run Saving debug log to /var/log/letsencrypt/letsencrypt.log Processing /etc/letsencrypt/renewal/hoge.example.com.conf ...
0
votes
1answer
35 views

How to solve PHP Error installing Composer on CentOS7

When I run sudo yum install composer on CentOS7 I get this error Error: Package: composer-1.8.4-1.el7.noarch (epel) Requires: php-zip Available: php-common-5.4.16-46.el7.x86_64 (base) ...
0
votes
1answer
17 views

I ran “certbot delete --cert-name”. Failed to restart Nginx

environment ・Nginx ・ CentOS 7 ・ Certbot 0.31.0 $ sudo certbot delete --cert-name a.example.com $ nginx -t 2019/04/13 01:19:30 [emerg] 10189 # 10189: BIO_new_file ("/ etc / letsencrypt / live / ...
0
votes
1answer
34 views

PHP Curl Error 35 - Peer reports incompatible or unsupported protocol version

I'm attempting to make POST requests to an external API(Code below). I manage to get the curl coding working on my localhost but when I go to my staging server the curl returns error Peer reports ...
1
vote
0answers
22 views

Mongo Shell from local is not getting connected to mongo server running in docker

I ran mongo server in docker and the logs came up just fine. 2019-04-12T10:39:51.334+0000 I CONTROL [initandlisten] MongoDB starting : pid=1 port=27017 dbpath=/data/db 64-bit host=8a03346e57d7 2019-...
0
votes
1answer
24 views

nginx: [emerg] bind() to ip:3000 failed (99: Cannot assign requested address)

I want running my server(nodejs) without server name. Only running on my ip address. Here is my config file: /etc/nginx/sites-available/server.com.conf server { listen xx.xx.xx.xx:3000 ...
0
votes
0answers
22 views

What can prevent me from making remote access to postgresql?

I'm trying to make remote access to postgresql that I installed on a VM with centos 7, but I get the following error: " Unable to connect to server: could not connect to server: Connection ...
0
votes
1answer
26 views

How can I properly link/build Boost library?

guys, almost going crazy with this subject. I have a big software to be installed and one of its requirements is boost library. I build it with intel toolset, but always when I trying to make ...
0
votes
0answers
15 views

Can't connect ssh on centos 7

I am using centos 7 server, connecting using ssh. Normally during business hours, it is still possible to connect by computer or phone. But at 7pm, it is impossible to connect to ssh, the company ...
-1
votes
0answers
9 views

Setup virtualhost to serve multiple site directories on the same ip address (No FQDN)

I want to use one ip address to serve two sites on the same server. I dont have a FQDN, i just have the IP I have tried a few articles but no luck. The following link is similar to what i'm trying to ...
0
votes
1answer
19 views

When I try to connect smtp in nextcloud: routines:ssl3_read_bytes:tlsv1

I’ve got a problem with the SMTP configuration in NextCloud. While using the wizard to configure the config.php file on port 25 it runs ok. But with SSL/TLS on port 465, it’s not working. The error ...
-2
votes
1answer
37 views

Get webserver configuration location from PHP extension in c++

I have created my own PHP extension in c++ and am using Centos7 - php 5.6 version. I wants to write the my extension debug log into the web server logging directory.We can get this from PHP by calling ...
0
votes
1answer
20 views

Copy rsa tokens to remote hosts within a group

I am trying to create rsa and copy to other remote machines so that test[0] is able to ssh into test[1] and test[2] My inventory file [ test ] 10.100.0.1 10.100.0.2 10.100.0.3 I want to create a ...
0
votes
1answer
21 views

Deploy rsa key to other machines

I am trying to create a key in one host and then deploy the key in the remaining hosts. But ansible is erroring out because its not able to find my key. I have created the user dbadmin and later i ...
0
votes
1answer
40 views

Nexus private docker pull image failing with x509: cannot validate certificate error

I have installed Nexus-3.15.2-01 on CentOS-7.6, Nginx reverse proxy and SSL self-signed certificate configured to access over Https. https access working fine over browser. Nexus Docker private ...
0
votes
0answers
7 views

AWS instance store volume - Create volume when instance is stopped/started thru SystemD(centos)

Hello we have an instance store volume(faster/cheaper) which we would like to create a volume(mkfs) when the instance is stopped and started via systemd.
0
votes
0answers
27 views

Write PHP log into webserver logging directory

I have my own PHP web application has some debug logs.I wants to writes this log into a file inside web server logging location For ex. Apache (/var/log/httpd/). I used Apache 2.0 handler as my server ...
0
votes
0answers
18 views

LVM over RAID1 - CentOS6 vs CentOS7

Having inherited some rather old systems at work, we are now in the middle of updating some kickstart files. To get straight to the point, the current problem I am facing is the LVM over RAID1 ...
0
votes
0answers
15 views

Docker Engine and Docker compose compatible version for Centos7.5 and Kernel 3.6

We are using CentOS 7.5 and Kernel 3.6. Can some one help me to identify which version of docker-engine and docker-compose are compatible in this case.
0
votes
0answers
23 views

yum not working on Centos7 because pycurl.so

When I try to yum update it gives the following error: # yum update There was a problem importing one of the Python modules required to run yum. The error leading to this problem was: /usr/lib64/...
-1
votes
1answer
28 views

SQUID enable offline mode to load web pages using cache

I am new to use Squid Proxy Server. I want to enable cache in SQUID Proxy Server using CentOS to view web pages offline by using Cache folder. I have configured my server to store cache on a specific ...
-2
votes
0answers
16 views

Can't SSH as root (PermitRootLogin yes)

root seems to be disabled. I did a passwd root change via sudo. Made sure password auth and PermitRootLogin was set to yes. Still not working. WHM works fine, only applicable to SSH. P.s. I can ...
0
votes
1answer
31 views

mounting bucket with fstab not working NEWBIE

I'm new on GCP and on linux and I try to mount a bucket on my centos instance using gcsfuse. I tried with a script running at boot but it was not working so I tried with fstab (peoples told me it is ...
0
votes
0answers
29 views

install yum on centos minimal machine

So far i have used GNOME version of CentOS 7, but for some reason i have to install few packages on my CentOS 7 minimal machine. The first thing i need to install is yum server on this machine. I am ...
0
votes
1answer
36 views

Bash Script: list all directories EXCEPT specified

I have bash script show directory:\ for D in /home/*; do if [ -d "${D}" ]; then #If a directory domain=${D##*/} # Domain name echo "- "$domain; fi done echo "Finished"; I ...

http://mssss.yulina-kosm.ru