0
我有一臺Windows 7 x64機器。我安裝了非常順利的neo4j。然後我設法安裝了neo4django和neo4j-embedded,這也很好。移動目錄後無法啓動neo4j服務
但是我決定改變它所在的目錄,所以我停止了PowerShell中的neo4j服務並將它移到了不同的地方。從那時起,我一直無法重新啓動服務,但是如果我運行控制檯,它會在java.exe窗口中啓動neo4j(我認爲),因此它可以工作(localhost:7474可訪問,能夠運行neo4j嵌入式示例腳本等),直到我關閉該java.exe窗口。
這是我在PowerShell中得到了輸出:
PS G:\dev files\neo4j\bin> .\neo4j start
[SC] StartService FAILED 1053:
The service did not respond to the start or control request in a timely fashion.
PS G:\dev files\neo4j\bin> .\neo4j console
25/06/13 9:36:57 PM org.neo4j.server.AbstractNeoServer INFO: Setting startup timeout to: 120000ms based on -1
Detected incorrectly shut down database, performing recovery..
25/06/13 9:36:59 PM org.neo4j.server.database.Database INFO: Loaded neo4j tuning properties from conf/neo4j.properties
25/06/13 9:37:01 PM org.neo4j.server.database.Database INFO: Successfully started database
25/06/13 9:37:02 PM org.neo4j.server.AbstractNeoServer INFO: Starting Neo Server on port [7474] with [80] threads available
25/06/13 9:37:02 PM org.neo4j.server.AbstractNeoServer INFO: Enabling HTTPS on port [7473]
25/06/13 9:37:03 PM org.neo4j.server.modules.DiscoveryModule INFO: Mounted discovery module at [/]
25/06/13 9:37:03 PM org.neo4j.server.modules.RESTApiModule INFO: Mounted REST API at [/db/data/]
25/06/13 9:37:03 PM org.neo4j.server.modules.ManagementApiModule INFO: Mounted management API at [/db/manage/]
25/06/13 9:37:03 PM org.neo4j.server.modules.WebAdminModule INFO: Mounted webadmin at [/webadmin]
21:37:03.260 [main] INFO org.mortbay.log - Logging to Logger[org.mortbay.log] via org.mortbay.log.Slf4jLog
25/06/13 9:37:03 PM org.neo4j.server.web.Jetty6WebServer INFO: Mounting static content at [/webadmin] from [webadmin-html]
21:37:03.366 [main] INFO org.mortbay.log - jetty-6.1.25
21:37:03.548 [main] INFO org.mortbay.log - NO JSP Support for /webadmin, did not find org.apache.jasper.servlet.JspServlet
21:37:06.088 [main] INFO org.mortbay.log - Started [email protected]:7474
我最欣賞你的幫助。乾杯。
採取怎樣刪除舊的服務? – Tomcat
@Snipergirl添加代碼以獲取服務並將其刪除。 – Woot4Moo
我的不好,設法弄清楚了!非常感謝,它現在固定:d – Tomcat