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
0answers
32 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
54 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
11 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
15 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
29 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
31 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 ...
0
votes
0answers
26 views

Supplemental to Need to replace the HDD on a single disk system

This question is a follow on to my original. The situation is a host with a single HDD must be cloned to a larger HDD over the network. I ran a couple of tests of a clonezilla live remote transfer ...
1
vote
1answer
49 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
48 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
49 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
47 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
21 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 -...
0
votes
0answers
11 views

User quota not correctly reported

I look after a small cluster, on which we use quota on the /home partition. There is one user, who has quota reporting they are using a little over 1MB. However, if I use a tool like du or baobab (...
0
votes
0answers
22 views

CentOS network metric is not correct

I am using http, nginx on CentOS 6.8. OS : CentOS 6.8 Network : eth0 (10Gbps - Fibre) Service : apache, nginx If I using command "ifconfig", I can see some out traffic bytes (TX bytes). But it is not ...
1
vote
1answer
46 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
99 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
101 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
13 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
48 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
107 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
15 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
81 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
0answers
18 views

Mounted file server slow

There is a file server with home accounts of users and that is NFS mounted on other servers on the network. All servers are running CentOS 6. Users login to these other servers(eg. server-19) where ...
0
votes
1answer
267 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
80 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
134 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
99 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
30 views

P2V CentOS 6.10 with Linux raid

We are trying to virtualize a CentOS 6.10 box that is apparently running a software raid (I think). It is tricky verifying as the machine is remote, and the users don't have a clue. The method we've ...
0
votes
0answers
13 views

Updating a i686 based CentOS 6.8 system proposes x86_64 packages

while doing a "yum update" I'm getting x86_64 packages proposed while the system has exclusively i686 packages. Not a single x86_64 package is installed. Example: [root@linode1 etc]# yum update ...
0
votes
0answers
141 views

Millions of “shrink_slab: ext4_es_scan+0x0/0x130 [ext4] negative objects to delete nr=-2147483358”

On two machines we have a reoccurring problem where the root filesystem gets 100% full because of /var/log/messages filling up with millions of messages as shown below. We have many other machines ...
0
votes
0answers
31 views

Server return wrong date, late by 20 min (timezone & all info has been set properly)

I had issue with my program because the server itself return a wrong date. By time I run date it return : Sun Dec 15 22:25:22 EST 2019. But it's actually wrong suppose real value is Sun Dec 15 22:45:...
0
votes
0answers
48 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
0answers
27 views

How to upgrade CentOS 6.10 to latest version of CentOS 7? [duplicate]

I am using CentOS 6.10, how to upgrade to # cat /etc/redhat-release CentOS release 6.10 (Final) How to upgrade to CentOS 7?
0
votes
1answer
16 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
0answers
18 views

GRE Tunnelling Routing use other client IPS

I have setup GRE tunnel with centos server that works perfectly between two servers A master and B slave the second server B contains two ips X and Y the issue is that the provider of server B said ...
0
votes
2answers
742 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
364 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
60 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
0answers
60 views

Enable SQLSRV on centos 6.10 for php 7.2

I want to use the MSSQL database with my PHP application. I have Server with Centos 6.10 and PHP version 7.2. What should I do so I can enable SQLSRV extension or any other extension where I can use ...
0
votes
1answer
74 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
35 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
123 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
79 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 ${...
0
votes
1answer
81 views

Centos Apache 2.4 exec suphp bin with chmod 0444

I am stuck on this since fews days, I am using suPHP & Apache 2.4 on Centos 6 on VPS (OVH) since few years, then since sunday, the binary chmod is always restored to 0444 so it cannot execute and ...
0
votes
1answer
2k views

SFTP error “Received unexpected end-of-file from SFTP server” on CentOS 6

I'm getting this SFTP error "Received unexpected end-of-file from SFTP server" on CentOS 6. I've added a new user below sudo adduser --shell /bin/false paul sudo passwd paul Then edited /etc/ssh/...
0
votes
0answers
26 views

Procedure to obtain data from transferred centos-6 kvm guest image on two logical volumes

Original question: I am trying to recover data from a kvm guest image transferred from a defunct centos-6 host: I have recovered one guest without difficulty. The second one will not start. The ...
0
votes
0answers
90 views

sudo cron -l -u otheruser gives authentication error CentOS-6.10

CentOS-6.10 I have never run into this before: sudo crontab -l -u thatuser [sudo] password for thisuser: Authentication service cannot retrieve authentication info You (thatuser) are not allowed ...
0
votes
1answer
36 views

Unable to write to nfs on centos6

I have 2 webservers and 3 backend servers. I made one of the directory(from webserver 2) as NFS. I successfully mounted the directory '/mnt/products/files' and had it visible from all the servers(...
0
votes
0answers
42 views

Misunderstanding authentication for local psql connection

I have a freshly installed CentOS 6.8 machine. I installed it with Database Server option, so postgresql 8.4 has been installed. After installation, I've run: [root@test-ekaterina ~]# service ...

1
2 3 4 5
36