Ubuntu Servers :: 10.04 - ERROR: Module Perl Does Not Exist
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
I am running Ubuntu 10.04 x86 64 bit Desktop.I want to accomplish setting up a virtual host environment for education reasons. How may I accomplish this? So far I am going by this following guide: URL... But when I get to the part of entering the command in the terminal "a2enmod fcgid" I get the following error: "ERROR: Module fcgid does not exist" I've been pulling my hair and spent a ton of time trying out how to set up suexec and virtual hosting .
I've installed openSuse 11.4 server-mode (text only) on my desktop, and I'm trying to configure IceWM so i'll eventually have it set up so it always boots into text only mode, but I could be able to quickly start icewm via the command line.using Yast, I installed the Xorg server, and icewm.when I type X, the screen goes black and it just doesn't seem to do anythingI found if I hit ctrl+alt+f1 it kinda puts me back into text only mode, but I can't put in commands anymore. The last thing it says on the screen is:
Failed to load module "fglrx" (module does not exist, 0)
I've goggled that error message and the discussions that popped up around it made no sense to me at all. I've never configured X from scratch before, can someone point me towards a tutorial or something?
I cannot find the Xorg configuration file on my newly installed Debian on my tablet-pc, so I followed this tutorial [URL] and ran the command "Xorg -configure", to which I got the following error messages:
(EE) Failed to load module "vmwgfx" (module does not exist, 0) (EE) vmware: Please ignore the above warnings about not being able to load module/driver vmwgfx (++) Using config file: "/root/xorg.conf.new" (==) Using system config directory "/usr/share/X11/xorg.conf.d"
I'm trying to enable the rewrite module in apache, to enabled the module I followed the last entry in the fist page this thread:[URL]...When I restart the apache all works fine, so I supose it's enabled
Now I create .htaccess in my apache folder (/home/user/apache), and I write this:
Code: RewriteEngine On RewriteRule ^link([^/]*).html$ test.php?link=$1 [L] And I try to execute this: ./.htaccess, I have this mistakes: Code: ./.htaccess: 1: RewriteEngine: not found ./.htaccess: 2: Syntax error: "(" unexpected What are I doing wrong?
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$
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.
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.
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.
nits@nits-desktop:/mnt/Storage/Tors/Incomp$ btdownloadcurses --check_hashes 1 filename.torrent /usr/lib/python2.6/dist-packages/BitTorrent/Storage.py:4: DeprecationWarning: the sha module is deprecated; use the hashlib module instead from sha import sha
These errors occurred during execution:
[09:37:48] IOError - [Errno 5] Input/output error
Got this error when I tried hash checking, was downloading the file using rtorrent when there was a sudden powercut and my system shutdown abruptly, tried restarting the torrent and kept encountering problems while restarting.
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
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.
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.
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.
Can someone tell me how to correct the "Invalid module format"? I hope that correcting the "Invalid module format" error, I will not have the "Unknown symbol in module" error.
Note: I am using wlan1 for this module as I previously am online with the wlan0 network.The same error occurs if I use ./wlan0up.
I've been unable to boot into x using the real-time kernel from CCRMA at home. I get the error "Failed to load module "nvidia" (module-specific error,0) no drivers available. I'm using the driver from Nvidia. I know that this is not an official Fedora kernel and I should be bothering CCRMA about this, but in the mean time could I edit the entry in grub.conf so that it will use the Nouveau driver for that kernel only? That way I could "dual-boot", and just use the rt kernel when I want to use audio software and don't need 3d graphics.
I tried to use CPAN to install a module Algorithm::Loops using "install Algorithm::Loops". I get the message from CPAN that this module is already up to date.But, when I try to use it I get the message:
Can't locate Algorithm/Loops.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at ./test.pl line 4. BEGIN failed--compilation aborted at ./test.pl line 4.
And indeed, the file Loops.pm is nowhere to be found.Isn't that a contradiction?
I would like to find where logs form dmesg(command) are stored on my hdd drive. I'm testing broken hdd with badsectors, and I've got some i/o errors, that I can read (just the most recent) using dmesg command (dmesg buffer). I would like to see whole log, that is interesting for me, but I cannot find where it is stored in /var/log
dmesg command(buffer) (last few lines) Code: [245129.080558] end_request: I/O error, dev sdb, sector 218246624 [245129.080562] Buffer I/O error on device sdb, logical block 27280828 [245132.037921] sd 2:0:0:0: [sdb] Unhandled sense code [245132.037925] sd 2:0:0:0: [sdb] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE [245132.037928] sd 2:0:0:0: [sdb] Sense Key : Medium Error [current] [245132.037932] sd 2:0:0:0: [sdb] Add. Sense: Unrecovered read error [245132.037936] end_request: I/O error, dev sdb, sector 218246624 [245132.037940] Buffer I/O error on device sdb, logical block 27280828 .....
Not sure if this is the right place fo this but....I'm just learning to write bash scripts. I'm experimenting on a ubuntu server 11.04 virtual machine.As part of the script I want to automate user creation.Is there a way to check if a user already exists in a script. so i can do something like
Code: if userexists; then do this else do this instead fi
I currently run a server. The web server (Abyss X1) runs on Linux, and the MTA server (MERCURY) runs in a virtualized Windows environment, within Linux.
I am soon going to be building a dedicated server, and at the moment it looks like it will be a Windows-based server, as I can't find MTA software for Linux with the feature I require.
I need MTA software that can show me network verbose output in real time, as such does MERCURY in the following screen shot: [url]
Does anyone know if such MTA software for Linux exist?
MERCURY does not work correctly under WINE, so the WINE method is not an option.
Have Apache running on Ubuntu Server. Say I have a domain, www.somewhere.com, and I have uploaded a file, phpinfo.php. If I hit http://www.somewhere.com/phpinfo.php, I get my file as expected. However, If I hit non-existent file http://www.somewhere.com/phpinfo/somefile.dat, it also acts as if I hit phpinfo.php, instead of giving me a 404 error. It seems that because the DIRECTORY "phpinfo" does not exist, it decided that I must have meant to hit phpinfo.php at the root of the site.
If I create an empty "phpinfo" directory then it behaves as expected and gives me a 404 not found page. This is reproducible for any other file name you can think of. I'm sure this is some Apache convenience behavior but I would like to disable it (it is messing with some mod_rewrite stuff I would like to do). Because it's hard to describe I cannot figure out which Apache option it might be (whatever I Google for gives me completely unrelated results).
OK Trying a fresh install of bnome openSuse, and I have certainly screwwed something up again and hope I don't have to reinstall again., arghhhh! Tomboy won't open, even after reinstallation, and below is the error, but first, as well I can't open my .odt file with openoffice writer!
now the error... #tomboy Gtk-Message: Failed to load module "canberra-gtk-module": libcanberra-gtk-module.so: cannot open shared object file: No such file or directory Gtk-Message: Failed to load module "gnomebreakpad": libgnomebreakpad.so: cannot open shared object file: No such file or directory ...and lots more
When using the following cifs mount command, mount -t smbfs -o username=username,password=password //srv/shr /usr/localfolder/and the cifs share does not exist, localfolder is mounted like d????????? ? ? ? ? ? localfolderafter a number of time , when umounting we get a kern <soft lock>Is there any way to fail the mount if the destination share does not exist, ive had a quick look through man mount but can not see a solution.