Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[dev.icinga.com #11817] Windows: Error with repository handler (missing /var/lib/icinga2/api/repository path) #4230

Closed
icinga-migration opened this issue May 19, 2016 · 4 comments
Labels
bug Something isn't working
Milestone

Comments

@icinga-migration
Copy link

This issue has been migrated from Redmine: https://dev.icinga.com/issues/11817

Created by elabedzki on 2016-05-19 14:57:25 +00:00

Assignee: mfriedrich
Status: Resolved (closed on 2016-05-21 11:10:07 +00:00)
Target Version: 2.5.0
Last Update: 2016-06-16 08:11:39 +00:00 (in Redmine)

Icinga Version: 2.4.8
Backport?: Not yet backported
Include in Changelog: 1

Hi folks,

one of our customers told us that after a upgrade to 2.4.8 on a windows server the icinga2 service logs something like that..., because the 'repository' directory isn't available.

[2016-05-19 15:09:59 +0200] warning/JsonRpcConnection: Error while processing message for identity 'o-k00406.service.kdn.de'
Error: Function call 'mkstemp' for file 'C:\ProgramData\icinga2\var/lib/icinga2/api/repository/33dcef3ed1930af839159b441a2dddb1641524d9d4a599afffd150fa6aafe71f.repo.XXXXXX' failed with error code 2, 'No such file or directory'

[2016-05-19 15:10:03 +0200] warning/JsonRpcConnection: Error while processing message for identity 'o-k00404.service.kdn.de'
Error: Function call 'mkstemp' for file 'C:\ProgramData\icinga2\var/lib/icinga2/api/repository/c25c4e2eb68c594a0470fb3fdbc704b811d80e615902ae27ff3c2c2f970ca952.repo.XXXXXX' failed with error code 2, 'No such file or directory'

[2016-05-19 15:10:04 +0200] warning/JsonRpcConnection: Error while processing message for identity 'o-k00405.service.kdn.de'
Error: Function call 'mkstemp' for file 'C:\ProgramData\icinga2\var/lib/icinga2/api/repository/1de86544aefeb70d0b78914ac2d89a8c3dced6b3c814ef260057f3223f1c0711.repo.XXXXXX' failed with error code 2, 'No such file or directory'

Best regards
Enrico

Changesets

2016-05-21 11:05:35 +00:00 by mfriedrich e27dee5

Windows: Fix missing path for repository handler

fixes #11817
@icinga-migration
Copy link
Author

Updated by mfriedrich on 2016-05-21 11:04:45 +00:00

  • Subject changed from after upgrade to 2.4.8 on windows server (Error: Function call 'mkstemp'), because of missing directory structure to Windows: Error with repository handler (missing /var/lib/icinga2/api/repository path)
  • Category set to Installation
  • Status changed from New to Assigned
  • Assigned to set to mfriedrich
  • Target Version set to 307

Typo in the Windows Installer. Furthermore the repository handler in clusterevents.cpp does not call MkDirP before creating the temporary file as we do in other locations.

@icinga-migration
Copy link
Author

Updated by mfriedrich on 2016-05-21 11:10:07 +00:00

  • Status changed from Assigned to Resolved
  • Done % changed from 0 to 100

Applied in changeset e27dee5.

@icinga-migration
Copy link
Author

Updated by elabedzki on 2016-05-23 08:07:33 +00:00

[netways #467457] (Fehler Icinga2 Windows 2.4.8)

@icinga-migration
Copy link
Author

Updated by gbeutner on 2016-06-16 08:11:39 +00:00

  • Target Version changed from 307 to 2.5.0

@icinga-migration icinga-migration added bug Something isn't working Installation labels Jan 17, 2017
@icinga-migration icinga-migration added this to the 2.5.0 milestone Jan 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant