Comments (11)
Ich habe auch mal frisch gebaut. Leider tritt der Fehler nicht auf:
./avocado --shell /tmp/vocbase
AvocadoDB shell [V8 version 3.7.10, DB version 0.0.6 (9711)]
avocado>
Kannst du mal ein neues Verzeichnis /tmp/vocbase2 anlegen und es damit probieren?
vielen Dank
from arangodb.
Aha! Der Fehler tritt nur auf, wenn ich ihm kein Directory für die Datenbank mitgebe! War also ein Benutzer Fehler!
Vielleicht sollte das Programm darauf hinweisen, wenn man kein Directory angegeben hat?
from arangodb.
Hm, bei mir kommt:
fceller@hahnwald:/AvocadoDB >./avocado --shell/AvocadoDB >
2011-12-06T09:47:38Z [70866] FATAL cannot create action directory '/var/lib/avocado/_ACTIONS': Undefined error: 0
2011-12-06T09:47:38Z [70866] INFO please use the '--database.directory' option
fceller@hahnwald:
Mit welchen Parametern startest du?
from arangodb.
./avocado
Segmentation fault: 11
./avocado --shell
Segmentation fault: 11
./avocado a/directory/that/doesnt/exist
2011-12-06T09:51:26Z [622] FATAL cannot create action directory \'a/directory/that/doesnt/exist/_ACTIONS\': Undefined error: 0
2011-12-06T09:51:26Z [622] INFO please use the \'--database.directory\' option
from arangodb.
Irgendwas ist auch deinem Mac anders. Kannst du es mal mit GDB ausprobieren?
gdb ./avocado
GNU gdb 6.3.50-20050815 (Apple version gdb-1705) (Fri Jul 1 10:50:06 UTC 2011)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "x86_64-apple-darwin"...Reading symbols for shared libraries ....... done
(gdb) run
Starting program: /Users/fceller/AvocadoDB/avocado
Reading symbols for shared libraries ++++++........................... done
2011-12-06T10:59:28Z [73616] FATAL cannot create action directory '/var/lib/avocado/_ACTIONS': Undefined error: 0
2011-12-06T10:59:28Z [73616] INFO please use the '--database.directory' option
Program exited with code 01.
from arangodb.
GNU gdb 6.3.50-20050815 (Apple version gdb-1705) (Fri Jul 1 10:50:06 UTC 2011)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "x86_64-apple-darwin"...Reading symbols for shared libraries ........ done
(gdb) run
Starting program: /Users/moonglum/Code/AvocadoDB/avocado
Reading symbols for shared libraries +++++++............................ done
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x00000000000241a0
0x00007fff8e23a4f0 in strlen ()
from arangodb.
Kannst du nach dem SEGFAULT noch ein
(gdb) where
ausführen?
from arangodb.
(gdb) where
#0 0x00007fff8e23a4f0 in strlen ()
#1 0x00007fff8e1db8c3 in __vfprintf ()
#2 0x00007fff8e1d9edb in vsnprintf_l ()
#3 0x000000010003b66e in GenerateMessage (buffer=0x7fff5fbfcb10 "2011-12-06T20:43:55Z [1636] ERROR ", size=4096, func=0x7fff5fbfc9c0 "@ۿ_?", file=0x7fff5fbfc9c0 "@ۿ_?", line=232, level=0, currentProcessId=1636, currentThreadId=140735200696672, fmt=0x10016ea28 "duplicate entry for identifier '%s'", ap=0x7fff5fbfcaf8) at logging.c:481
#4 0x000000010003b802 in LogThread [inlined] () at /Users/moonglum/Code/AvocadoDB/Basics/logging.c:653
#5 0x000000010003b802 in TRI_Log (func=0x7fff5fbfdb40 "?ۿ_?", file=0x7fff5fbfdb40 "?ۿ_?", line=1606409024, level=1606409024, severity=1606409024, fmt=0x7fff5fbfdb40 "?ۿ_?") at logging.c:982
#6 0x000000010010a0d4 in AddCollection (cid=147879, vocbase=0x241a7, type=2, name=0x7fff5fbfdbe0 "test", path=0x100c190c0 "/var/lib/avocado/test") at vocbase.c:222
#7 0x000000010010a982 in ScanPath [inlined] () at /Users/moonglum/Code/AvocadoDB/VocBase/vocbase.c:279
#8 0x000000010010a982 in TRI_OpenVocBase (path=0x3 <Address 0x3 out of bounds>) at vocbase.c:436
#9 0x00000001000cb2ca in triagens::avocado::AvocadoServer::openDatabase (this=0x7fff5fbff3d0) at AvocadoServer.cpp:582
#10 0x00000001000c9d55 in triagens::avocado::AvocadoServer::startupServer (this=0x7fff5fbff3d0) at AvocadoServer.cpp:367
#11 0x00000001000c62ad in main (argc=1501638, argv=0xe8) at avocado.cpp:215
from arangodb.
Ok. Kannst du die Verzeichnisse in /var/lib/avocado/ mal weg-werfen? Ich hatte - glaube ich - noch eine Änderung am Datenformat gemacht. Das könnte die Ursache für das Problem sein.
from arangodb.
Ja, dass hat es gelöst! Vielen Dank :) Kannst das Ticket schließen (ich darf nicht ;) )!
from arangodb.
Done
from arangodb.
Related Issues (20)
- HTTP 500: 'internal error' when restoring, no logs available HOT 1
- Arangodb illegal instruction core dumped in VM or Docker in VM HOT 4
- Graph traversal 1million edges too slowly HOT 5
- REGEX_REPLACE character classes not matching correctly HOT 3
- Algorithmics Graph travsersal ArangoDB with FILTER too slowly HOT 8
- PRUNE GRAPH NOT WORK WHEN USE CONDITION USES NEGATION HOT 2
- How to determine if the query was served by a specific shard using AQL Explain? HOT 1
- Performance graph data with filter too slowly HOT 12
- Arangodb not getting deployed on AWS EKS cluster though worked on local K8s cluster HOT 8
- CentOS / RHEL installs of ArangoDB failing HOT 1
- Does arangodb support IPV6 if the dual-stack arangodb deployed in a cluster cannot be started in a dual-stack K8s environment and no obvious error is reported in the debug logs?
- GCC 13.2.0 build devel error HOT 2
- Vulnerability runc CVE-2024-21626 in ArangoDB HOT 1
- Cluster RemoteNode slowdowns query by 50 times comparing to single instance HOT 3
- An integer field cannot be incremented HOT 2
- FATAL [c81f6] {general} failed to bind to endpoint 'http+tcp://[::]:8529'. Please check whether another instance is already running using this endpoint and review your endpoints configuration. HOT 1
- Guix package HOT 1
- After updating to version 3.11.7 of Arango BD, the service is constantly restarting HOT 1
- Graph traversal with cluster from list nodes very slow HOT 1
- GEO_CONTAINS produces false results (inconsistent right-hand rule) HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arangodb.