Questions tagged [centos6]
GENERAL SUPPORT QUESTIONS MAY BE ASKED ON SERVER FAULT https://serverfault.com CentOS is a Linux distribution aiming for 100% binary compatibility with RHEL.
1,585
questions
1
vote
0
answers
14
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.
0
votes
0
answers
62
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
0
answers
17
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
67
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 ...
0
votes
0
answers
18
views
How to deploy just html, css and javascript files to apache tomcat (centos) and configure inside etc/httpd folder?
I have created a project in which there are index.html, CSS and JavaScript files. So I have put it inside my /home/tomcat/webapps/player folder. I have a domain name and SSL certificates for that too. ...
1
vote
1
answer
75
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
71
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
83
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
38
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
195
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
0
answers
268
views
'Error: Cannot find a valid baseurl for repo: base' in Centos 6
I use Centos 6 in the digital ocean for my server.
Now, when I try to install, VSFTPD, using the command, yum install vsftpd, it gives me the error:
Loaded plugins: fastestmirror
Setting up Install ...
0
votes
0
answers
97
views
install libvpx on Centos 6, for enable webp support on php 5.5?
I use ann old system (centos 6, with php 5.5, Diectadmin with custombuild 1.2.43), and they are can't not update becase some reason...
So i try install libvpx for enable webp support on php 5.5.
These ...
0
votes
0
answers
53
views
Hardware Clock Drift in AWS CentOS 6.8 instance
I have a CentOS 6.8 EC2 instance on AWS that is up and running since 1232 days. On 11th October 2021, I found that the command 's3cmd' failed due to hardware clock drift. I debugged it and found ...
0
votes
1
answer
194
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
87
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
0
answers
61
views
SELinux - Need help to create a policy module to allow only read access to /home/webserver directory
I want to create a SELinux policy module with below requirement
All processes have read only permission to /home/webserver
I have created a policy module, below is the truncated code from policy ...
0
votes
1
answer
40
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
340
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
0
answers
101
views
SSL for aliases (domain pointers)
I have the following problem:
I have 2 domains: domain1.com and domain2.com (domain pointer) => domain1.com
Previously, I used Let's Encrypt to create ssl for both in directadmin and it was ok.
But ...
0
votes
1
answer
285
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
0
answers
100
views
MozillaTTS: RuntimeError: size mismatch for embedding.weight
I tried to execute MozillaTTS directly by console in two different machines with Anaconda 3 and I got the same error message:
The first one is Centos 6.11
The second one is Virtual Machine Ubuntu 18.4 ...
0
votes
1
answer
47
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
85
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 ...
0
votes
1
answer
210
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
369
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
270
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
900
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
173
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
64
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 ...
0
votes
2
answers
6k
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
51
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
27
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
17
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 ...
0
votes
1
answer
777
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
90
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
227
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
12
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 ...
3
votes
1
answer
2k
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
873
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: ...
0
votes
1
answer
58
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
240
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
185
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
101
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
473
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
174
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
282
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
432
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
464
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 ...