collapse collapse
* User Info
 
 
Welcome, Guest. Please login or register.
* Search

* Board Stats
  • stats Total Members: 989
  • stats Total Posts: 18363
  • stats Total Topics: 2500
  • stats Total Categories: 7
  • stats Total Boards: 35
  • stats Most Online: 1144

Author Topic: bebot not loading.  (Read 3983 times)

0 Members and 1 Guest are viewing this topic.

Offline Keepbrave

  • BeBot User
  • **
  • Posts: 31
  • Karma: +0/-0
    • European Community United
bebot not loading.
« on: September 16, 2007, 12:11:01 am »
I have just got the new version of bebot after a long absence and uploaded it to my site.
I had my server upgraded to php5 so had to re-install aokex.

I have either install kex wrong or somethign si wrong on ym server as i am getting the following error.

Code: [Select]
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613//usr/local/lib/php/extensions/no-debug-non-zts-20020429/aokex.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613//usr/local/lib/php/extensions/no-debug-non-zts-20020429/aokex.so: cannot open shared object file: No such file or directory in Unknown on line 0
Could not open input file: startbot.php

To install aokex i followed the instructions.. i logged in as root and done 2yum install php-devel" as i have centOS

then as i could not do it as root for some reason i logged into my user account and installed aokex by doing
phpize
./configure --with-aokex=shared
make
make install

what else am i doing wrong?



Offline Blueeagle

  • Omnipotent
  • BeBot Hero
  • ******
  • Posts: 323
  • Karma: +0/-0
Re: bebot not loading.
« Reply #1 on: September 16, 2007, 02:17:52 am »
http://bebot.link/index.php/topic,678.0.html so aokex is not the issue here. Could it be case-sensitive filename or could it be a permissions error?

Edit: I overlooked your OS was posted
« Last Edit: September 16, 2007, 02:20:00 am by Blueeagle »
The only problem that can't be solved by adding another wrapper is having too many wrappers.

Offline Keepbrave

  • BeBot User
  • **
  • Posts: 31
  • Karma: +0/-0
    • European Community United
Re: bebot not loading.
« Reply #2 on: September 16, 2007, 02:19:03 am »
Ok with help from my host i have got aokex installed.
i have downloaded a fresh bebot and cleared my whole server of old bebot files and sql databases..

now the really really frustrating part.

Code: [Select]
[root@vps607 ecubot]# dir
ChangeLog  Licence.txt  ReadMe.txt  StartBot.bat  StartDebugBot.bat  core    extra  modules  themes
Credits    Main.php     Sources     StartBot.php  conf               custom  log    php.ini  txt
[root@vps607 ecubot]# php startbot.php
Could not open input file: startbot.php
[root@vps607 ecubot]#

??? It will not even execute the bot at all now. Any advice?

Offline Keepbrave

  • BeBot User
  • **
  • Posts: 31
  • Karma: +0/-0
    • European Community United
Re: bebot not loading.
« Reply #3 on: September 16, 2007, 02:19:44 am »
http://bebot.link/index.php/topic,678.0.html so aokex is not the issue here. Which operating system are you running? Could it be case-sensitive filename on linux or could it be a permissions error?


I am running Cent-OS
i have tried this in root and the ecu username.

Offline Blueeagle

  • Omnipotent
  • BeBot Hero
  • ******
  • Posts: 323
  • Karma: +0/-0
Re: bebot not loading.
« Reply #4 on: September 16, 2007, 02:21:31 am »
So then you read in the linked post that aokex is no longer needed nor supported then, right?

try: php StartBot.php  (ie note the case on the filenames)
The only problem that can't be solved by adding another wrapper is having too many wrappers.

Offline Keepbrave

  • BeBot User
  • **
  • Posts: 31
  • Karma: +0/-0
    • European Community United
Re: bebot not loading.
« Reply #5 on: September 16, 2007, 02:29:20 am »
tried case sensitive aswell..

Even if aokex is no longer needed me now having it installed should not cause a problem, so i am still down to the fact it wont load with a simple "php startbot.php" command.

i have tried
php startbot.php
php Startbot.php
php -f startbot.php

Offline Blueeagle

  • Omnipotent
  • BeBot Hero
  • ******
  • Posts: 323
  • Karma: +0/-0
Re: bebot not loading.
« Reply #6 on: September 16, 2007, 02:34:10 am »
Code: [Select]
[root@vps607 ecubot]# dir
ChangeLog  Licence.txt  ReadMe.txt  StartBot.bat  StartDebugBot.bat  core    extra  modules  themes
Credits    Main.php     Sources     StartBot.php  conf               custom  log    php.ini  txt
[root@vps607 ecubot]# php startbot.php
Could not open input file: startbot.php
[root@vps607 ecubot]#

Do note that the filename is StartBot.php, not startbot.php nor Startbot.php. If you type php Start[TAB] then centos should auto-complete with the correct case (ie capital S and a capital B).
The only problem that can't be solved by adding another wrapper is having too many wrappers.

Offline Keepbrave

  • BeBot User
  • **
  • Posts: 31
  • Karma: +0/-0
    • European Community United
Re: bebot not loading.
« Reply #7 on: September 16, 2007, 02:37:19 am »
i just this min worked out it had a capital B as well :(
i feel such a noob..

now i got a php error as i changed line 67 to /usr/local/bin/php and it doesn't liek it so time to put it back to what it was at default

Offline Keepbrave

  • BeBot User
  • **
  • Posts: 31
  • Karma: +0/-0
    • European Community United
Re: bebot not loading.
« Reply #8 on: September 16, 2007, 02:39:57 am »
AT LAST!

hehe, thanks for pointing out my stupid error.

Now i have to update the xml as roster update failed, but it is 2am almost so i think i will be doing that tomorrow!

EDIT: And i have only just noticed this is in the wrong forum too :( i am soo embarrassed

 

* Recent Posts
[AoC] special char for items module by bitnykk
[February 09, 2024, 09:41:18 pm]


0.8.x updates for AoC by bitnykk
[January 30, 2024, 11:16:08 pm]


0.8.x updates for AO by bitnykk
[January 30, 2024, 11:15:37 pm]


BeBot still alive & kicking ! by bitnykk
[December 17, 2023, 12:58:44 am]


Bebot and Rasberry by bitnykk
[November 29, 2023, 11:04:14 pm]

* Who's Online
  • Dot Guests: 536
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.
* Forum Staff
bitnykk admin bitnykk
Administrator
Khalem admin Khalem
Administrator
WeZoN gmod WeZoN
Global Moderator
SimplePortal 2.3.7 © 2008-2024, SimplePortal