ADCHPP not run as deamon

Asked by ineverexist

hi,

please consult someone as I run adchpp as a daemon

when I use "./adchppd -c /home/ineverexist/adchpp/build/release-default/bin/config/" hub working ok

when i use "./adchppd -d -c /home/ineverexist/adchpp/build/release-default/bin/config/" hub not load the config files

Question information

Language:
English Edit question
Status:
Answered
For:
ADCH++ Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
poy (poy) said :
#1

works perfect for me... do you get any error message?

Revision history for this message
ineverexist (ineverexist) said :
#2

i run from console ./adchppd -c /home/adchpp/build/release-default/bin/config/

Starting
Processing HubName
Processing Description
Processing Log
Processing LogFile
Processing MaxSendSize
Processing MaxBufferSize
Processing BufferSize
Processing MaxCommandSize
Processing OverflowTimeout
Processing KeepSlowUsers
Processing BufferSize
Processing DisconnectTimeout
Processing LoginTimeout
Listening on port 2780 (secure: yes)
.,,,.
ADCH++ v2.4.0 (r240) Release running, press ctrl-c to exit...

adchpp run okok, hub working

if i run from console with parameter "-d" ./adchppd -d -c /home/adchpp/build/release-default/bin/config/

i dont see MOTD, i dont have keys, command +help not working, +stats working...

I think that the hub can not load the necessary files

<FROM CLIENT>
[09:28] *** Connecting to adcs://89.187.140.77:2780...
[09:28] *** Connected
[09:29] <ineverexist> +help
[09:29] <::Crystal::> Currently loaded scripts:
The following LUA scripts are loaded:
/home/adchpp/build/release-default/bin/Scripts/access.lua
 Used Memory: 184 KiB
/home/adchpp/build/release-default/bin/Scripts/history.lua
 Used Memory: 184 KiB
/home/adchpp/build/release-default/bin/Scripts/motd.lua
 Used Memory: 184 KiB

[09:29] <::Crystal::>
Bloom filter statistics:
Total outgoing searches: 0
Outgoing TTH searches: 0 (nan% of total)
Stopped outgoing searches: 0 (nan% of total, nan% of TTH searches
Approximate memory usage: 0 B, 0 B/client
</FROM CLIENT>

in the console i dont see any error

adchpp.log

2009-10-19 11:33:13: ScriptManager: Starting
2009-10-19 11:33:13: LuaScript: Error loading file: .../adchpp/build/release-default/bin/Scripts/access.lua:89: module 'json' not found:
        no field package.preload['json']
        no file './json.lua'
        no file '/usr/local/share/lua/5.1/json.lua'
        no file '/usr/local/share/lua/5.1/json/init.lua'
        no file '/usr/local/lib/lua/5.1/json.lua'
        no file '/usr/local/lib/lua/5.1/json/init.lua'
        no file './json.so'
        no file '/usr/local/lib/lua/5.1/json.so'
        no file '/usr/local/lib/lua/5.1/loadall.so'
        no file '/home/adchpp/build/release-default/bin/json.so'
2009-10-19 11:33:13: LuaScript: Error loading file: ...adchpp/build/release-default/bin/Scripts/history.lua:15: module 'json' not found:
        no field package.preload['json']
        no file './json.lua'
        no file '/usr/local/share/lua/5.1/json.lua'
        no file '/usr/local/share/lua/5.1/json/init.lua'
        no file '/usr/local/lib/lua/5.1/json.lua'
        no file '/usr/local/lib/lua/5.1/json/init.lua'
        no file './json.so'
        no file '/usr/local/lib/lua/5.1/json.so'
        no file '/usr/local/lib/lua/5.1/loadall.so'
        no file '/home/adchpp/build/release-default/bin/json.so'
2009-10-19 11:33:13: LuaScript: Error loading file: ...me/adchpp/build/release-default/bin/Scripts/motd.lua:14: module 'autil' not found:
        no field package.preload['autil']
        no file './autil.lua'
        no file '/usr/local/share/lua/5.1/autil.lua'
        no file '/usr/local/share/lua/5.1/autil/init.lua'
        no file '/usr/local/lib/lua/5.1/autil.lua'
        no file '/usr/local/lib/lua/5.1/autil/init.lua'
        no file './autil.so'
        no file '/usr/local/lib/lua/5.1/autil.so'
        no file '/usr/local/lib/lua/5.1/loadall.so'
        no file '/home/adchpp/build/release-default/bin/autil.so'
2009-10-19 11:33:13: PluginManager: Script.so loaded
2009-10-19 11:33:13: BloomManager: Starting
2009-10-19 11:33:13: PluginManager: Bloom.so loaded
2009-10-19 11:33:13: adchpp: ADCH++ v2.4.0 (r240) Release started as a daemon
2009-10-19 11:33:13: SocketManager: Starting

so its all :)

Revision history for this message
Toast (swetoast-deactivatedaccount) said :
#3

Toast suggests this article as an answer to your question:
FAQ #704: “ADCH++ 2.x: LUA errors when running under Linux”.

Can you help with this problem?

Provide an answer of your own, or ask ineverexist for more information if necessary.

To post a message you must log in.