IoTKETI / Mobius

oneM2M IoT Server Platform
http://developers.iotocean.org/archives/module/mobius
BSD 3-Clause "New" or "Revised" License
134 stars 87 forks source link

Error: bind EADDRINUSE null:3306 after running " node mobius.js #34

Closed topkim993 closed 4 years ago

topkim993 commented 4 years ago

Hello,

I found issue when following guidance of Mobius installation.

My settings are as follows.

  1. The conf.js file is entered correctly.
  2. The mobius.js file is set as default. (global.usedbhost = 'localhost';)
  3. There are no other processes running.

Please share your advice and suggestions.

Thank you

After running "node mobius.js" i got these errors :

topkim@gimjeongsang-ui-MacBookPro Mobius-2.4.36 % node mobius

Production Mode

Garbage collection is not exposed

CPU Count: 16

select_ri_lookup /Mobius: 2.361ms

insert_cb /Mobius: 5.358ms

""

Production Mode

Garbage collection is not exposed

Production Mode

Garbage collection is not exposed

Production Mode

Production Mode

Garbage collection is not exposed

Garbage collection is not exposed

Production Mode

Garbage collection is not exposed

events.js:288

      throw er; // Unhandled 'error' event

      ^

Error: bind EADDRINUSE null:3306

    at listenOnMasterHandle (net.js:1376:18)

    at rr (internal/cluster/child.js:132:12)

    at Worker.<anonymous> (internal/cluster/child.js:99:7)

    at process.onInternalMessage (internal/cluster/utils.js:47:8)

    at process.emit (events.js:323:22)

    at emit (internal/child_process.js:876:12)

    at processTicksAndRejections (internal/process/task_queues.js:85:21)

Emitted 'error' event on Server instance at:

    at listenOnMasterHandle (net.js:1377:21)

    at rr (internal/cluster/child.js:132:12)

    [... lines matching original stack trace ...]

    at processTicksAndRejections (internal/process/task_queues.js:85:21) {

  errno: 'EADDRINUSE',

  code: 'EADDRINUSE',

  syscall: 'bind',

  address: null,

  port: 3306

}

pxyws server (192.168.0.6) running at 7577 port

[ My Environment ]