Questions tagged [centos5]

CentOS is a Linux distribution aiming for 100% binary compatibility with RHEL.

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

Version 5 was released on 2007-04-12 and uses kernel version 2.6.18-8. It reached its End of Life (EOL) on 2017-03-31.

Documentation

313 questions
3
votes
2 answers

determine vm size of process killed by oom-killer

Is there any way to determine the Virtual Memory Size of the process at the time it is killed by linux oom-killer . I can't find any parameter in file /var/log/messages, which may tell me the total VM size of the process being killed. There is lots…
Arpit Aggarwal
  • 841
  • 8
  • 18
3
votes
1 answer

Fixing a PHP database connection failure with updated MySQL library

I spent some hours trying to solve a migration from CentOS 5.5 to 7 in which everything worked except PHP-based sites connecting to the MySQL server for a Web site. Perl worked fine. CLI commands worked fine. I tried every solution listed on Stack…
3
votes
2 answers

How to force stop logstash?

I launched logstash via SSH on my server but there is an connection error to Elasticsearch. When I tried to CTRL+C Logstash did not stop and he is still running now. How can I force it to stop? My server runs CentOS5 Got error to send bulk of…
dagatsoin
  • 2,626
  • 6
  • 25
  • 54
3
votes
1 answer

Shell Script to make Centos Backup

I read in a tutorial that I could use the following command to make a full backup of my CENTOS system: tar cvpzf /backups/backup.tgz --exclude=/proc --exclude=/lost+found --exclude=/backups --exclude=/dev --exclude=/sys --exclude=/boot/grub…
John M
  • 69
  • 1
  • 6
3
votes
1 answer

Undefined symbol when loading Apache2 mod_xml2enc

I am so frustrated installing reverse-proxy-related modules to Apache2 HTTP server on a CentOS 5 box. Since it's an old version of Apache2 server, I had to compile the modules from source using Apache tool 'apxs'. I got no warnings or errors…
Will Cheng
  • 199
  • 1
  • 7
3
votes
1 answer

What are some reasons why Composer will fail to connect to packagist through http, if not behind a firewall or proxy?

I have been trying to use Composer on Centos 5.5. I managed to install it, but composer install gets me nowhere, yielding: Loading composer repositories with package information [Composer\Downloader\TransportException] …
Amina
  • 90
  • 2
  • 12
3
votes
1 answer

Updating g++ on CentOS 5.8

I am currently using CentOS 5.8 and I would like to update g++ to the most recent version. My current version of g++ is 4.1.2, and when I try to update it says I am already on the latest version. Is there a way to force update to the current…
JME
  • 2,293
  • 9
  • 36
  • 56
3
votes
1 answer

Pushing git repo files to server

I'm currently using BitBucket.org as an online collaborative Git repository for my projects. I also have a server with Git and SSH running Centos 5.9. On my Bitbucket repos, I have a "master" (production) branch, and a "development" branch. I want…
Wes Foster
  • 8,770
  • 5
  • 42
  • 62
3
votes
1 answer

vsftp virtual users setup configuration

I can't get vsftp virtual user to work… I'm trying to setup a virtual user for web developers that are restricted to only the apache document root folder. CentOS 5.9(Final), vsftpd 2.0.5, pam 0.99.6.2 setup pam service file (/etc/pam.d/vsftp_vusers)…
T1000
  • 918
  • 2
  • 15
  • 30
3
votes
1 answer

can't install psycopg2 on centos

I use pip and easy_install. I got this error message: Downloading/unpacking psycopg2 Running setup.py egg_info for package psycopg2 error: invalid Python installation: unable to open /usr/include/python2.6/pyconfig.h (No such file or…
ws_123
  • 5,155
  • 7
  • 23
  • 20
3
votes
1 answer

Installing gitorious on Centos 5.8 (Passenger module)

I am trying to install gitorious on a Centos 5.8 box following this tutorial: http://gitorious.org/gitorious/pages/Rhel_Installation, but right after I install Passenger and add the suggested lines: LoadModule passenger_module…
danielrvt
  • 10,177
  • 20
  • 80
  • 121
3
votes
3 answers

How to Fetch 1.7 Million records in Java?

I am using MySQL database in which a table has 1.7 million records. Through Restlet framework in Java I want to fetch these records and return it to the client. I am using Linux Centos which is remote server. I have created WAR file and uploaded on…
Deepu
  • 2,590
  • 19
  • 52
  • 74
2
votes
0 answers

"Access Denied" during a successful Git push

I always get an "Access Denied" during a git push to remote, even though the push works fine. This is using Tortoise Git from a Windows box. Our server is Centos 5.4 integrated with our Windows Active Directory domain using winbind with automatic…
scipilot
  • 6,681
  • 1
  • 46
  • 65
2
votes
1 answer

PHP fopen($url,w)

$url="http://www.source.com/top"; $destination=fopen("/var/www/vhosts/domain.com/httpdocs/temp/" . date('m-d-Y'),"w"); echo "dest=$destination
"; echo "url=$url
"; $source=fopen($url,"r"); $maxsize=5000000000; $length=0; while…
user914425
  • 16,303
  • 4
  • 30
  • 41
2
votes
1 answer

error: "Operation not permitted" setting key "fs.file-max" while installing Oracle XE 11g on Centos 5.7 + OpenVZ

I am having problem in installing oracle xe 11g on centos 5.7 hosted on OpenVz The server didnt have any swap space , and the oracle installation was refusing because of the swap=0 now its has been resolved. I am having problem to set the following…
App Work
  • 21,899
  • 5
  • 25
  • 38