People who code: we want your input. Take the Survey

Questions tagged [centos6]

CentOS is a Linux distribution standing for "Community ENTerprise Operating System" and is a rebuild of "Red Hat Enterprise Linux" (RHEL). The "CentOS6" tag refers to versions 6.x of CentOS.

Filter by
Sorted by
Tagged with
0
votes
1answer
25 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 ...
0
votes
0answers
27 views

Permission issues between Windows NFS host and CentOS6 Linux Client

I have an old CentOS6 I cannot upgrade yet for various reasons. I'm trying to allow it to access a Windows Server 2019 share, and for the Windows host to have access as well. After many failed ...
0
votes
0answers
25 views

How to Use Multiple Relay in postfix?

I have a centos 7 server with 5 IPS like 192.168.0.2/29 to 192.168.0.5/29. i have a two relayhost like "smtp1.example.com" and smtp2.example.com. I have configured like this vim /etc/...
3
votes
1answer
75 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
1answer
264 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
1answer
35 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
1answer
133 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
1answer
88 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 ...
1
vote
4answers
6k 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
0answers
59 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
0answers
29 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
1answer
26 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
1answer
197 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
1answer
26 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
1answer
1k 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
0answers
84 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
1answer
688 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
0answers
106 views

Virtualbox Centos 6 image cannot boot after adding a new partition

I have been preparing for a RHCSA exam and tried to create a new partition on my Centos 6 VM. I used fdisk /dev/sdb2 and created a new 200 MB partition there using the n command, and then saved it by ...
0
votes
1answer
164 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
0answers
79 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
1answer
20 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
1answer
31 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
1answer
700 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 ...
1
vote
1answer
262 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
0answers
161 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
1answer
1k 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
1answer
135 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 ...
0
votes
0answers
121 views

How to check CentOS installation progress via virt-install method

I am trying to install centos-8 guest vm (over Centos 6.6 host) using kvm/qemu method (virt-install --graphics none) & remote ssh session using putty. While installation is working successfully -...
1
vote
1answer
146 views

Rebuild Linux Software Raid 10 Adding Replacement Disk

I have a CentOS 6.10 Server with 4 x 2TB Drives. One was failing (bad sectors and causing major disk IO bottlenecks). This is a headless server in a remote data center. Technician is going to replace ...
0
votes
0answers
212 views

NodeJS libstdc error on CentOS 6.10 (EasyApache,cPanel)

I have installed NodeJS 8.9.3 and that was running perfectly. but after that i have started a project and that needs NodeJS Version > 10.0 so i updated my NodeJS 8.9.3 to currently stable version via ...
1
vote
1answer
303 views

How to disable Meltdown and Spectre patches in Centos 6?

I wondering how you can disable the Meltdown/Spectre patches in Centos 6? Various tutorials refers to Grub2 and recompiling, but in Centos 6, I do not have this. I can edit the grub.conf file in /...
0
votes
1answer
18 views

Conflic install package solution?

I need to install auditd from package because my CentOS 6.6 server can't use yum update. But I got some problem and can't install them: rpm -i audit-libs-2.4.5-6.el6.i686.rpm audit-2.4.5-6.el6.i686....
0
votes
1answer
50 views

Compatition package for CentOS6.6

my CentOS 6.6 linux kernel is: 2.6.32-642.6.2.el6.i686 #1 SMP Wed Oct 26 06:14:53 UTC 2016 I want to upgrade my auditd package to newer version, but there are many choices and I don't know which is ...
0
votes
1answer
213 views

Issue with configuring php-fpm mod proxy on centos 6

I'm configuring PHP_FPM on a Centos 6 distribution. I'm using php 5.4.45 and apache 2.2.15 and the "mod_proxy.so" to call the socket. But with the following Vhost and php-fpm configuration I still get ...
0
votes
1answer
29 views

PHP time() around 70 seconds off

As the title suggest a server I am running is producing a timestamp created by the PHP time() function that is about 60-70 slow. The server did not have this problem and it has come out of the blue. ...
0
votes
1answer
143 views

Centos 6, php 5.6 (remi repo), installed gd and freetype, still missing function imagettftext

I am trying to install composer packages in PHP but get back that: xxx requires ext-imagettftext * -> the requested PHP extension imagettftext is missing from your system. I read in several ...
0
votes
1answer
710 views

Permission Denied on NFS mount through SSH remote tunnel

I successfully exported a directory from a CentOS 7 server to a CentOS 6 server(I used * in /etc/exports (as opposed to the server's IP). But I can't seem to find solutions that work for me to export ...
0
votes
1answer
539 views

Refresh disks on live system without rebooting

I have 4 drives in a server. This is a live server. One of these drives I replaced with a different drive and changed the mount point for the new drive so as to avoid confusion. After completing the ...
0
votes
1answer
237 views

Unable to renew lets encrypt using certbot

I'm running centos 6, I recently tried installing python 3, might have messed something up related to python if I do python2 /usr/local/bin/certbot-auto renew I get file "/usr/local/bin/certbot-...
0
votes
1answer
189 views

Passing environment variables to httpd in centos 7

In my previous Centos 6.10 server , I have been able to pass some environment variables to httpd by adding to /etc/sysconfig/httpd . ~/.envvars .envvars content is export MY_PASSWORD='somepassword'...
0
votes
0answers
56 views

Finding unauthorized user changing files

I manage a client hosting account on [color]host platform. It is a VPS account, running CENTOS 6.10 kvm [server] v84.0.16 OS. There are PHP/MySQL sites, along with WordPress sites. All WordPress ...
0
votes
1answer
30 views

Is it possible to give JCMD a service name rather than PID?

I need to monitor a service automatically but the PID keeps changing with every restart so I want to be able to do jcmd servicename Thread.print > log.txt rather than jcmd 2230 Thread.print >...
0
votes
2answers
2k views

How to extend linux root partition size in CentOS 6.9 without LVM

I installed CentOS 6.9 instance with 50GB HDD in Openstack. It shows only 8GB for the root partition. But I need to allocate entire HDD size (50GB) for root. fileSystem details How can I fix this??
2
votes
4answers
753 views

Centos 6.10 - Mount Backup Disk with Single partition

My disk failed and required replacement. I backed up my data on anther disk and the hosting company removed it prior to replacing corrupted disk. Now I have a fresh install (Centos 6.10) and would ...
0
votes
1answer
36 views

Centos 6 - Move folder to different disk while maintaining URL path

I have a dedicated server containing 4x500GB HDD running on Centos 6. My main disk got full and it caused MySQL server to terminate, for which I had to clear some space to solve it (temporarily). ...
0
votes
1answer
62 views

CentOS 6 - Find KVM VM with HW addr

We are running KVM VM's (Linux & Windows) on our CentOS 6 & 7 hypervisors. Sometimes we are noticing a lot of packets going in or out. Now I want to see which IP address or network adapter ...
0
votes
1answer
83 views

Suggestions on Clamscan result log for hacked server

My dedicated Centos 6 server was mining. I scanned the system with clamscan. ClamAV and here is the log:- I have already gone through How do I deal with a compromised server? The server is not ...
1
vote
1answer
36 views

/var got misteriously renamed in /var.1 on CentOS6 server

On one of ours CentOS6 servers /var got renamed to /var.1 tonight (around 3.24 am) and a new empty /var folder was created. Not surprisingly, it crashed soon after that. Circumstances: Over the ...
0
votes
1answer
235 views

Network traffic detected on nethogs but not netstat

I noticed one of the servers I manage has been showing traffic on nethogs from external IPs - several yesterday from Italy, and several today from Korea. I shut down all services on the server that ...
1
vote
2answers
93 views

Compromised CentOS 6.10 server

I am working on a compromised server. CentOS 6.10 with [kthreadd] taking up most of the CPU. Old crontab deleted, and the following content put in place: */4 * * * * R=$(shuf -i 1-29 -n 1);sleep ${...

1
2 3 4 5
36