
* paths:
 - main: '/4D/mg_v12/Manageri_v12_Build/Compiled Database/Manageri v12.4dbase/Resources/Lua/'
 - bin : '/4D/mg_v12/Manageri_v12_Build/Compiled Database/Manageri v12.4dbase/Resources/bin/bin_osx_x86/'
 - pref: '/4D/mg_v12/Manageri_v12_Build/Compiled Database/Manageri v12.4dbase/Resources/Lua/preference/'
 - git : '/Users/pasi/ma-git/'
 - 4D  : '/4D/mg_v12/Manageri_v12_Build/Compiled Database/Manageri v12.4dbase/'
	12/06/2020	17:21:52	lx	(1. Application process)

nc_server_4d.runServerOnStart run time: 0.0008 s	{"application_type":0, "user":"MG_PM"}	/4D/mg_v12/Manageri_v12_Build/Compiled Database/Manageri v12.4dbase/Resources/Lua/manager/4d/.	12/06/2020	17:21:52	lx	(1. Application process)

Käynnisteään Tcp palvelin 2.	12/06/2020	17:21:52	_lx_SERVER	(4. palvelin)


* paths:
 - main: '/4D/mg_v12/Manageri_v12_Build/Compiled Database/Manageri v12.4dbase/Resources/Lua/'
 - bin : '/4D/mg_v12/Manageri_v12_Build/Compiled Database/Manageri v12.4dbase/Resources/bin/bin_osx_x86/'
 - pref: '/4D/mg_v12/Manageri_v12_Build/Compiled Database/Manageri v12.4dbase/Resources/Lua/preference/'
 - git : '/Users/pasi/ma-git/'
 - 4D  : '/4D/mg_v12/Manageri_v12_Build/Compiled Database/Manageri v12.4dbase/'
	12/06/2020	17:21:53	lx	(4. palvelin)

poll.expand_fds: 10, old fds: nil, new fds: cdata<struct pollfd *>: 0x17208e20, size: 80.	12/06/2020	17:21:54	lx	(4. palvelin)

********************* /4D/mg_v12/Manageri_v12_Build/Compiled Database/Manageri v12.4dbase/Resources/Lua/ *********************.	12/06/2020	17:21:54	lx	(4. palvelin)

cpu performance: 16 516 129, os: OSX x86, using: rapidjson_sse4.2.	12/06/2020	17:21:54	lx	(4. palvelin)

CPU features: vender:GenuineIntel idmax:13 step:9 model:58 family:6 type:0 fpu:1 mmx:1 sse:1 sse2:1 htt:1 ia64:0 sse3:1 vmx:1 ssse3:1 fma:0 sse4.1:1 sse4.2:1 popcnt:1 aes:1 avx:1 hypervisor:0 bmi1:0 avx2:0 bmi2:0 avx512f:0 avx512dq:0 avx512ifma:0 avx512pf:0 avx512er:0 avx512cd:0 sha:0 avx512bw:0 avx512vl:0 avx512vbmi:0 .	12/06/2020	17:21:54	lx	(4. palvelin)

arguments: '[
	5949
]'.	12/06/2020	17:21:54	lx	(4. palvelin)

ma_server: debugLevel(0):0  port(5958):5949  closeConnection(0):0.	12/06/2020	17:21:54	lx	(4. palvelin)

1. Loading plugin: worker/auth_worker.	12/06/2020	17:21:54	lx	(4. palvelin)

2. Loading plugin: worker/protocol_worker.	12/06/2020	17:21:54	lx	(4. palvelin)

3. Loading plugin: worker/query_worker.	12/06/2020	17:21:54	lx	(4. palvelin)

4. Loading plugin: worker/web_worker.	12/06/2020	17:21:54	lx	(4. palvelin)

5. Loading plugin: custom/sop/warehouse_control.	12/06/2020	17:21:54	lx	(4. palvelin)

All plugins have been loaded.	12/06/2020	17:21:54	lx	(4. palvelin)

--- server started in 0.2001 seconds, 2020-06-12 17:21:54, used memory 2950.2 kb ---.	12/06/2020	17:21:54	lx	(4. palvelin)


error:    SOCKET ERROR: listen_socket:bind for port 5949 failed with error: (-1) Unknown error
  [stack traceback:
	/Users/pasi/ma-git/nc-server/source/lib/util.lua:491: in function 'printError'
	/Users/pasi/ma-git/nc-server/source/lib/net_socket.lua:172: in function 'cleanup'
	/Users/pasi/ma-git/nc-server/source/lib/lib_tcp.lua:749: in function 'listen'
	/Users/pasi/ma-git/nc-server/source/lib/server.lua:423: in function 'serverRun'
	/Users/pasi/ma-git/nc-server/source/manager/ma_server.lua:163: in function 'server'
	...pasi/ma-git/nc-server/source/manager/4d/nc_server_4d.lua:159: in function 'method'
	.../pasi/ma-git/nc-server/source/manager/4d/run_from_4d.lua:56: in function <.../pasi/ma-git/nc-server/source/manager/4d/run_from_4d.lua:18>]
	12/06/2020	17:21:54	lx	(4. palvelin)


  ***  there is another instance of this program or some other program using the port  ***  .	12/06/2020	17:21:54	lx	(4. palvelin)

error: server has not been started - quit-lx-server.	12/06/2020	17:21:54	lx	(4. palvelin)

error:    SOCKET ERROR: listen_socket:bind for port 5949 failed with error: (-1) Unknown error
  [stack traceback:
	/Users/pasi/ma-git/nc-server/source/lib/util.lua:491: in function 'printError'
	/Users/pasi/ma-git/nc-server/source/lib/net_socket.lua:172: in function 'cleanup'
	/Users/pasi/ma-git/nc-server/source/lib/lib_tcp.lua:749: in function 'listen'
	/Users/pasi/ma-git/nc-server/source/lib/server.lua:423: in function 'serverRun'
	/Users/pasi/ma-git/nc-server/source/manager/ma_server.lua:163: in function 'server'
	...pasi/ma-git/nc-server/source/manager/4d/nc_server_4d.lua:159: in function 'method'
	.../pasi/ma-git/nc-server/source/manager/4d/run_from_4d.lua:56: in function <.../pasi/ma-git/nc-server/source/manager/4d/run_from_4d.lua:18>].	12/06/2020	17:21:54	_lx_SERVER	(4. palvelin)

error: server has not been started - quit-lx-server.	12/06/2020	17:21:54	lx	(4. palvelin)

error: server has not been started - quit-lx-server.	12/06/2020	17:21:54	_lx_SERVER	(4. palvelin)


warning: -*-ERR: close socket is nil
	12/06/2020	17:21:54	lx	(4. palvelin)


warning: -*-ERR: close socket is nil
	12/06/2020	17:21:54	lx	(4. palvelin)


 -- Server statistics --
answerCount:          0
poll.fd_count:        0
pollCount:            0
pollInCount:          0
pollOutCount:         0
pollCloseCount:       0
pollErrCount:         0
fd add/remove count:  0/0
totalBytesReceived:   0
totalBytesSent:       0.	12/06/2020	17:21:54	lx	(4. palvelin)

--- server stopped ---.	12/06/2020	17:21:54	lx	(4. palvelin)

finalizer: free p1	cdata<void *>: 0x17208e20.	12/06/2020	17:21:55	lx	(4. palvelin)

Tcp palvelin 2 sammutettu.	12/06/2020	17:21:55	_lx_SERVER	(4. palvelin)


* paths:
 - main: '/4D/mg_v12/Manageri_v12_Build/Compiled Database/Manageri v12.4dbase/Resources/Lua/'
 - bin : '/4D/mg_v12/Manageri_v12_Build/Compiled Database/Manageri v12.4dbase/Resources/bin/bin_osx_x86/'
 - pref: '/4D/mg_v12/Manageri_v12_Build/Compiled Database/Manageri v12.4dbase/Resources/Lua/preference/'
 - git : '/Users/pasi/ma-git/'
 - 4D  : '/4D/mg_v12/Manageri_v12_Build/Compiled Database/Manageri v12.4dbase/'
	12/06/2020	17:23:17	lx	(1. Application process)


sqlQueryExecute '', sql: SELECT prf.json_data
 FROM preference prf
 WHERE 
 prf.name_id = 'system/ma_server_start.json' AND prf.organization_id = 0.	12/06/2020	17:23:18	lx	(1. Application process)

sqlQueryExecute time: 0 ms, delay from previous: 0 ms, 2020-06-12 17:23:18.874.	12/06/2020	17:23:18	lx	(1. Application process)

query 'SELECT prf.json_data
 FROM preference prf
 WHERE 
 prf.name_id = 'system/ma_server_start.json' AND prf.organization_id = 0', postgre result load time: 0.003722 seconds, rows: 1
	12/06/2020	17:23:18	lx	(1. Application process)

nc_server_4d.runServerOnStart run time: 0.0044 s	{"application_type":0, "user":"MG_PM"}	/4D/mg_v12/Manageri_v12_Build/Compiled Database/Manageri v12.4dbase/Resources/Lua/manager/4d/.	12/06/2020	17:23:18	lx	(1. Application process)

Käynnisteään Tcp palvelin 2.	12/06/2020	17:23:18	_lx_SERVER	(4. palvelin)


* paths:
 - main: '/4D/mg_v12/Manageri_v12_Build/Compiled Database/Manageri v12.4dbase/Resources/Lua/'
 - bin : '/4D/mg_v12/Manageri_v12_Build/Compiled Database/Manageri v12.4dbase/Resources/bin/bin_osx_x86/'
 - pref: '/4D/mg_v12/Manageri_v12_Build/Compiled Database/Manageri v12.4dbase/Resources/Lua/preference/'
 - git : '/Users/pasi/ma-git/'
 - 4D  : '/4D/mg_v12/Manageri_v12_Build/Compiled Database/Manageri v12.4dbase/'
	12/06/2020	17:23:19	lx	(4. palvelin)

poll.expand_fds: 10, old fds: nil, new fds: cdata<struct pollfd *>: 0x4c3377d0, size: 80.	12/06/2020	17:23:19	lx	(4. palvelin)

********************* /4D/mg_v12/Manageri_v12_Build/Compiled Database/Manageri v12.4dbase/Resources/Lua/ *********************.	12/06/2020	17:23:19	lx	(4. palvelin)

cpu performance: 15 515 152, os: OSX x86, using: rapidjson_sse4.2.	12/06/2020	17:23:19	lx	(4. palvelin)

CPU features: vender:GenuineIntel idmax:13 step:9 model:58 family:6 type:0 fpu:1 mmx:1 sse:1 sse2:1 htt:1 ia64:0 sse3:1 vmx:1 ssse3:1 fma:0 sse4.1:1 sse4.2:1 popcnt:1 aes:1 avx:1 hypervisor:0 bmi1:0 avx2:0 bmi2:0 avx512f:0 avx512dq:0 avx512ifma:0 avx512pf:0 avx512er:0 avx512cd:0 sha:0 avx512bw:0 avx512vl:0 avx512vbmi:0 .	12/06/2020	17:23:19	lx	(4. palvelin)

arguments: '[
	5949
]'.	12/06/2020	17:23:19	lx	(4. palvelin)

ma_server: debugLevel(0):0  port(5958):5949  closeConnection(0):0.	12/06/2020	17:23:19	lx	(4. palvelin)

1. Loading plugin: worker/auth_worker.	12/06/2020	17:23:19	lx	(4. palvelin)

2. Loading plugin: worker/protocol_worker.	12/06/2020	17:23:19	lx	(4. palvelin)

3. Loading plugin: worker/query_worker.	12/06/2020	17:23:19	lx	(4. palvelin)

4. Loading plugin: worker/web_worker.	12/06/2020	17:23:19	lx	(4. palvelin)

5. Loading plugin: custom/sop/warehouse_control.	12/06/2020	17:23:19	lx	(4. palvelin)

All plugins have been loaded.	12/06/2020	17:23:19	lx	(4. palvelin)

--- server started in 0.1444 seconds, 2020-06-12 17:23:19, used memory 2954.3 kb ---.	12/06/2020	17:23:19	lx	(4. palvelin)

MA udp server waiting on: 127.0.0.1:5948/, 192.168.32.6192.168.32.5192.168.0.210.37.129.2:5948/.	12/06/2020	17:23:19	lx	(4. palvelin)

MA tcp server waiting on:  http://127.0.0.1:5949/,  http://192.168.32.6192.168.32.5192.168.0.210.37.129.2:5949/
                          https://127.0.0.1:5949/, https://192.168.32.6192.168.32.5192.168.0.210.37.129.2:5949/
	12/06/2020	17:23:19	lx	(4. palvelin)


 -- Server statistics --
answerCount:          0
poll.fd_count:        0
pollCount:            56
pollInCount:          0
pollOutCount:         0
pollCloseCount:       0
pollErrCount:         0
fd add/remove count:  2/2
totalBytesReceived:   0
totalBytesSent:       0.	12/06/2020	17:23:20	lx	(4. palvelin)

--- server stopped ---.	12/06/2020	17:23:20	lx	(4. palvelin)

finalizer: free p1	cdata<void *>: 0x4c3377d0.	12/06/2020	17:23:20	lx	(4. palvelin)

