[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Trouble to reconfig my webserver, virtual Host and makecat!
Hi list,
i can not find out the cause of the error messages from perl!
I have rebuild the filesystem of my webserver to get high security!
But if i start bin/makecat myshop, i get
-------------------SNIPP-----------------------------
opendir(./..): Permission denied at /usr/libdata/perl/5.00503/FindBin.pm line 143
makecat -- MiniVend catalog installation program.
-------------------SNIPP-----------------------------
if i use perl -d bin/makecat myshop, i get
-------------------SNIPP-----------------------------
Loading DB routines from perl5db.pl version 1.0402
Emacs support available.
Enter h or `h h' for help.
opendir(./..): Permission denied at /usr/libdata/perl/5.00503/FindBin.pm line 143
Carp::carp('opendir(./..): Permission denied') called at /usr/libdata/perl/5.00503/Cwd.pm line 224
Cwd::abs_path(.) called at /usr/libdata/perl/5.00503/Cwd.pm line 98
Cwd::getcwd() called at /usr/libdata/perl/5.00503/FindBin.pm line 143
FindBin::BEGIN() called at /usr/libdata/perl/5.00503/FindBin.pm line 166
eval {...} called at /usr/libdata/perl/5.00503/FindBin.pm line 166
require FindBin.pm called at bin/makecat line 26
eval {...} called at bin/makecat line 24
main::BEGIN() called at /usr/libdata/perl/5.00503/FindBin.pm line 166
eval {...} called at /usr/libdata/perl/5.00503/FindBin.pm line 166
main::(bin/makecat:39): $| = 1; select STDERR;
Cannot create second readline interface, falling back to dumb.
Term::ReadLine::Perl::new('Term::ReadLine', 'perldb', 'GLOB(0x806c288)', 'GLOB(0x806c324)') called at /usr/libdata/perl/5.00503/perl5db.pl line 1468
DB::setterm called at /usr/libdata/perl/5.00503/perl5db.pl line 482
DB::DB called at bin/makecat line 39
DB<1>
-------------------SNIPP-----------------------------
Looking into the makecat script, i see
-------------------SNIPP-----------------------------
sub dontwarn { $FindBin::RealBin; }
BEGIN {
eval {
require 5.004;
require FindBin;
1 and $VendRoot = "$FindBin::RealBin";
1 and $VendRoot =~ s/.bin$//;
};
($VendRoot = $ENV{MINIVEND_ROOT})
if defined $ENV{MINIVEND_ROOT};
$VendRoot = $VendRoot || '/home/mvend';
}
## END CONFIGURABLE VARIABLES
use lib "$VendRoot/lib";
-------------------SNIPP-----------------------------
If i am an user "root", bin/makecat works without any error! I can not
try out, where is the permissions problem?
Can someone help me?
Thank you a lot!
Joachim
--
Hans-Joachim Leidinger
buch online jojo@buchonline.net
Munscheidstr. 14 FAX: +49 209 1971449
45886 Gelsenkirchen FAX: 0209 1671449