Questions tagged [centos-6]

CentOS is an abbreviation for Community Enterprise Operating System that aims to be compatible with its upstream source, Red Hat Enterprise Linux. CentOS 6 is the 6th major version of CentOS, which was released on July 10th, 2011.

Filter by
Sorted by
Tagged with
1 vote
1 answer
3k views

How do I stop a currently running cron job executing wget?

I added a cron job to prime the cache of my website. The command is: cd crawler && wget --recursive --no-parent --domains=example.com --level=inf --reject css,js,png,jpg,mp4,psd,pdf --delete-...
gMaximus's user avatar
0 votes
1 answer
101 views

Can't update the PHP 5.3 to higher version on CentOS 6.1

I have a server running on CentOS 6.1 .. And currently having PHP 5.3.29 I tried installing a newer version but the issue is the i can't remove the older version .. I am confused how to begin well ! ...
The T's user avatar
  • 1
0 votes
2 answers
784 views

Can I install redhat rpm on centos?

Can I install the Red Hat 6 version of the Openssl.rpm on the Centos6? I am trying to backup and install an old version that can no longer be found in current repository. I found the centos package ...
hid's user avatar
  • 1
1 vote
0 answers
1k views

Start tcpdump with script on system start

I'm trying to run a script on startup that runs the tcpdump command on Centos 7 and Centos 6. The aim is to start a rolling pcap when the system starts. I've tried using a cron with @reboot, but it ...
AbruptHat07's user avatar
0 votes
1 answer
99 views

How to save syslog severity <132> to a different file?

We have an old appliance that sends syslog with severity <132> to its management server. To capture said events the previous team created a tcpdump script and ran it via crontab to capture the ...
sarvesh.lad's user avatar
0 votes
1 answer
249 views

Is there a way to make a vnc server not user specific?

I am using tigervnc server on CentOS 6.8. I am trying to get it so that users can open their vnc viewer to say ipaddress:5901 and the viewer will ask for both username and password. Right now I have ...
Qwaddles's user avatar
1 vote
0 answers
408 views

PV is greater than /dev/sda2

I'm receiving below error. seems like while increase the PV size, I have increased greater than /dev/sda2.Because of which my root filesystem is corrupted and cannot boot. Also while booting my root ...
user1105242's user avatar
0 votes
0 answers
34 views

Linux Commands for Task

I am working on a File server on cent OS but stuck with a simple process, some how I am getting no result maybe I am new Linux that's why can't figure it out. Please Need Help: Here is what I want to ...
user avatar
0 votes
0 answers
580 views

perl: warning: Setting locale failed. Centos 6.9

I am receiving the following error message on my Centos linux server for past 15 days. perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = "...
Callie's user avatar
  • 101
0 votes
1 answer
1k views

WordPress reports wrong version of php

I have a centos 6 Linux server with a whm and cpanel installed. I've recently updated the PHP version to 7 through the whm and applied it to the website on the server in both whm and cpanel in the ...
Danny Connolly's user avatar
0 votes
1 answer
168 views

Why is the maximum number of open files that are started with the system is 1024 under CentOS 6.10?

I have modified /etc/security/limit.conf: * hard nofile 1000000 * soft nofile 1000000 As well as this file /etc/security/limits.d/90-nproc.conf * soft nproc unlimited root ...
601902498qqcom's user avatar
0 votes
1 answer
79 views

Command executed via ssh

On CentOS 6, how can I tell what commands were executed via someone that ssh'ed into as root? I looked in /root/.bash_history. I also ssh'ed into myself and did a history but the only commands I ...
user1018033's user avatar
1 vote
1 answer
2k views

CentOS 6.10 Boot Stops at GRUB Prompt

My CentOS 6.10 host won't boot. It stops at the GRUB prompt. How do I fix this without manual intervention at each boot? I can successfully get the system running with these steps. root (hd0,1) ...
iAmJeff's user avatar
  • 142
0 votes
2 answers
694 views

Link domain to specific Apache port

I need to link a specific domain to a port in an Apache server. I'm looking for something like this: www.test.com links to 127.0.0.1:80 www.sub.test.com links to 127.0.0.1:90 I already created ...
Vinícius Silva's user avatar
0 votes
1 answer
119 views

"screen" is losing umask setting

I am using the screen tool quite a bit. Recently I discovered that the umask within screen is different from what I am setting in my .bashrc. $ screen -v Screen version 4.00.03 (FAU) 23-Oct-06 $ ...
Roman Zenka's user avatar
1 vote
1 answer
738 views

Cannot upgrade git on CentOS6

I have $ git --version git version 2.18.0 $ cat /etc/yum.repos.d/WANdisco-git.repo [WANdisco-git] name=WANdisco Distribution of git baseurl=http://opensource.wandisco.com/rhel/$releasever/git/$...
Ankur Agarwal's user avatar
0 votes
0 answers
27 views

Github community edition installed but not open properly

I am trying the install the Github lab community edition in our centos server by using steps that mentioned in the below link https://about.gitlab.com/install/#centos-6 The installation successfully ...
user512213's user avatar
0 votes
3 answers
335 views

Nagios service restart is failing on CentOS

Nagios restart service is failing with the error: /etc/init.d/nagios: line 153: syntax error near unexpected token `}' It's only happening on CentOS (6x); For Ubuntu & Redhat this issue does ...
Waqar Haider's user avatar
2 votes
2 answers
7k views

nameserver in /etc/resolv.conf vs /etc/sysconfig/ifcfg-eth0 on Centos 6 / RHEL 6 server

If nameservers are configured with both nameserver entries in /etc/resolv.conf and DNS1/DNS2 entries in /etc/sysconfig/network-scripts/ifcfg-eth0 on a Centos 6 / RHEL 6 server, which one will take ...
Karunkar Borah's user avatar
0 votes
1 answer
2k views

Not able to access ftp from browser

OS I'am using CentOS 6.10 I am trying to configure active mode ftp by opening port 20 and 21 only. (Exactly I don't no how to configure active mode ftp) This is my iptables rule. [root@server ~]# ...
max's user avatar
  • 3,943
0 votes
1 answer
661 views

How to mount iso file with selinux context

I am trying to mount iso file in /var/ftp/pub/centos When I try to access those files using ftp in web browser it's not working . After troubleshooting I found that it's because of selinux. dr-xr-...
max's user avatar
  • 3,943
0 votes
1 answer
51 views

Downloading CentOS 7.2 64-bit (or CentOS 6.8, 64 bit)?

For some reason (software compatibility with RedHawk), I need to use CentOS 7.2 (64-bit) instead of the most updated version of CentOS 7.6.1810. I am asking around to see if there is still a chance ...
Spring19981's user avatar
2 votes
0 answers
391 views

How to configure NFSv4 only server in CentOS 6.10

I am trying to configure NFSv4 only server in CentOS 6.10 I've disabled NFS v2 and v3 using this conf file /etc/sysconfig/nfs MOUNTD_NFS_V2="no" MOUNTD_NFS_V3="no" RPCNFSDARGS="-N 2 -N 3" I followed ...
max's user avatar
  • 3,943
1 vote
1 answer
4k views

Why is my simple bash script is not running?

I am just writing a simple Bash script on CentOS 6.2: [root@hadoop1 ~]# vi bash_startup #! /bin/bash export r=1 Backing to the command line: and running using ./bash_startup [root@hadoop1 ~]# echo ...
Mat's user avatar
  • 15
0 votes
1 answer
48 views

Need to start mysqld before ambari-server

I am using Centos 6.2 to install a HDP cluster. The problem is that my ambari-server need Mysql on startup to be run before it when I use below [root@master ~]# chkconfig --list ambari-server ambari-...
Mat's user avatar
  • 15
0 votes
1 answer
2k views

Centos 6.2 cant ping 8.8.8.8 using NAT bridge on VMWare

I am using Centos 6.2 inside vmware and I have three nodes whihc I have assigned them static IPs as folllow Based on the errors, you need to update the files to look like this: /etc/sysconfig/...
Mat's user avatar
  • 15
0 votes
0 answers
45 views

CentOS rc.local python redirect

Scenario is as follows: I need to execute two python scripts on boot, and redirect their stdout and stderr to a file (each script to a file). In /etc/rc.local, I've tried (among plenty others) the ...
glezo's user avatar
  • 123
1 vote
2 answers
627 views

Paprefs for CentOS

Has anyone been successful in installing paprefs on either CentOS 6 or CentOS 7? I tried to unpack the rpm at https://centos.pkgs.org/7/nux-dextop-x86_64/paprefs-0.9.10-8.el7.nux.x86_64.rpm.html, but ...
walksignison's user avatar
0 votes
1 answer
777 views

BIND-9.8.2 what is the meaning of 'malformed transaction'?

Recently our master DNS service began logging errors similar to this: /var/log/messages:Jun 20 13:38:18 inet03 named[3720]: malformed transaction: dynamic/...
James B. Byrne's user avatar
1 vote
1 answer
837 views

How can I turn my CentOS laptop into a wireless signal repeater?

So, I have a laptop with CentOS 6.9 (i686 arch), I need to receive the internet signal through the wi-fi adapter and repeat it to the ethernet cable, how can I do this? Is there any way to do it?
Gabriel Caprini's user avatar
1 vote
1 answer
4k views

How to increase VirtualBox CentOS 6.5 disk size? [closed]

I am trying to increase the disk size of a VM that I initially set up with 4 GB memory to 10 GB. I successfully increased it to 8 GB (by getting rid of lv_swap and running lvextend after updating it ...
Samvawa's user avatar
  • 71
5 votes
1 answer
1k views

mount and umount behaving differently when run under cron

Running CentOS 6 in AWS, and what I'm seeing is baffling me. There is an s3fs mount in /etc/fstab that sometimes loses its ability to read and write from. I have a cron job that worked great for ...
Joshua Grigonis's user avatar
0 votes
0 answers
4k views

How to use a non-443 port with https?

I can't get https to work on port 3000. Here's my specific situation: I have my own VPS running Centos6/Apache. I am using botkit-starter-slack to run a bot from my server. I have SSL certs that pass ...
user912267's user avatar
0 votes
1 answer
507 views

Resolving IPv6 requsets on IPv4 VPS

I have a VPS(Virtual Private Server) from hetzner.com with Centos-6.9 The VPS can only work with IPv4 and the server don't support IPv6. Now i setup and running a proxy on this VPS(shadowsocks). ...
msoa's user avatar
  • 158
1 vote
0 answers
74 views

Migration from CentOs6.9 to CentOS 7.x

I have a server machine running on CentOS 6.9 where more than 200 user accounts exist and DNS service and NIS service are working. What is the best way to migrate this server to a new machine on ...
mallea's user avatar
  • 111
0 votes
1 answer
1k views

sysstat not updating configuration?

This is my first question on SuperUser so go easy! I have attempted to prune my servers' /var/log/sa/* logs by updating the /etc/sysconfig/sysstat file to the following: # sysstat-10.1.5 ...
jto's user avatar
  • 101
5 votes
2 answers
46k views

How can I create a service in CentOS 6?

I need to create ratchet service on my dedicated server (CentOS 6). I have successfully created this service on local CentOS 7. The problem is that the server has got old version of CentOS and I need ...
Faryal Gohar's user avatar
0 votes
0 answers
23 views

CentOS release 6.9 (Final) appends twice

I'm trying to append someting to a file rm temp.upload echo -n 'test' >> temp.upload cat temp.upload testtest but anyhow it gets appended twice Any idea what's going on?
wutzebaer's user avatar
  • 437
1 vote
0 answers
920 views

Docker container with centos 6.6 and c++

I'm trying to create a docker contaienr with CentOS 6.6 and c++: Step 1/37 : FROM centos:6.6 ---> 3d7ac13b921a Step 2/37 : RUN yum -y update ---> Using cache ---> b41e216c79de Step 3/37 : ...
wutzebaer's user avatar
  • 437
0 votes
2 answers
4k views

Upgrade centos 6 to centos 7

I Have a server that has CentOS 6 as operating system.I need to upgrade it to the latest version of CentOS 7. how its possible?what procedure I need to pass?
SMT's user avatar
  • 1
0 votes
1 answer
287 views

CentOS 6 IPTABLES list rules

I've entered some rules into IPtables on CentOS 6. But when I run 'service iptables status' I get a different result than when I go 'iptables -L'. I need to open up port 1270 on this machine. This ...
user99201's user avatar
  • 171
0 votes
1 answer
1k views

Grub prompt after 'yum update' (CentOS 6.9)

It seems the system can't boot correctly after running a yum update and grub prompt appears. I'm not sure but maybe memory was exhausted in the process. The thing is I don't know what is the real ...
Playinteractive's user avatar
0 votes
0 answers
102 views

Downloading files using 'wget ' in centos 6 server takes a long time

I have two differents servers (Centos 6) with the same configuration , when I try to download files using " wget ", it takes a long time (speed less than 400k/s) on the first server , but the second ...
Objektive Mieten's user avatar
1 vote
0 answers
370 views

No TTY Terminal after CENTOS Kernel Upgrade and reboot

have a VPS and recently I installed a new kernel yum history info Loaded plugins: fastestmirror Transaction ID : 17 Begin time : Wed Sep 13 18:52:31 2017 Begin rpmdb : 326:...
4ndr0m3d4's user avatar
0 votes
0 answers
204 views

Redirecting messages from syslogd

I'm currently using a CentOS 6 cluster which is having some issues on one node that is triggering a syslogd message: Message from syslogd@node005 at Sep 7 14:23:04 ... kernel: Uhhuh. NMI received ...
Signal4's user avatar
0 votes
1 answer
1k views

Return the version of glibc to 2.12

on CentOS release 6.9 (Final) I have updated glibc to 2.14 according to this procedure https://unix.stackexchange.com/questions/176489/how-to-update-glibc-to-2-14-in-centos-6-5 However after ...
whitebear's user avatar
  • 705
0 votes
0 answers
265 views

How do I remove el7 and it's packages on CentOS 6.9?

I'm trying to install Centreon from ssh and I got this error: Error: Package: centreon-clib-1.4.2-3.el7.centos.x86_64 (centreon-stable) Requires: libstdc++.so.6(GLIBCXX_3.4.15)(64bit) Error: ...
Rui Nobre Cardoso's user avatar
0 votes
1 answer
432 views

Keeps detecting SELinux as enabled even though I disabled it (When trying to install FreePBX)

I was following this guide to install FreePBX on CentOS 6.9 (minimaslist), everything worked, until the last step to install FreePBX: ./install -n from /usr/src/freepbx, I keep getting the follwing ...
Ernest Dujo's user avatar
0 votes
2 answers
144 views

PHP cli is not running after reboot

To run PHP CLI on my centos virtualbox image I need to type source /opt/remi/php71/enable but after rebooting the machine the PHP CLI is down again and I need to do this again... In best case I ...
Bartłomiej Sobieszek's user avatar
0 votes
1 answer
2k views

Trying to exclude a specific directory from a grep command

I've got a directory that contains hundreds of sub-directories that all have dates as their names, and inside each of those sub-directories, there's a bunch of files I need to be searching through. ...
nixin72's user avatar
  • 103

1
2 3 4 5
8