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
2
votes
1answer
3k views

Is this the correct way to enable ip forwarding per interface?

I do not want ip forwarding enabled for all my interfaces (I'm using Snort inline from this host and the IPS interfaces must not forward). I need ip forwarding enabled for for my KVM guests behind the ...
5
votes
1answer
2k views

IPSec + L2TP + NAT-Traversal does not work for multiple clients behind same nat

I have recently configured a VPN server hosted in AWS EC2. Details: Centos 6.4, openswan, xl2tpd, NAT-traversal. The configuration works great for a scenario when only one user connects form a given ...
17
votes
11answers
52k views

CentOS 6 and locale error

I just installed CentOS 6 and whenever I login to the system via SSH remotely, I get the following error: -bash: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8) When I type "locale" on ...
0
votes
1answer
2k views

How to run putty with -m command line *and* get log?

I'd like to launch putty and run my script automatically, it works, but I can't save the logs (I need them to debug)! The way I call putty: "D:\Some-Path\putty\PUTTY.EXE" -t -load "Server - 111.22....
0
votes
2answers
5k views

MySQL won't start: “Can't start server : Bind on unix socket: Operation not permitted”

Running a minimal Centos 6.0 build as a vagrant box, with SELINUX=permissive. Right off the bat, performing a "yum install mysql-server" and then "service mysqld start" it fails. Inside /var/log/...
0
votes
1answer
1k views

Enable Browser Caching for Apache on Centos

I am having an issue trying to get browser caching enabled for a website which is served by Apache on a Centos server. I have done all the usual steps which have worked for me before with Ubuntu ...
0
votes
1answer
16 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. ...
0
votes
2answers
2k views

Asterisk Firewall access Rules

I have a questions regarding the firewall rules for Asterisk VoIP server. I have a restricted access to UDP/TCP port 5060, which seems to be blocking calls. I want to make sure that my VoIP Server ...
1
vote
1answer
9k 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 ...
2
votes
3answers
10k views

Nagios email notification not working on CentOS

I have configured Nagios 3.4.4 on CentOS 6.3 Final. I have also configured Postfix with SMTP email server. I have verified from console that I am able to send email notifications and recieved them on ...
1
vote
1answer
1k views

Troubleshooting NIC Logs by NETDEV WATCHDOG

I have a CentOS 6.6 server (Linux 2.6.32-504) running on a brand new Dell PowerEdge R320. Just the other day, I began noticing problems in /var/log/messages related to one of my NICs. Note: this is a ...
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 ...
1
vote
1answer
2k views

dracut: Switching root

After my hosting company did some changes (no technical description for them) I got the following boot error for my CentOS: What I must do to get my servers up! I tried to ask for support at the ...
0
votes
0answers
64 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 ...
4
votes
2answers
12k views

Upgrading curl on centos 6: libcurl-7.50 requires libnghttp2

I am trying to upgrade curl but keep on getting this error: Package: libcurl-7.50.0-1.1.cf.rhel6.x86_64 (CityFan) Requires: libnghttp2.so.14()(64bit) I am not sure how to get this ...
0
votes
1answer
60 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
1answer
14k views

MySQL ERROR 2026 (HY000): SSL connection error

I have enabled SSL on MySQL 5.1.52 on CentOS 6.0 using the following guide: http://www.madirish.net/node/244 I have followed the instructions correctly but I am running into the following error when ...
1
vote
1answer
2k views

Cloud Server Error - File Does Not Exist: /var/www/html/public

I recently moved a webapp, built using Laravel, to a rackspace cloud server. The homepage resolves just fine as I have the root set in the apache config. However, when a request is made to any of ...
1
vote
1answer
1k views

crcmod installed, but gsutil shows “compiled crcmod: False”

I suspect this is something to do with the fact that I'm on CentOS 6.9 and have had to install SCL Python 2.7 so as not to interfere with the default Python 2.6 install. I've been through the steps ...
2
votes
4answers
22k views

CentOS & moving /var to a new disk/partition

Slightly older system, roughly 2 years old. Running CentOS I'm noticing I have /var using a lot of space, and it's all good stuff...so deleting space isn't the answer. Is there any easy/safe way to ...
1
vote
2answers
5k views

Upgrading PHP 5.3 to 7.x on CentOS 6.10 (final) - Unmet Dependencies

I am a bit rusty these days and could use some help. I've cracked opened a few old servers and have started the process of dusting them off. In the process I'm updating things like PHP. I regret to ...
1
vote
1answer
3k 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, ...
0
votes
1answer
2k views

Teamcity, Error collecting changes

Created a brand new TeamCity build project and configuration along w/ a new VCS root and receive the following errors on the first check for revisions TeamCity 8.0.6 (build 27767) running on CentOS 6....
2
votes
3answers
5k 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 ...
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

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 ...
1
vote
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 ...
12
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
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
40 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
12k 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 ...

1
2 3 4 5
36