existdb service stop at midnight ,backup task error

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

existdb service stop at midnight ,backup task error

lin_xd
hi,all

   I have installed the Existdb 3.3 on ubuntu 16,  get  status error with "service eXist-db status" command : 
=========
● eXist-db.service - LSB: yajsw wrapper for eXist-db Native XML Database
   Loaded: loaded (/etc/init.d/eXist-db; generated; vendor preset: enabled)
   Active: failed (Result: timeout) since 二 2017-07-25 01:08:06 CST; 7h ago
     Docs: man:systemd-sysv-generator(8)
  Process: 19003 ExecStop=/etc/init.d/eXist-db stop (code=killed, signal=TERM)
  Process: 10080 ExecStart=/etc/init.d/eXist-db start (code=exited, status=0/SUC Main PID: 10099 (code=exited, status=0/SUCCESS)
    Tasks: 26 (limit: 4915)
   Memory: 3.8G
      CPU: 8min 9.911s
   CGroup: /system.slice/eXist-db.service
oo         └─17728 /pub/jdk1.8.0_131/jre/bin/java -classpath /extdata/xdb/x3/t

w.os.5 01:02:54 ubuntu3 eXist-db[19003]: 七月 25, 2017 1:02:54 上午 org.rzo.yajs
7月 25 01:02:54 ubuntu3 eXist-db[19003]: 信息: stop daemon with pid 10099
w.os.5 01:02:54 ubuntu3 eXist-db[19003]: 七月 25, 2017 1:02:54 上午 org.rzo.yajs
7月 25 01:02:54 ubuntu3 eXist-db[19003]: 信息: process not running
w.os.5 01:02:54 ubuntu3 eXist-db[19003]: 七月 25, 2017 1:02:54 上午 org.rzo.yajs
ist 25 01:02:54 ubuntu3 eXist-db[19003]: 信息: wrapper pid file: /run/wrapper.eX
7月 25 01:02:54 ubuntu3 eXist-db[19003]: Service eXist-db stopped
7月 25 01:08:06 ubuntu3 systemd[1]: eXist-db.service: Stopping timed out. Termina
7月 25 01:08:06 ubuntu3 systemd[1]: eXist-db.service: Unit entered failed state.7月 25 01:08:06 ubuntu3 systemd[1]: eXist-db.service: Failed with result 'timeout

=======wrapper.log:=======
WARNING|wrapper|Service eXist-db|17-07-08 17:15:47|YAJSW: yajsw-stable-12.08
WARNING|wrapper|Service eXist-db|17-07-08 17:15:47|OS   : Linux/4.8.0-22-generic/amd64
WARNING|wrapper|Service eXist-db|17-07-08 17:15:47|JVM  : Oracle Corporation/1.8.0_131//pub/jdk1.8.0_131/jre/64
INFO|wrapper|Service eXist-db|17-07-08 17:15:48|exec:"/pub/jdk1.8.0_131/jre/bin/java" "-classpath" "/extdata/xdb/x3/tools/yajsw/wrapperApp.jar:/extdata/xdb/x3/tools/yajsw/classes:/extdata/xdb/x3/start.jar" "-Djava.endorsed.dirs=lib/endorsed" "-Dfile.encoding=UTF-8" "-Dexist.home=." "-Djetty.home=tools/jetty" "-Dlog4j.configurationFile=file:tools/yajsw/conf/log4j2.xml" "-Djava.awt.headless=true" "-Djava.library.path=lib" "-Xrs" "-Dwrapper.service=true" "-Dwrapper.console.visible=false" "-Xms512m" "-Xmx4096m" "-Dwrapper.port=15003" "-Dwrapper.key=7811958453160058148" "-Dwrapper.teeName=7811958453160058148$1499505347936" "-Dwrapper.tmp.path=/extdata/xdb/x3/tools/yajsw/tmp" "-Djna_tmpdir=/extdata/xdb/x3/tools/yajsw/tmp" "-Dwrapper.config=/extdata/xdb/x3/tools/yajsw/conf/wrapper.conf" "-Dwrapper.visible=false" "-Dwrapper.pidfile=/run/wrapper.eXist-db.pid" "org.rzo.yajsw.app.WrapperJVMMain"
INFO|wrapper|Service eXist-db|17-07-08 17:15:48|posix_spawn pid 6846
INFO|wrapper|Service eXist-db|17-07-08 17:15:48|started process 6846
INFO|wrapper|Service eXist-db|17-07-08 17:15:48|started process with pid 6846
INFO|6846/0|Service eXist-db|17-07-08 17:15:49|[INFO] StandardFileSystemManager - Using "/tmp/vfs_cache" as temporary files store.
INFO|6846/0|Service eXist-db|17-07-08 17:15:51|08 七月 2017 17:15:51,629 [main] INFO  (JettyStart.java [run]:133) - Running with Java 1.8.0_131 [Oracle Corporatwcrmyy2017@ubuntu3:/extdata/xdb/x3/tools/yajsw/logs$ tail wrapper.log
INFO|wrapper|Service eXist-db|17-07-25 00:12:57|exec:"/pub/jdk1.8.0_131/jre/bin/java" "-classpath" "/extdata/xdb/x3/tools/yajsw/wrapperApp.jar:/extdata/xdb/x3/tools/yajsw/classes:/extdata/xdb/x3/start.jar" "-Djava.endorsed.dirs=lib/endorsed" "-Dfile.encoding=UTF-8" "-Dexist.home=." "-Djetty.home=tools/jetty" "-Dlog4j.configurationFile=file:tools/yajsw/conf/log4j2.xml" "-Djava.awt.headless=true" "-Djava.library.path=lib" "-Xrs" "-Dwrapper.service=true" "-Dwrapper.console.visible=false" "-Xms512m" "-Xmx4096m" "-Dwrapper.port=15003" "-Dwrapper.key=-3598251730758641619" "-Dwrapper.teeName=-3598251730758641619$1500855331378" "-Dwrapper.tmp.path=/extdata/xdb/x3/tools/yajsw/tmp" "-Djna_tmpdir=/extdata/xdb/x3/tools/yajsw/tmp" "-Dwrapper.config=/extdata/xdb/x3/tools/yajsw/conf/wrapper.conf" "-Dwrapper.visible=false" "-Dwrapper.pidfile=/run/wrapper.eXist-db.pid" "org.rzo.yajsw.app.WrapperJVMMain"
INFO|wrapper|Service eXist-db|17-07-25 00:12:57|posix_spawn pid 17728
INFO|wrapper|Service eXist-db|17-07-25 00:12:57|started process 17728
INFO|wrapper|Service eXist-db|17-07-25 00:12:57|should not happen: waiting for termination thread
INFO|wrapper|Service eXist-db|17-07-25 00:12:57|should not happen: waiting for termination thread
INFO|wrapper|Service eXist-db|17-07-25 00:12:57|should not happen: waiting for termination thread
INFO|wrapper|Service eXist-db|17-07-25 00:12:57|should not happen: waiting for termination thread
INFO|wrapper|Service eXist-db|17-07-25 00:12:57|started process with pid 17728
WARNING|wrapper|Service eXist-db|17-07-25 00:13:27|startup of java application timed out. if this is due to server overload consider increasing wrapper.startup.timeout
INFO|wrapper|Service eXist-db|17-07-25 00:13:27|too many restarts

=============maybe the scheduling backup task causing the error:   exist.log:  ===========

2017-07-24 23:50:37,390 [DefaultQuartzScheduler_Worker-1] INFO  (BFile.java [printStatistics]:419) - values.dbx DATA Buffers occupation : 0% (0 out of 64) Cache efficiency : N/A
2017-07-25 00:00:00,001 [DefaultQuartzScheduler_Worker-2] INFO  (ConsistencyCheckTask.java [execute]:177) - Starting backup...
2017-07-25 00:00:01,988 [DefaultQuartzScheduler_Worker-2] INFO  (ConsistencyCheckTask.java [execute]:184) - Created backup to file: /extdata/xdb/x3/./webapp/WEB-INF/data/export/inc20170725-0000.zip
2017-07-25 00:00:01,988 [DefaultQuartzScheduler_Worker-2] INFO  (ConsistencyCheckTask.java [execute]:187) - Finished backup
2017-07-25 00:06:03,906 [Thread-4] INFO  (JettyStart.java [lifeCycleStopping]:638) - Jetty server stopping...
2017-07-25 00:06:03,908 [BrokerPools-ShutdownHook] INFO  (BrokerPools.java [run]:67) - Executing shutdown thread
2017-07-25 00:06:03,909 [BrokerPools-ShutdownHook] INFO  (BrokerPool.java [shutdown]:1518) - Database is shutting down ...
2017-07-25 00:06:03,918 [Thread-4] INFO  (AbstractConnector.java [doStop]:310) - Stopped ServerConnector@377008df{HTTP/1.1,[http/1.1]} 0.0.0.0:8090}
2017-07-25 00:06:03,919 [Thread-4] INFO  (AbstractConnector.java [doStop]:310) - Stopped ServerConnector@7c3ebc6b{SSL,[ssl, http/1.1]}{0.0.0.0:8443}
2017-07-25 01:03:29,603 [main] INFO  (XmlLibraryChecker.java [check]:149) - Looking for a valid Parser...
Checking for Xerces, found version Xerces-J 2.11.0
OK!

2017-07-25 01:03:29,907 [main] INFO  (XmlLibraryChecker.java [check]:171) - Looking for a valid Transformer...
Checking for Saxon, found version 9.6.0.7
OK!

2017-07-25 01:03:29,908 [main] INFO  (XmlLibraryChecker.java [check]:183) - Looking for a valid Resolver...
Checking for Resolver, found version XmlResolver 1.2
OK!

2017-07-25 01:03:29,915 [main] INFO  (XmlLibraryChecker.java [check]:189) - Using parser org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser
2017-07-25 01:03:29,919 [main] INFO  (XmlLibraryChecker.java [check]:190) - Using transformer net.sf.saxon.jaxp.IdentityTransformer
2017-07-25 01:03:29,929 [main] INFO  (JettyStart.java [run]:133) - Running with Java 1.8.0_131 [Oracle Corporation (Java HotSpot(TM) 64-Bit Server VM) in /pub/jdk1.8.0_131/jre]
2017-07-25 01:03:29,929 [main] INFO  (JettyStart.java [run]:140) - Running as user 'root'
2017-07-25 01:03:29,930 [main] INFO  (JettyStart.java [run]:141) - [eXist Home : .]
2017-07-25 01:03:29,931 [main] INFO  (JettyStart.java [run]:142) - [eXist Version : 3.3.0]
2017-07-25 01:03:29,932 [main] INFO  (JettyStart.java [run]:143) - [eXist Build : 201707021658]
2017-07-25 01:03:29,932 [main] INFO  (JettyStart.java [run]:144) - [Git commit : dc76b14]
2017-07-25 01:03:29,933 [main] INFO  (JettyStart.java [run]:146) - [Operating System : Linux 4.8.0-22-generic amd64]
2017-07-25 01:03:29,933 [main] INFO  (JettyStart.java [run]:147) - [log4j.configurationFile : file:tools/yajsw/conf/log4j2.xml]
2017-07-25 01:03:29,933 [main] INFO  (JettyStart.java [run]:148) - [jetty.home : tools/jetty]
2017-07-25 01:03:29,934 [main] INFO  (JettyStart.java [run]:149) - [jetty.base : tools/jetty]
2017-07-25 01:03:29,934 [main] INFO  (JettyStart.java [run]:150) - [jetty configuration : /extdata/xdb/x3/tools/jetty/etc/standard.enabled-jetty-configs]
2017-07-25 01:03:29,952 [main] INFO  (Configuration.java [<init>]:175) - Reading configuration from file ./conf.xml
2017-07-25 01:03:30,065 [main] INFO  (Configuration.java [configureStartup]:1296) - Registered StartupTrigger: org.exist.security.GnuCryptoJceProviderStartupTrigger
2017-07-25 01:03:30,066 [main] INFO  (Configuration.java [configureStartup]:1296) - Registered StartupTrigger: org.exist.protocolhandler.URLStreamHandlerStartupTrigger 2017-07-25 01:03:30,068 [main] INFO  (Configuration.java [configureStartup]:1296) - Registered StartupTrigger: org.exist.extensions.exquery.restxq.impl.RestXqStartupTrigger
2017-07-25 01:03:30,077 [main] INFO  (Configuration.java [configureStartup]:1296) - Registered StartupTrigger: org.exist.repo.AutoDeploymentTrigger
2017-07-25 01:03:30,627 [main] INFO  (Configuration.java [configureValidation]:1506) - Add catalog uri file:///extdata/xdb/x3/./webapp//WEB-INF/catalog.xml
2017-07-25 01:03:30,629 [main] INFO  (GrammarPool.java [<init>]:54) - Initializing GrammarPool.
2017-07-25 01:03:30,631 [main] INFO  (JettyStart.java [run]:159) - Configuring eXist from /extdata/xdb/x3/conf.xml
2017-07-25 01:03:30,675 [main] INFO  (BrokerPool.java [<init>]:378) - database instance 'exist' will wait  120,000 ms during shutdown
2017-07-25 01:03:30,676 [main] INFO  (BrokerPool.java [<init>]:381) - database instance 'exist' is enabled for recovery : true
2017-07-25 01:03:30,676 [main] INFO  (BrokerPool.java [<init>]:386) - database instance 'exist' will have between 1 and 50 brokers
2017-07-25 01:03:30,676 [main] INFO  (BrokerPool.java [<init>]:390) - database instance 'exist' will be synchronized every 120,000 ms
2017-07-25 01:03:30,718 [main] WARN  (DefaultCacheManager.java [<init>]:139) - The cacheSize="2048" setting in conf.xml is too large. Java has only 3728384k available. Cache manager will not use more than 1864192k to avoid memory issues which may lead to database corruptions.
2017-07-25 01:03:30,719 [main] INFO  (DefaultCacheManager.java [<init>]:154) - Cache settings: 1,864,192k; totalPages: 466,048; maxCacheSize: 419,443; cacheShrinkThreshold: 10,000
2017-07-25 01:03:30,831 [main] INFO  (XQueryPool.java [configure]:126) - QueryPool: size = 128; maxStackSize = 64; timeout = 120,000; timeoutCheckInterval = 30,000
2017-07-25 01:03:30,846 [main] INFO  (QuartzSchedulerImpl.java [getQuartzProperties]:117) - Successfully loaded quartz.properties
2017-07-25 01:03:30,991 [main] INFO  (FileLock.java [message]:292) - File lock last access timestamp: 2017-7-25 /extdata/xdb/x3/./webapp/WEB-INF/data/dbx_dir.lck
2017-07-25 01:03:30,991 [main] INFO  (FileLock.java [message]:292) - Found a stale lockfile. Trying to remove it:  /extdata/xdb/x3/./webapp/WEB-INF/data/dbx_dir.lck
2017-07-25 01:03:30,992 [main] INFO  (FileLock.java [release]:188) - Deleting lock file: /extdata/xdb/x3/./webapp/WEB-INF/data/dbx_dir.lck
2017-07-25 01:03:58,105 [BrokerPools-ShutdownHook] INFO  (BrokerPools.java [run]:67) - Executing shutdown thread
2017-07-25 01:14:35,697 [main] INFO  (SyncTask.java [configure]:73) - Using DATA_DIR: /extdata/xdb/x3/./webapp/WEB-INF/data. Minimal disk space required for database to continue operations: 128mb
2017-07-25 01:14:35,702 [main] INFO  (SyncTask.java [configure]:76) - Usable space on partition containing DATA_DIR: /extdata/xdb/x3/./webapp/WEB-INF/data: 964874mb
2017-07-25 01:14:36,147 [main] ERROR (Configurator.java [configureByCurrent]:515) - Could not insert configured object
2017-07-25 01:14:36,147 [main] ERROR (Configurator.java [configureByCurrent]:562) - Field 'managers' must have '@org.exist.config.annotation.ConfigurationFieldClassMask' annotation [manager], skipping instance creation.
2017-07-25 01:14:36,520 [main] INFO  (NativeBroker.java [sync]:3694) - Memory: 529,920K total; 3,728,384K max; 465,578K free
2017-07-25 01:14:36,521 [main] INFO  (BTree.java [printStatistics]:2619) - dom.dbx INDEX Buffers occupation : 66% (42 out of 64) Cache efficiency : 99%
2017-07-25 01:14:36,521 [main] INFO  (DOMFile.java [printStatistics]:1393) - dom.dbx DATA Buffers occupation : 9% (22 out of 256) Cache efficiency : 99%
2017-07-25 01:14:36,522 [main] INFO  (BTree.java [printStatistics]:2619) - collections.dbx INDEX Buffers occupation : 22% (14 out of 64) Cache efficiency : 87%
2017-07-25 01:14:36,522 [main] INFO  (BFile.java [printStatistics]:419) - collections.dbx DATA Buffers occupation : 12% (8 out of 64) Cache efficiency : 84%
2017-07-25 01:14:36,523 [main] INFO  (BTree.java [printStatistics]:2619) - values.dbx INDEX Buffers occupation : 0% (0 out of 64) Cache efficiency : N/A
2017-07-25 01:14:36,523 [main] INFO  (BFile.java [printStatistics]:419) - values.dbx DATA Buffers occupation : 0% (0 out of 64) Cache efficiency : N/A
wcrmyy2017@ubuntu3:/extdata/xdb/x3$

========================
can give some help? thxs.

--
此致

easy
莫愁前路无知己,天下谁人不识君。


 


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Exist-open mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/exist-open