Re: Raspberry PI synchronet problems
By: Denn to KK4QBN on Thu Feb 15 2018 07:58:31
De> Synchronet Console for Linux Version 3.17a Copyright 2016 Rob Swindell
De> !SBBSCTRL environment variable not set, using default value: /sbbs/ctrl
De> !ERROR 2 (No such file or directory) opening /sbbs/ctrl/sbbs.ini
De> Using default initialization values
De> !ERROR 2 changing directory to: /sbbs/ctrl
De> Loading configuration files from /sbbs/ctrl
De> !ERROR Loading Configuration Files: 2 (No such file or directory) opening
De> /sbbs/ctrl/main.cnf
you can set your SBBSCTRL environ var in many places, like ~/.bashrc ~/profile
and under etc. but none of them still EVER work from me so I created a script
to run sbbs console.
#!/bin/bash
set SBBSCTRL=/sbbs/ctrl/
set LD_LIBRARY_PATH=/sbbs/exec/
export SBBSCTRL=/sbbs/ctrl/
export LD_LIBRARY_PATH=/sbbs/exec/
cd /sbbs/exec
sudo ./sbbs -unkk4qbn -ugk4qbn -hnkk4qbn.synchro.net -gi -nh -tf1 -tl10 -ta
exit
The script will ask your sudo passwd. notice I have LD_LIBRARY_PATH setup also
because I was hacing issues with that..
I set these variables up in all the correct place, yet sbbs still states they
are not setup
on the lines:
cd /sbbs/exec
sudo ./sbbs -unUNAME -ugUGRP -hnHOSTNAME -gi -nh -tf1 -tl10 -ta
depending on YOUR setup yo do not need to pass that many switches, but you
could:
cd /sbbs/ctrl
sudoo /sbbs/exec/sbbs --un -ug.. so on and so forth..
and I have /sbbs symlinked to my ~/kk4qbn/sbbs.
like I said.. even though I have set these vairables up like ALL FAQS have
shown me to, SBBS still cannot pick the env var up.. under debian.
--
Tim Smith (KK4QBN)
KK4QBN BBS
---
* Synchronet * KK4QBN BBS - kk4qbn.com - kk4qbn.synchro.net - Chatsworth GA
USA
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
|