Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
05-30-2008, 02:54 PM
|
#1
|
|
LQ Newbie
Registered: May 2008
Posts: 25
Rep:
|
IBSng Installation
Hey there, there are a few threads concerning IBSng but they are all vague, none of them even listing the software. (Seems IBSng could be a few things) Well, I'm talking about the software (NOT the ISO - well at least I don't think unless they just compressed it in ISO form)
The software is located here
I try to start the service and get this message:
Code:
[root@server1 sc]# service ibs start
Starting IBS Core: nice: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
[FAILED]
Starting IBS Checker process:
/bin/bash: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory
[FAILED]
I do have both of these files. Where do I need to copy them for them to be recognized by IBS?
So any ideas?
-RageD
Last edited by RageD; 05-31-2008 at 11:50 AM.
Reason: NEW ERROR
|
|
|
|
05-30-2008, 04:17 PM
|
#2
|
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2012.8, Slack1337 DebSqueeze, +50+ other Linux OS, for test only.
Posts: 11,586
|
"IBSng :
Accounting and Billing program for ISPs with PrePaid VoIP/Dialup/Lan services."
How about reading all the files in folder 'docs' ?? e.g. 'INSTALL' for a start.
**The 'module' mentioned is a Python module, not at all to be loaded with modprobe,
and never to show up in 'dmesg'
|
|
|
|
05-30-2008, 11:32 PM
|
#3
|
|
LQ Newbie
Registered: May 2008
Posts: 25
Original Poster
Rep:
|
ok, thanks I'm not sure how I kept overlooking that "docs" directory. I'm still having the python issue though :S
Code:
[root@server1 sc]# sh setup.sh
YOU MUST BE ROOT TO RUN THIS SCRIPT
Enter system (default admin) password:
********
/usr/local/ibs/lib.py:3: DeprecationWarning: Non-ASCII character '\xa0' in file /usr/local/ibs/IPy.py on line 745, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details
import IPy
Traceback (most recent call last):
File "/usr/local/ibs/sc/md5crypt.py", line 4, in ?
import ibs_crypt
File "/usr/local/ibs/ibs_crypt.py", line 3, in ?
from lib import *
File "/usr/local/ibs/lib.py", line 4, in ?
from ibs_exceptions import *
File "/usr/local/ibs/ibs_exceptions.py", line 3, in ?
import defs
File "/usr/local/ibs/defs.py", line 2, in ?
import db_pg
File "/usr/local/ibs/db_pg.py", line 2, in ?
import pg
ImportError: No module named pg
-RageD
|
|
|
|
05-31-2008, 01:13 AM
|
#4
|
|
LQ Newbie
Registered: May 2008
Posts: 25
Original Poster
Rep:
|
Doh! For anyone who is having similar issues, PyGreSQL is what you need to fix there error!
-RageD
|
|
|
|
05-31-2008, 11:51 AM
|
#5
|
|
LQ Newbie
Registered: May 2008
Posts: 25
Original Poster
Rep:
|
I have a new error please look at the first post.
-RageD
|
|
|
|
05-31-2008, 05:09 PM
|
#6
|
|
LQ Newbie
Registered: May 2008
Posts: 25
Original Poster
Rep:
|
Does the "service" (e.g.: service blah start) command dump its output in a log anywhere? Maybe I can solve the issue if I can find such a log file.
-RageD
|
|
|
|
06-01-2008, 01:03 AM
|
#7
|
|
LQ Newbie
Registered: May 2008
Posts: 25
Original Poster
Rep:
|
Ok, I've gotten passed the minor speed bump by commenting out a line in the init.d script.
Now I have an interface issue:
Code:
108/4/31 12:56 errno: 8 str: Undefined index: key on file: /usr/local/ibs/interface/ibs/inc/login.php line :12 localtime() [<a href='function.localtime'>function.localtime</a>]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Los_Angeles' for 'PDT/-7.0/DST' instead
108/4/31 12:56 errno: 8 str: Undefined index: value on file: /usr/local/ibs/interface/ibs/inc/login.php line :23 localtime() [<a href='function.localtime'>function.localtime</a>]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Los_Angeles' for 'PDT/-7.0/DST' instead
108/4/31 12:58 errno: 8 str: Undefined index: key on file: /usr/local/ibs/interface/ibs/inc/login.php line :12 localtime() [<a href='function.localtime'>function.localtime</a>]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Los_Angeles' for 'PDT/-7.0/DST' instead
108/4/31 12:58 errno: 8 str: Undefined index: value on file: /usr/local/ibs/interface/ibs/inc/login.php line :23 localtime() [<a href='function.localtime'>function.localtime</a>]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Los_Angeles' for 'PDT/-7.0/DST' instead
No idea how to fix this. It's a PHP error.
Here is the PHP code: (Consists of the whole function)
Code:
function login($username,$password,$type)
{
$obj=new socket;
$ret=$obj->sockGet("login(auth_type={$type}\xffauth_name={$username}\xffauth_pass={$password}\xffauth_remoteaddr={$_SERVER["REMOTE_ADDR"]})",FALSE);
if(!is_array($ret))
return array(FALSE,"Internal error");
if($ret["key"]=="login" and $ret["value"]=="OK") (Line 12)
{
$pass=$obj->parseOutput($obj->sockRead());
if(is_array($pass) and $pass["key"]=="password")
$password=$pass["value"];
$_SESSION["auth_type"]=$type;
$_SESSION["auth_name"]=$username;
$_SESSION["auth_pass"]=$password;
$_SESSION["perms"]=array();
return array(TRUE,"");
}
return array(FALSE,$ret["value"]); (Line 23)
}
-RageD
Last edited by RageD; 06-01-2008 at 01:06 AM.
|
|
|
|
06-27-2008, 02:26 PM
|
#8
|
|
LQ Newbie
Registered: Dec 2006
Posts: 2
Rep:
|
Hello There,
I suggest to you get ISO format which is a Debian Linux + IBSng and check if IBSng matches your needed,
|
|
|
|
05-29-2009, 07:00 AM
|
#9
|
|
LQ Newbie
Registered: Mar 2007
Posts: 10
Rep:
|
IBSng Installation problem soloution
Hello Dear RageD
I've got all of the errors possible during the IBSng installation,
so i know about them
first of all befor you install the postgresql and pygresql, downgrade your python to 2.3.7
IBSng has some codes that are not compatible with the newer versions of the python, in the other hand the newer versions of python has some bugs in xmlrpc server.
after you downgrade the python to 2.3.7 install the postgresql and pygresql from the source with new python.
then install the IBSng again.
it should work.
for any problems during the installation contact me (mail) and tell whats your platform.
Best regards
Mehdi.Sadighian@Hotmail.com
http://00p00.com
python downgrade example (Slackware 12.2):
root@slackbox:~# removepkg python
root@slackbox:~# rm -rf /usr/lib/python2.5/
root@slackbox:~# cd /usr/src/
root@slackbox:/usr/src# wget http://python.org/ftp/python/2.3.7/Python-2.3.7.tar.bz2
root@slackbox:/usr/src# tar -jxvf Python-2.3.7.tar.bz2
root@slackbox:/usr/src# cd Python-2.3.7
root@slackbox:/usr/src/Python-2.3.7# ./configure --prefix=/usr/lib/python-2.3
root@slackbox:/usr/src/Python-2.3.7# make; make install
root@slackbox:/usr/src/Python-2.3.7# ln -sn /usr/lib/python-2.3/bin/python /usr/bin/
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 07:26 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|