After every success build I get lighting needs to rebuild on linux

I solved the problem by making sure that the firewall is not blocking port 6666 and/or 230.0.0.1 network
sudo iptables -A INPUT -p UDP -d 230.0.0.1 --destination-port 6666 -j ACCEPT
and for ubuntu
sudo ufw allow to 230.0.0.1 port 6666 proto udp

Thank-you so much for this. :slight_smile: I have been hunting around for a lighting rebuild solution, due to it constantly failing, and came up with no results. It is as if this is some trade secret. lol

[2017.07.17-11.29.58:710][ 0]LogModuleManager:Warning: No filename provided for module Settings
ModuleManager: Unable to load module ‘Settings’ because the file ‘/home/nero/UnrealEngine-4.16.2-release/Engine/Binaries/Linux/’ was not found.
[2017.07.17-11.29.58:710][ 0]LogModuleManager:Warning: ModuleManager: Unable to load module ‘Settings’ because the file ‘/home/nero/UnrealEngine-4.16.2-release/Engine/Binaries/Linux/’ was not found.
Initializing bridge on interface 0.0.0.0:0 to multicast group 230.0.0.1:6666.
[2017.07.17-11.29.58:719][ 0]LogUdpMessaging: Initializing bridge on interface 0.0.0.0:0 to multicast group 230.0.0.1:6666.
Lightmass Linux started on: nero-SATELLITE-L50-A-1D0. Command-line: 18825B8939070E11001D0277F56D11BE -Messaging
[2017.07.17-11.29.58:720][ 0]LogLightmass:Display: Lightmass Linux started on: nero-SATELLITE-L50-A-1D0. Command-line: 18825B8939070E11001D0277F56D11BE -Messaging
Processing scene GUID: 18825B8939070E11001D0277F56D11BE with 8 threads
[2017.07.17-11.29.58:720][ 0]LogLightmass:Display: Processing scene GUID: 18825B8939070E11001D0277F56D11BE with 8 threads
Building static lighting…
[2017.07.17-11.29.58:720][ 0]LogLightmass: Building static lighting…
Timed out waiting for the recipient (TimeWaitingSec = 60.010492)
[2017.07.17-11.30.58:734][ 0]LogInit:Error: Timed out waiting for the recipient (TimeWaitingSec = 60.010492)
Measured CPU frequency: 2.39 GHz
[2017.07.17-11.30.58:735][ 0]LogLightmass: Measured CPU frequency: 2.39 GHz
FStaticLightingSystem started using GKDOPMaxTrisPerLeaf: 4
[2017.07.17-11.30.58:735][ 0]LogLightmass: FStaticLightingSystem started using GKDOPMaxTrisPerLeaf: 4
Number of texture mappings: 34
[2017.07.17-11.30.58:735][ 0]LogLightmass: Number of texture mappings: 34
Number of fluid mappings: 0
[2017.07.17-11.30.58:735][ 0]LogLightmass: Number of fluid mappings: 0
Number of landscape mappings: 0
[2017.07.17-11.30.58:735][ 0]LogLightmass: Number of landscape mappings: 0
Number of BSP mappings: 6
[2017.07.17-11.30.58:735][ 0]LogLightmass: Number of BSP mappings: 6
Number of static mesh instance mappings: 34
[2017.07.17-11.30.58:735][ 0]LogLightmass: Number of static mesh instance mappings: 34
Reserving memory for 40 meshes, 5126 vertices, 7614 triangles
[2017.07.17-11.30.58:735][ 0]LogLightmass: Reserving memory for 40 meshes, 5126 vertices, 7614 triangles
Scene surface area calculated at 952.925 million units (35.593% of the estimated 2677.275 million units)
[2017.07.17-11.30.58:736][ 0]Scene surface area calculated at 952.925 million units (35.593% of the estimated 2677.275 million units)
Importance volume surface area calculated at 952.909 million units (0.000% of the estimated 0.000 million units)
[2017.07.17-11.30.58:736][ 0]Importance volume surface area calculated at 952.909 million units (0.000% of the estimated 0.000 million units)
Preallocated 0.0Gb for kDOP nodes and triangles
[2017.07.17-11.30.58:736][ 0]LogLightmass: Preallocated 0.0Gb for kDOP nodes and triangles
Building kDOP took 0.00 seconds.
[2017.07.17-11.30.58:738][ 0]LogLightmass: Building kDOP took 0.00 seconds.
Static lighting kDOP: 2416 nodes, 1209 leaves, 4836 triangles, 2918 vertices
[2017.07.17-11.30.58:738][ 0]LogLightmass: Static lighting kDOP: 2416 nodes, 1209 leaves, 4836 triangles, 2918 vertices
Static lighting kDOP: 24.607% wasted space in leaves
[2017.07.17-11.30.58:738][ 0]LogLightmass: Static lighting kDOP: 24.607% wasted space in leaves
kDopTree.Nodes : 0.3Mb
[2017.07.17-11.30.58:738][ 0]LogLightmass: kDopTree.Nodes : 0.3Mb
kDopTree.SOATriangles : 0.4Mb
[2017.07.17-11.30.58:738][ 0]LogLightmass: kDopTree.SOATriangles : 0.4Mb
kDOPTriangles : 0.0Mb
[2017.07.17-11.30.58:738][ 0]LogLightmass: kDOPTriangles : 0.0Mb
TrianglePayloads : 0.1Mb
[2017.07.17-11.30.58:738][ 0]LogLightmass: TrianglePayloads : 0.1Mb
MeshInfos : 0.0Mb
[2017.07.17-11.30.58:738][ 0]LogLightmass: MeshInfos : 0.0Mb
Vertices : 0.1Mb
[2017.07.17-11.30.58:738][ 0]LogLightmass: Vertices : 0.1Mb
UVs : 0.0Mb
[2017.07.17-11.30.58:738][ 0]LogLightmass: UVs : 0.0Mb
LightmapUVs : 0.0Mb
[2017.07.17-11.30.58:738][ 0]LogLightmass: LightmapUVs : 0.0Mb
Static lighting kDOP: 2416 nodes, 1209 leaves, 4836 triangles, 2918 vertices, 0.9 Mb
[2017.07.17-11.30.58:739][ 0]LogLightmass: Static lighting kDOP: 2416 nodes, 1209 leaves, 4836 triangles, 2918 vertices, 0.9 Mb
Processing…
[2017.07.17-11.30.58:739][ 0]LogLightmass: Processing…
Timed out waiting for the recipient (TimeWaitingSec = 60.010168)
[2017.07.17-11.31.58:749][ 0]LogInit:Error: Timed out waiting for the recipient (TimeWaitingSec = 60.010168)
*** Error in `/home/nero/UnrealEngine-4.16.2-release/Engine/Binaries/Linux/UnrealLightmass’: double free or corruption (!prev): 0x00007ffa2401e110 ***
[2017.07.17-11.31.59:428][809]LogSlate: Took 0.000087 seconds to synchronously load lazily loaded font ‘…/…/…/Engine/Content/Slate/Fonts/Roboto-Light.ttf’ (159K)
[2017.07.17-11.31.59:437][809]LogLinux: Setting swap interval to ‘Immediate’
[2017.07.17-11.31.59:495][809]LogLinux: Setting swap interval to ‘Immediate’
[2017.07.17-11.31.59:663][809]LogStaticLightingSystem: Illumination: 2:01 min (0 ms encoding lightmaps, 0 ms encoding shadowmaps)
[2017.07.17-11.31.59:663][809]LogStaticLightingSystem: Lightmap texture memory: 0.0 MB (0.0 MB streaming, 0.0 MB non-streaming), 0 textures
[2017.07.17-11.31.59:663][809]LogStaticLightingSystem: Shadowmap texture memory: 0.0 MB (0.0 MB streaming, 0.0 MB non-streaming), 0 textures
STUBBED: FLinuxPlatformProcess::TerminateProc() : Killing a subtree is not implemented yet at /home/nero/UnrealEngine-4.16.2-release/Engine/Source/Runtime/Core/Private/Linux/LinuxPlatformProcess.cpp:1171 (TerminateProc)
[2017.07.17-11.31.59:664][809]DumpUnbuiltLightIteractions
[2017.07.17-11.31.59:664][809]Lights with unbuilt interactions: 1
[2017.07.17-11.31.59:664][809] Light LightSource
[2017.07.17-11.31.59:664][809]
[2017.07.17-11.31.59:664][809]Primitives with unbuilt interactions: 33
[2017.07.17-11.31.59:664][809] Primitive StaticMeshComponent /Game/VehicleCPP/Maps/VehicleExampleMap.VehicleExampleMap:PersistentLevel.Wall6.StaticMeshComponent0
[2017.07.17-11.31.59:664][809] Primitive StaticMeshComponent /Game/VehicleCPP/Maps/VehicleExampleMap.VehicleExampleMap:PersistentLevel.Wall18.StaticMeshComponent0
[2017.07.17-11.31.59:664][809] Primitive StaticMeshComponent /Game/VehicleCPP/Maps/VehicleExampleMap.VehicleExampleMap:PersistentLevel.Wall17.StaticMeshComponent0
[2017.07.17-11.31.59:664][809] Primitive StaticMeshComponent /Game/VehicleCPP/Maps/VehicleExampleMap.VehicleExampleMap:PersistentLevel.Wall14_7.StaticMeshComponent0
[2017.07.17-11.31.59:664][809] Primitive StaticMeshComponent /Game/VehicleCPP/Maps/VehicleExampleMap.VehicleExampleMap:PersistentLevel.Column.StaticMeshComponent0
[2017.07.17-11.31.59:664][809] Primitive StaticMeshComponent /Game/VehicleCPP/Maps/VehicleExampleMap.VehicleExampleMap:PersistentLevel.Wall3.StaticMeshComponent0
[2017.07.17-11.31.59:664][809] Primitive StaticMeshComponent /Game/VehicleCPP/Maps/VehicleExampleMap.VehicleExampleMap:PersistentLevel.Wall16.StaticMeshComponent0
[2017.07.17-11.31.59:664][809] Primitive StaticMeshComponent /Game/VehicleCPP/Maps/VehicleExampleMap.VehicleExampleMap:PersistentLevel.Wall13.StaticMeshComponent0
[2017.07.17-11.31.59:664][809] Primitive StaticMeshComponent /Game/VehicleCPP/Maps/VehicleExampleMap.VehicleExampleMap:PersistentLevel.Wall12.StaticMeshComponent0
[2017.07.17-11.31.59:664][809] Primitive StaticMeshComponent /Game/VehicleCPP/Maps/VehicleExampleMap.VehicleExampleMap:PersistentLevel.Ramp_81.StaticMeshComponent0
[2017.07.17-11.31.59:664][809] Primitive StaticMeshComponent /Game/VehicleCPP/Maps/VehicleExampleMap.VehicleExampleMap:PersistentLevel.Ramp_80.StaticMeshComponent0
[2017.07.17-11.31.59:664][809] Primitive StaticMeshComponent /Game/VehicleCPP/Maps/VehicleExampleMap.VehicleExampleMap:PersistentLevel.Ramp_79.StaticMeshComponent0
[2017.07.17-11.31.59:664][809] Primitive StaticMeshComponent /Game/VehicleCPP/Maps/VehicleExampleMap.VehicleExampleMap:PersistentLevel.Ramp_78.StaticMeshComponent0
[2017.07.17-11.31.59:664][809] Primitive StaticMeshComponent /Game/VehicleCPP/Maps/VehicleExampleMap.VehicleExampleMap:PersistentLevel.Ramp_77.StaticMeshComponent0
[2017.07.17-11.31.59:664][809] Primitive StaticMeshComponent /Game/VehicleCPP/Maps/VehicleExampleMap.VehicleExampleMap:PersistentLevel.Ramp_76.StaticMeshComponent0
[2017.07.17-11.31.59:664][809] Primitive StaticMeshComponent /Game/VehicleCPP/Maps/VehicleExampleMap.VehicleExampleMap:PersistentLevel.Ramp_75.StaticMeshComponent0
[2017.07.17-11.31.59:664][809] Primitive StaticMeshComponent /Game/VehicleCPP/Maps/VehicleExampleMap.VehicleExampleMap:PersistentLevel.Ramp_74.StaticMeshComponent0
[2017.07.17-11.31.59:664][809] Primitive StaticMeshComponent /Game/VehicleCPP/Maps/VehicleExampleMap.VehicleExampleMap:PersistentLevel.Wall5.StaticMeshComponent0
[2017.07.17-11.31.59:664][809] Primitive StaticMeshComponent /Game/VehicleCPP/Maps/VehicleExampleMap.VehicleExampleMap:PersistentLevel.Wall10_8.StaticMeshComponent0
[2017.07.17-11.31.59:664][809] Primitive StaticMeshComponent /Game/VehicleCPP/Maps/VehicleExampleMap.VehicleExampleMap:PersistentLevel.Wall19.StaticMeshComponent0
[2017.07.17-11.31.59:664][809] Primitive StaticMeshComponent /Game/VehicleCPP/Maps/VehicleExampleMap.VehicleExampleMap:PersistentLevel.Wall9.StaticMeshComponent0
[2017.07.17-11.31.59:664][809] Primitive StaticMeshComponent /Game/VehicleCPP/Maps/VehicleExampleMap.VehicleExampleMap:PersistentLevel.RoughTerrain_StaticMesh_4.StaticMeshComponent0
[2017.07.17-11.31.59:664][809] Primitive StaticMeshComponent /Game/VehicleCPP/Maps/VehicleExampleMap.VehicleExampleMap:PersistentLevel.Ramp_73.StaticMeshComponent0
[2017.07.17-11.31.59:664][809] Primitive StaticMeshComponent /Game/VehicleCPP/Maps/VehicleExampleMap.VehicleExampleMap:PersistentLevel.Ramp.StaticMeshComponent0
[2017.07.17-11.31.59:664][809] Primitive StaticMeshComponent /Game/VehicleCPP/Maps/VehicleExampleMap.VehicleExampleMap:PersistentLevel.Ramp_68.StaticMeshComponent0
[2017.07.17-11.31.59:664][809] Primitive StaticMeshComponent /Game/VehicleCPP/Maps/VehicleExampleMap.VehicleExampleMap:PersistentLevel.Ramp_69.StaticMeshComponent0
[2017.07.17-11.31.59:664][809] Primitive StaticMeshComponent /Game/VehicleCPP/Maps/VehicleExampleMap.VehicleExampleMap:PersistentLevel.Ramp_70.StaticMeshComponent0
[2017.07.17-11.31.59:664][809] Primitive StaticMeshComponent /Game/VehicleCPP/Maps/VehicleExampleMap.VehicleExampleMap:PersistentLevel.Ramp_71.StaticMeshComponent0
[2017.07.17-11.31.59:664][809] Primitive StaticMeshComponent /Game/VehicleCPP/Maps/VehicleExampleMap.VehicleExampleMap:PersistentLevel.Ramp_72.StaticMeshComponent0
[2017.07.17-11.31.59:664][809] Primitive StaticMeshComponent /Game/VehicleCPP/Maps/VehicleExampleMap.VehicleExampleMap:PersistentLevel.Wall4.StaticMeshComponent0
[2017.07.17-11.31.59:664][809] Primitive StaticMeshComponent /Game/VehicleCPP/Maps/VehicleExampleMap.VehicleExampleMap:PersistentLevel.Wall15.StaticMeshComponent0
[2017.07.17-11.31.59:664][809] Primitive StaticMeshComponent /Game/VehicleCPP/Maps/VehicleExampleMap.VehicleExampleMap:PersistentLevel.Wall7.StaticMeshComponent0
[2017.07.17-11.31.59:664][809] Primitive StaticMeshComponent /Game/VehicleCPP/Maps/VehicleExampleMap.VehicleExampleMap:PersistentLevel.Wall8.StaticMeshComponent0
[2017.07.17-11.31.59:670][810]Cmd: MAP CHECK NOTIFYRESULTS
[2017.07.17-11.31.59:670][810]MapCheck: New page: VehicleExampleMap - Jul 17, 2017, 5:31:59 PM
[2017.07.17-11.31.59:670][810]MapCheck:Error: Error WorldInfo_0 Maps need lighting rebuilt
[2017.07.17-11.31.59:690][810]MapCheck: Info Map check complete: 1 Error(s), 0 Warning(s), took 20.378ms to complete.

Thanks a lot. You made my day.