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

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

Author Topic: Bebot 0.4.2 linux problem  (Read 2798 times)

0 Members and 2 Guests are viewing this topic.

Offline neukku1

  • BeBot Rookie
  • *
  • Posts: 3
  • Karma: +0/-0
Bebot 0.4.2 linux problem
« on: November 03, 2007, 06:10:01 pm »
Running bebot 0.3x now and trying to go 0.4.2. No go. doing new db and configured all things like they was in 0.3 but when i do php StartBot.php nothing happend. No logs (is set all) no tables in db. no connect. no error mess etc.

Tried use copy from 0.3x db but still nothing.

Mysql is 4.1.11 and php is 4.2.2 .. could that php ver be problem ? Its sooo hard to update that so i really hope i don't need to do that :D

And can i use old db that i use now in 0.3x ?

Offline Tichy

  • BeBot User
  • **
  • Posts: 42
  • Karma: +0/-0
Re: Bebot 0.4.2 linux problem
« Reply #1 on: November 04, 2007, 07:06:21 pm »
Is there any output on the console? Is you php binary named 'php' and in the search path? The default php.ini used by the StartBot.php script contains a line:

Code: [Select]
; Mainly for windows where additional modules are always required
extension_dir = ./php_extension/

On most Unix systems this brings a lot of trouble, since php is unable to find its mysql etc. extensions.

The php and mysql version seems to be ok.

Offline Blueeagle

  • Omnipotent
  • BeBot Hero
  • ******
  • Posts: 323
  • Karma: +0/-0
Re: Bebot 0.4.2 linux problem
« Reply #2 on: November 05, 2007, 12:45:55 am »
I cannot see how you can get no output at all when running "php StartBot.php" in the console. To help debug try the following commands

Code: [Select]
which php

php --version

That should give some useful info to help start debugging.
The only problem that can't be solved by adding another wrapper is having too many wrappers.

Offline neukku1

  • BeBot Rookie
  • *
  • Posts: 3
  • Karma: +0/-0
Re: Bebot 0.4.2 linux problem
« Reply #3 on: November 05, 2007, 12:43:20 pm »
Yep no output at all :D

which php
/usr/bin/php

php --version gives me .. nothing too :D

ok its broken and should be upgraded i think .. i try other machine with php 5.1.4 and i got nice "logo" and text "you need socket extension" etc so .. It works better in new version i think.

php --version < hangs
php --v      < hangs
php --help < hangs
php -v
4.2.2

php --help < hangs

so .. :D i do upgrade and hope that helps.. thanks eveyone.
« Last Edit: November 05, 2007, 12:45:34 pm by neukku1 »

Offline neukku1

  • BeBot Rookie
  • *
  • Posts: 3
  • Karma: +0/-0
Re: Bebot 0.4.2 linux problem
« Reply #4 on: November 06, 2007, 08:56:52 pm »
Closed. upgrading php and install all extensions.. 0.4.2 is up.
Miss table upgrade thing from 0.3.x to 0.4.x

Thanks all..

 

* Recent Posts
Com bot module by bitnykk
[November 25, 2024, 05:36:11 pm ]


0.8.x updates for AO by bitnykk
[June 23, 2024, 03:19:47 pm ]


0.8.x updates for AoC by bitnykk
[June 23, 2024, 03:19:44 pm ]


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


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

* Who's Online
  • Dot Guests: 192
  • 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