General :: Get "invalid ELF Header When Trying To Start A Perl Script In Irssi
Jan 22, 2010
I used to run this script just fine on my old server (Debian 5 Lenny x32)¦. but doesnt seem to work with this new one though both will have different software installed.I tell the script to load and I get: 04:55 -!- Irssi: Error loading module testScript/testScript: /user/.irssi/scripts/autorun/testScript.pl: invalid ELF header
The script code:
Code:
#/script load autorun/testScript.pl
use Irssi;
use Irssi::Irc;
#use strict;
use vars qw($VERSION %IRSSI);
[Code]...
View 2 Replies
ADVERTISEMENT
Feb 8, 2010
With the latest Freenode changes SSL connection is now possible which presents no problem, particularly with rworkman's ca-certificates slackbuild, But configuring sasl for the password to nickserv presents a bit more of a challenge as 3 perl modules are required: Crypt::OpenSSL::Bignum, Crypt::DH, Crypt::Blowfish and Math::BigInt. I have not packaged perl modules for slackware before and I guess there is always a first time but can I ask if anybody has already neatly packaged up the required perl modules? I suspect they will be very popular with Freenode slackware irc users...
View 2 Replies
View Related
Aug 25, 2010
When I boot, after startup and before I log on, an error icon appears. I click - it shows a summary of the material that normally rolls by on a unix startup. One item is checked. It says:
Code:
Enabling /etc/fstab swaps: swapon: /dev/mapping/vg_knox-lv_swap:
read swap header failed: invalid argument
I have 1 disk - it has 2 partitions - one an 83 type with a file system in it, holds the kernel, mounts at /boot.
The second partition is an 8e type contains a volume group logically split between lv_root and lv_swap and physically located on sda2. As I understand it, the system is having trouble processing the commands for lv_swap. I am tempted to mess with these commands, but don't have enough know how to do so and am short on the time required to learn enough to master this subject.
View 5 Replies
View Related
Nov 5, 2010
i am trying to do something very simple like a header and a footer for my first perl programs, what iam trying to do is that when i create a file in vim: lets say hello.pl , i would like that file to have already this in its header:
#!/usr/bin/perl
and this on the footer:
print "
";
so that i dont have to type everytime #!/usr etc i tried to do it this way but i get weird vim errors: header is a file that contains the header and footer $ vim hello.pl;header > is there another way to do it as a function in bash or some other one liner command?
View 1 Replies
View Related
Jan 14, 2009
I installed the FC8.0 by hard disk! The system in (hd0,0) is windows xp! THEN i copy vmlinuz and initrd.img to c: Using GRUB like this:
title Install Fedora 8
kernel (hd0,0)/vmlinuz
initrd (hd0,0)/initrd.img
when finished to choose the keyborad the installing started but it said:
ImportError:/user/lib/libdhcp6client-0.10.so.0:Invalid ELF header
how can I continue to install?why this happens?
View 2 Replies
View Related
Oct 11, 2010
whenever I tried to boot into V1 in the following, it hang.
# uname -a
Linux tadpole 2.6.32.12-0.7.1.1381.1.PTF-default #1 SMP 2010-05-20 11:14:20 +0200 x86_64 x86_64 x86_64 GNU/Linux
# cat /etc/*release*
[code]....
After using yast2 and install "xen" hypervisor, the bootloader show "V1" as label for Xen kernel, if I choose to boot into V1, it will just hang with very little message on screen:
ELILO boot: ...
V1
SLES11_SP1
Failsafe
[code]....
View 2 Replies
View Related
Dec 29, 2010
I get this error when trying to launch software-center and openoffice (I'm sure more too, this is what I have noticed so far):
/lib/libicudata.so.42: invalid ELF header
This is on a recent install of 10.10 netbook remix, and I then installed xfce.
The library is there:
Code:
***********:~$ ls -la /usr/lib | grep icudata
lrwxrwxrwx 1 root root 18 Dec 29 11:09 libicudata.so -> libicudata.so.42.1
lrwxrwxrwx 1 root root 18 Dec 26 20:17 libicudata.so.42 -> libicudata.so.42.1
-rw-r--r-- 1 root root 16011828 Nov 23 2009 libicudata.so.42.1
-rw-r--r-- 1 root root 926 Nov 23 2009 libsicudata.a
View 1 Replies
View Related
Aug 25, 2009
I am unable to start apache on my linux machine with following errors Starting httpd: Syntax error on line 117 of /etc/httpd/conf/httpd.conf: Invalid command 'Order', perhaps misspelled or defined by a module not included in the server configuration I am using CentOS5 with apache version httpd-2.2.13
View 99 Replies
View Related
Apr 22, 2011
where can i get socket.h header file? will copy pasting this header file in 'incl' directory allow me to use it in the my program?
View 1 Replies
View Related
May 22, 2011
When trying to connect to an irc server in irssi, I get the following error: root Erroneous Nickname: Reserved for services. I don't know how to change the nickname before the connection is established. I'm currently connected to one server, where I have my proper nick, but when trying to connect to another server with connect [URL], which should open another connection, it's trying with the nickname root.
View 1 Replies
View Related
Apr 27, 2010
I've changed the terminal colors and now irssi statusbars have white text on light blue background. I would like to change the foreground color of the irssi statusbars to black but can't figure out how to do it. I don't want to download a whole theme, I only want to change this one color.
View 1 Replies
View Related
Sep 20, 2010
I installed Debian 5.03 Lenny successfully on my machine. I got this error during boot: ACPI : invalid PBLK length [5]. After that the Operating System boots properly and starts normally. What does this error statement mean? Is it safe to work with this installation despite this error?
View 1 Replies
View Related
Feb 10, 2011
Trying simply to insert into table. Have succeeded in doing this but now want to correct user use of invalid characters. If I'm understanding correctly, Real-escape-string seems to correct these, so I've been trying to figure out how to use it. A short, test code version gives me a syntax error at INSERT VALUES, which--because it still has the single quotes in the text--tells me the real-escape-string didn't work. The code below gives me a parseing error with invalid $END at </body>.
Insert Error: 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 ' VALUES (UTC_TIMESTAMP,'What's happen' bra?')' at line 1 Parse error: syntax error, unexpected $end in /home/powere15/public_html/DB/exercises_insert_record.php on line 94
<html><head><title>Exercise Catalog Insert Record</title></head>
<body>
<?
/* Change db and connect values if using online */
[Code]....
View 2 Replies
View Related
Mar 6, 2010
So I made the upgrade to slackware64-current and all of a sudden after my next reboot, startx failed, and x refused to start the output was the following:
Code:
Release Date: 2010-02-16
X Protocol Version 11, Revision 0
Build Operating System: Slackware 13.1 Slackware Linux Project
Current Operating System: Linux hd830 2.6.33 #3 SMP Sat Feb 27 19:42:32 CST 2010 x86_64
Kernel command line: BOOT_IMAGE=Linux ro root=803 vt.default_utf8=0
Build Date: 23 February 2010 12:09:32PM
Current version of pixman: 0.16.6
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sat Mar 6 19:21:18 2010
(==) Using default built-in configuration (30 lines)
(EE) Failed to load module "fbdev" (module does not exist, 0)
WARNING: Error inserting button (/lib/modules/2.6.33/kernel/drivers/acpi/button.ko): Invalid module format
WARNING: Error inserting i2c_algo_bit (/lib/modules/2.6.33/kernel/drivers/i2c/algos/i2c-algo-bit.ko): Invalid module format
WARNING: Error inserting agpgart (/lib/modules/2.6.33/kernel/drivers/char/agp/agpgart.ko): Invalid module format
WARNING: Error inserting drm (/lib/modules/2.6.33/kernel/drivers/gpu/drm/drm.ko): Invalid module format
WARNING: Error inserting drm_kms_helper (/lib/modules/2.6.33/kernel/drivers/gpu/drm/drm_kms_helper.ko): Invalid module format
FATAL: Error inserting i915 (/lib/modules/2.6.33/kernel/drivers/gpu/drm/i915/i915.ko): Invalid module format
(EE) intel(0): No kernel modesetting driver detected.
(EE) Screen(s) found, but none have a usable configuration.
Fatal server error:
no screens found
Please consult the The X.Org Foundation support. Please also check the log file at "/var/log/Xorg.0.log" for additional information. So then after some googling I got the suggestion to downgrade udev-151 to udev-141, but that yeilded no results. So I did some more googling and a bunch of people who had the same problem said that downgrading module-init-tools worked, so I downgraded from module-init-tools 3.11 something to 3.6 and now, not only does my X no longer work, but no modules are being loaded I believe, for example I saw in my startup that fuse was not being loaded, ndiswrapper which I had installed was not loaded.
View 7 Replies
View Related
Jun 20, 2010
Trying to get scanning going with my all-in-one, and have been troubleshooting it for awhile, and nothing works. Could use expert advice on this topic for an HP c6380 All-in-One. Printing does fine. All attempts at scanning are failing. scanimage -L says the device is my webcam. I don't know if usb scanner is in /dev.
View 4 Replies
View Related
Jan 22, 2011
On Maverick + up-to-date on updates on Mini ITX (Asus AT3N7A-I) I have a Perl script that I want to run continually to extract values from XML that appears on a USB port every 5 seconds and stuff the extracted values into an RR Database (RRD). I have created an Upstart job, called currentCost.conf (permissions=644 owner=root): #readCurrentCostData4RRD.pl daemon
description "regular background program processing daemon"
start on runlevel [5]
stop on runlevel [!5]
expect fork
respawn
exec perl /home/greg/currentCost/readCurrentCostData4RRD.pl > /tmp/RCCD4RRD.out 2>&1
[Code]...
View 2 Replies
View Related
Feb 22, 2010
I want to extend my perl capabilities using CGI. So, could you please tell me where to start and how to start my cgi scripts on linux RHEL AS 4 system.
View 4 Replies
View Related
Oct 6, 2010
I've written a simple perl code to learn switches in perl.My code is pasted below,
#!/usr/bin/perl
$opt = 1;
switch($opt) {
[code]...
View 3 Replies
View Related
Jun 19, 2010
I am trying to scan with an All-in-One HP c6380. I get the message:Failed to start scanner: Invalid argumentwhen I press the scan button in the GUI.
View 14 Replies
View Related
Jun 2, 2010
I can't turn on my PC and write jet from my neighbors notebook. Because of problems with Windows updates und ubuntu vpn I installed today Windows 7 again and then openSuse. It was OK. Than I began with set up of different Programms for windows, like WinRar, Avira Antivir ect... As soos as it was done I wanted to begin with set up of openSuse... But the start menu is gone - there is nothing there now! Last time I could choose betwee 2 windows partitions, openSuse start-partition and openSuse fall-Save. -Now there is only "grub>" line
And I doesn't have any idea what I can do, I doesnt know where are startfiles, where is /boot/grub order, I don't know how can grub be used also. But I know that if I try to register my windows 7 agan at the same day, my windows lizens would get invalid. Has someone any idee what can be done?
View 7 Replies
View Related
Dec 17, 2010
I have a small problem with Perl and Apache.
If I use "#!/usr/bin/perl" in the beginning of a perl script the script won't work if the script is at all complicated. Simple scripts like "Hello World" works.
But if I use "#!/usr/bin/perl -w" in the beginning all scripts work?
If I don't use the -w this is whats in the logs:
(2)No such file or directory: exec of '/home/test.net/html/cgi-bin/uh/meny.pl' failed
Premature end of script headers: meny.pl
When I use the -w in the script the error-log shows me this.
meny.pl: Name "main::http_path_cgi" used only once: possible typo at /home/test.net/html/cgi-bin/uh/meny.pl line 24.
View 1 Replies
View Related
Feb 3, 2011
why irssi won't connect to freenode (I am in the process of configuring it and username has been set).
Code:
15:09 -!- Irssi: Looking up irc.freenode.net
15:09 -!- Irssi: Connecting to irc.freenode.net [xx.xx.xx.xx.] port 6667
15:12 -!- Irssi: Unable to connect server irc.freenode.net port 6667
[Connection timed out]
My network connection seems fine. I have not any issues at all with ethernet/wireless so I am not sure what is causing this. Irssi worked fine on fedora before switching to arch.
View 1 Replies
View Related
Oct 5, 2010
I use Slackware 13.1 32 bits in my eeepc and I have only Xfce installed on in it (didn't install KDE). So I use Xfce on it. On my other machines when I'm using irssi on konsole I don't have any problems with latin chars (accentuated) but when I'm using Terminal on Xfce i have it. In irssi or in terminal? How can I put it right? I use Portuguese layout keyboard. I already see that is in irssi at terminal on Xfce. But I have "/set term_charset UTF-8".
View 6 Replies
View Related
Aug 18, 2010
I want to use bitlbee-irssi to IM using gtalk.. I have installed bitlbee and edited /etc/bitlbee/bitlbee.conf with
RunMode = ForkDaemon
User = bitlbee
DaemonInterface = 127.0.0.1
DaemonPort = 6667
Now when I try to connect to the localhost at port 6667 using irssi, i get the following error message saying it cannot connect to localhost port 6667
13:48 -!- Irssi: Looking up localhost
13:48 -!- Irssi: Connecting to localhost [127.0.0.1] port 6667
13:48 -!- Irssi: Connection to localhost established
13:48 -!- Error: bind: Permission denied
13:48 -!- Error: listen: Bad file descriptor
13:48 -!- Irssi: Connection lost to localhost
A similar looking error comes up when I try to telnet localhost at 6667. Also, I get a selinux warning saying SELinux is preventing /usr/sbin/bitlbee "name_bind" access .How do I check if bitlbee is listening to port 6667? Btw, I am using fedora 13, I have selinux running in enforcing mode and the firewall running. I have set the port 6667 in the other ports tab of "system-config-firewall" (I am hoping that this will open that port).
View 5 Replies
View Related
Mar 18, 2010
My application Help/Hilfe does not show anything. The following messages does appear instead:> Unable to load page> The requested URI "file:///fakefile#index" is invalidWhere do I get an index?I have jet reinstalled susehelp_en and susehelp_de but with no success.
I use (normally) OpenSuse/SUSE LinuxRelease 11.1Kernel Linux 2.6.27.45-0.1-pae Gnome 2.24.1
View 6 Replies
View Related
Feb 20, 2010
I've been trying to get this working for a while. On a remote server I'm running irssi in a screen session to keep my IRC client connected 24/7. I SSH to that server and reattach the screen session. irssi is able to send alerts when certain highlight words are mentioned (e.g. my nick). I would like gnome-terminal to flash in the taskbar when that happens. I was able to get this working with Putty on Windows, but I can't figure out how to get that working with gnome-terminal. Is it at all possible? The "Terminal bell" setting in the gnome-terminal profile doesn't seem to change anything.
View 4 Replies
View Related
Dec 7, 2010
how to make irssi beep through the speakers whenever i get a message on IRC? I have tried the set beep thing on but doesnt work.
View 4 Replies
View Related
Dec 31, 2010
I am trying to configure irssi to work correctly after having used XChat for quite some time. When I try to join #fedora on Freenode, however, I am unable to identify my username (which worked fine in XChat). Subsequently, I automatically join #fedora-unregistered (see http://pastebin.com/XUcx7CLe). I have edited the contents of the ~/.irssi/config file using /COMMAND in the irssi client (see http://pastebin.com/zV7NZYKG). I think these are the most relevant parts of the configuration file where the problem must lie.
Code:
{
address = "irc.freenode.net";
chatnet = "Freenode";
port = "6667";
use_ssl = "no";
ssl_verify = "no";
autoconnect = "yes";
[Code]...
View 1 Replies
View Related
Apr 25, 2011
I use Ubuntu, and Google Chrome mostly. How can I kill these HTTP headers, so that my browser caches this data? I believe it is XHR. Here are the relevant HTTP response headers:Cache-Control:no-cache, no-store, must-revalidate Pragma:no-cache.I also have Firefox, is there a plugin or something I can use to not respect "no-cache"?
View 1 Replies
View Related
Aug 27, 2010
I'm trying to add a header to many .cpp files in a directory (or directory tree).
My attempt was:
Code:
If I put part of the command inside quotes the substitution occurs, but then I get other errors like:
Code:
cat:
No such file or directory
I could just write a small program to do it.
View 3 Replies
View Related