ADCH++ Thread
-
- Newbie
- Posts: 8
- Joined: 25 Feb 2009, 15:24
ADCH++ Thread
can someone tell me where i can find help for this hub because bzr version compiles ok, it runs ok, but when I'm connected i can't see anyone, even myself... heeelp oh yes, i've tried with latest official dc++ and latest bzr linuxdcpp and hub is compiled on debian lenny. TIA
Re: ADCH++
Did you make a debug build of ADCH++ ? if so you can always post the debug log of adch++ when it starts and whatever is going on with it here and we will gladly take a look at it and try to help you since part of the development team is here of ADCH++ or if you feel more like it better to take it up at the official bug tracker of ADCH++.
ADCH++ Lauchpad Bugreports Tracker
ADCH++ Launchpad Question Tracker
i made a small install script for Linux (Debian Distros)
ADCH++ Lauchpad Bugreports Tracker
ADCH++ Launchpad Question Tracker
i made a small install script for Linux (Debian Distros)
Code: Select all
echo Getting BZR Tool and Python
sudo apt-get install bzr python
echo Getting BZR Source of ADCH++ from launchpad
bzr branch lp:adchpp
cd adchpp
echo Installing the compilers and nessary development tools for compilation
sudo apt-get install gcc SCons swig
echo Creating a debug build of ADCH++ if you want a release build edit this script to scons mode=release
scons
clear
echo edit your adchpp.xml before going any further !!
wait
cp -rf etc /etc/adchpp
cp -rf plugins/Script/examples build/debug-default/bin/Scripts
-
- Member
- Posts: 78
- Joined: 26 Nov 2008, 17:04
Re: ADCH++
my psychic powers tell me you're trying to connect using "localhost:2780" (or whichever port number you've chosen), and you're forgetting to prepend that with "adc://" (by default DC++ assumes the hub is an NMDC).yapi wrote:can someone tell me where i can find help for this hub because bzr version compiles ok, it runs ok, but when I'm connected i can't see anyone, even myself... heeelp oh yes, i've tried with latest official dc++ and latest bzr linuxdcpp and hub is compiled on debian lenny. TIA
nice script, same should be usable in Red Hat / Fedora / CentOS, except that "apt-get" will have to be replaced by "yum".Toast wrote:i made a small install script for Linux (Debian Distros)
-
- Senior Member
- Posts: 328
- Joined: 04 Dec 2007, 07:25
- Location: Bucharest
- Contact:
Re: ADCH++
Good psychic powers poy, where did you develop them?
It's a very often mistake, I even added it to DSHub GUI to start preventing it...
It's a very often mistake, I even added it to DSHub GUI to start preventing it...
Just someone
-
- Member
- Posts: 78
- Joined: 26 Nov 2008, 17:04
Re: ADCH++
personal experience!Pietry wrote:Good psychic powers poy, where did you develop them?
-
- Newbie
- Posts: 8
- Joined: 25 Feb 2009, 15:24
Re: ADCH++
adc:// thing helped i didn't realize it was mandatory
here's some info:
is this the right location for Scripts dir since LuaScript: Error loading file: cannot open access.lua: No such file or directory? paths in xml files are not modified, only basic info and added ServerIp part which is missing in original config...
and ServerIp is not functional ATM as i can see
here's some info:
Code: Select all
server-1:/etc/adchpp# ls -R
.:
adchpp.xml logs Script.xml
./logs:
adchpp200902.log
server-1:/etc/adchpp#
Code: Select all
server-1:/etc/adchpp# cat logs/adchpp200902.log
2009-02-25 19:50:50: SocketManager: Starting
2009-02-25 19:50:50: ScriptManager: Starting
2009-02-25 19:50:50: LuaScript: Error loading file: cannot open access.lua: No such file or directory
2009-02-25 19:50:50: PluginManager: Script.so loaded
2009-02-25 19:50:50: BloomManager: Starting
2009-02-25 19:50:50: PluginManager: Bloom.so loaded
2009-02-25 19:50:50: adchpp: ADCH++ v2.2.0 (r0) Debug started as a daemon
server-1:/etc/adchpp#
Code: Select all
server-1:/home/yapi/adchpp/build/debug-default/bin/Scripts# ls
access.lua autil.lua history.lua json.lua
server-1:/home/yapi/adchpp/build/debug-default/bin/Scripts#
and ServerIp is not functional ATM as i can see
Code: Select all
server-1:/etc# netstat -apn|grep adc
tcp 0 0 0.0.0.0:2780 0.0.0.0:* LISTEN 14793/adchppd
tcp 0 x.x.x.x:2780 x.x.x.x:36424 ESTABLISHED 14793/adchppd
server-1:/etc#
Re: ADCH++
you have to edit your scripts.xml thats in the etc folder to the path where the scripts are located
if you run into the problem with "your ip is" the run
export LUA_PATH='/adchpp/build/debug-default/bin'
i ran into that today when i gave i trail run
btw thx for giving it a run we are kinda in the testing phase with adch++
Code: Select all
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<ScriptPlugin>
<Engine language="lua" scriptPath="yourpathto/adchpp/plugins/Script/examples">
<Script>access.lua</Script>
</Engine>
</ScriptPlugin>
export LUA_PATH='/adchpp/build/debug-default/bin'
i ran into that today when i gave i trail run
btw thx for giving it a run we are kinda in the testing phase with adch++
-
- Newbie
- Posts: 8
- Joined: 25 Feb 2009, 15:24
Re: ADCH++
ok, id did fresh install with Toast's script and it's working great, except SCons pkg which should be "scons". now
Script.xml is:
then:
export LUA_PATH='/home/yapi/adchpp/build/debug-default/bin'
and log file is:
without export part it was:
now, what am I doing wrong ?!
Script.xml is:
Code: Select all
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<ScriptPlugin>
<Engine language="lua" scriptPath="/home/yapi/adchpp/build/debug-default/bin/Scripts/">
<Script>access.lua</Script>
</Engine>
</ScriptPlugin>
export LUA_PATH='/home/yapi/adchpp/build/debug-default/bin'
and log file is:
Code: Select all
2009-02-25 21:55:51: SocketManager: Starting
2009-02-25 21:55:51: ScriptManager: Starting
2009-02-25 21:55:51: LuaScript: Error loading file: error loading module 'luadchpp' from file '/home/yapi/adchpp/build/debug-default/bin':
cannot read /home/yapi/adchpp/build/debug-default/bin: Is a directory
2009-02-25 21:55:51: PluginManager: Script.so loaded
2009-02-25 21:55:51: BloomManager: Starting
2009-02-25 21:55:51: PluginManager: Bloom.so loaded
2009-02-25 21:55:51: adchpp: ADCH++ v2.2.0 (r0) Debug started as a daemon
Code: Select all
2009-02-25 21:36:04: SocketManager: Starting
2009-02-25 21:36:04: ScriptManager: Starting
2009-02-25 21:36:04: LuaScript: Error loading file: access.lua:8: module 'luadchpp' not found:
no field package.preload['luadchpp']
no file './luadchpp.lua'
no file '/usr/local/share/lua/5.1/luadchpp.lua'
no file '/usr/local/share/lua/5.1/luadchpp/init.lua'
no file '/usr/local/lib/lua/5.1/luadchpp.lua'
no file '/usr/local/lib/lua/5.1/luadchpp/init.lua'
no file './luadchpp.so'
no file '/usr/local/lib/lua/5.1/luadchpp.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
no file 'luadchpp.so'
2009-02-25 21:36:04: PluginManager: Script.so loaded
2009-02-25 21:36:04: BloomManager: Starting
2009-02-25 21:36:04: PluginManager: Bloom.so loaded
2009-02-25 21:36:04: adchpp: ADCH++ v2.2.0 (r0) Debug started as a daemon
Re: ADCH++
Now your at the same place as me this is the tricky part poy tried to help me with this earlier at DCDev but we didn't find a solution i will however ask Arne (lead developer of ADCH++) about the solution atm your hub works everyone else can connect to it but not you so once the LUA IP check works then everything its okey.
-
- Newbie
- Posts: 8
- Joined: 25 Feb 2009, 15:24
Re: ADCH++
Ok. Here's solution
and log file is:
if it's not working for u try
sudo apt-get install lua5.1 liblua5.1-0
Code: Select all
mkdir -p /usr/local/lib/lua/5.1
cp /path-to-the-adch++-dir/adchpp/build/debug-default/bin/luadchpp.so /usr/local/lib/lua/5.1/
export LUA_PATH='/path-to-the-adch++-dir/adchpp/build/debug-default/bin/Scripts/?.lua'
Code: Select all
2009-02-26 00:42:04: SocketManager: Starting
2009-02-26 00:42:04: ScriptManager: Starting
2009-02-26 00:42:04: LuaScript: Loaded access.lua
2009-02-26 00:42:04: PluginManager: Script.so loaded
2009-02-26 00:42:04: BloomManager: Starting
2009-02-26 00:42:04: PluginManager: Bloom.so loaded
2009-02-26 00:42:04: adchpp: ADCH++ v2.2.0 (r0) Debug started as a daemon
sudo apt-get install lua5.1 liblua5.1-0