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: Sockets extention required to run this bot  (Read 2098 times)

0 Members and 1 Guest are viewing this topic.

Offline DEBA

  • BeBot Rookie
  • *
  • Posts: 5
  • Karma: +0/-0
Sockets extention required to run this bot
« on: August 09, 2008, 12:52:05 am »
Hallo,

first of all, my english is very bad, so sorry for the next lines.
I have a VServer with Suse 10.3. With the help of this forum i was able to config the Bot as far as this problem is happening.
If I start the bot with "php5 StartBot.php" this will be the result:
===================================================

    _/_/_/              _/_/_/                _/

   _/    _/    _/_/    _/    _/    _/_/    _/_/_/_/

  _/_/_/    _/_/_/_/  _/_/_/    _/    _/    _/

 _/    _/  _/        _/    _/  _/    _/    _/

_/_/_/      _/_/_/  _/_/_/      _/_/        _/_/

         An Anarchy Online Chat Automaton

             v.0.5.2.svn(snapshot) - PHP 5.2.6

===================================================

Sockets extention required to run this bot


It repeats in an endless loop.
There are no more errors.
I looked at the php.ini where the path is for the expansion

; The directory under which PHP opens the script using /~username used only
; if nonempty.
user_dir =

; Directory in which the loadable extensions (modules) reside.
extension_dir = /usr/lib/php5/extensions

; Whether or not to enable the dl() function.  The dl() function does NOT work
; properly in multithreaded servers, such as IIS or Zeus, and is automatically
; disabled on them.
enable_dl = Off


And in the path are these files:

vs163035:/usr/lib/php5/extensions # dir
total 3040
-rw-r--r-- 1 root root   10740 Jun 23 14:55 ctype.so
-rw-r--r-- 1 root root   57100 Jun 23 14:55 curl.so
-rw-r--r-- 1 root root  154412 Jun 23 14:55 dom.so
-rw-r--r-- 1 root root   47220 Jun 23 14:55 ftp.so
-rw-r--r-- 1 root root  349912 Jun 23 14:55 gd.so
-rw-r--r-- 1 root root   15056 Jun 23 14:55 gettext.so
-rw-r--r-- 1 root root   36196 Jun 23 14:55 iconv.so
-rw-r--r-- 1 root root   93764 Jun 23 14:55 imap.so
-rw-r--r-- 1 root root 1856696 Jun 23 14:55 mbstring.so
-rw-r--r-- 1 root root   35564 Jun 23 14:55 mcrypt.so
-rw-r--r-- 1 root root   44844 Jun 23 14:55 mysql.so
-rw-r--r-- 1 root root  102184 Jun 23 14:55 mysqli.so
-rw-r--r-- 1 root root   81644 Jun 23 14:55 openssl.so
-rw-r--r-- 1 root root   90188 Jun 23 14:55 pdo.so
-rw-r--r-- 1 root root   26708 Jun 23 14:55 pdo_mysql.so
-rw-r--r-- 1 root root   27476 Jun 23 14:55 xsl.so
-rw-r--r-- 1 root root   27428 Jun 23 14:55 zlib.so
vs163035:/usr/lib/php5/extensions #


I donĀ“t know what i should do... By the way, I have no experience in php, mysql or Linux, so its difficult for me...

I hope someone can tell me what i have to do
« Last Edit: August 09, 2008, 04:15:59 pm by DEBA »

Offline Naghachian

  • BeBot Rookie
  • *
  • Posts: 7
  • Karma: +0/-0
Re: Sockets extention required to run this bot
« Reply #1 on: August 09, 2008, 09:52:17 am »
I had this problem on a windows server, and it came out of me choosing all extensions available upon install of PHP (i usually always click "Full install" cause you never know what you might need later, not the best idea on a webserver though)

i think alot of these extensions are experimental stuff thats not 100% fine yet.

My solution was to reinstall PHP and only choose the two extensions that this bot uses. : php_mysql.dll and php_sockets.dll

then it worked fine

Offline DEBA

  • BeBot Rookie
  • *
  • Posts: 5
  • Karma: +0/-0
Re: Sockets extention required to run this bot
« Reply #2 on: August 09, 2008, 04:49:06 pm »
The way I see it, are there missing extensions like php_sockets. How can i install the missing extensions? Is it only possible with a reinstall of php? My PHP-version is 5.2.6.0-1. Maybe this is helpful

Offline DEBA

  • BeBot Rookie
  • *
  • Posts: 5
  • Karma: +0/-0
Re: Sockets extention required to run this bot
« Reply #3 on: August 09, 2008, 06:08:53 pm »
For all these people who have the same Problem:
Yeaaaaaaah i fixed it  ;D

First, check your php version. After that search after the package php5-sockets-*version*.rpm download it and install it on the server. An error comes after the install, but it work fine. If any other extensions failed to load, be sure that you have these extensions.
Extensions are locatet in /usr/lib/php5/extensions/
If any extension missing search after it in google.

The extension i found is on this site for SuSe 10.3. http://gd.tuwien.ac.at/opsys/linux/opensuse/update/10.3/rpm/i586/?fisel=pP

I hope somebody helps this. For me it works great  ;D

 

* 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: 340
  • 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