Server :: Install Different Version Of Perl+module Without Affecting The Existing One ?
May 10, 2011
I need to install different version of Perl with needed modules to Test Run a perl script (ASSP) without affecting the existing one as the old version of Perl is buggy with seg fault.
View 5 Replies
ADVERTISEMENT
Oct 30, 2010
How can I write to a file multiple times using fwrite without affecting the previous writes?The method shown below accepts a file name, buffer and offset. The method opens the file in reading/writing mode and writes the content of the buffer at offset.
View 1 Replies
View Related
Mar 15, 2010
I need to install the Perl DBI and DBI::mysql modules at Amazon Web Services. Perl 5.8.8 is installed there as part of the default Fedora linux that comes with an EC2 instance. I am not familiar with Fedora, but have been using Linux for a good while.If anyone could tell/show/direct me to the quickest way to do this.
View 1 Replies
View Related
Jul 21, 2011
I am using RHEL5 64 bit. I am trying to install bugzilla. While installing i am getting error.
View 2 Replies
View Related
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
Mar 23, 2011
We are having perl version 5.8 and executing the perl scripts to maintain oracle database on Solaris10. Our existing perl version is 5.8.Now, we want to try the same existing perl scripts on Fedora14.Is it possible to run the existing perl scripts on Fedoara14?Do I have to seperately install the perl on Fedora14 ?
View 2 Replies
View Related
Jul 3, 2011
How do I use a perl module? Am I suppose to call it from the terminal?
View 2 Replies
View Related
Jul 14, 2011
What happens if I install the DVD version of Fedora 15 over an existing installation of Fedora 15-KDE? Will it cleanly add any software I don't already have, or will it change or disrupt my installation?
View 5 Replies
View Related
Jan 12, 2011
Using perl -MCPAN -e shell then install Mail::Message then yes to everything (except the test that needed an IMAP server) resulted in.
View 3 Replies
View Related
Nov 10, 2010
I'm trying to write a script in Perl to download a file that requires NTLM authentication to access, stored on a machine on this network.The file exists, and can be accessed through a web-browser, btw.
View 1 Replies
View Related
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
Jun 23, 2010
I have an existing unix user that some how didnt make it into the copy over to our LDAP server. How do I add an existing unix user to an existing LDAP directory? Will ldapadd work? I was under the impression ldapadd required an ldif file to work properly.
View 7 Replies
View Related
Apr 29, 2010
I am trying to make use of the perl module WWW::Nike::NikePlus to retrieve the data from my ipod but apparently I have no idea what I am doing. I installed the package just as the readme said including all the dependencies. I cant really figure out how to run it, i searched for how to use it and found this : Example use that retrieves and prints your last run information
use WWW::Nike::NikePlus;
my $username = 'my@email.address';
my $password = 'MySecretPassword';
my $locale = "en_us";
my $pin = nike_authenticate( $username, $password, $locale );
unless( $pin ) { print "Authentication failed
"; } .....
#Details of the last run
my ($unit, $last_run_dist, $last_run_duration_millisecs,
$last_run_duration_friendly, $last_run_pace_friendly) = nike_last_run();
print "Last run: $last_run_dist$unit in $last_run_duration_friendly
";
print "Last run pace: $last_run_pace_friendly per $unit
";
So I put it in a txt file and saved it with the extension .pl and of course I put in all my info in the username password fields then made it executable with the command sudo chmod +x nikeplus.pl and when I try to run it with either ./ or perl I get this output:
brandon@desktop:~/Apps/nikeplus$ ./nikeplus.pl
./nikeplus.pl: line 1: use: command not found
./nikeplus.pl: line 2: my: command not found
./nikeplus.pl: line 3: my: command not found
./nikeplus.pl: line 4: my: command not found
./nikeplus.pl: line 6: syntax error near unexpected token `('
./nikeplus.pl: line 6: ` my $pin = nike_authenticate( $username, $password, $locale );'
brandon@desktop:~/Apps/nikeplus$ perl nikeplus.pl
Use of uninitialized value $ENV{"TEMP"} in concatenation (.) or string at /usr/local/share/perl/5.10.0/WWW/Nike/NikePlus.pm line 10.
Use of uninitialized value $last_run_duration_millisecs in division (/) at /usr/local/share/perl/5.10.0/WWW/Nike/NikePlus.pm line 106.
Use of uninitialized value $last_run_dist in division (/) at /usr/local/share/perl/5.10.0/WWW/Nike/NikePlus.pm line 107.
Use of uninitialized value $last_run_duration_millisecs in division (/) at /usr/local/share/perl/5.10.0/WWW/Nike/NikePlus.pm line 107.
Illegal division by zero at /usr/local/share/perl/5.10.0/WWW/Nike/NikePlus.pm line 107.
brandon@desktop:~/Apps/nikeplus$
View 2 Replies
View Related
Jun 14, 2010
I have Apache/2.2.14 (Ubuntu) DAV/2 SVN/1.6.6 mod_fcgid/2.3.4 Phusion_Passenger/2.2.14 PHP/5.2.10-2ubuntu6 with Suhosin-Patch configured In UBUNTU 10.04 I like to install apache2 mod_perl I make apt-get install libapache2-mod-perl2 and I get: Quote: libapache2-mod-perl2 is already the newest version.
Ok I try sudo a2enmod mod_perl ERROR: Module perl does not exist! how I make Perl work in apache2 UBuntu 10.04
View 3 Replies
View Related
Oct 29, 2010
I'm attempting to set up a GIMP scripts for batch operations on groups of image files. Initially I started reading about the Script-Fu syntax but it looked too convoluted (at least for me, with 15 years of Perl experience at work) in a way it does the simpliest of things so I attempted to use Perl instead of Script-Fu. From reading the docs I see that I need to install "Gimp::Fu" Perl module. I installed "cpan" first, started it and issued the command:
install "Gimp::Fu"
and got a dependency problem:
Code:
cpan[1]> install "Gimp::Fu"
CPAN: Storable loaded ok (v2.18)
Going to read /root/.cpan/Metadata
Database was generated on Thu, 28 Oct 2010 17:30:45 GMT
[code]....
View 3 Replies
View Related
Oct 16, 2010
I need to get some information like cpu usage,free memory,swap memory and other information from a bunch of remote hosts.Can any one tell me of a good perl module which does that.I dont want to use Net::Rsh or Net:SSH.
View 14 Replies
View Related
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
May 19, 2011
I have installed perl5.12.3 in a custom location, ( a NFS share). I have all the libraries created in the same location. This was an attempt not to disturb existing version of perl. I have succeeded doing this.Now, I need to install around 200 perl modules. I tried Bundle option in CPAN shell, it somehow did not work. Does anyone here know off any other better method of installing multiple perl modules. How do I use CPANPLUS to install all the modules. What changes do I make to Config.pm considering custom location of perl installation I have done.
View 1 Replies
View Related
May 29, 2009
how to install Apache web server as I want to run my Perl and PHP scripts in web environment. what configuration I need for Perl and PHP. Does I also need some separate software/package/module for perl and PHP? I have experience of running ASP scripts with IIS in Windows environment but have no idea of Apache in Linux for Perl and PHP.
View 4 Replies
View Related
Feb 18, 2010
I'm having this issue with a Linux server that thinks it owns an IP that it doesn't.Background: We used to have a central server connected directly to the DSL modem with two interfaces. interface eth1 was setup to respond to three of our external IPs, I'll call them ext54, ext55, and ext56. The internal interface, eth0, was setup as a gateway for the LAN on IP 192.168.0.1.
We wanted to install a hardware firewall and virtualize the existing server. So now it's setup so that the WAN interface of m0n0wall is connected directly to the DSL modem and responds to ext54, ext55, and ext56 and its LAN interface is the gateway for the 192.168.2.0 network. The server was virtualized and it's eth1 configuration was changed to be 192.168.2.2 with a gateway of 192.168.2.1. Everything seemed to be working fine.
Problem: The server runs apache for our webmail system, which works fine from the outside (since I have m0n0wall NAT port 80 through to 192.168.2.2), but inside it fails.
As best as I can figure the server (which is linux Centos 4.3), thinks that it should still respond to IP ext54 instead of forwarding it on to m0n0wall to figure out where it should go. I've looked through all the config files I can think of on the linux server (ifconfig, route table, hosts file) and I can't see anything that would make the server think it is ext54. I've also checked the logs and config of m0n0wall to see if the packets are getting dropped, and again, I don't see anything.
I guess I should say that our DSL provider gives us the IPs ext54, ext55, ext56, ext57, and ext58. When I tracert the IPs on the server ext54, ext55, and ext56 don't hop at all as if the server itself serves those IPs, but ext57 and ext58 tracerts hop to the m0n0wall gateway correctly...which makes this even crazier in my opnion.
View 6 Replies
View Related
Apr 20, 2010
Trying to install libmd5-perl on Ubuntu server 10.04 beta 2! It says there is no candiate version found for libmd5-perl
View 6 Replies
View Related
Jan 28, 2010
I have a server running ubuntu 9.10 64 bit. It has samba running. I have ONE user that everytime she shuts down her windows machine I have to recreate the smbpasswd -a user. Every time, repeatable. A. How can a windows machine be affecting the password settings on the server. B. Refer back to A.
[Code]...
View 1 Replies
View Related
Apr 20, 2010
I have fedora 12 currently installed on my laptop, but would like to install another version along side it. How do I do this? Will it detect the second version automatically and add a grub entry? Or do I need to do something else. Also, what partitions need formatting, do any new one except '/' need creating?
Current layout>
/dev/sda1 ext4 /boot 200 MB
/dev/sda2 ext4 20 GB <--- I want to install new version here.
/dev/sda3 ext4 / 20 GB
/dev/sda4 extended 425 GB
/dev/sda5 ext4 /media/Media 425 GB
View 3 Replies
View Related
Dec 11, 2010
Due to a problem I had with a 10.10 upgrade [URL] and the need to access data on the pc I upgraded, I downloaded the live CD and installed on the same pc. Now I have two versions of 10.10 on the same pc but in different partitions. Is there any way I can copy my settings from the partition that is not working (the upgraded one) to the one that is working?
View 1 Replies
View Related
Aug 25, 2009
I am a complete stranger to Linux and don't know a thing about this . But my cousin has installed Fedora Linux ( she says it is Linux on Unix , Red Hat Nash ) on my laptop . The laptop was having Lotus symphony earlier and it had only single partition . As a result the Linux had overridden the existing OS and all the data is lost.
My requirement is to retrieve the lost data before I format my system again.. If it is possible to recover the lost data and if yes how to do that.
View 1 Replies
View Related
Mar 6, 2010
Goal - have Ubuntu on one HDD and Win 7 on another. Sub-Goal - get rid of GRUB without adversely affecting Ubuntu install .I have three HDD's on my system; one contains Win 7 Pro (no complaints, love it), one is for storage (NTFS) and the third has Ubuntu on it (aside from the wireless issues and DVD playback issues, I love it as well).
All three drives are internal, but the Ubuntu drive is a special case. It's installed in a cradle that resides in an external bay. The Ubuntu drive can be turned on and off at will. I don't need GRUB (which will only confuse my fair lady).
So, if I run Win 7 recovery and "repair" the mbr, what will that do to the Ubuntu drive (which will be set as the first boot device in BIOS)? Will it boot per normal when the cradle is powered up, or will it be looking for GRUB?
View 7 Replies
View Related
Jan 27, 2011
How to change the hostname without affecting current status ie i dont need to change the already having time, just rename the hostname.. what is the command to refresh
View 2 Replies
View Related
Jul 26, 2009
I would like to replace the exiting kernel in one of my Fedora 11 installs with an earlier kernel from a Fedora 10 Unity Spin...so I can use it to bring ATI functionality to Fedora 11. Also, I recall there being a way to unpack rpms and 'repackage' them using a different kernel development set. How is this done?
View 3 Replies
View Related
Mar 15, 2011
Our Apache server is pretty much configured straight out of the box, and I've noticed it is using far more CPU and less memory than another server where I have the following:
RLimitCPU 8
RLimitMEM 100000000
RLimitNPROC 24
The Apache documentation says that if these aren't set, the values are obtain from the OS. How can you tell what those are? I'd like to see if I can tune Apache's performance, but I don't even know if these values are higher or lower than what it's currently using...
View 5 Replies
View Related
Mar 13, 2011
Computer boots up fine, but drops to commandline as it tries to go to the desktop. Just logging in and issuing "startx" brings up the desktop and all is well.
The Xorg logfile gives no fatals or clues (at least to me), but the "warn" file in /var/log gives the following at the end:
Mar 13 13:25:43 xxxxxxxx kdm[2328]: X server startup timeout, terminating
Mar 13 13:25:43 xxxxxxxx kdm[2328]: X server for display :0 can't be started, session disabled
Yesterday was fine, and never had it before; no harware changes (still same ATI 4770 and ATI 11.2 driver), nor BIOS changes/updates, for ages. First boot today this started. Does it continuously.
how I might slightly increase X's timeout parameter a bit, if this is the problem?
View 9 Replies
View Related