CentOS 5 :: Installing Additional Perl And Mysql?

Dec 9, 2009

I have a permission to use several CentOS5 computers that are connected to a server where all shared programs sit. Accordingly, all Perl users for example have an identical path to Perl (e.g. /export/user/bin). The administrator suggested I'll install all the programs I need (specifically Perl and Mysql) in my personal space, and then add them to the path before the already installed ones. Accordingly, I could add/change modules without "sudo" privileges, and without changing the global setting.

View 1 Replies


Red Hat :: Installing Perl (v5.8.8) Module For Connecting To MySQL

Aug 2, 2010

I want to connect to MySQL Database installed on RHEL 5 using perl v 5.8.8.The available DBD perl drivers installed on my machine are:DBM, ExampleP, File, Pg, Proxy, Sponge..I downloaded DBD-mysql-2.1012 and tried installing DBD again but got the following error:Can't exec "mysql_config": No such file or directory at Makefile.PL line 167.readline() on closed filehandle PIPE at Makefile.PL line 169.On searching I found that I need to install libz-devel prior to installing driver for MySQL for Perl.

View 1 Replies View Related

CentOS 5 :: Installing Perl Modules Does Not Work?

Mar 2, 2011

CentOS and RHEL even though I've been using various Debian/Ubuntu Distros for quite some time. However, I always used to install perl modules via apt-get or, if that did not work, via cpan.In CentOS, I tried installing a couple of perl modules via yum but there are only a very few available. When trying to install perl modules via cpan, the install process usually fails during the make process.I'd prefer to install those modules via the distribution's package manger yum as it's easier to resolve dependencies. Are there any repositories I should add to have more perl packages available? (Where to add further repositories, I just know /etc/apt/sources.list in debian based distros)The other option still would be to install perl modules via cpan. For instance, when trying to cpan install Geo::IP, the output is as follows:

CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
Database was generated on Wed, 02 Mar 2011 02:42:03 GMT


View 2 Replies View Related

CentOS 5 :: Installing Mysql Ruby Gem On 64-bit?

Aug 18, 2009

I have a problem installing mysql ruby gem on 64bit CentOS machine.

[jacekb@vitaidealn ~]$ uname -a
Linux vitaidealn.local 2.6.18-92.el5 #1 SMP Tue Jun 10 18:51:06 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux

View 3 Replies View Related

CentOS 5 :: Installing MySQL Workbench GUI 5.2.31a?

Feb 13, 2011

I have been trying to install the above on my CentOS 5.5 server but am having missing libs issues. Our friend yum is not helping either. Here're some of the libs missing:

Missing Dependency: liblua-5.1.so()(64bit) is needed by package mysql-workbench-gpl-5.2.31-2el6.x86_64 (/mysql-workbench-gpl-5.2.31a-2el6.x86_64)
Missing Dependency: libssl.so.10()(64bit) is needed by package mysql-workbench-gpl-5.2.31-2el6.x86_64 (/mysql-workbench-gpl-5.2.31a-2el6.x86_64)
Missing Dependency: python(abi) = 2.6 is needed by package mysql-workbench-gpl-5.2.31-2el6.x86_64 (/mysql-workbench-gpl-5.2.31a-2el6.x86_64)


View 5 Replies View Related

Ubuntu :: Switch Back To /usr/bin/perl After Installing Second Perl?

Aug 14, 2010

I recently reinstalled the B module for perl. Now I found out it didn't just do that, it installed a whole new copy of perl into /usr/local/bin/perl. When I type 'which perl' at the terminal, it says '/usr/local/bin/perl' instead of '/usr/bin/perl'. Normally, this wouldn't bother me. But I installed the one in local/bin without threading support. The one that comes with the system already is build with threading support, which is why I want to switch back to the system perl, and possibly remove the one in /usr/local/bin.

So how do I change it so that the result of 'which perl' returns as '/usr/bin/perl'? And what do I have to do to remove /usr/local/bin/perl?

The reason I need threading support is because I'm designing a file copier that copies several chunks of a file simultaneously to speed up the copying process. Guaranteed a useful script if it works.

View 7 Replies View Related

CentOS 5 :: Yum Broke After Update And Installing MySQL TOP

Nov 28, 2009

After updating and installing Mysql's TOP, yum broke. When trying to clean, update, or install, the following error occurs:

dingle@its:/home/dingle# yum update
There was a problem importing one of the Python modules required to run yum. The error leading to this problem was: No module named cElementTree
Please install a package which provides this module, or verify that the module is installed correctly.
It's possible that the above module doesn't match the current version of Python, which is:
2.4.3 (#1, Sep 3 2009, 15:37:12)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-46)]
If you cannot solve this problem yourself, please go to the yum faq at: [URL]

I tried to resolve by reinstalling the dependency, didn't work either:
dingle@its:/home/dingle# rpm - [URL]
Retrieving [URL]
Preparing... ########################################### [100%]
package python-elementtree-1.2.6-7.el4.rf.i386 (which is newer than python-elementtree-1.2.6-5.i386) is already installed

How can I rebuild YUM appropriately so it will operate correctly?

View 1 Replies View Related

CentOS 5 :: Installing HORDE /IMP - Use The MySQL Root Password ?

May 25, 2009

To install horde/ imp. I found this page : [url]

I get stuck at the part where it says Youll need to use the MySQL root password. Then, in your database administration screen for MySQL, set the password for the new MySQL user horde to something nicely random and hard to guess; keep a momentary record as youll need it below.

It is really frustraing to get stuck at something so simple as installing horde imp on centos. how to get it installed on a CENTOS 5.x system ?

View 1 Replies View Related

CentOS 5 :: Installing PHP 5.3.6 - Libxml2 Issues And The MySQL Saga?

May 25, 2011

I've been at it all day trying to get PHP synced up with MySQL. The long and short of it is, php-mysql RPM's lead me into dependency hell (I've been trying to repent but for some reason I always end up there) after I had already used an RPM to install PHP. MySQL is fine, for now.

Here's where I'm at now... I have since uninstalled any previous versions of PHP and have grabbed the tar.gz2 version of PHP to compile / run with the "--with-mysql" option enabled. However, whenever I try to ./configure --with-mysql, I'm eventually told that "configure:error: libxml2 version 2.6.11 or greater required."

Running "rpm -qi libxml2" confirms that I've got version 2.6.26 installed... What gives!?

As is customary, here is my system info: Information for general problems.

== BEGIN uname -rmi ==
2.6.18-238.9.1.el5 i686 i386
== END uname -rmi ==
== BEGIN rpm -qa *-release* ==


View 2 Replies View Related

Server :: Installing Ruby Mongrel/mysql/passenger On CentOS?

Jan 16, 2011

I'm trying to install RubyOnRails, I'm at the point of installing the gem modules mongrel, mysql and passenger Running gem install mongrel Returns

Building native extensions. This could take a while...
ERROR: Error installing mongrel:
ERROR: Failed to build gem native extension.
/usr/local/bin/ruby extconf.rb


View 6 Replies View Related

CentOS 5 :: Installing Testing Repo Php And Mysql On PC No Internet/cdrom

Dec 6, 2009

I running Centos 5.3 on a computer with no internet access and no cdrom, i need to know how to keep it updated via USB stick. I have a 2 Gb USB stick, i am trying to update my centos machine and also update php and mysql with the testing repo packages. I am testing vBulletin 4 Publishing Suite and vBulletin 4 requirements are: PHP: 5.2.0 and MySQL:4.1.0 but Recommended: PHP: 5.2.6 or newer AND MySQL: 5.0.19 or newer.

currently running:

PHP 5.1.6 (cli) (built: Apr 7 2009 08:00:04)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies


mysql Ver 14.12 Distrib 5.0.77, for redhat-linux-gnu (i686) using readline 5.1

edit:i am trying to follow this guide: [URL]since i have no internet access, i have downloaded all files to my USB stick.i added the testing repo manually.is there a way to instruct centos to update these packages from my usb stick ? since i have them on USB, i can upload them on centos.

View 2 Replies View Related

CentOS 5 Server :: Move 5.5 To /usr/bin/perl So Root Based On Perl 5.12.1?

Aug 11, 2010

I am new here and want to lern CentOS. Current I have installed CentOS 5.5 x64 and Perl 5.8.8. Now i have install Perl 5.12.1 which located to /usr/local/bin/perl. But how I can move it to /usr/bin/perl so root based on Perl 5.12.1?

View 7 Replies View Related

Programming :: Perl And Mysql - Warnings?

Dec 2, 2010

I've decided to learn perl and have an application that is going to require the use of mysql.

Are these warnings bad?

Here's the code:


And the warnings:


View 2 Replies View Related

Fedora Installation :: Installing Additional Programs To A USB?

Oct 14, 2009

I have a laptop that I want to dual boot winxp and linux. I'd like to be able to run a mythtv frontend on it so that I can watch shows in my office and not lose the screen space on my regular desktop. I was thinking of three possible directions to go. I have a question to go with each though.

1.) This machine has an existing winxp install that I don't want to mess up, but is there something on a Fedora live cd that I could use to smashing that winxp install into a smaller space and repartitioning the drive? If so, I could just do an old fashion dual boot from the harddrive.

2.) I put a live install on a usb drive. If I do that, how do I install mythfrontend and make it persistant on the usb drive?

3.) I treat a usb drive like a regular hard drive and just do a normal fedora install, assuming the install sees the usb drive as a sd? device. I guess I don't have a question with this option, but I would rather avoid it since it will take a lot more space on the usb drive.

View 1 Replies View Related

Ubuntu :: Installing The Additional Software Packages?

May 25, 2010

I've got Ubuntu ReMix 10.04 successfully running off a 4-GB JumpDrive.When I go to installing additional software packages, the package "appears" to have installed itself onto the JumpDrive and into Ubuntu Remix 10.04.But, when I properly shut it down, and come back latter ... those software packages that appeared to have installed earlier, are no longer on the JumpDrive ! Nor, do they any longer show up on the NetBook ReMix menu tree.This has happened with AbiWord / Scribus / QCad / Gwelled and several other software packages.

View 7 Replies View Related

General :: Installing Additional Filesystems In RHEL?

Jul 12, 2011

We are about to install some RHEL5 servers for DB and web and Application servers. I've been asked to test which file systems of the following work better for disk I/O.EXT3 EXT4 JFS BtrFS and any other ones that I can find that work under RHEL the out-of-box install I have done allows me to format my volumes with EXT2/3 but not ext4 or any others. Is it possible to "install" other filesystems for use, if so how?

View 4 Replies View Related

CentOS 5 :: Upgrade Existing MySQL 5.0.77 Version On CentOS 5 Red Hat To MySQL 5.1.x

Aug 31, 2010

I want to upgrade existing MySQL 5.0.77 version on CentOS 5 Red Hat Linux to MySQL 5.1.x. Is anybody have list of patches or upgrades to upgrade to MySQL 5.1.x?

View 6 Replies View Related

CentOS 5 Server :: Unable To Give "Perl Path" To Run Perl CGI Script

Jun 2, 2011

I am unable to run perl-cgi script in my cent os Apache server. I have used locate perl command in terminal window and it gives following result:


tell which is the path to perl for example "usr/bin perl"

View 13 Replies View Related

Slackware :: Get The DBI Drivers Installed For Perl And MySQL?

Feb 6, 2011

I have spent over half of the day, literally, trying to get my server to parse perl and be able to use perl scripts to interact with my SQL server. Has anyone been able to get it to work? Only looking for answers to Slackware. There are a lot of resources for FC and Ubuntu, but that does me no good. I checked the Slackbuilds for their builds, and built the libdbi and libdbi-drivers package, but still cannot get it to communicate.

View 1 Replies View Related

General :: Installing Additional Files From Ubuntu 10.04 LiveCD?

May 31, 2010

I just installed Ubuntu 10.04 from the LiveCD--smooth install, OS looks great-elegant.Now, since I have to use dial-up, I need to install additional files from the LiveCD that aren't installed by default:

[LiveCD]:poolmainwwvdial wvdial_1.60.3_i386.deb
[LiveCD]:poolmainwwvstreams [3 sw packages]

How do I get these files from the CD, and make them run on the Ubuntu installation? I've checked in the UI, and see various terms I don't yet understand. Do I extract the packages? Or do I open a pgm in Ubuntu, in which I specify the path to the files on the CD?

I'm going to use an external USRobotics 5637 USB modem that is supposed to work in Linux; just need to configure Ubuntu for this. I have the ISP DNS server numbers and modem is ready. I've seen online info, but I'm stuck at this very basic step.

View 2 Replies View Related

Programming :: Using Perl To Update Mysql Table On Certain Event?

Feb 6, 2011

I'd like to use a perl script to update a fields in mysql database when pianobar (command line pandora radio player) starts a new song. Pianobar has the ability to run a script based on events, I'd like to take advantage of and use perl toparse the artist,song,album and update the corresponding fields. Then later retrieve them and display them with php/html. I am by no means proficient with perl. I started to use bash, but it looks like perl will be much more efficient and and less time consuming.

#! /usr/bin/perl -wT
use strict;


View 2 Replies View Related

Ubuntu :: Installing Extra Software To Additional Hard Drive?

Aug 29, 2010

I have added a 1.0 Tb USB HDD and would like to install games, extra software, etc. on it when using apt-get or Synaptic but I can not find any info on doing so.

View 5 Replies View Related

Debian :: Installing Additional MIBs For Specific HW (SNMP Server)

May 8, 2010

I have debian Lenny as an server I would like for monitoring of some network components ( switches, printers, routers ... ) and at

/usr/share/snmp/mibs I have
/usr/share/snmp/mibs# ls -l
total 1844
-rw-r--r-- 1 root root 17455 2008-12-16 18:22 AGENTX-MIB.txt
-rw-r--r-- 1 root root 36576 2008-12-16 18:23 BGP4-MIB.txt
-rw-r--r-- 1 root root 36959 2008-12-16 18:23 BRIDGE-MIB.txt ....
ls -l | wc -l shows 66, what means 66 differen mibs.

snmp related packages I have installed are as :
dpkg -l | grep ii | grep snmp
ii libgsnmp0 0.2.0-2.1 an SNMP library implementation based on glib and gnet
ii libsnmp-base 5.4.1~dfsg-12 SNMP (Simple Network Management Protocol) MIBs and documentati
ii libsnmp-perl 5.4.1~dfsg-12 SNMP (Simple Network Management Protocol) Perl5 support
ii libsnmp15 5.4.1~dfsg-12 SNMP (Simple Network Management Protocol) library
ii snmp 5.4.1~dfsg-12 SNMP (Simple Network Management Protocol) applications
ii snmpd 5.4.1~dfsg-12 SNMP (Simple Network Management Protocol) agents

My question is, how I can install additional mibs ( for Cisco, Procurve, etc ) for other hw I could have ? What is procedure. I browsed debian package base and I could not find some more packages related to snmp that could supply more mibs.

View 3 Replies View Related

Ubuntu :: Restricted To Debian Versions Of Things Like Perl, MySQL?

Dec 13, 2010

As I mentioned on another thread, I have 2 Ubuntus - Jaunty and Meerkat - as separate drives on my secondary IDE channel. I am removing Jaunty. Meerkat blows it away. And is certainly my preferred OS. However I am looking for a replacement for Jaunty that is more flexible in certain key areas than Ubuntu appears to be.I dont want to be restricted to Debian versions of things like Perl, MySQL, PHP and others. I can run LAMPP, but I would prefer to compile and have the versions of my choice as part of a main test system (apart from Meerkat that is).

I have had enough nightmares in Jaunty with things getting broken and spiralling out of control. I want a distro that doesnt rely on the GUI and its attendant utilities, but can run them when called. Meerkat is stable and has resisted me breaking it so far, but I do not want to push my luck. I have too much time invested in it. I intend to use Meerkat as my primary system on the machine, but want an alternative to *PLAY* with.

View 9 Replies View Related

Programming :: Perl: Compare CGI Input With Data From A MySQL Table?

Nov 19, 2008

I have this program:

#! /usr/bin/perl
use DBI ;
use strict ;


and I get this error simply running the program from the command line: DBD::mysql::st execute failed: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 at ./submit.cgi line 24.

is this the right syntax to use, both, for this line:

my (@param) = $cgi->param("firstname","lastname","type") ;

as well as this one:

$sth=$dbh->prepare ("SELECT firstname,lastname,type FROM dts WHERE firstname LIKE $param[0] AND lastname LIKE $param[1] and type LIKE $param[2]" );

or should there be quotes around the $param[0] or something? (also is it $param[0] or $param(0)?)

View 1 Replies View Related

Server :: Perl Apache Session MySQL Inconsistency On Debian Lenny

Apr 11, 2011

I have been tearing my hair out with this. As part of a backend perl script i am holding the Epoch time as session data using apache session and mysql so i can delete sessions after an expiry period. When I retrieve the time it is about three months old even when i only just set it. The code example below best describes the problem:

View 5 Replies View Related

Software :: Getting Bugzilla Setup On RedHat - Perl Install-module.pl DBD - Mysql ?

Apr 12, 2010

I am having some issues getting Bugzilla setup, I have the software on the server and am trying to get the pre-rec's setup.

I am using RedHat 4.1.2-42.

I have all of the required perl modules save one:DBD::mysql

When I try:

I get the following response(this is only an excerpt):

Can't test without successful make Running make install make had returned bad status, install seems impossible.

View 14 Replies View Related

Programming :: Write A Small Perl Script To Collect Some Info From Mysql?

Oct 10, 2010

am running Centos 5.4 and would like to write a small perl script to collect some info from mysql.

so I went
yum install perl-DBI
yum install perl-DBD-mysql


nano perl.pl
use Mysql;


Why can't perl find Mysql.pm? I guess because it doesn't exist as I ran find / -name Mysql.pm, and also could not find it.

shouldn't that file have been created and thus exist after I install perl-DBD-mysql?

View 6 Replies View Related

CentOS 5 Hardware :: Cannot See Additional RAM Installed - Mac Pro

Dec 17, 2009

I have successfully installed Centos 5.3 on a Mac Pro which had 1 gig of ram. I upgraded to 5 gigs of ram and the OS cannot see the additional memory. I ran the command free -g and it showed me only 1GB of ram. I pulled the memory and put it in an identical Mac Pro running OSX and it saw the additional memory without any problem, so I know the crucial ram is good. Do anyone know if there is something I need to do in order for Centos to see the additional ram?

View 5 Replies View Related

CentOS 5 :: Error: Mysql Conflicts With Mysql-server-community

Jun 4, 2009

I have MySQL 5.1.34 and PHP 5.1.6 installed on my system, how do I install php-mysql? Each time I try, it says

mysql-5.0.45-7.el5.i386 from base has depsolving problems
-- > mysql conflicts with mysql-server-community
error: mysql conflicts with mysql-server-community

View 16 Replies View Related

Copyrights 2005-15 www.BigResource.com, All rights reserved