+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 11

Thread: Problem after installation

  1. #1

    Default Problem after installation

    Hi!

    I installed the Deki_Wiki_1.9.0b_Itasca_source on ubuntu 7.10 Sparc server. I used the Installation guide Ubuntu 7.10 (Gutsy).

    The installation was successfull but when I want to open the wiki following ERROR 404 message apeard.

    I searched in the forum an saw something that wv is needed, so i installed it an now a got following message:


    Site settings could not be loaded

    We were unable to locate the API to request site settings. Please see below for debugging information.

    HTTP Response Status Code: 500

    The API says: wiki 'default' has failed to initialize or did not start up properly: Initialization exception: System.NullReferenceException: Object reference not set to an instance of an object at MindTouch.Deki.DekiInstance.Startup (MindTouch.Deki.DekiContext context) [0x00000]


    Here's the deki-api.log:

    2008-05-20 10:44:50,023 [1] ERROR DekiWikiService_default - Error initializing instance()
    System.NullReferenceException: Object reference not set to an instance of an object
    at MindTouch.Deki.DekiInstance.Startup (MindTouch.Deki.DekiContext context) [0x00000]

    Mysql and Proxy is LISTEN

    May I have to configure the mindtouch.deki.startup.xml or mindtouch.host.conf


    Can someone help me?

    Thanks
    Enkerli

  2. #2

    Default made changes

    So I made some changes i think its someting with the proxy.

    mindtouch.deki.startup.xml:
    <host>iwikbm01.sbb.ch</host>

    Hosts file:
    127.0.0.1 iwikbm01.sbb.ch iwikbm01 localhost

    Netstat -n -a:

    tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN
    tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN
    tcp 0 0 0.0.0.0:8081 0.0.0.0:* LISTEN
    tcp 0 0 127.0.0.1:3306 127.0.0.1:41427 ESTABLISHED
    tcp 0 0 127.0.0.1:3306 127.0.0.1:41428 ESTABLISHED
    tcp 0 0 127.0.0.1:41428 127.0.0.1:3306 ESTABLISHED
    tcp 0 0 127.0.0.1:41427 127.0.0.1:3306 ESTABLISHED

    deki-api-log:
    2008-05-21 09:00:38,048 [7] DEBUG MindTouch.Dream.Http.HttpTransport - RequestHandler: (GET,http://localhost:8081/deki/site/sett...ream.out.forma
    t=php&dream.in.host=iwikbm01&dream.in.scheme=http& dream.in.origin=10.130.213.11&apikey=xxxxxxxxxxxxx xxxxxx)

    Now when I got to iwikbm01.sbb.ch then i get teh 500 error

    HTTP Response Status Code: 500

    The API says: wiki 'dss-wiki' has failed to initialize or did not start up properly: Initialization exception: System.NullReferenceException: Object reference not set to an instance of an object at MindTouch.Deki.DekiInstance.Startup (MindTouch.Deki.DekiContext context) [0x00000]

    and when i use only iwikbm01 in the browser i got a 410 error


    Site settings could not be loaded

    We were unable to locate the API to request site settings. Please see below for debugging information.

    HTTP Response Status Code: 410

  3. #3

    Default

    OK i installed the deki-wiki new like its in the Guide.

    Here is the message in deki-api.log

    2008-05-21 13:46:23,674 [1] ERROR MindTouch.Dream.DreamFeatureChain - handler for PUT:local://d3758b3d981a42d6a509257de1d7a186/deki/@config failed (M
    indTouch.Deki.DekiWikiService!PutConfig)()

    System.NullReferenceException: Object reference not set to an instance of an object
    at System.Collections.Generic.GenericEqualityComparer `1[System.Char].GetHashCode (Char ) [0x00000]
    at System.Collections.Generic.Dictionary`2[System.Char,System.Byte].set_Item (Char , Byte ) [0x00000]
    at MindTouch.Deki.DekiFont..ctor (System.Byte[] data) [0x00000]
    at MindTouch.Deki.DekiWikiService+<Start>d__bb.MoveNe xt () [0x00000]
    at MindTouch.Dream.Coroutine.Iterate_Helper (IEnumerator`1 coroutine, MindTouch.Dream.TaskBehavior behavior) [0x00000]
    at (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_IEnumerator`1 _TaskBehavior (System.Collections.Generic.IEnumerator`1,MindTouc h.Dr
    eam.TaskBehavior)
    at System.VoidClosure`2[System.Collections.Generic.IEnumerator`1[MindTouch.Dream.IYield],MindTouch.Dream.TaskBehavior].Closure () [0x00000]
    at (wrapper delegate-invoke) System.MulticastDelegate:invoke_void ()
    at MindTouch.Dream.Task.Execute (System.VoidHandler handler, MindTouch.Dream.TaskBehavior behavior) [0x00000]
    2008-05-21 13:46:23,722 [1] ERROR MindTouch.Dream.DreamHostService - StartService(http://services.mindtouch.com/deki/d...06/11/dekiwiki)
    -------------------- ready 0.687559 secs

    can someone help me???

    On a other server i load the VM wiki to check whats diffrent but I saw nothing.

    Please any adwises?

  4. #4

    Default One step forward!!

    Yes! Now the API is working!

    I insert

    <Directory /var/www/dss-wiki>
    AllowOverride All
    </Directory>

    in the apache cofiguration for the site. And now i get a new error message:


    Site settings could not be loaded

    We were unable to locate the API to request site settings. Please see below for debugging information.

    HTTP Response Status Code: 500

    The API says: wiki 'default' has failed to initialize or did not start up properly: Initialization exception: System.NullReferenceException: Object reference not set to an instance of an object at MindTouch.Deki.DekiInstance.Startup (MindTouch.Deki.DekiContext context) [0x00000]


    when i insert iwikbm01/@api/deki/@about i get the about site!!

    So can someone tell my how i can connetc to the wikidb?? the password i gave doesn't work!!
    I use this command: mysql -u dss-wikiuser -p dss-wikidb
    the I get ask for the password and this dont work.

    Thank for help

  5. #5

    Default

    Ok I enabled the Log from mysql and I see that when i start the dekihost:
    Code:
    080522  9:36:53      14 Connect     dss-wikiuser@localhost on dss-wikidb
                         15 Connect     dss-wikiuser@localhost on dss-wikidb
                         14 Query       SHOW VARIABLES
                         14 Query       SHOW COLLATION
                         14 Query       SET NAMES utf8;SET character_set_results=NULL
                         14 Init DB     dss-wikidb
                         14 Query       SHOW CREATE PROCEDURE `dss-wikidb`.`config_get_Config`
                         14 Query       call config_get_Config ()
    I don't now if this is correct.

    And here the logs from deki-api.log:

    Code:
    -------------------- initialized 0.718326 secs
    2008-05-22 09:34:32,365 [1] DEBUG MindTouch.Dream.DreamHostService - (http://www.mindtouch.com/services/2006/11/dekiwiki)
    2008-05-22 09:34:32,369 [1] DEBUG MindTouch.Dream.DreamHostService - (http://services.mindtouch.com/deki/draft/2006/11/dekiwiki)
    2008-05-22 09:34:32,425 [2] DEBUG MindTouch.Dream.DreamHostService - (http://services.mindtouch.com/deki/draft/2007/06/html.unsafe)
    2008-05-22 09:34:32,431 [2] DEBUG MindTouch.Dream.DreamHostService - (http://services.mindtouch.com/deki/draft/2007/06/flickr)
    2008-05-22 09:34:32,437 [2] DEBUG MindTouch.Dream.DreamHostService - (http://services.mindtouch.com/deki/draft/2007/12/dapper)
    2008-05-22 09:34:32,444 [2] DEBUG MindTouch.Dream.DreamHostService - (http://services.mindtouch.com/deki/draft/2007/12/dekiscript)
    2008-05-22 09:34:32,452 [2] DEBUG MindTouch.Dream.DreamHostService - (http://services.mindtouch.com/deki/draft/2006/12/ldapdirectory)
    2008-05-22 09:34:32,453 [2] DEBUG MindTouch.Dream.DreamHostService - (http://services.mindtouch.com/deki/stable/2007/05/ldap-authentication
    )
    2008-05-22 09:34:32,466 [2] DEBUG MindTouch.Dream.DreamHostService - (http://services.mindtouch.com/deki/draft/2007/07/thinkfree)
    2008-05-22 09:34:32,472 [2] DEBUG MindTouch.Dream.DreamHostService - (http://services.mindtouch.com/deki/draft/2007/06/gabbly)
    2008-05-22 09:34:32,480 [2] DEBUG MindTouch.Dream.DreamHostService - (http://services.mindtouch.com/deki/draft/2007/07/joomla-authenticatio
    n)
    2008-05-22 09:34:32,486 [2] DEBUG MindTouch.Dream.DreamHostService - (http://services.mindtouch.com/deki/draft/2007/06/widgetbox)
    2008-05-22 09:34:32,495 [2] DEBUG MindTouch.Dream.DreamHostService - (http://services.mindtouch.com/deki/draft/2008/01/mantis)
    2008-05-22 09:34:32,502 [2] DEBUG MindTouch.Dream.DreamHostService - (http://services.mindtouch.com/deki/draft/2007/06/graphviz)
    2008-05-22 09:34:32,509 [2] DEBUG MindTouch.Dream.DreamHostService - (http://services.mindtouch.com/deki/draft/2008/02/svn)
    2008-05-22 09:34:32,523 [2] DEBUG MindTouch.Dream.DreamHostService - (http://services.mindtouch.com/deki/draft/2007/06/mysql)
    2008-05-22 09:34:32,530 [2] DEBUG MindTouch.Dream.DreamHostService - (http://services.mindtouch.com/deki/draft/2007/06/imagemagick)
    2008-05-22 09:34:32,536 [2] DEBUG MindTouch.Dream.DreamHostService - (http://services.mindtouch.com/deki/draft/2007/07/dhtml)
    2008-05-22 09:34:32,543 [2] DEBUG MindTouch.Dream.DreamHostService - (http://services.mindtouch.com/deki/draft/2007/11/dekisocial-authentic
    ation)
    2008-05-22 09:34:32,549 [2] DEBUG MindTouch.Dream.DreamHostService - (http://services.mindtouch.com/deki/draft/2008/02/ado.net)
    2008-05-22 09:34:32,555 [2] DEBUG MindTouch.Dream.DreamHostService - (http://services.mindtouch.com/deki/draft/2007/07/windows.live)
    2008-05-22 09:34:32,562 [2] DEBUG MindTouch.Dream.DreamHostService - (http://services.mindtouch.com/deki/draft/2007/06/syntax)
    2008-05-22 09:34:32,568 [2] DEBUG MindTouch.Dream.DreamHostService - (http://services.mindtouch.com/deki/draft/2007/06/digg)
    2008-05-22 09:34:32,584 [2] DEBUG MindTouch.Dream.DreamHostService - (http://services.mindtouch.com/deki/draft/2007/06/math)
    2008-05-22 09:34:32,596 [2] DEBUG MindTouch.Dream.DreamHostService - (http://services.mindtouch.com/deki/draft/2007/07/http-authentication)
    2008-05-22 09:34:32,606 [2] DEBUG MindTouch.Dream.DreamHostService - (http://services.mindtouch.com/deki/draft/2007/06/media)
    2008-05-22 09:34:32,616 [2] DEBUG MindTouch.Dream.DreamHostService - (http://services.mindtouch.com/deki/draft/2007/12/vbulletin-authentica
    tion)
    2008-05-22 09:34:32,623 [2] DEBUG MindTouch.Dream.DreamHostService - (http://services.mindtouch.com/deki/draft/2007/06/feed)
    2008-05-22 09:34:32,630 [2] DEBUG MindTouch.Dream.DreamHostService - (http://services.mindtouch.com/deki/draft/2007/06/google)
    2008-05-22 09:34:32,648 [2] DEBUG MindTouch.Dream.DreamHostService - (http://services.mindtouch.com/deki/draft/2007/07/wordpress-authentica
    tion)
    2008-05-22 09:34:32,656 [2] DEBUG MindTouch.Dream.DreamHostService - (http://services.mindtouch.com/deki/draft/2007/05/drupal)
    2008-05-22 09:34:32,656 [2] DEBUG MindTouch.Dream.DreamHostService - (http://services.mindtouch.com/deki/draft/2007/05/drupal-authenticatio
    n)
    2008-05-22 09:34:32,662 [2] DEBUG MindTouch.Dream.DreamHostService - (http://services.mindtouch.com/deki/draft/2007/06/yahoo)
    2008-05-22 09:34:32,669 [2] DEBUG MindTouch.Dream.DreamHostService - (http://services.mindtouch.com/deki/draft/2008/02/trac)
    2008-05-22 09:34:32,674 [2] DEBUG MindTouch.Dream.DreamHostService - (http://services.mindtouch.com/deki/draft/2008/02/silverlight)
    2008-05-22 09:34:32,683 [2] DEBUG MindTouch.Dream.DreamHostService - (http://services.mindtouch.com/deki/draft/2008/02/jira)
    2008-05-22 09:34:32,690 [2] DEBUG MindTouch.Dream.DreamHostService - (http://services.mindtouch.com/deki/draft/2007/12/remote-deki-authenti
    cation)
    2008-05-22 09:34:32,705 [1] DEBUG MindTouch.Dream.DreamHostService - (http://services.mindtouch.com/deki/draft/2007/06/luceneindex)
    2008-05-22 09:34:32,712 [4] INFO  MindTouch.Dream.DreamHostService - start(deki,http://services.mindtouch.com/deki/draft/2006/11/dekiwiki)
    -------------------- ready 0.611903 secs
    2008-05-22 09:36:53,151 [5] DEBUG MindTouch.Dream.Http.HttpTransport - RequestHandler: (GET,http://localhost:8081/deki/site/settings?dream.out.form
    at=php&dream.in.host=iwikbm01&dream.in.scheme=http&dream.in.origin=10.130.213.11&apikey=xxxxxxxxxxxxxxxxxx)
    2008-05-22 09:36:53,514 [6] ERROR DekiWikiService_default - Error initializing instance()
    System.NullReferenceException: Object reference not set to an instance of an object
      at MindTouch.Deki.DekiInstance.Startup (MindTouch.Deki.DekiContext context) [0x00000]
    2008-05-22 09:36:53,516 [6] DEBUG MindTouch.Dream.DreamMessage - Response: Internal Error(wiki 'default' has failed to initialize or did not start
    up properly: Initialization exception: System.NullReferenceException: Object reference not set to an instance of an object
      at MindTouch.Deki.DekiInstance.Startup (MindTouch.Deki.DekiContext context) [0x00000] )
    Why he can't "connect" to the Wiki instance???
    The process i running:
    Code:
    www-data  5967     1  0 09:34 pts/0    00:00:02 /usr/bin/mono /var/www/dss-wiki/bin/mindtouch.host.exe apikey vE2c7mnQ7qz3gxCVR5fRCYZECSNnqdEN script /etc/dekiwiki/mindtouch.deki.startup.xml path-prefix @api http-port 8081 ip localhost connect-limit -5 notty

  6. #6

    Default mysql config

    Now i had a look in the DB and i found this.

    The config in the VM is bigger than my:

    config VM:
    Code:
    mysql> call config_get_Config ()
        -> ;
             --------------------------------------------------------------------------------------------------------------------------+
    | config_id | config_key                           | config_value                                                                                                                                                                                                        | --------------------------------------------------------------------------------------------------------------------------+
    |        54 | storage/fs/path                      | /var/www/deki-hayes/attachments                                                                                                                                                                                     |
    |        55 | files/max-file-size                  | 268435456                                                                                                                                                                                                           |
    |        56 | db-user                              | wikiuser                                                                                                                                                                                                            |
    |        57 | db-options                           | pooling=true; Connection Timeout=5; Connection Lifetime=30; Protocol=socket; Min          Pool Size=2; Max Pool Size=50; Connection Reset=false;character set=utf8;ProcedureCacheSize=25;Use Procedure Bodies=true; |
    |        58 | db-catalog                           | wikidb                                                                                                                                                                                                              |
    |        59 | ui/language                          | de-ch                                                                                                                                                                                                               |
    |        60 | ui/analytics-key                     | UA-68075-16                                                                                                                                                                                                         |
    |        61 | site/search-disabled                 | false                                                                                                                                                                                                               |
    |        62 | host                                 | *                                                                                                                                                                                                                   |
    |        63 | files/blocked-extensions             | html, htm, exe, vbs, scr, reg, bat, com                                                                                                                                                                             |
    |        64 | cache/services                       | false                                                                                                                                                                                                               |
    |        65 | files/imagemagick-max-size           | 2000000                                                                                                                                                                                                             |
    |        66 | db-server                            | localhost                                                                                                                                                                                                           |
    |        67 | security/api-key                     | VobtrFzhP9R76gBUcY7gnFSct6RPaQw1                                                                                                                                                                                    |
    |        68 | db-port                              | 3306                                                                                                                                                                                                                |
    |        69 | cache/users                          | false                                                                                                                                                                                                               |
    |        70 | cache/pages                          | false                                                                                                                                                                                                               |
    |        71 | security/cookie-expire-secs          | 604800                                                                                                                                                                                                              |
    |        72 | security/allow-anon-account-creation | false                                                                                                                                                                                                               |
    |        73 | editor/safe-html                     | true                                                                                                                                                                                                                |
    |        74 | ui/use-cdn                           | false                                                                                                                                                                                                               |
    |        75 | cache/roles                          | false                                                                                                                                                                                                               |
    |        76 | security/new-account-role            | Contributor                                                                                                                                                                                                         |
    |        77 | files/imagemagick-extensions         | bmp, jpg, jpeg, png, gif, tiff                                                                                                                                                                                      |
    |        78 | ui/sitename                          | DSS Wiki                                                                                                                                                                                                            |
    |        79 | storage/type                         | fs                                                                                                                                                                                                                  |
    |        80 | cache/permissions                    | false                                                                                                                                                                                                               |
    |        81 | @id                                  | default                                                                                                                                                                                                             |
    +-----------+--------------------------------------+----------------------------------------------------------------------------------
    see next post

  7. #7

    Default

    config dss-wiki:
    Code:
    mysql> call config_get_Config
        -> ;
    +-----------+--------------------------------------+-----------------------------------------+
    | config_id | config_key                           | config_value                            |
    +-----------+--------------------------------------+-----------------------------------------+
    |         1 | storage/s3/prefix                    |                                         |
    |         2 | storage/s3/bucket                    |                                         |
    |         3 | storage/s3/privatekey                |                                         |
    |         4 | storage/s3/publickey                 |                                         |
    |         5 | storage/type                         | fs                                      |
    |         6 | storage/s3/timeout                   |                                         |
    |         7 | files/max-file-size                  | 268435456                               |
    |         8 | files/blocked-extensions             | html, htm, exe, vbs, scr, reg, bat, com |
    |         9 | files/imagemagick-extensions         | bmp, jpg, jpeg, png, gif, tiff          |
    |        10 | files/imagemagick-max-size           | 2000000                                 |
    |        11 | ui/banned-words                      |                                         |
    |        12 | ui/sitename                          | Dss-wiki                                |
    |        13 | ui/language                          | de-ch                                   |
    |        14 | ui/analytics-key                     | UA-68075-16                             |
    |        15 | security/new-account-role            | Contributor                             |
    |        16 | cache/users                          | false                                   |
    |        17 | cache/pages                          | false                                   |
    |        18 | cache/permissions                    | false                                   |
    |        19 | cache/roles                          | false                                   |
    |        20 | cache/services                       | false                                   |
    |        21 | security/cookie-expire-secs          | 604800                                  |
    |        22 | security/allow-anon-account-creation | true                                    |
    |        23 | editor/safe-html                     | true                                    |
    |        24 | security/api-key                     | o7nSdm7zWsBz52R3oXTXSn8K1rCrUV0A        |
    |        25 | storage/fs/path                      | /var/www/dss-wiki/attachments           |
    +-----------+--------------------------------------+-----------------------------------------+
    25 rows in set (0.01 sec)
    can someone tell me why?

    some help would be nice, it isn't so funny alone!

  8. #8
    Join Date
    Oct 2007
    Posts
    141

    Default

    If I were to guess, I would think that you don't have all the required packages installed. Are you sure you have mono installed? That error you're seeing from the API smells like a mono issue.

    Could you run this command and paste the output?
    sudo dpkg --get-selections
    This will list all of the packages you have installed.

    -Michael

    edit: might want to just grep for mono

  9. #9

    Default

    Hi Michael

    Here is the output:

    Code:
    libmono-corlib1.0-cil                           install
    libmono-corlib2.0-cil                           install
    libmono-data-tds2.0-cil                         install
    libmono-i18n2.0-cil                             install
    libmono-security2.0-cil                         install
    libmono-sharpzip2.84-cil                        install
    libmono-sqlite2.0-cil                           install
    libmono-system-data2.0-cil                      install
    libmono-system-web2.0-cil                       install
    libmono-system1.0-cil                           install
    libmono-system2.0-cil                           install
    libmono0                                        install
    libmono2.0-cil                                  install
    mono-common                                     install
    mono-gac                                        install
    mono-gmcs                                       install
    mono-jit                                        install
    mono-mcs                                        install
    mono-runtime                                    install
    I installed mono with this comand:

    apt-get install mono-gmcs mono-mcs libmono-sqlite2.0-cil libmono-sqlite2.0-cil libmono-system-web2.0-cil

  10. #10

    Default It works!!!!

    Hi!

    I found the solution!

    I downloaded the mono 1.9.1 source and installed it.

    until now it's all ok!

    Tanks for your help!

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts