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
1
vote
3
answers
9k
views
Selinux in permissive mode, ssh key based auth and locked account
I noticed something weird regarding ssh key based login and selinux in permissive mode.
Let me introduce you the setup:
The server is an updated Centos 6.4 x86_64.
We create user without a password (...
6
votes
2
answers
648
views
Issue while using tune2fs
I have a server with a 3TB disk attached. I want to reduce the reserved blocks using tune2fs.
Reducing the default 5% to 1% allows me to get a lot of extra space.
Before applying in real server, I ...
3
votes
1
answer
14k
views
packets transmitted, 0 received (no internet connection) on centos 6.6 vps
I have centos 6.6 vps server.
When I use command: yum update get error:
Error: Cannot find a valid baseurl for repo: base
when I check for ping and use command: ping -c4 google.com get error:
ping: ...
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
5k
views
how to block incoming DHCP DISCOVERY messages
I'm running ISC DHCP deamon on centOS and want to block unwanted(by clients MAC address) discovery messages before they reach dhcpd.
how can I do this with iptables or anything else?
3
votes
3
answers
13k
views
Percona MySQL unable to start - ERROR! The server quit without updating PID file
BACKGROUND:
I installed Percona Server on a fresh Centos 6.4 minimal. Prior to this, I have never installed MySQL (though I'm not sure if Centos 6.4 minimal came with MySQL?)
Anyway, here are the ...
0
votes
1
answer
5k
views
multipathd not working after restarting
Multipathd is not working on CentOS 6.5 x86_64:
device-mapper-multipath-libs-0.4.9-87.el6.x86_64
device-mapper-multipath-0.4.9-87.el6.x86_64
I'm getting below error while restarting ...
6
votes
2
answers
42k
views
How to add a extention to the php.ini file
Hi have Centos 6 installed and busy installing wkhtmltopdf, I only have one step left and that is to include extension=phpwkhtmltox.so to the php.ini file, I added it to /etc/php.ini and reloaded ...
0
votes
1
answer
75
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
2
answers
5k
views
Ansible open port on iptables
Currently I am changing the port for remote machine. I also have to allow the firewall rules on Centos 6.9. The folling is my command to open the port 2222 on sshd. I do not know how to open port 2222 ...
1
vote
2
answers
228
views
Spamassasin not checking SPF - Perl error?
Getting lots of email spoofing spam from our own domains to my Webmin installation using Spamassasin, the error im receiving when debugging spam is as follows:
May 19 09:33:45.959 [15233] dbg: spf: ...
1
vote
1
answer
14k
views
RTNETLINK: Device or resource busy - DELL 2950
I cant start second NIC on Dell Poweredge 2950, OMSA installed, the NIC cards is BCM5708C ,version of Operating System Centos 6.7.
The first card worling correctly
[root@alfa ~]# ifup eth1
RTNETLINK ...
54
votes
4
answers
184k
views
ipmitool - can't find /dev/ipmi0 or /dev/ipmidev/0
Based on a previous question, I installed ipmitool (yum install ipmitool).
Even after a reboot, though, i get the following error when trying to run ipmitool power status:
Could not open device at /...
2
votes
3
answers
6k
views
Enabling SOAP for PHP on CentOS 6.6 Server
I am trying to enable SOAP on my server. Soap is installed, but doesn't show up in php_info.
PHP Version 5.4.39
System Info: Linux ip-xxx-xxx-xxx-xxx.secureserver.net 2.6.32-042stab106.4 #1 SMP Fri ...
1
vote
1
answer
8k
views
"Cannot set device ring parameters: Operation not supported"
I'm trying to change the RX and TX for an HP BL460C server by using ethtool and get the following:
ethtool -G eth0 rx 4078 tx 4078
Cannot set device ring parameters: Operation not supported
My ...
1
vote
1
answer
5k
views
pam_mount not working when logging in from ssh or console
okay so i configured pam_mount on my centos 6 machine as i did on my centos 7 and 5 machines.
But when i login locally or via ssh, pam_mount can't mount my home dir. when i login with a local user, ...
4
votes
3
answers
4k
views
Redis: Error moving temp DB file on the final destination: Operation not permitted
I have a nodeBB install which relies on Redis as the data store. Its just a test install at the moment while I iron out any problems. The Redis instance stayed up for a few days but then fell over ...
1
vote
2
answers
924
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 ...
3
votes
1
answer
7k
views
CentOS, kernel: out of memory
Hope you can help me with the following problem.
We are running a CrushFTP service on a CentOS release 6.6 (Final) system. But nearly every week the service crashes.
So I take a look at the logs and ...
0
votes
0
answers
53
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 -...
3
votes
3
answers
10k
views
How to remove package from rpm database
I have a Centos 6 server that I accidentally added a RHEL 7 package to it's rpm database.
Added wrong package
sudo rpm -ivh http://repo.zabbix.com/zabbix/3.0/rhel/7/x86_64/zabbix-release-3.0-1.el7....
1
vote
3
answers
650
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
...
8
votes
1
answer
52k
views
Failed to retrieve directory listing in Filezilla connecting to vsftpd
newbie here.
At first I was unable to connect to vsftpd but I added port 21 in iptables (i'm running on Centos 6) and managed to make it work. But now, I can't get past Command: LIST in Filezilla
...
-3
votes
1
answer
551
views
Daily logrotate doesn't keep the old logs
On a CentOS 6.x I created a simple service called logtraffic which, when started, appends the output of a tcpdump command to a log file at /var/log/logtraffic/logtraffic.log.
I want to achieve the ...
19
votes
6
answers
77k
views
Cannot access port 80 from remote location but works on local?
I have a linux server on configuration with apache. However I cannot get access to it using a remote computer.
I can ssh to the server normally.
my IP table:
Chain INPUT (policy ACCEPT)
target ...
9
votes
2
answers
28k
views
Putty: Incoming Packet was garbled on decryption
I am unable to connect to my server on my local network (VM).
I have multiple servers I am able to connect to.
When I try to putty into the server, I get the message
Incoming Packet was garbled on ...
1
vote
1
answer
5k
views
SecRuleEngine Off not working on a single domain in virtual host
I have modSecurity installed and working on a server with multiple hosts and I want to disable some rules for one host only. This is what is what I put in the virtual host file:
<IfModule ...
83
votes
3
answers
144k
views
What does that mean: packages excluded due to repository priority protections
When updating with yum i recieve the following message:
yum update
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
* atomic: www7.atomicorp.com
* base: mirror....
13
votes
1
answer
60k
views
How do I read /var/log/lastlog [closed]
This is a 30GB file, I tried to open it in VIM
It does not show anything, How can I see contents of this file
This is CentOS 6.5
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, ...
3
votes
2
answers
2k
views
Postfix : Is it possible to set destination_concurrency_limit and rate_delay per sender?
Followed this tutorial to setup destination_rate_delay per recipient domain: http://steam.io/2013/04/01/postfix-rate-limiting/
The rate limiting is working, however, is it possible to only rate_limit ...
2
votes
2
answers
6k
views
Changing the IP of a vSphere guest VM using Ansible
I want to deploy a VM from a template on vSphere and change the new instance IP via Ansible (2.x).
I've managed to clone the template with vsphere_guest module but I didn't find a way to change the IP ...
3
votes
4
answers
17k
views
MySQL Strict Mode Stuck On
After upgrading to MySQL 5.5 from the Remi-DB (CentOS 6) we've been getting an issue where every reboot our SQL server will set itself back to strict mode:
mysql> SELECT @@GLOBAL.sql_mode;
+-------...
0
votes
1
answer
56
views
Mail delivery hindered by alias?
Account info exists for receiving email.
However, all mail sent to info is delivered to root.
It looks to me this is because the following aliases exist (as shown by praliases):
info: postmaster
...
0
votes
0
answers
55
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: ...
0
votes
2
answers
3k
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??
1
vote
1
answer
2k
views
/usr/sbin/thin_check: execvp failed: No such file or directory
Running CentOS 6.5, a brand new "minimal" server install, trying to use LVM2 thin pool feature. Packages installed are:
lvm2 (2.02.111)
device-mapper-persistent-data-0.3.2-1.el6.x86_64
/etc/lvm/lvm....
0
votes
1
answer
1k
views
Mount a remote Linux hard drive as another Windows 7 partition during boot?
I would like to mount a hard drive on a remote computer (running on CentOS 6) as a Windows drive so that I can install programs to that drive. The primary hard drive for my Windows machine (which is ...
0
votes
1
answer
2k
views
CentOS 6.4 SSSD + GDM problems
I'm having an issue where using SSSD it will not bring up a full desktop when using GDM. It seems to get to where it appears to be loading the desktop, then X crashes/stops then reloads GDM.
If i ...
3
votes
2
answers
4k
views
How do I change permissions and ownership after git-pull, to match folder?
The company I work for is using Git for deployment and because of this it overwrites specific permissions and ownerships. What is the best way to make sure that the folder ownerships and permissions ...
1
vote
0
answers
76
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 ...
3
votes
2
answers
3k
views
Apache unable to access mounted Samba share
I'm running Apache 2.2 on CentOS 6.5, and I'm having problems accessing a Samba share that I've mounted.
My web root is /var/www/html, and I've created a folder in the root called intranet, and I'm ...
1
vote
1
answer
2k
views
snmpd not working in centos 6
I have centos 6.4 64-bit. snmpd is not working properly: when I restart I get the following
Nov 18 12:43:31 hector kernel: CIFS VFS: No task to wake, unknown frame received! NumMids 58
Nov 18 12:43:...
1
vote
1
answer
2k
views
Sensu executing script sudo a password is required
I have a sensu handler that gets triggered on an endpoint Linux box (Centos 6.6. Here is the script I'm using:
#!/bin/bash --login
sudo -n -u deploy bash --login -c "cd /var/www/vhosts/sc/current; ...
10
votes
7
answers
21k
views
grubby fatal error: unable to find a suitable template
I'm trying to fix my system after moving it from one server to another. It works perfectly with kernel booted via network, but not from the disk.
Reinstalling stock CentOS 6.6 kernel shows this error:...
2
votes
1
answer
2k
views
DDOS prevention/mitigation on Linux CentOs server using IP tables
One of our servers has generated a 19Gb access.log in the space of about 24 hours and the server went down in this time. We'd like to implement some measures to safeguard against DDOS attacks but ...
0
votes
1
answer
529
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 ...
1
vote
2
answers
3k
views
How to clear/flush ntp server peer in Centos
We were using centos.pool.ntp.org for our clock sync among servers. Now we do ave a local NTP server, but the problem is servers are using the old ntp.
From centos.pool.ntp.org we can see,
*202.71....
0
votes
1
answer
247
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
65
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 ...