Re: Fehlermeldung !
Hallo,
On Sat, Aug 20, 2005 at 10:35:16AM +0200, Andreas Pakulat wrote:
> > daymien@debian:~/yacy$ ./startYACY.sh
> > ls: libx/*.jar: Datei oder Verzeichnis nicht gefunden
>
> Da fehlen ihm irgendwelche Bibliotheken
Nein, das Startskript (s.u.) sucht im YACY-Verzeichnis nach jar-files
in den Unterordnern lib und xlib, das Verzeichnis xlib gibt es da aber
nicht. Denke aber nicht, dass das ein Problem ist.
Startskript:
#!/bin/sh
if [ $UID -eq 0 ]
then
echo
echo "For security reasons, you should not run this as root!"
echo
else
cd `dirname $0`
# generating the proper classpath
CLASSPATH=""
for N in `ls -1 lib/*.jar`; do CLASSPATH="$CLASSPATH$N:"; done
for N in `ls -1 libx/*.jar`; do CLASSPATH="$CLASSPATH$N:"; done
if [ x$1 == x-d ] #debug
then
java -classpath classes:$CLASSPATH yacy
exit 0
elif [ x$1 == x-l ] #logging
then
nohup java -classpath classes:htroot:$CLASSPATH yacy >> yacy.log &
else
nohup java -classpath classes:htroot:$CLASSPATH yacy > /dev/null &
# nohup java -Xms160m -Xmx160m -classpath classes:htroot:$CLASSPATH yacy > /dev/null &
fi
echo "YaCy started as daemon process. View it's activity in log/yacy00.log"
echo "To stop YaCy, please execute stopYACY.sh and wait some seconds"
echo "To administrate YaCy, start your web browser and open http://localhost:8080"
fi
Wolf
--
[Kunststoffflasche in der Mikrowelle] Keime, die /das/ überleben, haben es
wirklich verdient, in der Evolution ein Stück voran zu kommen - notfalls
auch an mir vorbei oder über mich hinweg. (Maximilian Rausch in
de.rec.fahrrad)
Reply to: