Gossamer Forum
Home : Products : Links 2.0 : Discussions :

Verify Links?

Quote Reply
Verify Links?
Hi!

I have been in the process of setting up Links 2.0. I must say that this is a wonderful product. However, today I tried to Verify my links and recieved the following messages...

Checked 3 - Request Failed (500). Message: Can't locate object method "_new_socket" via package "LWP::Parallel::Protocol::http".
Checked 4 - Request Failed (500). Message: Server unavailable
Checked 5 - Request Failed (500). Message: Server unavailable
Checked 7 - Request Failed (500). Message: Can't locate object method "_new_socket" via package "LWP::Parallel::Protocol::http".
Checked 8 - Request Failed (500). Message: Server unavailable

This is just a partial list. None of my links could be validated and it did not matter if I was using the Quick or Detailed Check approach.

When time permits, could you explain what the messages might mean. I would appreciate any assistance provided.

Thank you,

Brewster:-)
Quote Reply
Re: Verify Links? In reply to
  
Code:
sub connect {
my ($self, $host, $port, $timeout) = @_;
# this method inherited from LWP::Protocol::http
my $socket = $self->_new_socket($host, $port, $timeout);
# currently empty function in LWP::Protocol::http
# $self->_check_sock($request, $socket);
# LWP :: Debug::debug("Socket is $socket");

$socket;
}

(I added spaces around the "::" in the last commented line above to keep UBB from putting in a smiley face) Why the object cannot be found is the question. Be sure you have the directories created with the right capitalization and be sure all the scripts in the directories were uploaded as ASCII. Both ftp.pm and http.pm should be all lower-case characters. The capitalization of the directories is as I specified them above.

I hope this helps.

[This message has been edited by Bobsie (edited May 08, 1999).]
Quote Reply
Re: Verify Links? In reply to
Hi Bobsie,

Thank you for your quick response. However, I'm still getting the same error. I uploaded the scripts in ASCII again, just to be sure. I then ran the verify process and got the same error. I also checked to be sure that the directories and files were spelled correctly.

Is it possible that my ISP (www.erols.com) might not have something that this process needs in order to execute?

Thank you for any assistance provided,

Brewster:-)
Quote Reply
Re: Verify Links? In reply to
I'd CHMOD the scripts in the LWP dir 755.

------------------
Quote Reply
Re: Verify Links? In reply to
Hi Jimz,

OK. I tried your idea and I still get the same errors outlined in my first post. If there are any ideas as to what might be going on (see my first and second posts) I would appreciate it.

I think that Bobsie said it best when he stated...

"Why the object cannot be found is the question."

Any ideas will be appreciated,

Brewster:-)
Quote Reply
Re: Verify Links? In reply to
The key in the code I posted may be:

Quote:
# this method inherited from LWP::Protocol::http

It may be indicating a problem with the LWP module that is included with Perl. That may mean that, either the LWP module is not installed, or it is not installed correctly. You might want to contact your ISP concerning this to see what they say (most deny up front that there is a problem, but usually relent when they triple-check ).

I hope this helps.

[This message has been edited by Bobsie (edited May 08, 1999).]
Quote Reply
Re: Verify Links? In reply to
Hi Bobsie,

Thank you for your response. I emailed my ISP (www.erols.com) and asked them what might be missing. This was there response...

---

Dear Sir

About your question concerning LWP, It does Not come with CGIand Perl access, it is not a standard part of these installations. If you want to use these Modules, you must load them on to your sight before your program will work.

Hope I've been helpfull.
___________________________________
Business Services Technical Support
Email Response Team
888-463-7657 ext.2102

---

Question?

Any ideas as to what course of action I might take? Is it possible to "install" LWP as if it were another one of my Perl scripts in my account space?

Look forward to hearning from you,

Brewster:-)
Quote Reply
Re: Verify Links? In reply to
While LWP may not be a module included with Perl, it is almost always included with Perl when setup by an ISP because it simplifies everything for their customers who use Perl because of the complexities of the installation.

If your ISP does not want to install the module, then you have two alternatives:

1) Install it yourself. You can find the current version at http://www.perl.com/...www-perl-5.43.tar.gz . Be aware, the installation assumes other modules (outlined in the documentation) are already installed, so you may need to get others first.

2) Find an ISP that has it pre-installed since most have it pre-installed.

I hope this helps.

[This message has been edited by Bobsie (edited May 10, 1999).]
Quote Reply
Re: Verify Links? In reply to
Hi Bobsie!

Thank you for the quick response. I have asked my ISP if they would be willing to install the LWP module(s).

I'm looking forward to their response (quiet laughter in the background). :-)

Again, thank you for your advice,

Brewster:-)