Hi,

This part are also interesting. It's come from Simias.log

   2007-12-04 17:29:11,545 [-1238651984] ERROR Simias.Storage.Store -
   System.ArgumentNullException: Argument cannot be null.
   in <0x00292> System.IO.Directory:GetFileSystemEntries (System.String
   path, System.String pattern, FileAttributes mask, FileAttributes attrs)
   in <0x00011> System.IO.Directory:GetFiles (System.String path,
   System.String pattern)
   in <0x00166> Simias.Storage.Store:GetStore ()
   2007-12-04 17:29:11,591 [-1238651984] INFO  Simias.Storage.ChangeLog
   - Change Log Service started.
   2007-12-04 17:29:11,591 [-1238651984] INFO  Simias.Service.Manager -
   "Simias Change Log Service" service started.
   2007-12-04 17:29:11,592 [-1238651984] INFO  Simias.Service.Manager -
   "Simias Local Domain Provider" service started.
   2007-12-04 17:29:11,594 [-1238651984] INFO  Simias.Service.Manager -
   "Simias Journal" service started.
   2007-12-04 17:29:11,680 [-1238651984] ERROR
   Simias.Server.EnterpriseDomain - mountPoint isn't valid: /var/lib/simias
   2007-12-04 17:29:11,681 [-1238651984] ERROR
   Simias.Server.EnterpriseDomain - in <0x000bc>
   Mono.Unix.UnixDriveInfo:.ctor (System.String mountPoint)
   in <0x00043> Simias.Storage.DataStore:.ctor (System.String datapath)
   in <0x00273> Simias.Storage.DataStore:GetVolumes ()
   in <0x000b7> Simias.Storage.Store:GetStoreUnmanagedPath
   (System.String collectionID)
   in <0x0002d> Simias.Storage.Collection:get_UnmanagedPath ()
   in <0x00106> Simias.Server.Report:CreateReportCollection
   (Simias.Storage.Store store, Simias.Storage.Domain domain)
   in <0x00101> Simias.Server.EnterpriseDomain:GetServerDomain (Boolean
   Create)
   2007-12-04 17:29:11,694 [-1238651984] ERROR
   Simias.Server.EnterpriseDomain - mountPoint isn't valid: /var/lib/simias
   2007-12-04 17:29:11,694 [-1238651984] ERROR
   Simias.Server.EnterpriseDomain - in <0x000bc>
   Mono.Unix.UnixDriveInfo:.ctor (System.String mountPoint)
   in <0x00043> Simias.Storage.DataStore:.ctor (System.String datapath)
   in <0x00273> Simias.Storage.DataStore:GetVolumes ()
   in <0x000b7> Simias.Storage.Store:GetStoreUnmanagedPath
   (System.String collectionID)
   in <0x0002d> Simias.Storage.Collection:get_UnmanagedPath ()
   in <0x00106> Simias.Server.Report:CreateReportCollection
   (Simias.Storage.Store store, Simias.Storage.Domain domain)
   in <0x00101> Simias.Server.EnterpriseDomain:GetServerDomain (Boolean
   Create)
   2007-12-04 17:29:11,750 [-1238651984] INFO  Simias.Service.Manager -
   "Simias Server" service started.
   2007-12-04 17:29:11,753 [-1238651984] ERROR Simias.Service.Manager -
   Object reference not set to an instance of an object
   System.NullReferenceException: Object reference not set to an
   instance of an object
   in <0x000bf> Simias.Server.Report:.ctor ()
   in <0x00020> Simias.Server.ReportService:Start ()
   in <0x00102> Simias.Service.ThreadServiceCtl:Start ()
   in <0x0008b> Simias.Service.Manager:messageDispatcher
   (Simias.Service.Message msg)
   2007-12-04 17:29:11,811 [-1238651984] INFO  Simias.Service.Manager -
   Services started.
2007-12-04 17:29:12,272 [-1224914000] INFO Simias.Server.Authentication - Authenticated User:
   f7023a01-6d06-4df9-8d37-d2b9bcbc4da2:admin Success
2007-12-04 17:29:13,705 [-1224914000] INFO Simias.Server.Authentication - Authenticated User:
   f7023a01-6d06-4df9-8d37-d2b9bcbc4da2:admin Success

It's the same problem got by Bastien in October 2007.

I take a look to the code. There is tree exception. The firt one
[..]
in <0x00011> System.IO.Directory:GetFiles (System.String path, System.String pattern)
in <0x00166> Simias.Storage.Store:GetStore ()
are related to certifiate directory. Witch I don't have.


The second are more dramatic.
ERROR Simias.Server.EnterpriseDomain - mountPoint isn't valid: /var/lib/simias
[...]
but I don't understand where ctor() is called.


   Patrik Dufresne


Patrik Dufresne wrote:
Hi Kalis,

I re-setup all my environment from zero and proceed to the installation. While trying to access http://192.168.1.126/simias10 I got an authentification box where I enter my login information (user:admin, pass:simias) that I mention in the configuration of simias. I click OK end got 404 error.

While trying to acess http://192.168.1.126/simias10/DomainService.asmx I got a web page. While I try to login on the /ifolder interface I receive the same error with release 6993 and 6977 (before SSL ?)

    Exception Message: System.NullReferenceException-Object reference
    not set to an instance of an object
    Exception Type: System.Web.Services.Protocols.SoapException
    Exception Site: System.Object[]
    ReceiveResponse(System.Net.WebResponse,
    System.Web.Services.Protocols.SoapClientMessage,
    System.Web.Services.Protocols.SoapExtension[])
    Exception Source: System.Web.Services

    Exception Stack:

    System.Web.Services.Protocols.SoapException:
    System.NullReferenceException-Object reference not set to an
    instance of an object
    in <0x0043c>
    System.Web.Services.Protocols.SoapHttpClientProtocol:ReceiveResponse
    (System.Net.WebResponse response,
    System.Web.Services.Protocols.SoapClientMessage message,
    System.Web.Services.Protocols.SoapExtension[] extensions)
    in <0x0024f>
    System.Web.Services.Protocols.SoapHttpClientProtocol:Invoke
    (System.String method_name, System.Object[] parameters)
    in <0x00025> iFolderWeb:GetSystem ()
    in (wrapper remoting-invoke-with-check) iFolderWeb:GetSystem ()
    in <0x00727> Novell.iFolderApp.Web.Login:DoLogin (System.String
    username, System.String password, Boolean check)

    Username: admin
    User Full Name: admin

I will take a look at this code just before sending this e-mail.


    Patrik Dufresne



Balakrishnan KalIdas wrote:
Hi Patrik,

 Thanks for the information. Yeah, mod_mono is an issue, Mono has different 
locations in different versions :-(. It would be great if someone can find a 
way to figure out where Mono has kept the mod_mono.conf file.

 For preparing the Server code, you can just use

./autogen.sh --prefix=/your/prefix

 This will ensure the whole system is installed under this prefix and is easier 
to debug and also easier to find the necessary files instead of providing 
different locations.

 After this configure; make; make install, run the simias-server-setup and 
provide the data path where the simias data (managed and un-managed) will be 
stored. If configured with apache, then ensure that the data path is marked 
with proper UID/GID for apache to access. (simias-server-setup automatically 
find this from the uid.conf with the assumption of this file being at 
/etc/apache2, if not it will prompt for the UID/GID)

 The simplest way to check if everything is working fine after an apache 
restart, use the browser and browse the following URL

http://localhost/simias10/Simias.asmx
 It must ask for the admin credentials and must display the list of APIs. This 
display confirms that the simias is ready for usage.

 I heard from Jan-Simon the current SVN revision is broken due to the SSL 
support check-in. So would recommend to use the revision just before the SSL 
commit. I have to fix this one.

Kalis

Patrik Dufresne <[EMAIL PROTECTED]> 12/3/2007 11:48 PM >>>
Hi Kalis,

Yes, I ran the simias-server-setup tool. It's create a configuration file (simias.conf) in /etc/apache2/conf.d. I modify this file to match the location of mod_mono.conf. It's the only thing I modify.

I want to confirm something with you. When I configure simias with ./autogen.sh, I pass to it this paramaters : --prefix=/usr/local --with-simiasdatadir=/var/lib/simias --sysconfigdi=/etc --with-runasserver. I wan to know if the location /var/lib/simias must be use when I configure simias with the tool simias-server-setup. Because, It's what I do.

Also, I want to know If there is a way to only test if the server working.

Next step, I will take time to look at the code and search why I receive this error ... Maybe it's just a tiny small thing I miss.

    Patrik Dufresne

Balakrishnan KalIdas wrote:
Hi Patrik,

 Just for confirmation, I suppose after the installation, simias-server-setup 
is ran from the bin location.

Kalis

Patrik Dufresne <[EMAIL PROTECTED]> 12/2/2007 3:21 AM >>>
Hi,

This time, I really need help !

After compiling the client under Gusty, I continue to compile an appropriate server to use the client because nobody want to grant me an access to his iFolder server. I thought it's will be more simple under Gusty, but I was wrong. The mono-apache-server under Gusty seam broken .. I well know that it's work under Dapper because I have an other server running it.

I follow the guide present on the wiki, named "HowTo:Building iFolder Enterprise Server on Dapper". It's a very complete guide except it's out of date like a lot of thing on the wiki. Finally, I got every thing compileand install. Also, apache work with mono server version 1.

When I try to login using the AdminWebService, I got this error in adminweb.log.

    2007-12-01 16:36:47,975 [-1224631376] INFO  Login - [192.168.1.125]
    CBA: key is Connection , value : keep-alive
    2007-12-01 16:36:47,984 [-1224631376] INFO  Login - [192.168.1.125]
    CBA: key is Keep-Alive , value : 300
    2007-12-01 16:36:47,984 [-1224631376] INFO  Login - [192.168.1.125]
    CBA: key is Accept , value :
    
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
    2007-12-01 16:36:47,985 [-1224631376] INFO  Login - [192.168.1.125]
    CBA: key is Accept-Charset , value : ISO-8859-1,utf-8;q=0.7,*;q=0.7
    2007-12-01 16:36:47,985 [-1224631376] INFO  Login - [192.168.1.125]
    CBA: key is Accept-Encoding , value : gzip,deflate
    2007-12-01 16:36:47,985 [-1224631376] INFO  Login - [192.168.1.125]
    CBA: key is Accept-Language , value : en-us,en;q=0.5
    2007-12-01 16:36:47,985 [-1224631376] INFO  Login - [192.168.1.125]
    CBA: key is Cookie , value :
    ASPSESSION=892FC6EB2B19560FD63C0DCC035976; test=True
    2007-12-01 16:36:47,985 [-1224631376] INFO  Login - [192.168.1.125]
    CBA: key is Host , value : 192.168.1.126
    2007-12-01 16:36:47,985 [-1224631376] INFO  Login - [192.168.1.125]
    CBA: key is User-Agent , value : Mozilla/5.0 (X11; U; Linux i686;
    en-US; rv:1.8.1.10) Gecko/20071126 Ubuntu/7.10 (gutsy) Firefox/2.0.0.10
    2007-12-01 16:36:57,028 [-1234187344] INFO  Login - [192.168.1.125]
    Client Information: admin, 192.168.1.125, en-us, Mozilla/5.0 (X11;
    U; Linux i686; en-US; rv:1.8.1.10) Gecko/20071126 Ubuntu/7.10
    (gutsy) Firefox/2.0.0.10
    2007-12-01 16:36:57,798 [-1234187344] INFO  Login - [192.168.1.125]
    Login Failed
    System.Web.Services.Protocols.SoapException:
    System.NullReferenceException-Object reference not set to an
    instance of an object
    in <0x0043c>
    System.Web.Services.Protocols.SoapHttpClientProtocol:ReceiveResponse
    (System.Net.WebResponse response,
    System.Web.Services.Protocols.SoapClientMessage message,
    System.Web.Services.Protocols.SoapExtension[] extensions)
    in <0x0024f>
    System.Web.Services.Protocols.SoapHttpClientProtocol:Invoke
    (System.String method_name, System.Object[] parameters)
    in <0x00025> iFolderAdmin:GetSystem ()
    in (wrapper remoting-invoke-with-check) iFolderAdmin:GetSystem ()
    in <0x005c5> Novell.iFolderWeb.Admin.Login:DoLogin (System.String
    username, System.String password, Boolean check)
    2007-12-01 16:36:57,818 [-1234187344] ERROR Global - [192.168.1.125]
    Application Error
    System.Web.Services.Protocols.SoapException:
    System.NullReferenceException-Object reference not set to an
    instance of an object
    in <0x0043c>
    System.Web.Services.Protocols.SoapHttpClientProtocol:ReceiveResponse
    (System.Net.WebResponse response,
    System.Web.Services.Protocols.SoapClientMessage message,
    System.Web.Services.Protocols.SoapExtension[] extensions)
    in <0x0024f>
    System.Web.Services.Protocols.SoapHttpClientProtocol:Invoke
    (System.String method_name, System.Object[] parameters)
    in <0x00025> iFolderAdmin:GetSystem ()
    in (wrapper remoting-invoke-with-check) iFolderAdmin:GetSystem ()
    in <0x005c5> Novell.iFolderWeb.Admin.Login:DoLogin (System.String
    username, System.String password, Boolean check)


Also I try to login via iFolderClient 3.6 under Windows. The client display "Server not available".

    Using the iFolder Web Access "http://exemple.com/ifolder"; give this
    error message in the browser.
    Exception Message: System.NullReferenceException-Object reference
    not set to an instance of an object
    Exception Type: System.Web.Services.Protocols.SoapException
    Exception Site: System.Object[]
    ReceiveResponse(System.Net.WebResponse,
    System.Web.Services.Protocols.SoapClientMessage,
    System.Web.Services.Protocols.SoapExtension[])
    Exception Source: System.Web.Services

    Exception Stack:

    System.Web.Services.Protocols.SoapException:
    System.NullReferenceException-Object reference not set to an
    instance of an object
    in <0x0043c>
    System.Web.Services.Protocols.SoapHttpClientProtocol:ReceiveResponse
    (System.Net.WebResponse response,
    System.Web.Services.Protocols.SoapClientMessage message,
    System.Web.Services.Protocols.SoapExtension[] extensions)
    in <0x0024f>
    System.Web.Services.Protocols.SoapHttpClientProtocol:Invoke
    (System.String method_name, System.Object[] parameters)
    in <0x00025> iFolderWeb:GetSystem ()
    in (wrapper remoting-invoke-with-check) iFolderWeb:GetSystem ()
    in <0x00727> Novell.iFolderApp.Web.Login:DoLogin (System.String
    username, System.String password, Boolean check)

    Username: admin
    User Full Name: admin


I joint an archive containing all the log produce by simias. I take care to clear it and produce the error case.

If any one want to help me directly I install everything on a virtual machine using VMWare-server. I can put the VM file on a web server ...

Patrik Dufresne



_______________________________________________
ifolder-dev mailing list
[email protected]
http://forge.novell.com/mailman/listinfo/ifolder-dev

Reply via email to