---------------------------命令方式启动失败报错-------------------------------
[root@rusky bin]# ./dsadm start /home/ldap/testldap Waiting for Directory Server instance '/home/ldap/testldap' to start...Directory Server instance '/home/ldap/testldap' has detected a disorderly shutdown or a change in cache sizeRecovery phase is starting, this may take a while... Waiting for Directory Server instance '/home/ldap/testldap' to start...Failed to start Directory Server instance '/home/ldap/testldap'ns-slapd wrote the following lines in the error log (/home/ldap/testldap/logs/errors):##[14/Jul/2014:14:09:16 +0800] - Sun-Java(tm)-System-Directory/6.3 B2008.0311.0224 (32-bit) starting up##[14/Jul/2014:14:09:16 +0800] - WARNING<20488> - Backend Database - conn=-1 op=-1 msgId=-1 - Detected Disorderly Shutdown last time Directory Server was running, recovering database.##[14/Jul/2014:14:09:19 +0800] - DEBUG - conn=-1 op=-1 msgId=-1 - libdb: write: 0xffe2dd70, 12288: No space left on device##[14/Jul/2014:14:09:19 +0800] - DEBUG - conn=-1 op=-1 msgId=-1 - libdb: region file: No space left on device##[14/Jul/2014:14:09:19 +0800] - DEBUG - conn=-1 op=-1 msgId=-1 - libdb: PANIC: No space left on device##[14/Jul/2014:14:09:37 +0800] - DEBUG - conn=-1 op=-1 msgId=-1 - libdb: unable to join the environment##[14/Jul/2014:14:09:37 +0800] - ERROR<20490> - Backend Database - conn=-1 op=-1 msgId=-1 - Database recovery process FAILED. The database is not recoverable.##[14/Jul/2014:14:09:37 +0800] - ERROR<20749> - Backend Database - conn=-1 op=-1 msgId=-1 - start: Failed to init database, err=-30974 DB_RUNRECOVERY: Fatal error, run database recovery##[14/Jul/2014:14:09:37 +0800] - ERROR<4138> - plugin_dependency_startall - conn=-1 op=-1 msgId=-1 - Configuration error Failed to start database plugin ldbm database##[14/Jul/2014:14:09:37 +0800] - ERROR<5126> - Resource Limit - conn=-1 op=-1 msgId=-1 - nsLookThroughLimit: parameter error (slapi_reslimit_register() already registered)##[14/Jul/2014:14:09:37 +0800] - ERROR<20748> - Backend Database - conn=-1 op=-1 msgId=-1 - start: Resource limit registration failed##[14/Jul/2014:14:09:37 +0800] - ERROR<4138> - plugin_dependency_startall - conn=-1 op=-1 msgId=-1 - Configuration error Failed to start database plugin ldbm database##[14/Jul/2014:14:09:37 +0800] - ERROR<4139> - plugin_dependency_startall - conn=-1 op=-1 msgId=-1 - Configuration error Error: Failed to resolve plugin dependencies##[14/Jul/2014:14:09:37 +0800] - ERROR<4138> - plugin_dependency_startall - conn=-1 op=-1 msgId=-1 - Configuration error Failed to start accesscontrol plugin ACL Plugin##[14/Jul/2014:14:09:37 +0800] - ERROR<4138> - plugin_dependency_startall - conn=-1 op=-1 msgId=-1 - Configuration error Failed to start preoperation plugin ACL preoperation##[14/Jul/2014:14:09:37 +0800] - ERROR<4138> - plugin_dependency_startall - conn=-1 op=-1 msgId=-1 - Configuration error Failed to start postoperation plugin Class of Service##[14/Jul/2014:14:09:37 +0800] - ERROR<4138> - plugin_dependency_startall - conn=-1 op=-1 msgId=-1 - Configuration error Failed to start object plugin gle##[14/Jul/2014:14:09:37 +0800] - ERROR<4138> - plugin_dependency_startall - conn=-1 op=-1 msgId=-1 - Configuration error Failed to start database plugin ldbm database##[14/Jul/2014:14:09:37 +0800] - ERROR<4138> - plugin_dependency_startall - conn=-1 op=-1 msgId=-1 - Configuration error Failed to start postoperation plugin MemberOf Plugin##[14/Jul/2014:14:09:37 +0800] - ERROR<4138> - plugin_dependency_startall - conn=-1 op=-1 msgId=-1 - Configuration error Failed to start object plugin Multimaster Replication Plugin##[14/Jul/2014:14:09:37 +0800] - ERROR<4138> - plugin_dependency_startall - conn=-1 op=-1 msgId=-1 - Configuration error Failed to start postoperation plugin Roles Plugin--------------------------------------DSCC控制抬启动时报错-----------------------------------错误重新启动服务器 LdapServer:2222 时出现意外错误。正在重新启动服务器
重新启动服务器 LdapServer:2222 时出现意外错误。
出现错误重新启动服务器 LdapServer:2222。服务器日志:
????????????????/home/ldap/testldap?? ???????????/home/ldap/testldap??δ?????????????????????/home/ldap/testldap????...???????????/home/ldap/testldap???????????????С?????????????Σ??????????Щ???...?????????????????/home/ldap/testldap????...ns-slapd ????????д???????? (/home/ldap/testldap/logs/errors) ??:##[14/Jul/2014:14:53:44 +0800] - Sun-Java(tm)-System-Directory/6.3 B2008.0311.0224 (32-bit) starting up##[14/Jul/2014:14:53:45 +0800] - WARNING<20488> - Backend Database - conn=-1 op=-1 msgId=-1 - Detected Disorderly Shutdown last time Directory Server was running, recovering database.##[14/Jul/2014:14:53:47 +0800] - DEBUG - conn=-1 op=-1 msgId=-1 - libdb: write: 0xffcb22b0, 28672: No space left on device##[14/Jul/2014:14:53:47 +0800] - DEBUG - conn=-1 op=-1 msgId=-1 - libdb: region file: No space left on device##[14/Jul/2014:14:53:47 +0800] - DEBUG - conn=-1 op=-1 msgId=-1 - libdb: PANIC: No space left on device##[14/Jul/2014:14:54:05 +0800] - DEBUG - conn=-1 op=-1 msgId=-1 - libdb: unable to join the environment##[14/Jul/2014:14:54:05 +0800] - ERROR<20490> - Backend Database - conn=-1 op=-1 msgId=-1 - Database recovery process FAILED. The database is not recoverable.##[14/Jul/2014:14:54:05 +0800] - ERROR<20749> - Backend Database - conn=-1 op=-1 msgId=-1 - start: Failed to init database, err=-30974 DB_RUNRECOVERY: Fatal error, run database recovery##[14/Jul/2014:14:54:05 +0800] - ERROR<4138> - plugin_dependency_startall - conn=-1 op=-1 msgId=-1 - Configuration error Failed to start database plugin ldbm database##[14/Jul/2014:14:54:05 +0800] - ERROR<5126> - Resource Limit - conn=-1 op=-1 msgId=-1 - nsLookThroughLimit: parameter error (slapi_reslimit_register() already registered)##[14/Jul/2014:14:54:05 +0800] - ERROR<20748> - Backend Database - conn=-1 op=-1 msgId=-1 - start: Resource limit registration failed##[14/Jul/2014:14:54:05 +0800] - ERROR<4138> - plugin_dependency_startall - conn=-1 op=-1 msgId=-1 - Configuration error Failed to start database plugin ldbm database##[14/Jul/2014:14:54:05 +0800] - ERROR<4139> - plugin_dependency_startall - conn=-1 op=-1 msgId=-1 - Configuration error Error: Failed to resolve plugin dependencies##[14/Jul/2014:14:54:05 +0800] - ERROR<4138> - plugin_dependency_startall - conn=-1 op=-1 msgId=-1 - Configuration error Failed to start accesscontrol plugin ACL Plugin##[14/Jul/2014:14:54:05 +0800] - ERROR<4138> - plugin_dependency_startall - conn=-1 op=-1 msgId=-1 - Configuration error Failed to start preoperation plugin ACL preoperation##[14/Jul/2014:14:54:05 +0800] - ERROR<4138> - plugin_dependency_startall - conn=-1 op=-1 msgId=-1 - Configuration error Failed to start postoperation plugin Class of Service##[14/Jul/2014:14:54:05 +0800] - ERROR<4138> - plugin_dependency_startall - conn=-1 op=-1 msgId=-1 - Configuration error Failed to start object plugin gle##[14/Jul/2014:14:54:05 +0800] - ERROR<4138> - plugin_dependency_startall - conn=-1 op=-1 msgId=-1 - Configuration error Failed to start database plugin ldbm database##[14/Jul/2014:14:54:05 +0800] - ERROR<4138> - plugin_dependency_startall - conn=-1 op=-1 msgId=-1 - Configuration error Failed to start postoperation plugin MemberOf Plugin##[14/Jul/2014:14:54:05 +0800] - ERROR<4138> - plugin_dependency_startall - conn=-1 op=-1 msgId=-1 - Configuration error Failed to start object plugin Multimaster Replication Plugin##[14/Jul/2014:14:54:05 +0800] - ERROR<4138> - plugin_dependency_startall - conn=-1 op=-1 msgId=-1 - Configuration error Failed to start postoperation plugin Roles Plugin 在执行操作时出错。错误代码为 221。----------------------------错误分析---------------------------------------------
No space left on device
磁盘空间不足,根目录磁盘占用率100%,清理磁盘空间后,重启LDAP实例,正常。