Gossamer Forum
Home : Products : Gossamer Links : Discussions :

shell command question

Quote Reply
shell command question
Hello



Any one have the command to issue a verify links (everythin) using telnet or shell..

I tried several commands and they do not work..
Regards
KaTaBd

Users plug In - Multi Search And Remote Search plug in - WebRing plug in - Muslims Directory
Quote Reply
Re: [katabd] shell command question In reply to
perl nph-verify.cgi
Quote Reply
Re: [katabd] shell command question In reply to
To check all links:

perl nph-verify.cgi --check_all

Cheers,

Alex
--
Gossamer Threads Inc.
Quote Reply
Re: [Alex] shell command question In reply to
thank you both
Regards
KaTaBd

Users plug In - Multi Search And Remote Search plug in - WebRing plug in - Muslims Directory
Quote Reply
Re: [Alex] shell command question In reply to
Hi

I am issuing the command that Alex suggested and I am getting an error on telnet:

Can't locate object method "all" via package "GT::SQL::Condition" at nph-verify
cgi line 142.



Any suggestions?
Regards
KaTaBd

Users plug In - Multi Search And Remote Search plug in - WebRing plug in - Muslims Directory
Quote Reply
Re: [katabd] shell command question In reply to
Can you turn on debugging and post or email support-lsql@gossamer-threads.com the full output?

Cheers,

Alex
--
Gossamer Threads Inc.
Quote Reply
Re: [Alex] shell command question In reply to
Hi Here it is:
bash-2.04$ perl nph-verify.cgi --check_all
Content-type: text/html <p><font face='Tahoma,Arial,Helvetica' size=2>A fatal error has occured:</font><
/p><blockquote><pre>Can't locate object method "new" via package "GT::SQL::Condi
tion" at nph-verify.cgi line 142.
</pre></blockquote><p><font face='Tahoma,Arial,Helvetica' size=2>Please enable d
ebugging in setup for more details.</font></p>
<PRE><B>Stack Trace</B>
======================================
Links (2848): Links::environment called at Links.pm line 487 with no arguments.
Links (2848): Links::fatal called at nph-verify.cgi line 142 with arguments
(Can't locate object method "new" via package "GT::SQL::Condition" at nph-ver
ify.cgi line 142.
).
Links (2848): main::check_links called at nph-verify.cgi line 91 with arguments
(5, 0, 0, 0).
Links (2848): main::main called at nph-verify.cgi line 27 with no arguments.
<B>System Information</B>
======================================
Perl Version: 5.006
Links SQL Version: 1.2 dev
Persistant Env: mod_perl (0) SpeedyCGI (0)
@INC =
/home/virtual/site315/fst/var/www/cgi-bin/links/admin
/usr/lib/perl5/5.6.0/i386-linux
/usr/lib/perl5/5.6.0
/usr/lib/perl5/site_perl/5.6.0/i386-linux
/usr/lib/perl5/site_perl/5.6.0
/usr/lib/perl5/site_perl
. <B>ENVIRONMENT</B>
======================================
BASH_ENV => /home/idleb/.bashrc
GT_TMPDIR => /home/virtual/site315/fst/var/www/cgi-bin/links/admin/tmp
HISTSIZE => 1000
HOME => /home/idleb
HOSTNAME => idleb.com
HOSTTYPE => i386
INPUTRC => /etc/inputrc
LOGNAME => idleb
MACHTYPE => i386-redhat-linux-gnu
MAIL => /var/spool/mail/idleb
OLDPWD => /home/idleb/mainwebsite_cgi/links
OSTYPE => linux-gnu
PATH => /usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/idleb/bin
PWD => /home/idleb/mainwebsite_cgi/links/admin
REMOTEHOST => pcp01056742pcs.polcht01.tn.comcast.net
SHELL => /bin/bash
SHLVL => 1
TERM => ansi
USER => idleb
USERNAME =>
_ => /usr/bin/perl
</PRE>Can't locate object method "new" via package "GT::SQL::Condition" at nph-v
erify.cgi line 142.
bash-2.04$ Thanks
Regards
KaTaBd

Users plug In - Multi Search And Remote Search plug in - WebRing plug in - Muslims Directory
Quote Reply
Re: [Alex] shell command question In reply to
Hi



Me again wondering if anyone can give me some idea about what am i doing wrong.
Regards
KaTaBd

Users plug In - Multi Search And Remote Search plug in - WebRing plug in - Muslims Directory
Quote Reply
Re: [katabd] shell command question In reply to
Hi



I tried all other options with debug on:

--check_from number_of_days_ago
--check_problem
--check_new
--check_status status_code
--check_all



Also getting sam error when running : perl nph-index.cgi

and I got the same error..

Anyone out there can try this command from shell and tell me if it is something with my installation or a bug with Links SQL please?
Regards
KaTaBd

Users plug In - Multi Search And Remote Search plug in - WebRing plug in - Muslims Directory

Last edited by:

katabd: Feb 10, 2002, 7:32 AM
Quote Reply
Re: [Alex] shell command question In reply to
Hi

I am still unable to resolve this issue..
Can someone try this command on his/her server and let me know if it is something with my server or with Links SQL..
I will really appreciate..
Still If anyone have a clue about how to fix this problem that will be great as well Tongue
Regards
KaTaBd

Users plug In - Multi Search And Remote Search plug in - WebRing plug in - Muslims Directory