System error

error:  bad path /var/www/edreform/portals/data/vocabs/portal/nccrest/school: No such file or directory at /var/www/edreform/portals/perl/edref.pl line 540.
context: 
... 
536:  sub dirs {
537:  my ($self, $dir) = @_;
538:  my $olddir = Cwd::getcwd;
539:  my $path = $self->{DATA_DIR} . '/' . $dir;
540:  chdir $path or die "bad path $path: $!";
541:  my @dirs;
542:  for (glob "*") {
543:  push(@dirs, $_) if -d $_;
544:  }
... 
code stack:  /var/www/edreform/portals/perl/edref.pl:540
/var/www/edreform/portals/perl/edref.pl:279
/var/www/edreform/portals/htdocs/base/autohandler:25
/var/www/edreform/portals/htdocs/base/dhandler:30
/var/www/edreform/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm:753
/var/www/edreform/mason/nccrest/obj/base/dhandler:18
/var/www/edreform/portals/htdocs/base/template/channel.html:1
/var/www/edreform/portals/htdocs/nccrest/template/shell.html:43
/var/www/edreform/portals/htdocs/base/autohandler:186
raw error






























bad path /var/www/edreform/portals/data/vocabs/portal/nccrest/school: No such file or directory at /var/www/edreform/portals/perl/edref.pl line 540.


Trace begun at /var/www/edreform/lib/perl5/site_perl/5.8.5/HTML/Mason/Exceptions.pm line 131
HTML::Mason::Exceptions::rethrow_exception('bad path /var/www/edreform/portals/data/vocabs/portal/nccrest/school: No such file or directory at /var/www/edreform/portals/perl/edref.pl line 540.^J') called at /var/www/edreform/portals/perl/edref.pl line 540
Edref::Portal::dirs('Edref::Portal=HASH(0x90caf04)', 'vocabs/portal/nccrest/school') called at /var/www/edreform/portals/perl/edref.pl line 279
Edref::Portal::refinements('Edref::Portal=HASH(0x90caf04)', 'portal/nccrest/school') called at /var/www/edreform/portals/htdocs/base/autohandler line 25
HTML::Mason::Commands::__ANON__('parent', 'portal/nccrest/school', 'channel', 'SCALAR(0x917e7d8)', 'attribs', 'SCALAR(0x90b1aac)') called at /var/www/edreform/lib/perl5/site_perl/5.8.5/HTML/Mason/Component.pm line 136
HTML::Mason::Component::run('HTML::Mason::Component::Subcomponent=HASH(0x8e3e108)', 'parent', 'portal/nccrest/school', 'channel', 'SCALAR(0x917e7d8)', 'attribs', 'SCALAR(0x90b1aac)') called at /var/www/edreform/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 1074
eval {...} at /var/www/edreform/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 1068
HTML::Mason::Request::comp(undef, undef, undef, 'parent', 'portal/nccrest/school', 'channel', 'SCALAR(0x917e7d8)', 'attribs', 'SCALAR(0x90b1aac)') called at /var/www/edreform/portals/htdocs/base/dhandler line 30
HTML::Mason::Commands::__ANON__ at /var/www/edreform/lib/perl5/site_perl/5.8.5/HTML/Mason/Component.pm line 158
HTML::Mason::Component::run_dynamic_sub('HTML::Mason::Component::FileBased=HASH(0x8dcb068)', 'main') called at /var/www/edreform/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 753
HTML::Mason::Request::call_dynamic('HTML::Mason::Request::ApacheHandler=HASH(0x8abfb44)', 'main') called at /var/www/edreform/mason/nccrest/obj/base/dhandler line 18
HTML::Mason::Commands::__ANON__ at /var/www/edreform/lib/perl5/site_perl/5.8.5/HTML/Mason/Component.pm line 136
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x8dcb068)') called at /var/www/edreform/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 1074
eval {...} at /var/www/edreform/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 1068
HTML::Mason::Request::comp(undef, undef) called at /var/www/edreform/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 760
HTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=HASH(0x8abfb44)') called at /var/www/edreform/portals/htdocs/base/template/channel.html line 1
HTML::Mason::Commands::__ANON__ at /var/www/edreform/lib/perl5/site_perl/5.8.5/HTML/Mason/Component.pm line 136
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x8dcb71c)') called at /var/www/edreform/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 1074
eval {...} at /var/www/edreform/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 1068
HTML::Mason::Request::comp(undef, undef) called at /var/www/edreform/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 760
HTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=HASH(0x8abfb44)') called at /var/www/edreform/portals/htdocs/nccrest/template/shell.html line 43
HTML::Mason::Commands::__ANON__ at /var/www/edreform/lib/perl5/site_perl/5.8.5/HTML/Mason/Component.pm line 136
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x8dcba58)') called at /var/www/edreform/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 1074
eval {...} at /var/www/edreform/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 1068
HTML::Mason::Request::comp(undef, undef) called at /var/www/edreform/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 760
HTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=HASH(0x8abfb44)') called at /var/www/edreform/portals/htdocs/base/autohandler line 186
HTML::Mason::Commands::__ANON__ at /var/www/edreform/lib/perl5/site_perl/5.8.5/HTML/Mason/Component.pm line 136
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x8db1bb0)') called at /var/www/edreform/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 1069
eval {...} at /var/www/edreform/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 1068
HTML::Mason::Request::comp(undef, undef, undef) called at /var/www/edreform/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 338
eval {...} at /var/www/edreform/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 338
eval {...} at /var/www/edreform/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 297
HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0x8abfb44)') called at /var/www/edreform/lib/perl5/site_perl/5.8.5/HTML/Mason/ApacheHandler.pm line 134
eval {...} at /var/www/edreform/lib/perl5/site_perl/5.8.5/HTML/Mason/ApacheHandler.pm line 134
HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0x8abfb44)') called at /var/www/edreform/lib/perl5/site_perl/5.8.5/HTML/Mason/ApacheHandler.pm line 827
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x8d90cdc)', 'Apache=SCALAR(0x917585c)') called at /var/www/edreform/portals/perl/handler.pl line 37
Edref::Mason::handler('Apache=SCALAR(0x917585c)') called at /dev/null line 0
eval {...} at /dev/null line 0