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
1k views

High number of TCP RST packets

Whilst looking into some transient network issues, I have noticed what seems to be a high number of RST packets received: Tcp: 40091950 active connections openings 44754733 passive connection ...
2
votes
2answers
4k views

Linux find: How to exclude the “.snapshot” directory from find's results?

I wrote a rsync script which uses find command to find all files which are older than 10 minutes and copies them to a remote server. The relevant part of the code is: print_log "------ Starting $0 --...
0
votes
1answer
1k views

How to configure the niceness or priority of service started on boot

I want to increase the niceness of an service (decrease the CPU priority) started as an dedicated user or group during the boot process. I'm not able to define the niceness or priority in the /etc/...
2
votes
3answers
5k views

How to change time format to seconds in ps -p?

I wrote a rsync script which also checks for how long the process of the script has been running. This is the relevant part: time=$(ps -p $processid -o etime= | awk -F: '{print $2}') # number of ...
0
votes
1answer
2k 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 ...
3
votes
4answers
8k views

x2go passphrase prompt then authentication fail [closed]

Have read following post and although it had a similar title it wasn't the same problem: Able to connect by SSH, but not x2go From windows 7 client and windows 10 client at home to centOS6.7 remote ...
1
vote
1answer
2k 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 ...
3
votes
1answer
3k 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: ...
4
votes
5answers
23k views

Why is dhclient issuing a unicast DHCPREQUEST every ~15 seconds instead of at T1/T2 timers?

I am running a CentOS 6.2 server as my gateway and firewall, while also providing some internal services. This is a setup I have had for years using various hardware and distributions (redhat based). ...
0
votes
1answer
1k views

How to allow connections in zimbra/mail client?

I installed a Zimbra server into CentOS 6, enter the admin panel via web HTTPS over port 7071, the problem is I can not access the web mail client (port 445), I can only access via localhost. I ...
0
votes
1answer
2k views

Not able to disable tls 1.1 for nginx

Spent many hours, but can't fix it. I'm not able to disable TLS 1.1. That's required to use Stripe or any other CC gateway for my Wordpress Woocommerce based shop. Domain name: russianphilately.com ...
0
votes
1answer
1k views

Rsync delta copy not working for virtual disk

I have tried rsync for copying VMs to remote host but the deltacopy does not seem to work. I am using Virtualbox on CentOS 6.2. My VM has 1 snapshot so I just copy the snapshot file instead of the ...
2
votes
1answer
2k views

Recreate XFS Partition with Existing Filesystem

I have a CentOS server with two RAID arrays. The OS array and a DATA array. Long story short, recently had tons of trouble with the OS and had to reload CentOS (was 5.7 and went to 6.5). Everything ...
11
votes
2answers
31k views

How do you set a DATE variable to use in a log for crontab output?

I was playing aroudn with some variations of date like DATE = $(date) but that didnt work either crontab -e CRONLOG=/tmp/log/crontab.log DATEVAR=`date +20\%y\%m\%d_\%H\%M\%S` * * * * * echo $...
3
votes
2answers
6k views

CentOS's Apache won't start

Just did a fresh install of CentOS, I also installed apache, but it won't start. [root@blah /]# /etc/init.d/httpd start Starting httpd: [FAILED] This is ...
0
votes
3answers
6k views

No package mongodb-org available

I am attempting to install MongoDB on CentOS 6.5. I believe I am following the instructions precisely step-by-step, but continue to get the error No package mongodb-org available after issuing the ...
0
votes
1answer
1k views

CentOS 6 Mono and Apache

EDIT: Added some extra logs at the end I'm trying to make Mono 3.0 work on CentOS 6 with Apache. I have compiled Mono, mod_mono and the XPS server from the source. But now I'm getting errors because ...
2
votes
3answers
2k views

MySQL keeps crashing [closed]

So a little background, a few weeks ago I brought a new CentOS dedicated server in Melbourne, however it seems beside the number of attackers I get, there also seem to be an issue with the MySQL ...
0
votes
1answer
2k views

PXE boot failing with E11 (ARP timeout) on upgraded Linux server

I just physically replaced a VERY old (2005) IBMThinkCentre NIS/DNS/DHCP/Gateway server running Fedora Core 4 with a slightly less old SUN server running CentOS 6. The newer server has the same IP ...
0
votes
2answers
2k 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 ...
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 ...
1
vote
1answer
1k views

Running plugins with NRPE as root: NRPE unable to read output

I have a problem with nagios and NRPE and I can't resolve it. I've already tried. # grep "nrpe_user=" /etc/nagios/nrpe.cfg nrpe_user=nrpe NRPE is running as the user nrpe. So I added this lines to ...
1
vote
1answer
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....
6
votes
4answers
11k views

How to reduce the SATA link speed of drive in CentOS?

How do I make CentOS run SATA drives at 3Gb/s at boot? Background: I'm having an issue with a motherboard that claims to support 6Gb/s SATA transfer speeds, but when using 4 drives on it, in a ...
0
votes
1answer
1k views

phpmyadmin fails to load “PHP message: PHP Fatal error: Class 'PMA_Message' not found in /usr/share/phpMyAdmin/libraries/Message.class.php”

After upgrading some of the php libraries on our server phpmyadmin failed to load. I see the following error on my web browser when trying to access browser phpMyAdmin - Error Cannot start session ...
4
votes
3answers
2k 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 ...
0
votes
1answer
55 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
1answer
1k 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 ...
0
votes
1answer
1k views

OpenVZ - vzdev kernel module issue

I am setting up a Centos 6.3 minimal server with openvz that replicates to another machine using DRBD. I want all openvz data/files to be kept in a single /vz directory which is an LVM that I am ...
0
votes
1answer
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
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/...
1
vote
1answer
1k 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; ...
1
vote
2answers
2k 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 ...
0
votes
1answer
16 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
1k views

APC module causing strange error

When I run php -v I get: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/apc.so' - /usr/lib64/php/modules/apc.so: undefined symbol: php_pcre_exec in Unknown on ...
40
votes
7answers
167k views

How can I find current SSH protocol version of the current connection?

I connect to a Linux machine (CentOS 6.4) using PuTTY. Except from fact that I can set PuTTY to only use one type of protocol, how can I find the current SSH connection's version (SSH1 or SSH2)?
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
2k 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?
2
votes
1answer
1k 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
1answer
2k views

pgsql is not loading (centOS 6.8)

*First of all don't answer "php.ini >> uncomment extension=pgsql.so and restart httpd". did that millions of times, did not solve my problem. *Tried hundreds of methods described in different sites ...
1
vote
2answers
2k 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
1answer
32 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
1k views

Can rsyslogd use /etc/hosts file instead of DNS?

I have a problem with rsyslogd using DNS to PTR-resolve each remote host's name. Is there a way to use the '/etc/hosts' to do same job and disable resolution using DNS?
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
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:...
2
votes
1answer
1k views

Mapping User and Group Ownership through LDAP

I am installing smb 3.5 on a CentOS 6.2 host using smbldap-tools. I've previously installed a similar configuration on RHEL4 using smb 3.0 but CentOS now uses nss-pam-ldapd and nslcd instead of ...
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/...
1
vote
1answer
50 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 ...
7
votes
1answer
2k views

Failing to mount root from ramdisk while PXE boot

I have a working TFTP/DHCP PXE boot environment where I've already booted some images successful. Now I built an CentOS 6.5 diskless image and this one is failing booting with the following error: No ...
0
votes
3answers
2k views

ImageMagick using openJPEG 2.0 and CentOS 6.5

I'm currently working on a CentOS 6.5 server. I'm trying to use openjp2 as one of the delegates in ImageMagick. Since openjpeg for CentOS is outdated (1.3), I've installed a new one using RPM package....

1
2 3 4 5
36