Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
0answers
12 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
98 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
0answers
6 views

How can I only allow one user his application to connect via a specific port

I am working on a new website as PaaS where users can run their own NodeJS application. It is running on one dedicated server and I want to assign 2 specific ports for one user his use. How can I ...
0
votes
2answers
43 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
13 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
37 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
31 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
19 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
42 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
63 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
24 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
110 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
35 views

Virtualbox Guest not Resizing correctly after TigerVNC Installation

I created a VirtualBox (Version 5.2.4) CentOS 6.9 x64 guest machine, and replicated it to have three identical machines with a base configuration. All three machines (being identical) resize ...
0
votes
0answers
18 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
1answer
68 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
93 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
102 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?
0
votes
1answer
392 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 ...
0
votes
0answers
16 views

Reverse Proxy Path Segment Configuration

I'm trying to set up a reverse-proxy for a web app that uses URI segments for parameters. How do I configure Apache to match up against the leading few URI path segments and then pass the remaining ...
5
votes
1answer
168 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
669 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
177 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). ...
0
votes
0answers
22 views

how to install xwindows on 128M VPS CentOS6?

I want to set up a graphic environment on VPS with 128M memory and CentOS6 so that I can install vncserver on it. But all the articles I read on installing vncserver tell you to install desktop using "...
1
vote
0answers
37 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
77 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
113 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 ...
1
vote
2answers
8k 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?
0
votes
0answers
427 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
1k 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
121 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
504 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
68 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
vote
0answers
202 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:...
0
votes
0answers
120 views

`yum install` failed while `rpm -ivh` is a success

I am seeing this error below when I install my own RPM packages with yum install no matter it is from local or remote. D: install: daemon-config-14.1.0.3-1 D: %pre(daemon-config-14.1.0.3-1.noarch): ...
0
votes
0answers
55 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 ...
0
votes
1answer
344 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 ...
0
votes
0answers
132 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: ...
0
votes
1answer
98 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 ...
0
votes
2answers
72 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 ...
1
vote
0answers
357 views

How to adjust brightness level in Centos 6.6

I have recently Install Centos 6.6 Desktop version on my laptop (HP Compaq 15-a002TU), Now I am Unable to change/control brightness level, which was previously supported by Ubuntu.
0
votes
1answer
1k 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. ...
0
votes
0answers
383 views

My Amazon Web Service instance won't boot: Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)

My AWS instance won't boot. I logged into the control panel and select Action > Instance > Get System Log. Here is the log, but I don't understand it. What failed? https://pastebin.com/rSxr1kLs It'...
0
votes
0answers
43 views

cdrom is not mounted but it is present

With the wodim command, I can see cdrom on Centos-6. However, when I try to mount the cdrom, I get an error. I have to say the disk is not empty and I can see the content on another computer. $ wodim ...
0
votes
1answer
185 views

Enable sshfs for non-admin users on CentOS 6.8

Would it be possible to enable sshfs to mount for users without admin permissions in CentOS 6.8?
0
votes
2answers
400 views

Command Not Found CentOS 6 Server

Im trying to run a .bat file on my server through php popen command, ive struggled and finally got to the point where all the permissions are set correctly and now i can actually execute the file but ...
1
vote
0answers
950 views

Correct way to configure Bridge network in centos

I am trying to configure bridge network in the HP server. I dont have console access. I am connected using ssh to the server remotely. The configuration files have been placed in the proper location /...
0
votes
2answers
1k views

Rsync via SSH doesn't work

I want to make a backup from a Synology DiskStation (DSM 6.0.2-8451 Update 9) to a CentOS6 server using Rsync via SSH. CentOS6 server configuration /etc/rsyncd.conf uid = root gid = root max ...
1
vote
1answer
111 views

Auto starting application on boot

I have two applications that I am having trouble with: memcached and supervisord At the moment each time i reboot the server i need to remember to run memcached -d -u regularUser supervisorctl start ...
1
vote
1answer
324 views

How do I find out long time a service has been up and running for in CentOS 6?

How do I find out how long has a service eg. nginx has been up and running for in CentOS 6? In CentOS 7, I can use systemctl status nginx and it shows how long did the service last started. But in ...