Re: can't start dirsrv-admin service after reboot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Glad you figured it out, but I have no idea how you got into that state.  Very odd, but happy it's working now.

Regards,

Mark

On 10/11/18 10:28 PM, DaV wrote:
Hi Mark,
I resolve this issue now. Thanks again for your help.

At first, I want to find missing config files by rerun setup-ds-admin.pl, this is a mistake because it will create a new slapd
instance. The correct step is following this link to find the missing files.


I change /etc/dirsrv/admin-serv/adm.conf to my site info.

#diff adm.conf adm.conf.bkp
7,8c7,8
< ldapStart: /usr/sbin/start-dirsrv slapd-389ds
---
> ldapStart: /usr/sbin/start-dirsrv vdi-ds-1

somehow the dirsrv-admin service don't start.

[Fri Oct 12 17:51:52.455771 2018] [:warn] [pid 5365:tid 139683716089984] NSSSessionCacheTimeout is deprecated. Ignoring.
[Fri Oct 12 17:51:52.457582 2018] [:crit] [pid 5365:tid 139683716089984] host_ip_init(): PSET failure: Failed to create PSET handle (pset error = )
AH00016: Configuration Failed

finally, I find that that the user/group is nobody in /etc/dirsrv/admin-serv/console.conf, so I change it to dirsrv (in my case) and restart the dirsrv-admin service. 

It works!   :)

# diff console.conf console.conf.bkp
35,36c35,36
< User dirsrv
< Group dirsrv
---
> User nobody
> Group nobody


Sincerely,
--
DaV

 



On Tue, Oct 9, 2018, at 07:18,
DaV
wrote:
Hi Mark,
Thanks for your reply. 
In fact, I follow this link and resolve missing config file


Now, 389ds admin-server can't start normal, either.
loginfo:
 tail -f /var/log/dirsrv/admin-serv/error

[Wed Oct 10 05:43:20.564047 2018] [:warn] [pid 3447:tid 140517964691584] NSSSessionCacheTimeout is deprecated. Ignoring.
[Wed Oct 10 05:43:20.564598 2018] [:error] [pid 3447:tid 140517964691584] Could not bind as []: ldap error -1: Can't contact LDAP server
[Wed Oct 10 05:43:20.564716 2018] [:error] [pid 3447:tid 140517964691584] Could not bind as []: ldap error -1: Can't contact LDAP server
[Wed Oct 10 05:43:20.564740 2018] [:warn] [pid 3447:tid 140517964691584] Unable to bind as LocalAdmin to populate LocalAdmin tasks into cache.
[Wed Oct 10 05:43:20.564981 2018] [:crit] [pid 3447:tid 140517964691584] host_ip_init(): PSET failure: Failed to create PSET handle (pset error = )
AH00016: Configuration Failed
[Wed Oct 10 05:43:20.575067 2018] [:debug] [pid 3447:tid 140517964691584] mod_admserv/mod_admserv.c(2352): mod_admserv_unload: cannot clear cache - NSS not initialized


When I exec command:
httpd
 -e debug -E /
tmp
/output -k start -f /etc/dirsrv/admin-serv/httpd.conf

the output is:

[Wed Oct 10 05:39:37.127886 2018] [so:debug] [pid 3435] mod_so.c(266): AH01575: loaded module authz_host_module from /usr/lib64/httpd/modules/mod_authz_host.so
[Wed Oct 10 05:39:37.128062 2018] [so:debug] [pid 3435] mod_so.c(266): AH01575: loaded module auth_basic_module from /usr/lib64/httpd/modules/mod_auth_basic.so
[Wed Oct 10 05:39:37.128136 2018] [so:debug] [pid 3435] mod_so.c(266): AH01575: loaded module authn_file_module from /usr/lib64/httpd/modules/mod_authn_file.so
[Wed Oct 10 05:39:37.128210 2018] [so:debug] [pid 3435] mod_so.c(266): AH01575: loaded module log_config_module from /usr/lib64/httpd/modules/mod_log_config.so
[Wed Oct 10 05:39:37.128266 2018] [so:debug] [pid 3435] mod_so.c(266): AH01575: loaded module env_module from /usr/lib64/httpd/modules/mod_env.so
[Wed Oct 10 05:39:37.128339 2018] [so:debug] [pid 3435] mod_so.c(266): AH01575: loaded module mime_magic_module from /usr/lib64/httpd/modules/mod_mime_magic.so
[Wed Oct 10 05:39:37.128393 2018] [so:debug] [pid 3435] mod_so.c(266): AH01575: loaded module unique_id_module from /usr/lib64/httpd/modules/mod_unique_id.so
[Wed Oct 10 05:39:37.128446 2018] [so:debug] [pid 3435] mod_so.c(266): AH01575: loaded module setenvif_module from /usr/lib64/httpd/modules/mod_setenvif.so
[Wed Oct 10 05:39:37.128542 2018] [so:debug] [pid 3435] mod_so.c(266): AH01575: loaded module mime_module from /usr/lib64/httpd/modules/mod_mime.so
[Wed Oct 10 05:39:37.128626 2018] [so:debug] [pid 3435] mod_so.c(266): AH01575: loaded module negotiation_module from /usr/lib64/httpd/modules/mod_negotiation.so
[Wed Oct 10 05:39:37.128680 2018] [so:debug] [pid 3435] mod_so.c(266): AH01575: loaded module dir_module from /usr/lib64/httpd/modules/mod_dir.so
[Wed Oct 10 05:39:37.128744 2018] [so:debug] [pid 3435] mod_so.c(266): AH01575: loaded module alias_module from /usr/lib64/httpd/modules/mod_alias.so
[Wed Oct 10 05:39:37.128827 2018] [so:debug] [pid 3435] mod_so.c(266): AH01575: loaded module rewrite_module from /usr/lib64/httpd/modules/mod_rewrite.so
[Wed Oct 10 05:39:37.128904 2018] [so:debug] [pid 3435] mod_so.c(266): AH01575: loaded module cgi_module from /usr/lib64/httpd/modules/mod_cgi.so
[Wed Oct 10 05:39:37.128995 2018] [so:debug] [pid 3435] mod_so.c(266): AH01575: loaded module restartd_module from /usr/lib64/dirsrv/modules/mod_restartd.so
[Wed Oct 10 05:39:37.131171 2018] [so:debug] [pid 3435] mod_so.c(266): AH01575: loaded module nss_module from /usr/lib64/httpd/modules/libmodnss.so
[Wed Oct 10 05:39:37.162919 2018] [so:debug] [pid 3435] mod_so.c(266): AH01575: loaded module admserv_module from /usr/lib64/dirsrv/modules/mod_admserv.so
[Wed Oct 10 05:39:37.162946 2018] [:debug] [pid 3435] mod_admserv/mod_admserv.c(2607): [3435] create_server_config [0xbogus %p for (null)
[Wed Oct 10 05:39:37.162953 2018] [:debug] [pid 3435] mod_admserv/mod_admserv.c(2595): [3435] create_config [0xbogus %p for (null)
[Wed Oct 10 05:39:37.163129 2018] [so:debug] [pid 3435] mod_so.c(266): AH01575: loaded module mpm_worker_module from /usr/lib64/httpd/modules/mod_mpm_worker.so
[Wed Oct 10 05:39:37.163220 2018] [so:debug] [pid 3435:tid 140611918878848] mod_so.c(266): AH01575: loaded module access_compat_module from /usr/lib64/httpd/modules/mod_access_compat.so
[Wed Oct 10 05:39:37.163292 2018] [so:debug] [pid 3435:tid 140611918878848] mod_so.c(266): AH01575: loaded module authn_core_module from /usr/lib64/httpd/modules/mod_authn_core.so
[Wed Oct 10 05:39:37.163371 2018] [so:debug] [pid 3435:tid 140611918878848] mod_so.c(266): AH01575: loaded module authz_core_module from /usr/lib64/httpd/modules/mod_authz_core.so
[Wed Oct 10 05:39:37.163445 2018] [so:debug] [pid 3435:tid 140611918878848] mod_so.c(266): AH01575: loaded module authz_user_module from /usr/lib64/httpd/modules/mod_authz_user.so
[Wed Oct 10 05:39:37.163520 2018] [so:debug] [pid 3435:tid 140611918878848] mod_so.c(266): AH01575: loaded module unixd_module from /usr/lib64/httpd/modules/mod_unixd.so
[Wed Oct 10 05:39:37.164147 2018] [mpm_worker:info] [pid 3435:tid 140611918878848] AH00324: MaxClients is deprecated, use MaxRequestWorkers instead.
[Wed Oct 10 05:39:37.164304 2018] [:debug] [pid 3435:tid 140611918878848] mod_admserv/mod_admserv.c(2668): [3435] Set [0xbogus %p [ADMCacheLifeTime] to 600
[Wed Oct 10 05:39:37.164310 2018] [:debug] [pid 3435:tid 140611918878848] mod_admserv/mod_admserv.c(2686): [3435] Set [0xbogus %p [ADMServerVersionString] to 389-Administrator/1.1.46
[Wed Oct 10 05:39:37.164365 2018] [:debug] [pid 3435:tid 140611918878848] mod_admserv/mod_admserv.c(2595): [3435] create_config [0xbogus %p for /*/[tT]asks/[Oo]peration/*
[Wed Oct 10 05:39:37.164370 2018] [:debug] [pid 3435:tid 140611918878848] mod_admserv/mod_admserv.c(2620): [3435] adminsdk [0xbogus %p flag 1
[Wed Oct 10 05:39:37.164378 2018] [:debug] [pid 3435:tid 140611918878848] mod_admserv/mod_admserv.c(2595): [3435] create_config [0xbogus %p for /*/[tT]asks/[Cc]onfiguration/*
[Wed Oct 10 05:39:37.164381 2018] [:debug] [pid 3435:tid 140611918878848] mod_admserv/mod_admserv.c(2620): [3435] adminsdk [0xbogus %p flag 1
[Wed Oct 10 05:39:37.164397 2018] [:debug] [pid 3435:tid 140611918878848] mod_admserv/mod_admserv.c(2595): [3435] create_config [0xbogus %p for /*/[tT]asks/[Oo]peration/(?i:stop|start|restart|startconfigds|create|remove)$
[Wed Oct 10 05:39:37.164400 2018] [:debug] [pid 3435:tid 140611918878848] mod_admserv/mod_admserv.c(2620): [3435] adminsdk [0xbogus %p flag 0
[Wed Oct 10 05:42:36.222786 2018] [so:debug] [pid 3444] mod_so.c(266): AH01575: loaded module authz_host_module from /usr/lib64/httpd/modules/mod_authz_host.so
[Wed Oct 10 05:42:36.222967 2018] [so:debug] [pid 3444] mod_so.c(266): AH01575: loaded module auth_basic_module from /usr/lib64/httpd/modules/mod_auth_basic.so
[Wed Oct 10 05:42:36.223025 2018] [so:debug] [pid 3444] mod_so.c(266): AH01575: loaded module authn_file_module from /usr/lib64/httpd/modules/mod_authn_file.so
[Wed Oct 10 05:42:36.223101 2018] [so:debug] [pid 3444] mod_so.c(266): AH01575: loaded module log_config_module from /usr/lib64/httpd/modules/mod_log_config.so
[Wed Oct 10 05:42:36.223160 2018] [so:debug] [pid 3444] mod_so.c(266): AH01575: loaded module env_module from /usr/lib64/httpd/modules/mod_env.so
[Wed Oct 10 05:42:36.223225 2018] [so:debug] [pid 3444] mod_so.c(266): AH01575: loaded module mime_magic_module from /usr/lib64/httpd/modules/mod_mime_magic.so
[Wed Oct 10 05:42:36.223279 2018] [so:debug] [pid 3444] mod_so.c(266): AH01575: loaded module unique_id_module from /usr/lib64/httpd/modules/mod_unique_id.so
[Wed Oct 10 05:42:36.223332 2018] [so:debug] [pid 3444] mod_so.c(266): AH01575: loaded module setenvif_module from /usr/lib64/httpd/modules/mod_setenvif.so
[Wed Oct 10 05:42:36.223423 2018] [so:debug] [pid 3444] mod_so.c(266): AH01575: loaded module mime_module from /usr/lib64/httpd/modules/mod_mime.so
[Wed Oct 10 05:42:36.223507 2018] [so:debug] [pid 3444] mod_so.c(266): AH01575: loaded module negotiation_module from /usr/lib64/httpd/modules/mod_negotiation.so
[Wed Oct 10 05:42:36.223572 2018] [so:debug] [pid 3444] mod_so.c(266): AH01575: loaded module dir_module from /usr/lib64/httpd/modules/mod_dir.so
[Wed Oct 10 05:42:36.223641 2018] [so:debug] [pid 3444] mod_so.c(266): AH01575: loaded module alias_module from /usr/lib64/httpd/modules/mod_alias.so
[Wed Oct 10 05:42:36.223723 2018] [so:debug] [pid 3444] mod_so.c(266): AH01575: loaded module rewrite_module from /usr/lib64/httpd/modules/mod_rewrite.so
[Wed Oct 10 05:42:36.223793 2018] [so:debug] [pid 3444] mod_so.c(266): AH01575: loaded module cgi_module from /usr/lib64/httpd/modules/mod_cgi.so
[Wed Oct 10 05:42:36.223884 2018] [so:debug] [pid 3444] mod_so.c(266): AH01575: loaded module restartd_module from /usr/lib64/dirsrv/modules/mod_restartd.so
[Wed Oct 10 05:42:36.226036 2018] [so:debug] [pid 3444] mod_so.c(266): AH01575: loaded module nss_module from /usr/lib64/httpd/modules/libmodnss.so
[Wed Oct 10 05:42:36.258622 2018] [so:debug] [pid 3444] mod_so.c(266): AH01575: loaded module admserv_module from /usr/lib64/dirsrv/modules/mod_admserv.so
[Wed Oct 10 05:42:36.258654 2018] [:debug] [pid 3444] mod_admserv/mod_admserv.c(2607): [3444] create_server_config [0xbogus %p for (null)
[Wed Oct 10 05:42:36.258673 2018] [:debug] [pid 3444] mod_admserv/mod_admserv.c(2595): [3444] create_config [0xbogus %p for (null)
[Wed Oct 10 05:42:36.258825 2018] [so:debug] [pid 3444] mod_so.c(266): AH01575: loaded module mpm_worker_module from /usr/lib64/httpd/modules/mod_mpm_worker.so
[Wed Oct 10 05:42:36.258899 2018] [so:debug] [pid 3444:tid 140281099683968] mod_so.c(266): AH01575: loaded module access_compat_module from /usr/lib64/httpd/modules/mod_access_compat.so
[Wed Oct 10 05:42:36.258964 2018] [so:debug] [pid 3444:tid 140281099683968] mod_so.c(266): AH01575: loaded module authn_core_module from /usr/lib64/httpd/modules/mod_authn_core.so
[Wed Oct 10 05:42:36.259036 2018] [so:debug] [pid 3444:tid 140281099683968] mod_so.c(266): AH01575: loaded module authz_core_module from /usr/lib64/httpd/modules/mod_authz_core.so
[Wed Oct 10 05:42:36.259111 2018] [so:debug] [pid 3444:tid 140281099683968] mod_so.c(266): AH01575: loaded module authz_user_module from /usr/lib64/httpd/modules/mod_authz_user.so
[Wed Oct 10 05:42:36.259194 2018] [so:debug] [pid 3444:tid 140281099683968] mod_so.c(266): AH01575: loaded module unixd_module from /usr/lib64/httpd/modules/mod_unixd.so
[Wed Oct 10 05:42:36.259795 2018] [mpm_worker:info] [pid 3444:tid 140281099683968] AH00324: MaxClients is deprecated, use MaxRequestWorkers instead.
[Wed Oct 10 05:42:36.259940 2018] [:debug] [pid 3444:tid 140281099683968] mod_admserv/mod_admserv.c(2668): [3444] Set [0xbogus %p [ADMCacheLifeTime] to 600
[Wed Oct 10 05:42:36.259946 2018] [:debug] [pid 3444:tid 140281099683968] mod_admserv/mod_admserv.c(2686): [3444] Set [0xbogus %p [ADMServerVersionString] to 389-Administrator/1.1.46
[Wed Oct 10 05:42:36.259998 2018] [:debug] [pid 3444:tid 140281099683968] mod_admserv/mod_admserv.c(2595): [3444] create_config [0xbogus %p for /*/[tT]asks/[Oo]peration/*
[Wed Oct 10 05:42:36.260002 2018] [:debug] [pid 3444:tid 140281099683968] mod_admserv/mod_admserv.c(2620): [3444] adminsdk [0xbogus %p flag 1
[Wed Oct 10 05:42:36.260010 2018] [:debug] [pid 3444:tid 140281099683968] mod_admserv/mod_admserv.c(2595): [3444] create_config [0xbogus %p for /*/[tT]asks/[Cc]onfiguration/*
[Wed Oct 10 05:42:36.260013 2018] [:debug] [pid 3444:tid 140281099683968] mod_admserv/mod_admserv.c(2620): [3444] adminsdk [0xbogus %p flag 1
[Wed Oct 10 05:42:36.260029 2018] [:debug] [pid 3444:tid 140281099683968] mod_admserv/mod_admserv.c(2595): [3444] create_config [0xbogus %p for /*/[tT]asks/[Oo]peration/(?i:stop|start|restart|startconfigds|create|remove)$
[Wed Oct 10 05:42:36.260032 2018] [:debug] [pid 3444:tid 140281099683968] mod_admserv/mod_admserv.c(2620): [3444] adminsdk [0xbogus %p flag 0
[Wed Oct 10 05:43:20.526452 2018] [so:debug] [pid 3447] mod_so.c(266): AH01575: loaded module authz_host_module from /usr/lib64/httpd/modules/mod_authz_host.so
[Wed Oct 10 05:43:20.526632 2018] [so:debug] [pid 3447] mod_so.c(266): AH01575: loaded module auth_basic_module from /usr/lib64/httpd/modules/mod_auth_basic.so
[Wed Oct 10 05:43:20.526691 2018] [so:debug] [pid 3447] mod_so.c(266): AH01575: loaded module authn_file_module from /usr/lib64/httpd/modules/mod_authn_file.so
[Wed Oct 10 05:43:20.526758 2018] [so:debug] [pid 3447] mod_so.c(266): AH01575: loaded module log_config_module from /usr/lib64/httpd/modules/mod_log_config.so
[Wed Oct 10 05:43:20.526814 2018] [so:debug] [pid 3447] mod_so.c(266): AH01575: loaded module env_module from /usr/lib64/httpd/modules/mod_env.so
[Wed Oct 10 05:43:20.526896 2018] [so:debug] [pid 3447] mod_so.c(266): AH01575: loaded module mime_magic_module from /usr/lib64/httpd/modules/mod_mime_magic.so
[Wed Oct 10 05:43:20.526951 2018] [so:debug] [pid 3447] mod_so.c(266): AH01575: loaded module unique_id_module from /usr/lib64/httpd/modules/mod_unique_id.so
[Wed Oct 10 05:43:20.527004 2018] [so:debug] [pid 3447] mod_so.c(266): AH01575: loaded module setenvif_module from /usr/lib64/httpd/modules/mod_setenvif.so
[Wed Oct 10 05:43:20.527112 2018] [so:debug] [pid 3447] mod_so.c(266): AH01575: loaded module mime_module from /usr/lib64/httpd/modules/mod_mime.so
[Wed Oct 10 05:43:20.527200 2018] [so:debug] [pid 3447] mod_so.c(266): AH01575: loaded module negotiation_module from /usr/lib64/httpd/modules/mod_negotiation.so
[Wed Oct 10 05:43:20.527265 2018] [so:debug] [pid 3447] mod_so.c(266): AH01575: loaded module dir_module from /usr/lib64/httpd/modules/mod_dir.so
[Wed Oct 10 05:43:20.527330 2018] [so:debug] [pid 3447] mod_so.c(266): AH01575: loaded module alias_module from /usr/lib64/httpd/modules/mod_alias.so
[Wed Oct 10 05:43:20.527413 2018] [so:debug] [pid 3447] mod_so.c(266): AH01575: loaded module rewrite_module from /usr/lib64/httpd/modules/mod_rewrite.so
[Wed Oct 10 05:43:20.527484 2018] [so:debug] [pid 3447] mod_so.c(266): AH01575: loaded module cgi_module from /usr/lib64/httpd/modules/mod_cgi.so
[Wed Oct 10 05:43:20.527566 2018] [so:debug] [pid 3447] mod_so.c(266): AH01575: loaded module restartd_module from /usr/lib64/dirsrv/modules/mod_restartd.so
[Wed Oct 10 05:43:20.529672 2018] [so:debug] [pid 3447] mod_so.c(266): AH01575: loaded module nss_module from /usr/lib64/httpd/modules/libmodnss.so
[Wed Oct 10 05:43:20.561423 2018] [so:debug] [pid 3447] mod_so.c(266): AH01575: loaded module admserv_module from /usr/lib64/dirsrv/modules/mod_admserv.so
[Wed Oct 10 05:43:20.561453 2018] [:debug] [pid 3447] mod_admserv/mod_admserv.c(2607): [3447] create_server_config [0xbogus %p for (null)
[Wed Oct 10 05:43:20.561460 2018] [:debug] [pid 3447] mod_admserv/mod_admserv.c(2595): [3447] create_config [0xbogus %p for (null)
[Wed Oct 10 05:43:20.561599 2018] [so:debug] [pid 3447] mod_so.c(266): AH01575: loaded module mpm_worker_module from /usr/lib64/httpd/modules/mod_mpm_worker.so
[Wed Oct 10 05:43:20.561669 2018] [so:debug] [pid 3447:tid 140517964691584] mod_so.c(266): AH01575: loaded module access_compat_module from /usr/lib64/httpd/modules/mod_access_compat.so
[Wed Oct 10 05:43:20.561737 2018] [so:debug] [pid 3447:tid 140517964691584] mod_so.c(266): AH01575: loaded module authn_core_module from /usr/lib64/httpd/modules/mod_authn_core.so
[Wed Oct 10 05:43:20.561803 2018] [so:debug] [pid 3447:tid 140517964691584] mod_so.c(266): AH01575: loaded module authz_core_module from /usr/lib64/httpd/modules/mod_authz_core.so
[Wed Oct 10 05:43:20.561862 2018] [so:debug] [pid 3447:tid 140517964691584] mod_so.c(266): AH01575: loaded module authz_user_module from /usr/lib64/httpd/modules/mod_authz_user.so
[Wed Oct 10 05:43:20.561922 2018] [so:debug] [pid 3447:tid 140517964691584] mod_so.c(266): AH01575: loaded module unixd_module from /usr/lib64/httpd/modules/mod_unixd.so
[Wed Oct 10 05:43:20.562517 2018] [mpm_worker:info] [pid 3447:tid 140517964691584] AH00324: MaxClients is deprecated, use MaxRequestWorkers instead.
[Wed Oct 10 05:43:20.562678 2018] [:debug] [pid 3447:tid 140517964691584] mod_admserv/mod_admserv.c(2668): [3447] Set [0xbogus %p [ADMCacheLifeTime] to 600
[Wed Oct 10 05:43:20.562683 2018] [:debug] [pid 3447:tid 140517964691584] mod_admserv/mod_admserv.c(2686): [3447] Set [0xbogus %p [ADMServerVersionString] to 389-Administrator/1.1.46
[Wed Oct 10 05:43:20.562736 2018] [:debug] [pid 3447:tid 140517964691584] mod_admserv/mod_admserv.c(2595): [3447] create_config [0xbogus %p for /*/[tT]asks/[Oo]peration/*
[Wed Oct 10 05:43:20.562739 2018] [:debug] [pid 3447:tid 140517964691584] mod_admserv/mod_admserv.c(2620): [3447] adminsdk [0xbogus %p flag 1
[Wed Oct 10 05:43:20.562753 2018] [:debug] [pid 3447:tid 140517964691584] mod_admserv/mod_admserv.c(2595): [3447] create_config [0xbogus %p for /*/[tT]asks/[Cc]onfiguration/*
[Wed Oct 10 05:43:20.562756 2018] [:debug] [pid 3447:tid 140517964691584] mod_admserv/mod_admserv.c(2620): [3447] adminsdk [0xbogus %p flag 1
[Wed Oct 10 05:43:20.562772 2018] [:debug] [pid 3447:tid 140517964691584] mod_admserv/mod_admserv.c(2595): [3447] create_config [0xbogus %p for /*/[tT]asks/[Oo]peration/(?i:stop|start|restart|startconfigds|create|remove)$
[Wed Oct 10 05:43:20.562775 2018] [:debug] [pid 3447:tid 140517964691584] mod_admserv/mod_admserv.c(2620): [3447] adminsdk [0xbogus %p flag 0

in output file there is pid of 3447, but I can't find this pid.


Sincerely,
--
DaV

 



On Tue, Oct 9, 2018, at 05:46, Mark Reynolds wrote:


On 10/2/18 10:47 PM, DaV wrote:
Hi guys,
I am facing an issue of can't start dirsrv-admin service after reboot 389ds server. 
Can anyone help me? Thank in advance.
It seems that some files missing after 389ds server reboot.

OS:
CentOS Linux release 7.5.1804 (Core)

Packages:
389-ds-base-1.3.7.5-24.el7_5.x86_64
389-admin-console-doc-1.1.12-1.el7.noarch
389-adminutil-1.1.21-2.el7.x86_64
389-ds-base-libs-1.3.7.5-24.el7_5.x86_64
389-admin-1.1.46-1.el7.x86_64
389-admin-console-1.1.12-1.el7.noarch
389-ds-console-doc-1.2.16-1.el7.noarch
389-ds-1.2.2-6.el7.noarch
389-console-1.1.18-1.el7.noarch
389-ds-console-1.2.16-1.el7.noarch
389-dsgw-1.1.11-5.el7.x86_64

/var/log/dirsrv/admin-serv/error
[Mon Oct 01 04:41:14.628926 2018] [mpm_worker:notice] [pid 1515:tid 139888393697408] AH00295: caught SIGTERM, shutting down
[Mon Oct 01 20:15:10.124133 2018] [:warn] [pid 1498:tid 140057745549440] NSSSessionCacheTimeout is deprecated. Ignoring.
[Tue Oct 02 00:12:12.064065 2018] [:warn] [pid 1506:tid 140717522962560] NSSSessionCacheTimeout is deprecated. Ignoring.
[Tue Oct 02 01:24:15.688367 2018] [:warn] [pid 1486:tid 140470383057024] NSSSessionCacheTimeout is deprecated. Ignoring.
[Tue Oct 02 01:24:15.764891 2018] [:notice] [pid 1486:tid 140470383057024] Access Host filter is: *.seczone.com
[Tue Oct 02 01:24:15.764904 2018] [:notice] [pid 1486:tid 140470383057024] Access Address filter is: *
[Tue Oct 02 01:24:15.789117 2018] [:warn] [pid 1487:tid 140470383057024] NSSSessionCacheTimeout is deprecated. Ignoring.
[Tue Oct 02 01:24:15.789651 2018] [mpm_worker:notice] [pid 1487:tid 140470383057024] AH00292: Apache/2.4.6 (CentOS) configured -- resuming normal operations
[Tue Oct 02 01:24:15.789670 2018] [core:notice] [pid 1487:tid 140470383057024] AH00094: Command line: '/usr/sbin/httpd -f /etc/dirsrv/admin-serv/httpd.conf'
[Tue Oct 02 01:24:15.793251 2018] [:notice] [pid 1489:tid 140470383057024] Access Host filter is: *.seczone.com
[Tue Oct 02 01:24:15.793278 2018] [:notice] [pid 1489:tid 140470383057024] Access Address filter is: *
[Tue Oct 02 02:05:48.933732 2018] [mpm_worker:notice] [pid 1487:tid 140470383057024] AH00295: caught SIGTERM, shutting down


systemctl status dirsrv-admin -l
● dirsrv-admin.service - 389 Administration Server.
   Loaded: loaded (/usr/lib/systemd/system/dirsrv-admin.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Wed 2018-10-03 17:34:52 CST; 1h 6min ago
  Process: 3290 ExecStart=/usr/sbin/httpd -k start -f /etc/dirsrv/admin-serv/httpd.conf (code=exited, status=1/FAILURE)

Oct 03 17:34:52 vdi-ds-1 systemd[1]: Starting 389 Administration Server....
Oct 03 17:34:52 vdi-ds-1 httpd[3290]: httpd: Could not open configuration file /etc/dirsrv/admin-serv/httpd.conf: No such file or directory


Does this file exist (/etc/dirsrv/admin-serv/httpd.conf) ?

Not sure how this file could disappear, but if it's gone you will need to remove the "389-admin" package and reinstall it.

Regards,

Mark


Oct 03 17:34:52 vdi-ds-1 systemd[1]: dirsrv-admin.service: control process exited, code=exited status=1
Oct 03 17:34:52 vdi-ds-1 systemd[1]: Failed to start 389 Administration Server..
Oct 03 17:34:52 vdi-ds-1 systemd[1]: Unit dirsrv-admin.service entered failed state.
Oct 03 17:34:52 vdi-ds-1 systemd[1]: dirsrv-admin.service failed.

Sincerely,
--
DaV
 



_______________________________________________
389-users mailing list -- 389-users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to 389-users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/389-users@xxxxxxxxxxxxxxxxxxxxxxx


_______________________________________________
389-users mailing list -- 389-users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to 389-users-leave@xxxxxxxxxxxxxxxxxxxxxxx


_______________________________________________
389-users mailing list -- 389-users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to 389-users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/389-users@xxxxxxxxxxxxxxxxxxxxxxx
_______________________________________________
389-users mailing list -- 389-users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to 389-users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/389-users@xxxxxxxxxxxxxxxxxxxxxxx

[Index of Archives]     [Fedora User Discussion]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux