Questions tagged [centos6]

GENERAL SUPPORT QUESTIONS MAY BE ASKED ON SERVER FAULT https://serverfault.com CentOS is a Linux distribution aiming for 100% binary compatibility with RHEL.

is a free operating system distribution based upon the Linux kernel.

Version 6 was released on 2011-07-10 and uses kernel version 2.6.32-71.

1576 questions
186
votes
9 answers

CentOS 64 bit bad ELF interpreter

I have just installed CentOS 6 64bit version, I'm trying to install a 32-bit application on a 64-bit machine and got this error: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory How do I resolve this?
c11ada
  • 4,302
  • 15
  • 48
  • 62
78
votes
3 answers

Which nginx-config file is enabled, /etc/nginx/conf.d/default.conf or /etc/nginx/nginx.conf?

There are two config files around, /etc/nginx/conf.d/default.conf and /etc/nginx/nginx.conf, but which one is enabled? I am running CentOS6.4 and nginx/1.0.15.
Derek
  • 1,177
  • 3
  • 11
  • 26
78
votes
5 answers

Run bash script as daemon

I have a script, which runs my PHP script each X times: #!/bin/bash while true; do /usr/bin/php -f ./my-script.php echo "Waiting..." sleep 3 done How can I start it as daemon?
Sergey B.
  • 969
  • 1
  • 7
  • 12
77
votes
10 answers

centos: Another MySQL daemon already running with the same unix socket

I have a strange error when starting mysqld service: Another MySQL daemon already running with the same unix socket. I've tried to list running services and stopping them but the same error happens when starting mysqld service. I can try to remove…
Mas
  • 1,267
  • 1
  • 14
  • 13
66
votes
2 answers

nohup:ignoring input and appending output to 'nohup.out'

I want to start my server through nohup.php but the command is not running and displays following error nohup:ignoring input and appending output to 'nohup.out' I am using ssh through putty, this is what i am doing nohup php server1.php
user3809096
  • 817
  • 1
  • 7
  • 10
65
votes
7 answers

Upgrading PHP on CentOS 6.5 (Final)

I'm trying to update my PHP (currently v:5.3.3 to the latest stable PHP build) but it's not playing ball and it's saying there is nothing to update. Any help would be useful. Keeps saying: No Packages marked for Update
BCLtd
  • 1,459
  • 2
  • 18
  • 45
52
votes
19 answers

YumRepo Error: All mirror URLs are not using ftp, http[s] or file

I have set up a centOS 6.5 server using VMWare Workstation 9 on a Windows 8.1 host laptop. When trying to use yum to install packages I get the following error: [root@localhost ~]# yum update Loaded plugins: fastestmirror Loading mirror speeds from…
TheJimmer
  • 521
  • 1
  • 4
  • 3
47
votes
4 answers

How to use Rsync to copy only specific subdirectories (same names in several directories)

I have such directories structure on server 1: data company1 unique_folder1 other_folder ... company2 unique_folder1 ... ... And I want duplicate this folder structure on server 2, but copy only directories/subdirectories of unique_folder1.…
Andron
  • 6,413
  • 4
  • 43
  • 56
42
votes
13 answers

SSHD Gives error could not open Authorized Keys, although permissions seem correct

I'm unable to login to SSH because of the following error in /var/log/secure (according to the debug logs): Dec 19 18:01:05 hostname sshd[25119]: debug1: trying public key file /root/.ssh/authorized_keys Dec 19 18:01:05 hostname sshd[25119]: debug1:…
newUserNameHere
  • 17,348
  • 18
  • 49
  • 79
39
votes
1 answer

What are the real rules for linux usernames on CentOS 6 and RHEL 6?

I'm writing some web UI pages that can be used to create Linux user accounts. This web UI will be used on CentOS 6 (which is derived from RHEL 6). I'm finding inconsistent and incomplete information about what constitutes a valid Linux user name. …
Alan Carwile
  • 735
  • 1
  • 7
  • 14
39
votes
6 answers

Invalid command WSGIDaemonProcess Deploy Django application on CentOS 6.7

I am using Django 1.8 on CentOS 6.7 with Apache Server version: Apache/2.2.15 (Unix). I have followed the steps in How To Serve Django Applications with Apache and mod_wsgi on CentOS 7. But at last step when I start the Apache server with command :…
Himanshu dua
  • 2,496
  • 1
  • 20
  • 27
37
votes
6 answers

Linux - Yum Install GCC - Missing Kernel-headers

When ever i try to install GCC on my linux (centos) It comes back with missing glibc-headers-2.5-58.el5_6.4.x86_64 from updates has depsolving problems --> Missing Dependency: kernel-headers is needed by package glibc-headers-2.5- …
Stewart Dick
  • 381
  • 1
  • 3
  • 6
35
votes
8 answers

restart apache service automatically using cron 12AM daily

I have a CentOs setup in test server. I wanna to run a cron job (the cron needs to run apache server at 12AM) daily. My cron.daily fodler is located in /etc/cron.daily Please let me know the steps how to implement this. Usually I use to restart the…
Vinayagam
  • 944
  • 1
  • 9
  • 29
35
votes
5 answers

How to find user memory usage in linux

How i can see memory usage by user in linux centos 6 For example: USER USAGE root 40370 admin 247372 user2 30570 user3 967373
Hamidreza
  • 1,825
  • 4
  • 29
  • 40
31
votes
8 answers

I got warning setlocale LC_CTYPE when I ssh connect to vagrant centos 6

I'm a beginner with vagrant. I try to create a virtual machine (cent os 6) on my computer with vagrant. When I run vagrant ssh, it prints this warning: -bash: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8): No such file or…
Hien Nguyen
  • 581
  • 1
  • 4
  • 9
1
2 3
99 100