LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 05-30-2008, 02:54 PM   #1
RageD
LQ Newbie
 
Registered: May 2008
Posts: 25

Rep: Reputation: 15
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
 
Old 05-30-2008, 04:17 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
"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'
 
Old 05-30-2008, 11:32 PM   #3
RageD
LQ Newbie
 
Registered: May 2008
Posts: 25

Original Poster
Rep: Reputation: 15
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
 
Old 05-31-2008, 01:13 AM   #4
RageD
LQ Newbie
 
Registered: May 2008
Posts: 25

Original Poster
Rep: Reputation: 15
Doh! For anyone who is having similar issues, PyGreSQL is what you need to fix there error!

-RageD
 
Old 05-31-2008, 11:51 AM   #5
RageD
LQ Newbie
 
Registered: May 2008
Posts: 25

Original Poster
Rep: Reputation: 15
I have a new error please look at the first post.

-RageD
 
Old 05-31-2008, 05:09 PM   #6
RageD
LQ Newbie
 
Registered: May 2008
Posts: 25

Original Poster
Rep: Reputation: 15
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
 
Old 06-01-2008, 01:03 AM   #7
RageD
LQ Newbie
 
Registered: May 2008
Posts: 25

Original Poster
Rep: Reputation: 15
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.
 
Old 06-27-2008, 02:26 PM   #8
miladmovie
LQ Newbie
 
Registered: Dec 2006
Posts: 2

Rep: Reputation: 0
Hello There,
I suggest to you get ISO format which is a Debian Linux + IBSng and check if IBSng matches your needed,
 
Old 05-29-2009, 07:00 AM   #9
mehdi.sadighian
LQ Newbie
 
Registered: Mar 2007
Posts: 10

Rep: Reputation: 1
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/
 
  


Reply

Tags
atapi, dmesg, modprobe, python


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I Install IBSng alnmostafa Linux - Software 1 12-15-2006 03:10 AM
How can I Install IBSng alnmostafa Linux - Software 1 12-15-2006 02:48 AM
Redhat/Linux Installation Support??? Is It Red hat installation problem??? wanux Red Hat 1 08-01-2006 10:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration