Forum OpenACS Q&A: Please Help... site node not found at url

I installed a package from local, restarted AOL and get this response? What's happening? What do I need to do to correct?

I did a search on the forum and found https://openacs.org/forums/message-view?message_id=113746 , but...
"what is a .info file, where is it found?" Can somebody please help me fix this. mail mailto:timedesk@gmail.com for access to my system.

Thanks
Ben

Collapse
Posted by Marc Fournier on
'k, I'm confused here, since, well, I don't know TCL, but ... what exactly does:

"I installed a package from local"

mean? From the command line? What package did you install?

Looking at the raw log files:

[08/Apr/2007:19:59:16][4874.138339328][-conn:1167-] Error: rp_report_error: Error rendering error page (!)
site node not found at url ""
while executing
"error "site node not found at url \"$url\"""
(procedure "get_from_url" line 33)
invoked from within
"get_from_url -url $url"
(procedure "site_node::get" line 12)
invoked from within
"site_node::get -node_id $node_id -url $url"
(procedure "site_node::get_element" line 3)
invoked from within
"site_node::get_element -url $acs_lang_url -element object_id"
invoked from within
"if { [empty_string_p $acs_lang_url] } {
set lang_admin_p 0
} else {
set lang_admin_p [permission::permission_p -object_id [site_node::get_ele..."
("uplevel" body line 121)
invoked from within
"uplevel {
# /www/master-default.tcl
#
# Set basic attributes and provide the logical defaults for variables that
# aren't provided by the slave..."
(procedure "code::tcl::/usr/local/www/villagetalk.net/openacs-5.3.0/www/..." line 2)
invoked from within
"code::tcl::$__adp_stub"
invoked from within
"if { [file exists $__adp_stub.tcl] } {

# ensure that data source preparation procedure exists and is up-to-date
adp_init tcl $__adp_stub
..."
("uplevel" body line 3)
invoked from within
"uplevel {

if { [file exists $__adp_stub.tcl] } {

# ensure that data source preparation procedure exists and is up-to-date
adp_init t..."
(procedure "adp_prepare" line 2)
invoked from within
"adp_prepare "
(procedure "template::adp_parse" line 30)
invoked from within
"template::adp_parse $__adp_master [concat [list __adp_slave $__adp_output] [array get __adp_properties]]"
(procedure "template::adp_parse" line 96)
invoked from within
"template::adp_parse $__adp_master [concat [list __adp_slave $__adp_output] [array get __adp_properties]]"
(procedure "template::adp_parse" line 96)
invoked from within
"template::adp_parse $__adp_master [concat [list __adp_slave $__adp_output] [array get __adp_properties]]"
(procedure "template::adp_parse" line 96)
invoked from within
"template::adp_parse /usr/local/www/villagetalk.net/openacs-5.3.0/packages/acs-tcl/lib/page-error {stacktrace site\ node\ not\ found\ at\ url\ \"\"\n\ ..."
("uplevel" body line 1)
invoked from within
"uplevel [list template::adp_parse [template::util::url_to_file $template [ad_conn file]] $template_params]"
(procedure "ad_parse_template" line 15)
invoked from within
"ad_parse_template -params $params "/packages/acs-tcl/lib/page-error""
invoked from within
"set rendered_page [ad_parse_template -params $params "/packages/acs-tcl/lib/page-error"]"
("uplevel" body line 2)
invoked from within
"uplevel $body "

Now, I've checked the URL you address above, and two questions from there:

what info file, and what is an automount entry?

Basically, how does one trace/debug these things? :( I can't believe that the 'fix' is for Ben to just restart the whole process from scratch, and hope he doesn't hit the same problem again ...

Collapse
Posted by Ben Koot on
FYI,

This time ( 2007) I was not mounting any new packages, I was adding a new bug to the the bugtracker like I have been doing for the last 2 months, while all of a sudden the system crashed and created the "site node not found" error.

Thanks
Ben

Collapse
Posted by Marc Fournier on
'k, this is different from your original report ... this to me indicates a bug in the bugtracker software itself, if by adding a new bug, its able to take down the whole OACS instance ... :(
Collapse
Posted by Torben Brosten on
Ben,

Looks like timedeskblog.com domain name has recently changed =(

Beyond that, the log info shows a villagetalk.net might be an alternate domain name. Using that domain shows a similar error, so I am assuming that's an alternate to work with here.

First, this kind of error would highly unlikely be caused from a non-core package such as bug-tracker. Perhaps some other changes were made with system parameter values or in the aolserver config file that did not take affect until the next aolserver restart, which was triggered when the package was installed (and the server restarted).

You might want to verify the domain related values in the subsite/kernel parameters are consistent (see tables apm_parameter_values and apm_parameters), and match the domain related parameters with what's expected with the apache reverse proxy.

cheers,

Torben

Collapse
Posted by Gustaf Neumann on
what version of openacs are you using?

Can it be that you are using acs-tcl from cvs head containing the changes of 2007-03-13 09:09:04 (maltes changes for lazy site node caching)?

Collapse
Posted by Ben Koot on
Hi,

I am running https://openacs.org/projects/openacs/download/one-revision?revision_id=583060
installed about a week after it was released.

Thnaks
Ben

Collapse
Posted by Gustaf Neumann on
... then you have openacs core 5.3.0. This version certainly does not include malte's updates. And you are sure, you did not touch acs-core and the rest of the installation since 2007-01-27? It is hard to believe that this misbehavior suddenly starts to happen without altering the code.
Collapse
Posted by Ben Koot on
Yes I am positive I have not changed anything.
Collapse
Posted by Marc Fournier on
'k, can someone tell me what directories to diff? doing a 'du' (base is the virgin code I just downloaded):

203470 openacs-5.3.0
34730 openacs-5.3.0-base

and move of the disk space in the non-base (ie. his code) is in packages:

villagetalk# cd openacs-5.3.0
villagetalk# du -sk *
912 ChangeLog
4 apm-workspace
50 bin
55978 content-repository-content-files
226 etc
18 license.txt
4 log
146096 packages
2 readme.txt
112 rss
6 tcl
60 www

but alot of it appears to be .bak directories?

villagetalk# ls
acs-admin classified-ads page
acs-api-browser clipboard photo-album
acs-authentication clipboard.bak postal-address
acs-automated-testing connections postal-address.bak
acs-bootstrap-installer contacts profile-provider
acs-content-repository cop-base profile-provider.bak
acs-core-docs cop-base.bak ratings
acs-datetime cop-ui ratings.bak
acs-datetime.bak cop-ui.bak ref-countries
acs-events dotfolio ref-countries.bak
acs-events.bak dotfolio-ui ref-itu
acs-kernel dotfolio-ui.bak ref-itu.bak
acs-lang dotfolio.bak ref-language
acs-mail-lite ecommerce ref-language.bak
acs-mail-lite.bak ecommerce.bak ref-timezones
acs-mail-lite.bak.2 events ref-us-counties
acs-messaging faq ref-us-counties.bak
acs-reference feed-parser ref-us-states
acs-service-contract file-storage ref-us-states.bak
acs-subsite general-comments ref-us-zipcodes
acs-subsite.bak general-comments.bak ref-us-zipcodes.bak
acs-tcl lars-blogger related-items
acs-tcl.bak logger related-items.bak
acs-templating mail-tracking room-reservation
acs-translations mail-tracking.bak rss-support
ajaxhelper news search
ajaxhelper.bak news-aggregator telecom-number
ams news-aggregator.bak telecom-number.bak
ams.bak notes trackback
bug-tracker notifications user-profile
bulk-mail notifications.bak user-profile.bak
calendar oacs-dav views
calendar.bak online-catalog views.bak
categories organizations workflow
categories.bak organizations.bak xml-rpc

Collapse
Posted by Marc Fournier on
erk, that wasn't very well formatted:

villagetalk# ls | wc -l
105
villagetalk# ls -d *.bak* | wc -l
34

so about 25% of the listing is backup directories ...

Collapse
Posted by Marc Fournier on
Ben, did you upgrade something at some point?  I downloaded the URL you provided above, to give a comparison ...

I just did a diff between that as a base, and your directory ... started with packages/acs-tcl, and *bam*:

diff -c openacs-5.3.0-base/packages/acs-tcl/acs-tcl.info openacs-5.3.0/packages/acs-tcl/acs-tcl.info
*** openacs-5.3.0-base/packages/acs-tcl/acs-tcl.info    Sat Jan 27 22:01:37 2007
--- openacs-5.3.0/packages/acs-tcl/acs-tcl.info Mon Jan 29 12:25:37 2007
***************
*** 7,24 ****
      <initial-install-p>t</initial-install-p>
      <singleton-p>t</singleton-p>

!    <version name="5.3.0" url="https://openacs.org/repository/download/apm/acs-tcl-5.3.0.apm">
          <owner url="http://openacs.org">OpenACS</owner>
          <summary>The Kernel Tcl API library.</summary>
!        <release-date>2007-01-25</release-date>
          <maturity>3</maturity>
          <license url="http://www.gnu.org/copyleft/gpl.html">GPL version 2</license>
          <vendor url="http://openacs.org">OpenACS</vendor>
          <description format="text/html">Contains all the core Tcl API, including the request processor, security and session management, permissions, site-nodes, package management infrastruc
ture, etc.</description>

!        <provides url="acs-tcl" version="5.3.0"/>
!        <requires url="acs-bootstrap-installer" version="5.3.0"/>
!        <requires url="acs-kernel" version="5.3.0"/>

          <callbacks>
          </callbacks>
--- 7,24 ----
      <initial-install-p>t</initial-install-p>
      <singleton-p>t</singleton-p>

!    <version name="5.4.0d2" url="https://openacs.org/repository/download/apm/acs-tcl-5.4.0d2.apm">
          <owner url="http://openacs.org">OpenACS</owner>
          <summary>The Kernel Tcl API library.</summary>
!        <release-date>2006-11-19</release-date>
          <maturity>3</maturity>
          <license url="http://www.gnu.org/copyleft/gpl.html">GPL version 2</license>
          <vendor url="http://openacs.org">OpenACS</vendor>
          <description format="text/html">Contains all the core Tcl API, including the request processor, security and session management, permissions, site-nodes, package management infrastruc
ture, etc.</description>

!        <provides url="acs-tcl" version="5.4.0d2"/>
!        <requires url="acs-bootstrap-installer" version="5.3.0b1"/>
!        <requires url="acs-kernel" version="5.3.0b1"/>

          <callbacks>
          </callbacks>

And:

diff -cr openacs-5.3.0-base/packages/acs-tcl/lib/actions.tcl openacs-5.3.0/packages/acs-tcl/lib/actions.tcl
*** openacs-5.3.0-base/packages/acs-tcl/lib/actions.tcl Sun Mar 20 00:47:07 2005
--- openacs-5.3.0/packages/acs-tcl/lib/actions.tcl      Wed Jan 10 21:22:11 2007
***************
*** 15,25 ****

      foreach action $action_list {

!        if {[string equal [lindex $action 0] "LINK"]} {
              foreach {type stub text title long} $action {break}
              multirow append actions $type "$base_url$stub" $text $title $long

!        } elseif {[string equal [lindex $action 0] "SECTION"]} {
              foreach {type title long} $action {break}
              multirow append actions $type {} {} $title $long

--- 15,25 ----

      foreach action $action_list {

!        if {[lindex $action 0] eq "LINK"} {
              foreach {type stub text title long} $action {break}
              multirow append actions $type "$base_url$stub" $text $title $long

!        } elseif {[lindex $action 0] eq "SECTION"} {
              foreach {type title long} $action {break}
              multirow append actions $type {} {} $title $long

The files are close, but there are slight differences ...

The really odd things, is that the dates presented seem to fly all over the place ... just checked page-error.tcl:

diff -cr openacs-5.3.0-base/packages/acs-tcl/lib/page-error.tcl openacs-5.3.0/packages/acs-tcl/lib/page-error.tcl
*** openacs-5.3.0-base/packages/acs-tcl/lib/page-error.tcl      Sun Jun  4 00:45:47 2006
--- openacs-5.3.0/packages/acs-tcl/lib/page-error.tcl  Wed Jan 10 21:22:11 2007
***************
*** 5,11 ****
      @author Victor Guerra (mailto:guerra@galileo.edu)
      @creation-date 2005-02-03
      @arch-tag: 983f3d87-40c8-4327-8873-c6a01ba7d875
!    @cvs-id $Id: page-error.tcl,v 1.5 2006/06/04 00:45:47 donb Exp $
  } {
      {bug_number ""}
  }
--- 5,11 ----
      @author Victor Guerra (mailto:guerra@galileo.edu)
      @creation-date 2005-02-03
      @arch-tag: 983f3d87-40c8-4327-8873-c6a01ba7d875
!    @cvs-id $Id: page-error.tcl,v 1.6 2007/01/10 21:22:11 gustafn Exp $
  } {
      {bug_number ""}
  }

The "live version" is 1.6, while the one in the URL you posted above is 1.5 ... but, in acs-tcl.info, your version name = 5.3.0, while the one at that URL has 5.4.0d2??  But, the release-date on yours is from Jan 25th, while the one I downloaded shows Nov 19th??

Here is what I downloaded (per your URL above):

!        <provides url="acs-tcl" version="5.3.0"/>
!        <requires url="acs-bootstrap-installer" version="5.3.0"/>
!        <requires url="acs-kernel" version="5.3.0"/>

while your copy has:

!        <provides url="acs-tcl" version="5.4.0d2"/>
!        <requires url="acs-bootstrap-installer" version="5.3.0b1"/>
!        <requires url="acs-kernel" version="5.3.0b1"/>

So, if I originally installed based on the URL you posted at the start of this thread, then either you upgraded something after, or OACS is updating its own files ... ?

Or ... someone changed the .tar.gz file at that URL since we originally downloaded it??

Please note that both of them untar'd into a openacs-5.3.0 directory ... so that would mean that someone re-packaged after we deployed 5.3.0, but without changing the minor number ...

Collapse
Posted by Ben Koot on
All I did was mounting the available packages.
Collapse
Posted by Malte Sussdorff on
Okay 5.4.0d2 is definitely ONLY available from HEAD, so whatever or whoever did something on your site must have gotten the HEAD version. And it might be that you installed something from the repository? Maybe something is wrong there ?

Last but not least, the error you are describing should not happen anymore with the latest version of site-node lazy caching (albeit I need to fix the DB hits, see the forum posting, anyone any idea?). So, if you really depend on acs-tcl 5.4 for whatever the reason (maybe because you installed acs-mail-lite from head, or project-manager or contacts), then make a fresh checkout. Be warned though that we do have a performance issue and you might just install acs-tcl 5.3.1.

Collapse
Posted by Ben Koot on
The trouble is you don't have any influence on what version of mail lite is installed, as it it installs itself as part of other modules. Moreover, how are simple folks like myself expected to anticipate such behavior? I did install contacts, but the site worked without any problems for weeks until this error occurred.
Collapse
Posted by Malte Sussdorff on
Dear Ben, you are not supposed to get it from HEAD 😊. To my knowledge OpenACS releases are consistent. If you get something from HEAD, HEAD packages are required, if you are getting something from oacs-5-3 packages from there are required.

You should never touch or install any package that has a release number higher than the current release. If unsure, check it before installation. We had some problems with installing from the repository, but as you mentioned you did nothing, I am buzzled how you managed to get the code from OpenACS HEAD. For sure ti should not be downloaded.

So all in all it is not an installation issue, it is an issue where did you get the code from, as acs-mail-lite is not randomly calling OpenACS website to retrieve packages out of it's own release branch.