Skip to content

Fatal error (code -3) #15

@RayyanTahir

Description

@RayyanTahir

Hi, I provided the binary to redis server but on server.open callback i get a fatal error with code "-3" and with the following stack trace:

"Error: Fatal error\n    
at Function.parseData (c:\Projects\self-attendance\node_modules\redis-server\RedisServer.js:184:22)\n    at Socket.dataListener (c:\Projects\self-attendance\node_modules\redis-server\RedisServer.js:235:38)\n    at emitOne (events.js:121:20)\n    
at Socket.emit (events.js:211:7)\n    
at addChunk (_stream_readable.js:263:12)\n    
at readableAddChunk (_stream_readable.js:250:11)\n   
at Socket.Readable.push (_stream_readable.js:208:10)\n    
at Pipe.onread (net.js:597:20)"

If I run the redis-server.exe manually it works fine as below:

PS C:\Program Files\Redis> ./redis-server.exe
[16236] 12 Sep 12:30:18 # Warning: no config file specified, using the default config. In order to specify a config file use 'redis-server /path/to/redis.conf'
[16236] 12 Sep 12:30:18 * Server started, Redis version 2.4.6
[16236] 12 Sep 12:30:18 # Open data file dump.rdb: No such file or directory
[16236] 12 Sep 12:30:18 * The server is now ready to accept connections on port 6379
[16236] 12 Sep 12:30:19 - 0 clients connected (0 slaves), 1179896 bytes in use
[16236] 12 Sep 12:30:25 - 0 clients connected (0 slaves), 1179896 bytes in use

I can't seem to figure out the cause of it. Any help will be appreciated. Thanks.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions