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
0
votes
0answers
27 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 ...
0
votes
0answers
59 views

How can I run a CentOS i686 image on a 64 bit system

I want to run an existing i686 Centos 6 image on a core i3 processor architecture and basically as soon as I boot up,the kernel crashes. How do i resolve this? I did enable virtualization if that ...
0
votes
1answer
16 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 ...
0
votes
1answer
31 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 ...
1
vote
0answers
45 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 ...
0
votes
0answers
68 views

Can't install CentOS 6.10 on UEFI-GPT Disk

So I have installed CentOS 6.10 minimal.iso for x64 bit system from their website and I have been trying all the morning to install it along Ubuntu which is already installed on a different partition, ...
0
votes
0answers
332 views

PowerMTA Server Not starting

I have recently installed PowerMTA server on CentOS 6, every prerequisite was installed according to Document and License was entered in correctly configuration file was also correctly setup in /etc/...
0
votes
0answers
43 views

Centos6 Install Docker Error

When I installed according to Docker's documentation, something went wrong. Loading mirror speeds from cached hostfile * elrepo: mirror-hk.koddos.net * epel: fedora.cs.nctu.edu.tw * soluslabs: ...
0
votes
0answers
21 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 ...
0
votes
0answers
164 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 = "...
0
votes
1answer
181 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 ...
0
votes
0answers
14 views

User group created with LDAP is somehow missing from local but still exists in LDAP server

Recently I created a group by using ldap (FreeIPA) and then added user into that group. However when the time passed by (around 10 mins) that group is missing from that current server checked by id ...
0
votes
0answers
936 views

Sonarqube 7.9.1 fails to start after upgrade

The previous version of SQ was 6.7.7 LTS, so i upgraded to 7.9.1 LTS. I installed a new JDK java version "11.0.4" 2019-07-16 LTS Java(TM) SE Runtime Environment 18.9 (build 11.0.4+10-LTS) Java ...
0
votes
0answers
36 views

Failed to start crond on Centos 6

I noticed that crond is not running, tried to start it with service crond start but I get this error Starting /usr/sbin/crond: [-] Error 0x7a911401 in attaching to process! Any idea how to fix ...
0
votes
0answers
30 views

Implementing SElinux in production environment

I am trying to implement SElinux in production environment. Presently I have set it to permissive in the server(Centos 6). I have added the custom apache ports to the respective domain. He comes the ...
0
votes
1answer
34 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 ...
0
votes
1answer
58 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 ...
1
vote
1answer
516 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) ...
0
votes
2answers
21 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 ...
0
votes
1answer
40 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 $ ...
0
votes
1answer
430 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/$...
0
votes
0answers
24 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 ...
0
votes
3answers
227 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 ...
0
votes
2answers
2k 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 ...
0
votes
0answers
49 views

error when installing requests modules in centos 6.5

Hi I was installing requests module my environment in python 2.6 and linux centos 6.5 and I got this error Failed:python-urllib3.noarch 0:1.10.2-3.el6 How to fix that?
0
votes
1answer
308 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 ~]# ...
0
votes
1answer
211 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-...
0
votes
1answer
29 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 ...
2
votes
0answers
202 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 ...
1
vote
1answer
74 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 ...
0
votes
1answer
39 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-...
0
votes
1answer
447 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/...
0
votes
0answers
26 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 ...
1
vote
2answers
260 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 ...
0
votes
1answer
243 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/...
1
vote
1answer
571 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?
1
vote
1answer
2k 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 ...
5
votes
1answer
513 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 ...
0
votes
0answers
2k 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 ...
0
votes
1answer
294 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). ...
1
vote
0answers
54 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 ...
1
vote
0answers
84 views

pass in parameter for a shell script, but why are there two values?

I have some trouble with a shell script, pls help me, thx. I create a shell script file is named 'deploy.sh', and everytime I call this script with a parameter looks like '20180208','20180214'(...
0
votes
1answer
389 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 ...
2
votes
2answers
23k 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 ...
0
votes
0answers
18 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?
1
vote
0answers
735 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 : ...
0
votes
2answers
3k 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?
0
votes
1answer
209 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 ...
0
votes
1answer
912 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 ...
0
votes
0answers
96 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 ...

1
2 3 4 5
8