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
4
votes
0 answers

apache reverse proxy with ldap authentication

have put together a frankenconfig from a few articles that is giving me a few issues. What I am trying to do is create a reverse proxy for splunk that adds authentication against our ldap directory and wraps the the http splunk page in ssl. This…
davetayl
  • 113
  • 1
  • 7
4
votes
3 answers

PID file exists, but process is not running

I'm working in centos6. I have installed tomcat6. At the first all works fine. But after restarting the server tomcat6 did not work properly. When I execute this command line:"service tomcat6 status" I get: "PID file exists, but process is not…
Khalilos
  • 721
  • 2
  • 9
  • 17
4
votes
2 answers

pdo dblib on centos 6.x

I am trying to install dblib on CentOS release 6.5 (Final) 64bit. centos 6 does not have freetds so I had to get freetds from elsewhere. freetds-devel-0.91-2.1.x86_64.rpm. using pecl to download and instal PDO DBLIB but i get stuck at make. the…
shorif2000
  • 2,582
  • 12
  • 65
  • 137
4
votes
2 answers

find: paths must precede expression

I am using CentOS 6.4 final in two machines. I am executing a script. The script contains the find command path=$1 searchstring=$2 echo `find $path -name $searchString` for filename in `find $path -name $searchString` do echo…
Shriram
  • 4,343
  • 8
  • 37
  • 64
4
votes
5 answers

Get CPU usage via SSH

I want to retrieve the CPU utilization percentage via SSH and I have tried the command "top" but it will not let me. I am using CentOS 6. I tried this code $connection = ssh2_connect("IP", PORT); ssh2_auth_password($connection, "root",…
user3120926
  • 201
  • 1
  • 2
  • 9
4
votes
2 answers

bind() call in tcp client

I am trying to change the source ip address for a tcp packet. Code snippet as given bellow bzero(&clientaddr,sizeof(clientaddr)); clientaddr.sin_family = AF_INET; clientaddr.sin_addr.s_addr=inet_addr("172.16.2.10"); …
4
votes
1 answer

Centos 6 startup script

I need to put a startup script to my CentOS6 server. I see that I need a script that contains start-stop cases. But I have a problem to make it and neither how to put this script to startup. Anyone can say me how can I add it? The script must run a…
Univers3
  • 935
  • 1
  • 13
  • 34
4
votes
3 answers

CentOS 6 unzip file but files are going to root folder instead

When I did unzip /var/www/html/web.zip It unzipped the zip to /root/ folder. I need it to unzip the files to /var/www/html/ why is it happening? CentOS 6.3 64bit
Jony kale
  • 85
  • 1
  • 1
  • 7
4
votes
1 answer

Setting Xdebug breakpoints solely in command line

I'm struggling with a PHP maintenance script and I was looking for a way to use xdebug solely in command line (like gdb old-school), but I couldn't figure out how to set a breakpoint, do a step-into, step-over and continue. Xdebug is up and running,…
LucasBr
  • 461
  • 1
  • 7
  • 19
4
votes
3 answers

How to build gcc 4.7.2 on CentOS 6 x64

I am trying to build latest (at the moment of writing this) GCC version on CentOS. I downloaded & built GMP, MPFR and MPC. These libraries are located under /usr/local (i. e. usr/local/lib for libraries and /usr/local/include for includes). Now I am…
Vitalii
  • 4,434
  • 4
  • 35
  • 77
4
votes
1 answer

Parallels plesk permissions accessing through FTP

Our server is running under CentOS 6 and handled over Panel Plesk 10.4.4. Structure of folders and files is created using php script. Then, when accessing through FTP we are unable to modify these folder contents previously created. When accessing…
Jaume
  • 3,672
  • 19
  • 60
  • 119
3
votes
0 answers

CentOS 6, VBox host - high CPU usage when idle

I'm running a CentOS 6.2 install as a guest in VirtualBox (4.1.8) from a Mac OS (10.7.2) host. While the CentOS guest is idle, the Mac host is showing CPU usage from VirtualBox as around 25%. The VirtualBox FAQs note that "divider=10" can be added…
Allan Jardine
  • 5,303
  • 5
  • 30
  • 34
3
votes
1 answer

Undefined symbols compiling GTK+ 3 with ATK 2.2.0 on CentOS 6

I'm trying to compile GTK+ 3 with ATK 2.2.0 on CentOS, but am getting an error with atk_window_get_type: make[4]: Entering directory `/home/mms/Source/gtk+/gtk' GISCAN Gtk-3.0.gir /home/mms/Source/gtk+/gtk/tmp-introspectRXT5FI/.libs/lt-Gtk-3.0:…
3
votes
1 answer

Why cURL requests to Telegram Bot API suddenly became very slow?

I have several Telegram bots working nice for years; I used 2 ways to send requests to Bot API: The first is: file_get_contents($url); The second is: $ch = curl_init($url); curl_setopt_array($ch, [ CURLOPT_RETURNTRANSFER => true, …
A. Eaxon
  • 157
  • 2
  • 7
3
votes
1 answer

devtoolset-3 not found on Centos 6

This failed all of a sudden. Anyone know how to circumvent it? Thanks. [cktan@ckrh6 ~]$ sudo yum install -y devtoolset-3 Loaded plugins: fastestmirror, security Setting up Install Process Loading mirror speeds from cached hostfile * base:…
cktan
  • 109
  • 2
  • 5