1,568 questions
1
vote
1
answer
873
views
"_dbm" is missing when compiling Python 3.12.8 on CentOS 6.x
Problem
I'm trying to compile Python 3.12.8 from source on CentOS 6.x without root access because I have no sudo authority.
I ran the following commands for configuration and building:
../configure --...
0
votes
0
answers
68
views
Python requests get call getting in to unlimited waiting, where curl succeeds
In our legacy application we use Python2.6 with requests 2.9.1 for making API requests.
There a strange behavior is noticed with Python requests library that is, it gets in to unlimited wait where ...
1
vote
1
answer
167
views
Compatiility of Postgres 14.9 with Centos 6.9
I have postgres 12.18 installed on my Centos 6.9 OS (I know it's too old). I want to upgrade to postgres 14.9, is it possible ?
I am trying to install postgres 14 but getting lot of issues.
sudo yum ...
0
votes
2
answers
7k
views
Migrate to CentOS Stream 9
As we know CentOS 7 will be EOL in June the 24th. I currently have 7.9 core installed in my network, however because of the EOL and other security risks I was wondering what my best option would be. ...
0
votes
1
answer
419
views
Installing scipy on CentOS 6 (OpenBLAS problem)
I'm trying to install scipy on CentOS 6 with python 3.9.18 and get error:
../scipy/meson.build:159:9: ERROR: Dependency "OpenBLAS" not found, tried pkgconfig
The problem is that CentOS 6 ...
-1
votes
2
answers
121
views
Running `wsgetmail` service via Crontab job CentOS 6 [closed]
I want to run the below via Crontab job and not working but when put them in sh file and run the sh manually it works fine.
Sh file path: /opt/etc/rt4/test.sh and the content as below:
wsgetmail --...
-1
votes
1
answer
442
views
sudo ./VMware-ovftool-4.3.0-13981069-lin.x86_64.bundle /var/tmp/scllpy5Nh: line 8: ./VMware-ovftool-4.3.0-13981069-lin.x86_64.bundle: Permission denie
I am trying install ovftool 4.3 on my centos 6; but initially I had installed ovftool 4.2; but for now requirement I need ovftool 4.3, but getting error when I run this sudo ./VMware-ovftool-4.3.0-...
0
votes
1
answer
427
views
How to Install FFMpeg on centos 6 in 2022?
a client of mine asked to add videos to their website, i decided to install FFMpeg on their server so whenever they upload a video, the service automatically generates the first frame for the preview ...
1
vote
0
answers
191
views
How to Migrate from Centos6.10 to Ubuntu20LTS
Hello I am trying to Migrate my centos that runs a gocd server to ubuntu any one know the process or steps.
1
vote
0
answers
547
views
how to fix error cannot retrieve repository metadata (repomd.xml) for repository base on centos6
i'm trying to install the .rpm file but there's an error
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Group ...
0
votes
1
answer
869
views
can't do yum update on centos6
i can't execute yum update or install commands in centos 6 . i got this error
then i configured my Centos-Base.repo file here's what's in it
# CentOS-Base.repo
#
# The mirror system uses the ...
1
vote
0
answers
986
views
How i can correct install bit library in Python?
I have a machine with Centos 6.10, python3.6, pip 21.3.1.
Link to bit library - https://pypi.org/project/bit/
All requirements are observed, other libraries I had installed without troubles
Try to ...
2
votes
1
answer
383
views
ssh on CentOS6 no longer works with GitHub
Yesterday git pull/push on a CentOS6 box stopped working because of GitHub enforcing a later version of ssh than the CentOS6 one (OpenSSH_5.3p1, OpenSSL 1.0.1e-fips 11 Feb 2013).
Fair enough, this is ...
0
votes
1
answer
407
views
postgreSQL 8.4.20: How to solve missing oldestXID in pg_control preventing use of pg_upgrade on a legacy CentOS 6.4 server?
My company has a legacy, internal server running CentOS 6.4 with postgreSQL 8.4.13. The goal is to upgrade it as far as possible without doing OS updates; it's a live internal server being used for ...
0
votes
0
answers
775
views
Benchmarking 1.1.1.1 (be patient) socket: Too many open files (24)
I'm new to Linux. I have an Apache Tomcat project running on CentOS 6. Currently, I'm facing problem to serve concurrent users request. So I give a load test using Apache HTTP server benchmarking tool ...
0
votes
2
answers
205
views
Updated java installation cannot be located in centos6
i have to update the Tomcat from 7 to 9 as per VAPT requirements, so i did that on my centos6 linux server. But the tomcat 7 was running with java 1.7 openjdk and when i start tomcat 9 there are no ...
0
votes
1
answer
1k
views
Compile for c++14 on CentOS 6
I have a C++ program that uses various C++14 features, and have been asked to compile it for a CentOS 6 system. GCC doesn't support C++14 features on CentOS 6 as far as I can tell (and based on ...
0
votes
1
answer
616
views
Running Cassandra 2.1.17 on Java 11
I am trying to get Cassandra v2.1.17 running using Java 11 (Oracle), but cannot get it to startup. I have updated all the JVM args in cassandra-env.sh to the Java 11 equivalents, but I now get the ...
0
votes
1
answer
508
views
Heap Memory Issue on Centos
What is the command to check allocate heap memory? and how can I increase memory allocated to java.
My Environment conf are this:
centos 6.8
Apache tomcat 8.5.38
jdk version 1.8.0
I have already ...
0
votes
1
answer
322
views
Why isn't XML enabled in my Apache PHP build?
I am running PHP Version 7.1.33 on CentOS Linux 6.10 and having issues with getting the PHP XML Module installed.
I have ran a list of installed modules via YUM and I have the following:
php-cli....
0
votes
1
answer
1k
views
No module named 'pandas.compat'
I am getting the following error when I run any python program that uses panda
Traceback (most recent call last):
File "filter_SNV_SV.py", line 3, in <module>
import pandas as pd
...
0
votes
1
answer
799
views
How to deploy PyTorch in Centos6?
Recently, I want to run some pytorch codes on centos6. However, no matter I perform either "pip install torch" or "conda install torch", the prompt shows:
>>> import ...
0
votes
1
answer
190
views
Windows text file SCP to Linux permission error
I'm using a vbscript to pscp a text file over to a Linux device on Centos 6 (httpd.conf).
If I nano the file and paste in the text, apache will start just fine, but using pscp to transfer the same ...
-1
votes
1
answer
128
views
GWT content not showing on centOS 7.5
I'm working on a project which is built on GWT. When we deployed the project on centOS 6.9 version it works fine and all the content is accessible or visible. However, when we changed the OS version ...
1
vote
1
answer
575
views
Failed to 'pip3 install rpy2' in linux
everyone. I tried to install rpy2 in Centos6.10, with Python 3.6.4 and R version 3.5.2. I used the comand 'pip3 install rpy2'. I got the following errors:
cwd: /tmp/pip-install-7bxzxlni/...
0
votes
1
answer
939
views
Permission denied to /bin/ when using tcsh with user account
I am trying to source .my_script from a /home/username/working_directory using tcsh shell:
source ./.my_script
I get the following errors:
UK_PATH=/usr/local/dir_name/UKernel/5.0:.:/home/username:/...
0
votes
2
answers
2k
views
How to install rpm-python binding to python3 site-packages
I have python2.7 and python3.8 installed on Centos 6.10.
Current Rpm version is 4.8.0. Python2.7 is managed to import the rpm module but not Python3.8.
These are the files in python2.7/site-packages/...
1
vote
0
answers
1k
views
Getting Yum error '[Errno 14] Peer cert cannot be verified or peer cert invalid' even after setting sslverify=false
I have to update yum libraries in CentOS 6.
I keep getting error- '[Errno 14] Peer cert cannot be verified or peer cert invalid.'
I have marked sslverify=false in yum.conf file. I have marked ...
0
votes
1
answer
772
views
What would cause apache to redirect from a local IP to a remote IP address
Here's a scenario that I can't figure out; I simply can't understand why an slightly oldish webserver (totally inactive/powered-off for 2y) is behaving this way. I MUST be overlooking something quite ...
1
vote
1
answer
149
views
How can I tell who installed which CPAN module and when on Centos 6?
I have seen some issues with CGI version being updated to v4.51 in CentOS 6.8 machine. I can check the version of CGI using:
perl -MCGI -e 'print $CGI::VERSION ."\n";'
But, I am more ...
4
votes
3
answers
13k
views
When using Centos 6, I cannot run 'yum update' anymore, I get this error 'Cannot find a valid baseurl for repo: base'
When using VirtualBox with a Centos6 image I cannot do yum udpate anymore, I have checked on the internet and it looks that Centos6 is deprecated.
[root@centos69 ~]# yum makecache
Failed to set locale,...
1
vote
0
answers
72
views
Why does Spanish locale sort order differ between CentOs 6.9 and Ubuntu 18.04?
Does anybody have a good explanation why Spanish locale sort order differs between CentOs 6.9 and Ubuntu 18.04:
On CentOS release 6.9:
$ export LC_COLLATE=es_ES.utf8
$ echo "niño ninja ninus"...
0
votes
1
answer
62
views
fail httpd restart: NameVirtualHost error
I am getting this error httpd restart fail
[root@centos6 etc]# service https restart
Stopping httpd: [ OK ]
Starting https: httpd: apr_socketaddr_info_get() failed for centos6
httpd: Could not ...
0
votes
1
answer
28
views
How to remove lines which match lines in another document
So I am running Centos 6.9, but could switch to Centos 7 if needed
If I have 2 txt files, one contains
Gold
Silver
Copper
Aluminum
Titanium
And my second contains
Gold
Silver
Titanium
How can I run ...
1
vote
1
answer
1k
views
Unable to install Python 3.8.5 using pyenv
I'm trying to install Python 3.8.5 using pyenv on Centos 6 Docker image. I am getting the below error:
Downloading Python-3.6.12.tar.xz...
-> https://www.python.org/ftp/python/3.6.12/Python-3.6.12....
0
votes
0
answers
241
views
how to make phpPgAdmin not accessible for public
I have a web app developed by CodeIgniter and for the database using PostgreSQL and the problem is www.example.com/phpPgAdmin/ is accessible to public and that makes my database insecure.
so I am ...
1
vote
1
answer
647
views
Updated server from php 5.6 to 7.3, getting PEAR error
I recently updated my server php version from 5.6 to 7.3. When I attempt to load a page I'm seeing the following parse error:
Parse error: syntax error, unexpected 'new' (T_NEW) in
/usr/share/pear/...
0
votes
0
answers
18
views
How to protect library from getting uninstalled on CentOS6
I want to protect certain core libraries like sshd, cronnie from getting uninstalled accidentally or intentionally.
Recently one our developer accidentally deleted cronnie by uninstalling sendmail ...
4
votes
1
answer
6k
views
Docker fails to build image with exit code 139
I'm trying to build an image from CentOS 6.9. Using this Dockerfile:
FROM centos:6.9
RUN ls
But it keeps failing with exit code 139 with the following output:
$ docker build -t centos-6.9 .
[+] ...
0
votes
1
answer
2k
views
How to link proj to install succesfully the sf package on CentOS 6?
I'm trying to install the sf package for R, following this answer on CentOS 6:
https://stackoverflow.com/a/51369036/826500
But it fails when reaching the proj part with the message:
proj.cpp:31:2: ...
1
vote
1
answer
156
views
apache permission denied after changing python shebang
I'm trying to execute simple python code on my web server. it's like as follow;
index.py file ;
#!/home/myenv/bin/python
print("Content-type: text/html\n\n")
print("test is okay")...
0
votes
1
answer
414
views
PHP 5.3 to 7.3 upgrade failed
I was trying to upgrade a client's server running CentOS 6, PHP 5.3.29 (I know, RIGHT??) with nginx 1.10.3.
So I installed everything like usual using:
wget https://dl.fedoraproject.org/pub/epel/epel-...
0
votes
2
answers
432
views
How to solve php versions mis-match (Centos 6)
I am running a Centos 6 server. After some non-successful attempts to install php 7.2 I have dependencies problems (trying yum update php):
So what is the best and safest way to reinstall php?
--> ...
1
vote
1
answer
165
views
Problem creating CentOS box with Chef Test Kitchen script
I do have this kitchen.yml:
driver:
name: vagrant
provisioner:
name: chef_solo
platforms:
- name: centos65
driver:
box: learningchef/centos65
box_url: learningchef/centos65
...
1
vote
0
answers
727
views
how to install application dependency of lib in centos 6?
I am having a trouble installation applications dependency of 'lib'. Below are the two applications I want to install
google-chrome-stable
pycharm
Here the things I have setup recently did
Fresh ...
2
votes
1
answer
263
views
How to install PyQt4 to Python 2.7 in Centos 6?
I managed to install PyQt4 but it install under Python 2.6. How do I get it installed under Python 2.7?
0
votes
1
answer
786
views
Freeswitch (Callcenter): moh-sound doesn't play
I have freeswitch 1.2.53 installed on Centos 6 server (OpenVZ CT). There is one test "call center":
Someone is calling, then user hears IVR menu (works well) and when button "1" is ...
-2
votes
2
answers
1k
views
Can't open php file in apache 2.4 Centos 6
I have a server that run Centos 6. Recently I upgrade the php to 7.2 using remi repo and apache 2.4 using the sclo(httpd24).
[user@server1 ~]$ httpd -v
Server version: Apache/2.4.34 (Red Hat)
Server ...
1
vote
1
answer
1k
views
Prometheus node-exporter not returning metrics on Centos 6
Have tried with multiple versions of node exporter on a few Centos 6 VMs and I get the same thing.
Node exporter is running and when I curl localhost:9100 I get this:
Node Exporter Node
Exporter ...
0
votes
1
answer
130
views
What is the exact version of docker-compose to use with docker 1.7.0?
I am trying to run docker 1.7.0 in CentOS 6. I tried using docker-compose 1.12.0 but
got this "Error:client and server don't have same version(client API version:122, server API version:1.19). So ...