General :: Setting Headers For Webpages In Perl?

Sep 21, 2010

There is an AIX 5.3 Box and there are some Perl scripts that generate web pages. We use them for monitoring of logs. But the perl script, let's name it "displayLogStatus.pl", that extracts some information such as "Failed", or "Completed" from specified log files doesn't refresh the page automatically.

In PHP I know how to refresh / reload a page after a specific time interval. For example this command in a web page:

PHP Code:

header("refresh:60"); 

would refresh the web page every 1 minute automatically.

How do we do that in Perl?

View 3 Replies


ADVERTISEMENT

General :: Cannot Load Webpages With Firefox

Jan 7, 2010

For some reason I can't load any webpages with FF. I get this error: Firefox can't establish a connection to the server at en-us.mozilla. I can ping everything and ssh and other protocols work just fine. Here is the output of my /etc/resolv.conf file (Comcast)

# Generated by NetworkManager
nameserver 68.87.71.230
nameserver 68.87.73.246

View 12 Replies View Related

General :: Can't Open Webpages After Establishing A Dialup Connection / Fix It?

Aug 7, 2010

I have set up a dialup connection using my nokia N70 mobile.. The connection i think, is ok. but when i took a browser-epiphany or mozilla, i cannot open a webpage.. the browser tries to connect but times out.. It seems to be a problem in some settings(firewall, proxy or something) in debian, because im using the same phone to connect in windows XP.. I dont know how and where to check for the settings. code...

View 7 Replies View Related

General :: Squid Performance Slowing For HTML Webpages

Feb 4, 2010

Is there a way to cache everything in squid except for the video files and mp3s?I had a problem before when I turned caching on and it made the performance very poor because it was trying to cache large video files.Right now, I have a problem on the server where even if iptraf lists ingoing+outgoing at 5000 kbits/sec viewing video works fine, but it takes a while for normal webpages to load and I can't figure out where the bottleneck is.

View 12 Replies View Related

CentOS 5 :: Can't Install Kernel-headers Glibc And Glibc-headers?

May 11, 2010

Yesterday, I think I did something stupid: I removed kernel-headers, gcc, glibc-devel and glibc-headers. My box is a CentOS 5.4 webserver (it has loads of packages installed, but that was done through Virtualmin config, so it's quite coherent all in all). The thing is that now I need to reinstall at least the headers and glibc, but hey! this is what I get :

[Code]...

View 19 Replies View Related

General :: Use "#!/usr/bin/perl" In The Beginning Of A Perl Script

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

General :: Error: SSL Headers Not Found

Mar 25, 2011

I am tying install part image but ı receiving an error message like this:

#./configure
configure: error: SSL Headers not found.
i am using ubuntu 9.10 64bit

View 4 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

General :: Installed - 2.6.21 And Lzo-2.03 - How To Include Headers Files.

Apr 9, 2010

I have installed linux-2.6.21 and lzo-2.03 from source code in fedora core 7 in the same directory. Now I wanted to include header files of lzo library in the linux kernel source code. How to do that?

View 10 Replies View Related

Debian :: Launch The Perl Config \ Seems To Be That It Does Not Regonize Perl?

Jul 7, 2010

I am trying to launch the perl config, but when I do so I can an weird error.It seems to be that it does not regonize perl ?

conf.pl: line 11: =: command not found
conf.pl: line 19: my: command not found
conf.pl: line 20: syntax error near unexpected token `{'

[code]...

View 2 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

General :: Setting Time And Date / Setting Calendar Format?

May 14, 2010

Have installed Suse 11.2. how can I change the calendar format dd/mm/yyyy and how to configure the system to sync.from an ntp?

View 1 Replies View Related

General :: Can't Install Kernel Headers In Arch / Sort It?

Mar 4, 2010

I'm trying to install the "kernel26-headers" package in Arch so I can (try to) compile the Intel 865G graphics drivers from off their website (I can't get H/W acceleration working with xf86-video-intel, but I know the thing has a GPU, because if I boot a Knoppix CD that I have, it enables Compiz by default, and it works damn well).

Any time I try "pacman -S kernel26-headers" I just get a bunch of errors spat back at me code...

Now, I have tried enabling all the US mirrors (HTTP and FTP), and I have even tried a couple of FTP servers in Canada and even Great Britain. None of them seem to work at all!

Is there any way I can get this package?

View 3 Replies View Related

General :: Using Much Higher Kernel Version Than Installed Headers

Jul 18, 2010

Many here know I distribute alot of live stuff and thus many say I should try to putout as high a kernel version as possible for wireless, netbooks, etc.my questions are about using a much higher kernel version than the installed headers for instance; I use kernel 2.6.34-ZEN in my arch/slackware builds but the slackware version contains headers 2.6.33.4 from slackware and so is that a problem or no?I built the kernel from source using headers 2.6.33.4 in slackware and headers 2.6.34 in arch...now, I may be upgrading those kernels to meerkats 2.6.35-r5 and need to know if having headers 2.6.33.4 is an issue?also, after compiling kernel does it install a new set of headers when you do make modules_install?

View 4 Replies View Related

General :: Network Setting / Change Eth0 Setting?

May 4, 2010

I have a ubuntu server , can advise if I want to change the network setting ( eg. IP address , gateway address etc ) , which one is the configuration file ? for example , if I want to change eth0 setting , what file I should update ?

View 10 Replies View Related

OpenSUSE :: Difference Between Perl And Perl-devel?

Jun 28, 2010

I'm new in perl programming and linux OS. What is the difference between perl and perl-devel? What does mean devel? Iwant to install Catalyst and before install as required I have to check if make, gcc and perl-devel are installed in my system. make and gcc are installed. But I have to install perl-devel. First I searched for make, gcc and perl-devel in YAST Software Management and search did not find perl-devel. I visited the software.opensuse.org and wrote "perl-devel" and searched. The result was many similar zips with a prefix perl-devel and I can not choose one for needed perl-devel.

[Code]...

View 5 Replies View Related

Software :: Which Headers Are "The Headers"?

Jun 14, 2010

been a programmer for a while; on windows mostly but I'm starting to learn all that I can about linux software.I've picked up a funky little NAS which has ssh access to its (i believe uLinux) environment. I've also managed to find a compiler for it (gcc compiled for ARM - GNU/Linux).The plot thickens.I've had some headaches but I've now managed to compile Apache2 without DSO support... so far so good.In getting this far I've been told by a number of people i will need "the headers" specific to the device (the NAS didn't come with source code).

Since Apache 2 (without DSO) compiled fine I know i definitely have some headers. But DSO won't build with errors that lead me to believe it may be a header issue.The question:So i have some headers which educated guess work suggests to me that these are the headers for the std c/c++ libraries.finding "the headers" to know what they are the headers for

View 4 Replies View Related

Fedora Networking :: /usr/bin/perl: Symbol Lookup Error: /usr/bin/perl: Undefined Symbol: PL_use_safe_putenv

Apr 8, 2009

I am trying to setup the wlan access for my Fedora 9 system. I installed ndiswrapper. But when I run

Code:

ndiswrapper -l

i am getting the error

Code:

/usr/bin/perl: symbol lookup error: /usr/bin/perl: undefined symbol: PL_use_safe_putenv

View 11 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:

[code]....

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

View 13 Replies View Related

Ubuntu Networking :: Can't See Certain Webpages In 10.04

Sep 19, 2010

I'm using a wired DSL broadband connection on ubuntu 10.04,the problem is i am unable to see certain web pages in my firefox and chrome as well... some web pages aren't loading at all.. but these webpages loads in windows. eg of pages not loading [URL]

View 9 Replies View Related

General :: Ubuntu 10.04 - How To Use Perl Doc

Oct 5, 2010

I Installed perl-doc in ubuntu 10.04 using sudo apt-get install perl-doc,in the same way I installed doc for postgreSQL. How to use perl-doc so that I can get from perl-doc.

View 2 Replies View Related

General :: Replacing Awk With Perl?

Jul 16, 2010

I want the output of this file to be in a column, not next to each ohter. I tired putting a a newline escape character in a few places, but it breaks the script. It is easy in awk, just ls -ltr | awk '{print $8 }'

casper@casper-laptop:~$ pwd
/home/casper
casper@casper-laptop:~$ ls -ltr > /tmp/outfile
casper@casper-laptop:~$ cat -n /tmp/moreawkreplace
1#!/usr/bin/perl

[Code].....

View 1 Replies View Related

Debian :: Webpages Doesn't Load?

Apr 1, 2011

I use Debian 6. I noticed that when ever I try to open certain websites, the pages doesn't load at all. This happens when I try to open [URL] and certain other web pages. Browsers like chrome, epiphany, iceweasel, opera all had the same issue. The download speed is pretty normal. note that disabling ipv6 inside the browser configuration didn't help fight this issue.

View 8 Replies View Related

Fedora :: Computer Will Not Open Any Webpages In F13

Oct 14, 2010

I have recently installed fedora 13 on my desktop, it is ibm hardware, an older 1 gig processor, it is a full install, it functions fine but with one problem. The ethernet card is functioning, however the only web pages I can get to come up is the fedora stuff I believe comes with it. I have looked at the forums and guide and they all say it should connect itself and be good to go, it has found the connection, but cant find anything on the internet. I have two computers connected to a router, when running windows both connect just fine. When I switch mine over to fedora it will not open any web pages, gives me a "cant find the server" message. I have tried several things including changing settings and manually setting IP addresses and mac addresses, nothing has worked.

View 2 Replies View Related

Fedora Networking :: Webpages Won't Load ?

Jan 20, 2011

The wired internet connection for my notebook works fine after starting up Fedora. Webpages load quickly. But if I close the notebook for as little as 10 minutes, webpages won't load at all, even though NetworkManager still shows that there's an internet connection.

Disconnecting and reconnecting doesn't fix the problem, and neither does logging out and logging back in. Restarting the computer does fix the problem. This problem doesn't occur with Windows 7 on the same machine.

View 2 Replies View Related

Ubuntu Networking :: How To Host Own Webpages

Jul 5, 2010

How to can I host my own domain by myself for free?I've installed phpmyAdmin, ehcp, filezilla, mySql, mySql query browser, proftpd, gforge, wordpress, activeperl.I'm not sure either how to make a domain name for my IP address and how to use dynamic DNS.

1) OK, I've got to admit that I'm a newbie in networking.
2) I'm lost with tons of different programs, I don't know where to start from now, there are many methods. I have made many user names and passwords...
3) What to do? I don't want a local web page, All I want is get my web page on Internet where anyone else can visit it.

View 9 Replies View Related

Ubuntu :: Load Any Webpages On Firefox In 10.10

Dec 5, 2010

I recently installed Ubuntu 10.10 x64bit and am having a problem with Firefox. I'm currently dual booting windows 7 and Ubuntu. My net works perfectly on Windows 7 and even on Ubuntu I was able to download a NVIDIA driver and 193MB worth of updates for Ubuntu. I just can't seem to load any webpages on Firefox. I have DHCP enabled but I also tried a static IP address but still had no success. I also tried adjusting my proxy settings in Firefox cycling through no proxy, Auto-detect proxy settings etc. but i still could not load any pages.

The error message is always "The connection has timed out. The server at ubuntu.com is taking too long to respond." I've tried other websites and can't load them. As a point of interest I was able to access my routers web config page.

View 3 Replies View Related

Ubuntu :: Some Webpages Don't Work In Browsers?

Dec 23, 2010

I've run into problems in some websites where Chrome, Chromium, Firefox and Konqueror will not render the pages correctly (yes, I've installed and tried them all). I've tried on three different computers with dual boot Windows and Ubuntu and get the same results...If I boot into windows, I can browse the pages with no problems, however, in Ubuntu these pages just hang at certain points...Is there some setting I can adjust to improve web performance?[URL]Orbrowse by location, a warning sign appears, click 'agree' and wait endlessly...Why would these pages work correctly on Windows, but not in Ubuntu?I HATE having to boot into Windows, so if I can avoid it I will!

View 9 Replies View Related

Ubuntu Servers :: Downloading Jpg From Php Webpages?

Mar 4, 2011

I'm trying to create an archive of a websites images because it tends to go offline now and then. The problem is, when going to the image in full view, it opens it on a php webpage. I've tried using 'wget -m -A.jpg' but it only saves the thumbnails from the menu page instead of the actual images.

View 4 Replies View Related

Ubuntu Networking :: Some Webpages Won't Load 11.04?

Apr 28, 2011

I had actually the same problem in 10.10, but I was patiently hoping that 11.04 will fix it for me. At the moment it's facebook(nothing will load) and lifehacker(mainpage will load,but further on no news will load) First of it loads facebook after fresh install, but when i closed firefox, and reopened it, it won't load. I pinged facebook.com and it's working:S Chrome for instance loaded facebook atm, but didnt load lifehacker news aswell. Altho Windows on same machine will do it perfectly. I would like to use 100% ubuntu, but its not possible if some essential webpages won't load

View 3 Replies View Related







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