Questions tagged [centos6]
CentOS was an Linux distribution standing for "Community ENTerprise Operating System" based on "Red Hat Enterprise Linux" (RHEL). The "CentOS6" tag refers to versions 6.x of CentOS. CentOS 6 was released on November 27, 2011 and reached End Of Life on November 30, 2020.
1,782
questions
0
votes
1
answer
61
views
ocserv VPN with 2 NIC CentOS6 routes
I have a working installation of ocserv 0.12.6 on an old CentOS 6 machine with 2 physical interfaces: eth0 (192.168.10.155) and eth1 (192.168.0.190).
eth0 has a manual configuration and uses default ...
0
votes
0
answers
43
views
xhci_hcd errors on CentOS 6 for cp210x device
We have very old CentOS 6 installed on CheckWay Sherman with Linux kernel 2.6.32-696.1.1.el6.i686.
We try to integrate external usbserial scales device but there are errors settings UART speed.
stty -...
1
vote
3
answers
639
views
LVM: Creation difference between CentOS 7 and CentOS 6
I have CentOS 6 & 7 server and am creating 512 MB logical volumes:
CentOS 7:
sudo lvcreate -v -n lvname -L 512M rootvg && sudo mkfs.xfs -L "lvname" /dev/mapper/rootvg-lvnamee
...
0
votes
0
answers
50
views
Installing XtraBackup on Centos 6
I’m trying to install XtraBackup on centos 6 using this guid but i get these errors:
Error: Package: perl-DBD-MySQL-4.013-3.el6.x86_64 (C6.10-base)
Requires: libmysqlclient.so.16()(64bit)
Error: ...
1
vote
0
answers
73
views
Unable to set up dual monitor in CentOS 6
I need use two different X11 DISPLAYs for two different UI application on two different phisical monitors.
Each application on each monitor.
Configuration:
VDI output: Acer K192HQL
HDMI via VDI ...
0
votes
1
answer
508
views
Delete files from /tmp/ CentOS6
I'm running Centos6 and inside mt /tmp/ folder I see these files
drwxr-xr-x. 2 root root 4096 Jan 14 2016 fileinstall-1059639640221211034
drwxr-xr-x. 2 root root 4096 Jan 30 2021 ...
0
votes
1
answer
232
views
cant' delete user with userid 502, 503 and on CentOS 6
I have a CentOS VM that shows the list of users like this:
drwx------. 2 504 504 4096 Dec 10 2000 username
So if I try to run the userdeel command I got a message saying that the user does not ...
0
votes
0
answers
63
views
/opt/BitDefender/bin/notify_script.sh failed: exit code 2 on CentOS 6
I'm running CentOS 6.10 and everytime that I run a command I got this message on the console
/opt/BitDefender/bin/notify_script.sh failed: exit code 2
I do not have Bitdefender install so I guess it's ...
0
votes
1
answer
757
views
cannot open /etc/shadow message on CentOS 6.10
When I try to delete a user or add a user to the wheel group I got this message
[root@server]# userdel --remove username
userdel: cannot open /etc/shadow
[root@server]#
I'm running:
[root@server]# ...
0
votes
1
answer
547
views
You have not defined a root partition / which is required for installation of Centos to continue
I am facing the following issue while doing an automated installation of Centos7 with kickstart.cfg
I used the following options in the kickstart file
zerombr
clearpart --all --initlabel
logvol / --...
1
vote
0
answers
1k
views
Unable to Downgrade OpenSSL from openssl-1.0.2k to openssl-1.0.1e-58 due to openssl-libs-1:1.0.2k-25.el6 dependencies
Due to issues with old CentOS6 machines and the Let's Encrypt root certificate that recently expired I found a solution online which involves installing a Patched version of openssl-1.0.2k from ...
0
votes
1
answer
25
views
Which process/script/application if squeezing my files every 5 minutes?
I have a process executing every 5 minutes (precisely) which overwrites the content of a folder. It obviously synchronizes whith another (identified) folder, which means it completely replaces the ...
0
votes
0
answers
193
views
Cannot reinstall grub on newly created boot partitiion
12. Reinstall grub on the newly boot partition:
# grub-install --recheck /dev/xvdg
# sed -i 's/sdg/xvdg/g' /boot/grub/device.map
# grub-install /dev/xvdg
Running first line gives:
Probing devices to ...
0
votes
0
answers
40
views
Point Sub Domain from Centos 6 Server to godaddy hosting
I have domain which hosted at centos 6 server and I want to point one sub domain to another server (Godaddy)
Should I install DNS server?
Or its enough to edit resolv.conf
I tried to add the IP ...
3
votes
2
answers
5k
views
How do I update a very old CentOS release (6.2) where yum won't work at all because of outdated openssl certificates?
I have an old CentOS 6.2 machine and need to update a few packages on it (or many packages, I suppose).
However I can't do anything with yum because even after changing the repos to vault.centos.org, ...
0
votes
1
answer
928
views
CentOS Linux and CentOS Stream! Is upgrade from CentOS 6.0 to CentOS stream 9.0 a good option? [closed]
We have CentOS 6.8 production machines and we had a plan to migrate to CentOS 8.0. Having come to know that CentOS Linux 8 EOL: 2021-12-31, also that, CentOS Project produces two variants: CentOS ...
0
votes
1
answer
1k
views
How do I update CentOS 6.3 to 6.10? [closed]
I'm getting yum SSL connection error when updating CentOS 6.3 to 6.10 today. Is it possible to run yum update to update CentOS 6.3?
0
votes
1
answer
377
views
User cannot enter his group's directory despite the directory having the correct permissions and the user being in the proper group
I have a directory called /workspace that looks like this:
[root@machine workspace]# ls -al
total 7
drwxr-s---. 7 root workspace 4651468242 Nov 16 14:41 .
dr-xr-xr-x. 22 root root 4096 Nov ...
0
votes
1
answer
815
views
401 Authorization Required on Apache 2.2 when curling leads to 500 varnish error
[centos@staging03 ~]$ sudo netstat -plnt
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp ...
0
votes
0
answers
27
views
Memory consumed quickly on my server [duplicate]
Recently I notice the memory on my Linux server(CentOS 6.8) is consumed quickly. Yesterday I restart my server, and then use free to check the memory, and it reports about 30GB free among 32GB memory.
...
0
votes
1
answer
4k
views
On CentOS 6, how to let user-created files inherit permissions from their parent directory?
So our servers are set-up like this:
Folder structure
/asic is our grand project's folder, /200T is a subproject of that grand project, and folders right under /200T such as /lbh are each worker's ...
0
votes
0
answers
1k
views
RPM failed dependency that's already installed
We have an old dev server for Centos 6 I want to update Openssl to a modified version 1.0.2k (we have got a C8 server to replace it, but trying to update the old one in the interim).
I have built the ...
0
votes
0
answers
90
views
Which permissions does a Linux executable file has when it is executed by root?
I am using CentOS 6.8.
I have an executable called railgun, whose user and group are both set to root.
I then use the root user to start it as a service, as below:
service railgun start
However, it ...
0
votes
1
answer
246
views
Trying to install postgis on Centos 6.9 and missing dependency libgeotiff.so.2 [closed]
I'm trying to install Postgis 2.1 on Centos 6.9 (and postgresql 9.5). I try to yum install it:
yum install postgis21_95
And get the error:
> Finished Dependency Resolution
Error: Package: gdal-...
1
vote
1
answer
453
views
How to delete an inactive RAID array - Centos 6
I have recently resized a logical volume group and a logical volume to fit into a RAID-0 configuration on Centos 6.10 system. Everything seems to be working fine.
However, the disk utility shows two ...
0
votes
1
answer
2k
views
Centos 6.10 - How to increase allocated PE size to take up Free P/E size
I recently had to shrink a Clonezilla image, but overdid it an now have to recover some unused free space.
Here is the output of vgadisplay:
--- Volume group ---
VG Name ...
0
votes
1
answer
413
views
Updating PHP on CentOS 6 - "Error: Package: php-pecl-ncurses"
On a CentOS 6 I am trying to update my PHP from 5.3 to 7.x by following the instructinos at https://www.mysterydata.com/how-to-install-upgrade-to-php-7-4-on-rhel-centos-vestacp/.
When I do the final ...
3
votes
1
answer
1k
views
How to Loadbalance Outgoing Traffic with Iptables?
I have a centos 7 server with 5 IPS like 192.168.0.2/29 to 192.168.0.5/29.I want to change Outgoing traffic in roundrobin method because i need to use all ips to my project. so am trying to configure ...
1
vote
1
answer
5k
views
Connection to Windows SMB share works through smbclient, fails to mount via mount.cifs
I'm trying to access a Windows Server 2019 share (inside a domain) from a CentOS6 host.
I can browse the share via smbclient, but mounting fails:
Status code returned 0xc000006d ...
0
votes
1
answer
504
views
Deleting iptables rule is erroring with illegal operation
I'm new to iptables but I'm trying to remove a rule based on posts I've seen online using the following command:
# /sbin/iptables -D INPUT 1 --protocol tcp --dport 5672 -j ACCEPT
But it's throwing an ...
0
votes
1
answer
810
views
Point symlink to external URL
Not sure if this is possible at all, but maybe there's another way to go about this that will get the same result.
The old situation
I'm running a LAMP server with CentOS 6. This server hosts a LOT of ...
-1
votes
1
answer
148
views
Automatic Webuzo third party packages updates increasing my disk use
I'm running a self managed CentOS and I've noticed that in 2 weeks my disk space increased like 3Gb out of nowhere, and I believe it was already increasing before. I spent months working on localhost ...
3
votes
4
answers
24k
views
How can I install or update software with yum in CentOS 6 when CentOS 6 stopped its lifecycle?
I failed to install or update software in my CentOS 6 system these days. I guess CentOS removed their mirror list after CentOS 6 ends its lifecycle after Nov. 30.
I use this mirrorlist:
http://...
1
vote
0
answers
847
views
Changed hostname, openssl s_client not working
I changed a CentOS 6 GNU/Linux hostname, and now everything is perfect regarding the new hostname.
But when executing openssl commands, such as:
# openssl s_client -CApath /etc/ssl/certs -showcerts -...
0
votes
0
answers
224
views
Unable to update package, because it requires jre1.8 - "Try using --skip-broken". Jre1.8 is already installed on the machine, though
so I'm unable to run a yum update on one of my machines. It returns the following error:
[root@yadayada ~]# yum -y update
Loaded plugins: fastestmirror
Setting up Update Process
Loading mirror speeds ...
1
vote
1
answer
41
views
Command ordering not respected on Centos 6, not present on Centos 7
I have the following command which is executed as part of a script executing on a remote box via an ssh connection:
cd /var/spool/some_directory ; tar -cf file_name.tar file_1.txt file_2.txt file_3....
0
votes
1
answer
1k
views
Conflicting HTTPD and HTTPD24 files when running yum update prevents update
Similar conflict issues
The files that are experiencing conflict issues are almost all the same as the ones in the link above. However, I am not trying to install php56w...etc like the person who ...
0
votes
1
answer
129
views
Creating a service on Centos 6 causes it to block on startup display
I'm trying to create a service on Centos 6, but it's executing on the startup console instead of in background, which means it never reaches the user interface - it just hangs on the startup display.
...
1
vote
1
answer
2k
views
How can I access a LVMs in a partition using a LiveCD?
I have a server running Centos 6 in a data centre that suffered a kernal panic which then prevented the OS from booting (according to the support staff in the DC). The DC support staff also suggested ...
0
votes
0
answers
239
views
Error- Cannot find libev headers CentOS 6 Hitch install Varnish
CentOS 6
I'm trying to install hitch to run with Varnish for HTTPS and one of the packages it needs is libev headers - hitch is not in the latest EPEL Repo as I keep being informed when trying to ...
0
votes
1
answer
6k
views
Linux error creating temporary file /var/tmp/
I'm using centos 6 - recently I am getting this error anything I want to install anything on server for example with varnish - var/tmp is empty and has root:root as owner i have checked with 777 ...
0
votes
1
answer
480
views
Dependency Error Installing Postfix 3 on Centos 6
I'm trying to upgrade to Postfix 3 on Centos, using these instructions:
https://www.ryadel.com/en/postfix-3-install-setup-linux-centos-for-sending-mail-smtp-smtps-starttls/
However, I'm getting the ...
0
votes
0
answers
611
views
How do I get init.d to respawn a crashed process if the lock file exists?
I'm running a mongod process on my Centos 6.8 box, and I want to provide some level of resilience in the event of process death.
So I created an entry in my /etc/inittab -
md:2345:respawn:/usr/bin/...
0
votes
1
answer
202
views
CentsOS 6 returning wrong time
Our current local time is 22:35 11 Jun 2020
I have set the CentOS time zone to Asia/Kuwait
[root@server etc]# ls -l /etc/localtime
lrwxrwxrwx 1 root root 6 Jun 11 2020 /etc/localtime -> Kuwait
...
0
votes
1
answer
135
views
How do I format this to regex to be matched in Fail2Ban?
I am building a regex-filter to work with this log file:
[15:20:56|9M] 191.241.67.46 | fordcom2002 | delphina | /login
[15:20:56|9M] 109.167.249.41 | kyler394 | Baseball1 | /login
[15:20:57|9M] ...
0
votes
1
answer
1k
views
Regarding CentOS 6.10 to CentOS 7 upgrade
I have servers in VMWARE, trying to upgrade the OS from CentOS 6.10 to CentOS 7,
1) redhat upgrade tool installed but could not find any proper base url to download the package from online.
2) Tried ...
2
votes
1
answer
2k
views
changing /proc/sys/vm/overcommit_memory broke my server
After changing it to 2 it closed my sftp session, and I cannot connect via ssh or sftp although it kept my session open. Whenever I run a command that isnt cd, I get -bash: fork: Cannot allocate ...
0
votes
0
answers
618
views
how conncet ibsng as redius server to strongswan
I want to use ibsng (on centos 6) as a Radius server and manage my strongswan accounts (on centos 7).
https://wiki.strongswan.org/projects/strongswan/wiki/EapRadius
I made these settings and set up ...
0
votes
1
answer
3k
views
Install php extension for php 7.3 on centos 6
I have used,
yum install php-pecl-zip
Im getting the following error,
Loaded plugins: fastestmirror, replace
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: centos....
0
votes
1
answer
372
views
Unknown email address sending email from my host
I have a centOS 6 server, with DirectAdmin as the management panel and Exim as the mail server.
In usage directory files (/etc/virtual/usage/) I can see that some emails have been sent from users that ...