SYSTEM WARNING: 'file_get_contents(https://www.clearos.com/?rendertype=json&get=header): failed to open stream: Connection refused' in '/var/www/virtual/newwrapper/cf_topmenu.inc' line 5

ClearOS Bug Tracker


View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0022741ClearOSapp-configuration-backup - Configuration Backuppublic2019-01-14 04:162019-02-23 12:36
ReporterNickH 
Assigned Todloper 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionsuspended 
PlatformOSOS Version
Product Version7.6.0 Updates 
Target Version7.6.0 UpdatesFixed in Version 
Summary0022741: Restore of an AD environment fails to create /var/samba
DescriptionRestore of an AD environment fails to create /var/samba so Samba fails to start. The following error is logged in the server smbd log:
[2019/01/14 10:24:49.737071, 0] ../lib/util/util.c:217(directory_create_or_exist)
  mkdir failed on directory /var/samba/drivers: No such file or directory
[2019/01/14 10:24:49.737272, 1] ../source3/printing/nt_printing.c:101(print_driver_directories_init)
  Failed to create printer driver directory /var/samba/drivers
[2019/01/14 10:24:49.737316, 0] ../lib/util/become_daemon.c:111(exit_daemon)
  STATUS=daemon failed to start: Samba failed to init printing subsystem, error code 13

Manually creating /var/samba allows samba to create /var/samba/drivers when it starts.

The fix may be better placed in the deploy/install file of app-samba-core or somewhere like that.
TagsNo tags attached.
Attached Files

- Relationships
related to 0022691closeddloper Restore of an AD environment fails without Windows Networking 

-  Notes
(0009131)
dloper (administrator)
2019-02-23 12:33
edited on: 2019-02-23 12:36

Migrated to: https://gitlab.com/clearos/clearfoundation/app-configuration-backup/issues/3 [^]


- Issue History
Date Modified Username Field Change
2019-01-14 04:16 NickH New Issue
2019-01-14 04:17 NickH Relationship added related to 0022691
2019-02-23 12:33 dloper Note Added: 0009131
2019-02-23 12:33 dloper Status new => closed
2019-02-23 12:33 dloper Assigned To => dloper
2019-02-23 12:33 dloper Resolution open => suspended
2019-02-23 12:36 dloper Note Edited: 0009131 View Revisions

SYSTEM WARNING: 'file_get_contents(https://www.clearos.com/?rendertype=json&get=footer): failed to open stream: Connection refused' in '/var/www/virtual/newwrapper/cf_footer.inc' line 7