flagflag  

DTL/nsl Money server "cant buy money"

  • You cannot open a new topic into this forum
  • Guests cannot post into this forum
Previous post - Next post | Parent - Children.1 .2 .3 .4 .5 .6 .7 | Posted on 2013/4/18 7:40
makin  Just popping in   Posts: 9
Hi Guys.

running Diva distro on linux under mono running the DTL/nsl money server.

running php 5.2

log in and try to buy money and i get internal clock error. Guessing this may be some thing to do with the SSL certification.

Currently using a self cert

Any ideas guys.

P.s its not the pc clock ive tried that.
confirmed port is open so dont think its the firewall.
Votes:62 Average:4.52
Previous post - Next post | Parent - No child | Posted on 2013/4/18 23:50 | Last modified
iseki  Home away from home   Posts: 1581
Hi,

Quote:
log in and try to buy money and i get internal clock error

I think that it is not caused by SSL.
Please post more detailed information of your problem.

Example, full error messages of each server.

Thanks.
Votes:65 Average:3.85
Previous post - Next post | Parent - No child | Posted on 2013/4/19 4:49
makin  Just popping in   Posts: 9
Diva version:

Diva version OPenSim 0.74 Post_fixes (interface version 7)

OS:

Ubuntu 11.10

Php Version: (rolled back from 5.3)

PHP 5.2.10-2ubuntu6 with Suhosin-Patch 0.9.7 (cli) (built: Oct 23 2009 16:30:10)

The Money server runs as shown below:

23:07:07 - [STARTUP]: Beginning startup processing
23:07:07 - [STARTUP]: OpenSimulator version: OpenSim 0.7.4 Post_Fixes

23:07:07 - [STARTUP]: Operating system version: Unix 3.0.0.32, .NET platform Unix, 32-bit

23:07:07 - [MONEY SERVER]: Starting HTTPS process
23:07:07 - [DATA]: Connecting to Money Storage Server
23:07:08 - [MYSQL]: Connection established
23:07:08 - Creating 20 DB connections...
23:07:08 - Connecting to DB... [0]
23:07:08 - [MYSQL]: Connection established
23:07:08 - Connecting to DB... [1]
23:07:08 - [MYSQL]: Connection established
23:07:08 - Connecting to DB... [2]
23:07:08 - [MYSQL]: Connection established
23:07:08 - Connecting to DB... [3]
23:07:08 - [MYSQL]: Connection established
23:07:08 - Connecting to DB... [4]
23:07:08 - [MYSQL]: Connection established
23:07:08 - Connecting to DB... [5]
23:07:08 - [MYSQL]: Connection established
23:07:08 - Connecting to DB... [6]
23:07:08 - [MYSQL]: Connection established
23:07:08 - Connecting to DB... [7]
23:07:08 - [MYSQL]: Connection established
23:07:08 - Connecting to DB... [8]
23:07:08 - [MYSQL]: Connection established
23:07:08 - Connecting to DB... [9]
23:07:08 - [MYSQL]: Connection established
23:07:08 - Connecting to DB... [10]
23:07:08 - [MYSQL]: Connection established
23:07:08 - Connecting to DB... [11]
23:07:08 - [MYSQL]: Connection established
23:07:08 - Connecting to DB... [12]
23:07:08 - [MYSQL]: Connection established
23:07:08 - Connecting to DB... [13]
23:07:08 - [MYSQL]: Connection established
23:07:08 - Connecting to DB... [14]
23:07:08 - [MYSQL]: Connection established
23:07:08 - Connecting to DB... [15]
23:07:08 - [MYSQL]: Connection established
23:07:08 - Connecting to DB... [16]
23:07:08 - [MYSQL]: Connection established
23:07:08 - Connecting to DB... [17]
23:07:08 - [MYSQL]: Connection established
23:07:08 - Connecting to DB... [18]
23:07:08 - [MYSQL]: Connection established
23:07:08 - Connecting to DB... [19]
23:07:08 - [MYSQL]: Connection established
23:07:08 - [BASE HTTP SERVER]: Starting HTTPS server on port 8008
23:07:08 - [WATCHDOG]: Started tracking thread PollServiceWorkerThread0, ID 6
23:07:08 - [WATCHDOG]: Started tracking thread PollServiceWorkerThread1, ID 7
23:07:08 - [WATCHDOG]: Started tracking thread PollServiceWorkerThread2, ID 8
23:07:08 - [WATCHDOG]: Started tracking thread PollServiceWatcherThread, ID 9
Console log level is ALL
23:07:08 - [STARTUP]: Non-script portion of startup took 0m 1s. PLEASE WAIT FOR LOGINS TO BE ENABLED ON REGIONS ONCE SCRIPTS HAVE STARTED.
Money #


On starting the diva instance error is as follows:

21:57:13 - [MONEY]: The DTL/NSL MoneyModule is enabled
21:57:13 - [MONEY]: Initialise: Faile to read configuration file
Votes:128 Average:5.78
Previous post - Next post | Parent - Children.1 | Posted on 2013/4/19 6:17
makin  Just popping in   Posts: 9
helper files are located at /var/www/opensim_scripts

MoneyServer.ini is located in /var/diva/bin
Votes:67 Average:4.03
Previous post - Next post | Parent - Children.1 | Posted on 2013/4/19 12:47 | Last modified
iseki  Home away from home   Posts: 1581
Quote:
21:57:13 - [MONEY]: Initialise: Faile to read configuration file

This message indicates that error occurred when read OpenSim.ini.
Have you exact "[Economy] section" for DTL/NSL MoneyServer in OpenSim.ini?

Example
[Economy]
    SellEnabled = "true"
    UserServer = "http://opensim.tuis.ac.jp:8003"
    CurrencyServer = "https://opensim.tuis.ac.jp:8008/"
    EconomyModule = DTLNSLMoneyModule

    PriceUpload = 10
    PriceGroupCreate = 10

Please show me your "[Economy] Section" in OpenSim.ini (if need, please delete domain name of server)
Votes:52 Average:5.19
Previous post - Next post | Parent - Children.1 | Posted on 2013/4/20 5:53
makin  Just popping in   Posts: 9
OK so when using Diva I add the economy in to the config include file known as MyWorld.ini as im sure your aware overules the OpenSim.ini file for settings.

in the startup section I have

[Startup]

EconomyModule = DTLNSLMoneyModule


in the economy section I have

[Economy]

SellEnabled = "true"
Userserver = "http://domainname:8003/"
CurrencyServer = "https://domainname:8008/"
EconomyModule = "DTLNSLMoneyModule"

PriceUpload =10

PriceGroupCreate =10
Votes:84 Average:2.50
Previous post - Next post | Parent - No child | Posted on 2013/4/20 22:48
iseki  Home away from home   Posts: 1581
Does an error still occur?
Votes:65 Average:4.46
Previous post - Next post | Parent - Children.1 | Posted on 2013/4/23 4:24
makin  Just popping in   Posts: 9
Yes still getting the errors after confirming all is correct in the config files.
Votes:61 Average:5.25
Previous post - Next post | Parent - Children.1 | Posted on 2013/4/24 1:26
iseki  Home away from home   Posts: 1581
Quote:
Please use UserServer instead of Userserver. (S is uppercase)
Votes:86 Average:4.77
Previous post - Next post | Parent - No child | Posted on 2013/4/24 6:32
makin  Just popping in   Posts: 9
Yup that did it.

Good effort on spotting that one.

all avs now get the 1000 when logging in im still getting the internal clock error when i try to buy more currency. Will let you know how i get on got a few thnigs to try for that.

Thankyou for all your support.
Votes:82 Average:4.63
Previous post - Next post | Parent - Children.1 | Posted on 2013/4/25 6:15
makin  Just popping in   Posts: 9
Still having no luck buying currency.

Error "Cannot Buy now"
Often this means that your computers clock is set incorrectly.

I have turned fire walls off, changed time on PC set UTC time in viewer. I notived Hippo viewer does not have UTC +1 for daylight savings time so i changed PC clock to suit viewer time still no luck.

Any ideas are welcomed on this one as i am running out of ideas.

Thankyou in advance Makin
Votes:71 Average:5.07
Previous post - Next post | Parent - No child | Posted on 2013/4/25 9:29 | Last modified
iseki  Home away from home   Posts: 1581
Hi

Quote:
Error "Cannot Buy now"
Is this Viewer message?
If it is so, do you setup helper scripts?

http://www.nsl.tuis.ac.jp/xoops/modules/xpwiki/?OpenSim%2FMoneyServer%2FHelper%20Script
In the case of released DTL/NSL Money Server, helper scripts is included (helper_scripts).

And please see also
http://www.nsl.tuis.ac.jp/xoops/modules/xpwiki/?OpenSim%2FMoneyServer%2FDiva-0.7.2#t3b31709


I want to search source code. Therefore, I need exact error messages.
Quote:
Often this means that your computers clock is set incorrectly.
Where is it displayed?
What is an exact message?
Votes:75 Average:6.00
Previous post - Next post | Parent - Children.1 | Posted on 2013/4/26 5:44
makin  Just popping in   Posts: 9
The error is received in the viewer.

Currently using Imprudence viewer.

Error received is as follows:

Cannot buy now:
Often this means that your computer's clock is set incorrectly. Getting data...
Please go to Control Panels and make sure the time and date are set correctly.
If you continue toreceive this error, please go to the Support section of makland's web site and report the problem.

Helper files i used were from the following webpage using the manual setup option:

http://www.nsl.tuis.ac.jp/xoops/​modules/xpwiki/?OpenSim%2FMoneySe​rver%2FHelper%20Script

Let me know if there is any further data i can provide.

Cheers Makin
Votes:93 Average:2.80
Previous post - Next post | Parent - No child | Posted on 2013/4/27 0:04
iseki  Home away from home   Posts: 1581
Please enable logging of helper/currency.php
Please delete // of top of error_log() at end part of helper/currency.php

#
# Process the request
#

$request_xml = $HTTP_RAW_POST_DATA;
//error_log("currency.php: ".$request_xml);                 <----  Please delete // of top

xmlrpc_server_call_method($xmlrpc_server, $request_xml, '');
xmlrpc_server_destroy($xmlrpc_server);

And please check PHP log (PHP log file name is depended by your PHP settings)

Do you see xml request from viewer in PHP log like following URL page?
http://www.nsl.tuis.ac.jp/xoops/modules/xpwiki/?OpenSim%2FMoneyServer%2FDevel%2Fcurrency.php
Votes:70 Average:5.71
Previous post - Next post | Parent - No child | Posted on 2013/4/28 5:58
makin  Just popping in   Posts: 9
Hey Iseki,

I went through setting up the helper files again and now i managed to successfully buy currency with the banker avatar.

Thankyou for all your help.

Much appreciated.

Cheers Makin
Votes:81 Average:6.17

  Advanced search


Site Search

Login

Username:

Password:


Lost Password?
Register now!!

Sub Menu

mini Calendar

Last MonthMay 2024Next Month
Su Mo Tu We Th Fr Sa
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
Today

Who's Online

39 user(s) are online (1 user(s) are browsing Forum)

Members: 0
Guests: 39

more...

Access Counter

Today : 7063706370637063
Yesterday : 1361113611136111361113611
Total : 2364547023645470236454702364547023645470236454702364547023645470
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com