Install the app
How to install the app on iOS

Follow along with the video below to see how to install our site as a web app on your home screen.

Note: This feature may not be available in some browsers.

Solved Reinstall domain on active directory server fails

10
2
NAS
DS209,DS213J,DS916+,DS218+
Hello,

Today I tried to do a new setup of a domain on the active directory server package. I have had it running with a test domain without any issues, so I wanted to do it now with my actual domain.

I removed the test domain and entered my actual domain, it starts configuring the domain but after a while it fails with the following notification:
  • Failed to setup a task schedule. Please refer to DSM help
In /var/log/messages the following messages can be found:
Code:
2019-08-17T11:43:35+02:00 LocalBackup synoscgi_SYNO.Core.Help_1_get_tutorial_tree[21548]: SYNO.Core.Help.WebAPI.cpp:55 CredRequest failed [9]
2019-08-17T11:43:35+02:00 LocalBackup synoscgi_SYNO.Core.Help_1_get_tree[21630]: SYNO.Core.Help.WebAPI.cpp:55 CredRequest failed [9]
2019-08-17T11:44:21+02:00 LocalBackup synoscgi_SYNO.Core.Package.Installation.Download_1_check[24428]: pkgtool.cpp:1577 /volume1/@tmp/3Pi9bX: * Line 1, Column 1
  Syntax error: value, object or array expected.
2019-08-17T11:44:28+02:00 LocalBackup synoscgi_SYNO.Core.Package.Installation_1_install[25621]: resource_api.cpp:179 Acquire sdk-plugin for DirectoryServerForWindowsDomain when 0x0001 (done)
2019-08-17T11:44:28+02:00 LocalBackup synoscgi_SYNO.Core.Package.Installation_1_install[25621]: resource_api.cpp:179 Acquire service-cfg for DirectoryServerForWindowsDomain when 0x0001 (done)
2019-08-17T11:44:28+02:00 LocalBackup synoscgi_SYNO.Core.Package.Installation_1_install[25621]: resource_api.cpp:179 Acquire userdata-collector for DirectoryServerForWindowsDomain when 0x0001 (done)
2019-08-17T11:44:28+02:00 LocalBackup synoscgi_SYNO.Core.Package.Installation_1_install[25621]: service_is_port_conflict.c:1321 szTmpString=88/tcp,udp conflict
2019-08-17T11:44:28+02:00 LocalBackup synoscgi_SYNO.Core.Package.Installation_1_install[25621]: utils.c:147 /var/packages/DirectoryServerForWindowsDomain/target/resource/port-config/synoadserver.sc conf file port conflict with existed conf file setting
2019-08-17T11:44:28+02:00 LocalBackup synoscgi_SYNO.Core.Package.Installation_1_install[25621]: resource_api.cpp:179 Acquire port-config for DirectoryServerForWindowsDomain when 0x0001 (done)
2019-08-17T11:44:28+02:00 LocalBackup synoscgi_SYNO.Core.Package.Installation_1_install[25621]: resource_api.cpp:179 Acquire feasibility-config for DirectoryServerForWindowsDomain when 0x0001 (done)
2019-08-17T11:44:28+02:00 LocalBackup synocrtregister: synocrtregister.cpp:163 Register certificate for DirectoryServerForWindowsDomain/ldaps(pkg)
2019-08-17T11:44:28+02:00 LocalBackup synoscgi_SYNO.Core.Package.Installation_1_install[25621]: resource_api.cpp:179 Acquire certificate-config for DirectoryServerForWindowsDomain when 0x0001 (done)
2019-08-17T11:44:29+02:00 LocalBackup synomustache: synomustache.cpp:88 Failed to load /var/packages/Spreadsheet/target/etc/Spreadsheet.mustache [No such file or directory]
2019-08-17T11:44:30+02:00 LocalBackup root: TLS profile of Directory Server For Windows Domain is changed
2019-08-17T11:44:31+02:00 LocalBackup [ 6772.634884] init: pkg-DirectoryServerForWindowsDomain main process (12926) terminated with status 127
2019-08-17T11:44:31+02:00 LocalBackup [ 6772.753187] init: smbd main process (13520) killed by TERM signal
2019-08-17T11:44:31+02:00 LocalBackup [ 6773.212377] init: winbindd main process (13601) killed by TERM signal
2019-08-17T11:44:32+02:00 LocalBackup synoscgi_SYNO.Core.Package.Installation_1_install[25621]: resource_api.cpp:179 Acquire tls-profile for DirectoryServerForWindowsDomain when 0x0001 (done)
2019-08-17T11:44:32+02:00 LocalBackup [ 6773.715691] init: pkg-DirectoryServerForWindowsDomain post-stop process (26425) terminated with status 2
2019-08-17T11:44:32+02:00 LocalBackup root: no need to migrate from outdated synoads because '/var/packages/ActiveDirectoryServer/target/private/sam.ldb' doesn't exist
2019-08-17T11:44:33+02:00 LocalBackup synomustache: synomustache.cpp:88 Failed to load /var/packages/Spreadsheet/target/etc/Spreadsheet.mustache [No such file or directory]
2019-08-17T11:44:37+02:00 LocalBackup synoscgi_SYNO.Core.Package.Control_1_start[27554]: resource_api.cpp:179 Acquire indexdb for DirectoryServerForWindowsDomain when 0x0001 (done)
2019-08-17T11:44:38+02:00 LocalBackup synopkgctl: resource_api.cpp:179 Acquire webapi-desc for DirectoryServerForWindowsDomain when 0x0001 (done)
2019-08-17T11:44:38+02:00 LocalBackup synopkgctl: resource_api.cpp:179 Acquire webapi-desc for DirectoryServerForWindowsDomain when 0x0001 (done)
2019-08-17T11:44:38+02:00 LocalBackup synopkgctl: SYSTEM:       Last message 'resource_api.cpp:179' repeated 1 times, suppressed by syslog-ng on LocalBackup
2019-08-17T11:44:38+02:00 LocalBackup synopkgctl: resource_api.cpp:179 Acquire sysnotify for DirectoryServerForWindowsDomain when 0x0001 (done)
2019-08-17T11:44:38+02:00 LocalBackup synomustache: synomustache.cpp:88 Failed to load /var/packages/Spreadsheet/target/etc/Spreadsheet.mustache [No such file or directory]
2019-08-17T11:46:37+02:00 LocalBackup synoscgi_SYNO.ActiveDirectory.Info_1_create_domain[30086]: domain.cpp:246 change certificate of Directory Server For Windows Domain
2019-08-17T11:46:38+02:00 LocalBackup root: Certificate of Directory Server For Windows Domain is changed
2019-08-17T11:46:38+02:00 LocalBackup synoadtool_SYNO.DNSServer.DLZ_1_set[301]: SYNO.DNSServer.cpp:257 webapi: SYNO.DNSServer.DLZ.set is called
2019-08-17T11:46:42+02:00 LocalBackup dns_change hook event: (1) DNS1=x.y.z.a
2019-08-17T11:46:42+02:00 LocalBackup dns_config_change hook event:  (1) DNS1=z.y.z.a
2019-08-17T11:46:44+02:00 LocalBackup synomustache: synomustache.cpp:88 Failed to load /var/packages/Spreadsheet/target/etc/Spreadsheet.mustache [No such file or directory]
2019-08-17T11:46:56+02:00 LocalBackup expire_hook: uid 1591738869 expired
2019-08-17T11:46:56+02:00 LocalBackup expire_hook: uid 1591738870 expired
2019-08-17T11:46:57+02:00 LocalBackup synoscgi_SYNO.ActiveDirectory.Info_1_create_domain[30086]: info.cpp:46 (domain.cpp: 509) (ntp.cpp: 49) failed to link mssntp conf, errstring: File exists

I have tried:
  • Reinstalling Synology directory server package
  • Reinstalling Both directory and DNS server package
  • NAS power down and up
It looks like that there might be a file left behind, but I would not know where to look. I know that Sieberta was active on old forum on the active directory server, maybe someone has an idea?

Otherwise I will have to open a ticket.

Best regards,
Stephan
 

Create an account or login to comment

You must be a member in order to leave a comment

Create account

Create an account on our community. It's easy!

Log in

Already have an account? Log in here.

Thread Tags

Tags Tags
server

Welcome to SynoForum.com!

SynoForum.com is an unofficial Synology forum for NAS owners and enthusiasts.

Registration is free, easy and fast!

Trending content in this forum

Back
Top