Click to See Complete Forum and Search --> : disappearing Perl


metal5
07-27-2004, 02:35 AM
I just installed an apache server and then installed the perl programming language, but when I open the perl language, I get this menu where I would build the code, but it doesn't stay open and closes because it says this:

(OS 10048)Only one usage of each socket address (protocol/network address/port)
is normally permitted. : make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
Note the errors or messages above, and press the <ESC> key to exit. 25...

What is wrong? I want to start a course to learn this perl languagge and cgi but I have the slightest idea whats wrong since I'm so new at this.

Any suggestions would be helpful.
metal5:eek:

silent11
07-27-2004, 09:26 AM
What OS are you using?

metal5
07-27-2004, 07:39 PM
Hi;

I'm glad you answered me about the disappearing perl. I'm on a Windows XP Professional operating system. I stopped my IIS to install apache server already.

metal5

silent11
07-27-2004, 08:06 PM
Where did you get this version of Perl?

Did you download it from Activestate.com?

open up a command prompt. (Start->Run->"cmd")

Then type "perl -V". What do you get?

metal5
07-27-2004, 08:48 PM
Hi

When I open the 'cmd' box, I get:

'perl-V' is not recognized as an internal or external command,
operable program or batch file.

Does this mean this perl progam isn't installed. I am able to get perl webpages in the icons that came with the installation but none of the perl program code works when I try to build a webpage in notepad, context editor, or anything else.

Please reply

metal5

metal5
07-27-2004, 09:26 PM
I decided to just go ahead and uninstall the apache and perl I installed from the one website I alaready had installed it from before today. There is no virus' as a result of these installations according to my anti-virus and security software.

I'm thinking that maybe the apache and perl I installed were something else I might not have wanted to install into my computer. I checked them out with my anti-virus software after saving the downloads before I installed them, and I thought they were fine, but neither program worked. Its probably my operating system.

I went to the 'wammp'website and am now downloading the apache basic package from there instead.

Okay. let me get this straight. CGI is common gateway interface and perl is a program, therefore, if I program in perl, I can use cgi to communicate from my computer to a remote server, but I need the apache server on my computer in order to communicate with cgi. What am I not understanding here? I haven't learned anything much about these apache, perl, cgi, and php programs, scripts and servers.

I'm all confused about what the apache server on my end really does? Why do I need a server on my end to use cgi to upload to remote server?

What is a good book to learn perl and cgi out of.

Please reply;

metal 5

silent11
07-28-2004, 10:12 AM
Yes Metal5 you are confused indeed. Only the machine hosting the perl script will need a web server.

It sounds like you will be developing on your computer then uploading the script to a server. is that correct?

It is a good idea to have both perl and a server installed on your computer to test the scripts out before you upload and test over the internet, however you DON'T NEED TO.

If this is the case then skip to this article and begin your journey.

http://users.easystreet.com/ovid/cgi_course/

Good Luck.