Re: [Ifolder-dev] compil ifolder server on ubuntu 6.06

2007-10-15 Thread Bastien Jaillot
Oui oui, created by  simias-server-setup... and with www-data:www-data
rights. so yes.


On 10/15/07, Jan-Simon Möller <[EMAIL PROTECTED]> wrote:
> Am Montag 15 Oktober 2007 10:22:42 schrieb Bastien Jaillot:
> > Hi Balakrishnan,
> >
> > Thanks for the help, it resolved one problem but it still have some
> > problem. First i did :
> > sudo mkdir -p /var/www/.config/.mono/
> > sudo chown -R www-data:www-data /var/www/.config/
> >
> > I don't have the trouble with keypair.
> >
> > But :
> > 
> > 2007-10-15 12:16:59,418 [-1238373456] 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-10-15 12:16:59,441 [-1238373456] INFO  Simias.Storage.ChangeLog -
> > Change Log Service started.
> > 2007-10-15 12:16:59,442 [-1238373456] INFO  Simias.Service.Manager -
> > "Simias Change Log Service" service started.
> > 2007-10-15 12:16:59,443 [-1238373456] INFO  Simias.Service.Manager -
> > "Simias Local Domain Provider" service started.
> > 2007-10-15 12:16:59,445 [-1238373456] INFO  Simias.Service.Manager -
> > "Simias Journal" service started.
> > 2007-10-15 12:16:59,500 [-1238373456] ERROR
> > Simias.Server.EnterpriseDomain - mountPoint isn't valid:
> > /var/lib/simias
>
> ^
> Does /var/lib/simias exist or hast it the appropriate rights ?
>
> [..]
>
>
> Greets
> Jan-Simon
> ___
> ifolder-dev mailing list
> ifolder-dev@forge.novell.com
> http://forge.novell.com/mailman/listinfo/ifolder-dev
>


-- 
Bastien Jaillot
___
ifolder-dev mailing list
ifolder-dev@forge.novell.com
http://forge.novell.com/mailman/listinfo/ifolder-dev


Re: [Ifolder-dev] compil ifolder server on ubuntu 6.06

2007-10-15 Thread Jan-Simon Möller
Am Montag 15 Oktober 2007 10:22:42 schrieb Bastien Jaillot:
> Hi Balakrishnan,
>
> Thanks for the help, it resolved one problem but it still have some
> problem. First i did :
> sudo mkdir -p /var/www/.config/.mono/
> sudo chown -R www-data:www-data /var/www/.config/
>
> I don't have the trouble with keypair.
>
> But :
> 
> 2007-10-15 12:16:59,418 [-1238373456] 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-10-15 12:16:59,441 [-1238373456] INFO  Simias.Storage.ChangeLog -
> Change Log Service started.
> 2007-10-15 12:16:59,442 [-1238373456] INFO  Simias.Service.Manager -
> "Simias Change Log Service" service started.
> 2007-10-15 12:16:59,443 [-1238373456] INFO  Simias.Service.Manager -
> "Simias Local Domain Provider" service started.
> 2007-10-15 12:16:59,445 [-1238373456] INFO  Simias.Service.Manager -
> "Simias Journal" service started.
> 2007-10-15 12:16:59,500 [-1238373456] ERROR
> Simias.Server.EnterpriseDomain - mountPoint isn't valid:
> /var/lib/simias

^
Does /var/lib/simias exist or hast it the appropriate rights ?

[..]


Greets
Jan-Simon
___
ifolder-dev mailing list
ifolder-dev@forge.novell.com
http://forge.novell.com/mailman/listinfo/ifolder-dev


Re: [Ifolder-dev] compil ifolder server on ubuntu 6.06

2007-10-15 Thread Bastien Jaillot
Hi Balakrishnan,

Thanks for the help, it resolved one problem but it still have some problem.
First i did :
sudo mkdir -p /var/www/.config/.mono/
sudo chown -R www-data:www-data /var/www/.config/

I don't have the trouble with keypair.

But :

2007-10-15 12:16:59,418 [-1238373456] 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-10-15 12:16:59,441 [-1238373456] INFO  Simias.Storage.ChangeLog -
Change Log Service started.
2007-10-15 12:16:59,442 [-1238373456] INFO  Simias.Service.Manager -
"Simias Change Log Service" service started.
2007-10-15 12:16:59,443 [-1238373456] INFO  Simias.Service.Manager -
"Simias Local Domain Provider" service started.
2007-10-15 12:16:59,445 [-1238373456] INFO  Simias.Service.Manager -
"Simias Journal" service started.
2007-10-15 12:16:59,500 [-1238373456] ERROR
Simias.Server.EnterpriseDomain - mountPoint isn't valid:
/var/lib/simias
2007-10-15 12:16:59,504 [-1238373456] 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-10-15 12:16:59,518 [-1238373456] ERROR
Simias.Server.EnterpriseDomain - mountPoint isn't valid:
/var/lib/simias
2007-10-15 12:16:59,518 [-1238373456] 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-10-15 12:16:59,557 [-1238373456] INFO  Simias.Service.Manager -
"Simias Server" service started.
2007-10-15 12:16:59,561 [-1238373456] 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-10-15 12:16:59,566 [-1238373456] INFO  Simias.Service.Manager -
Services started.
2007-10-15 12:17:00,064 [-1224332368] INFO
Simias.Server.Authentication - Authenticated User:
c2bcc828-1c3d-424a-a000-8dc257da0d17:admin Success


I remember me that Jan-Simon told me that for the .ctor() problem I
have to install mono-xsp... but it's installed.

package i installed :
aptitude install libapache2-mod-mono apache2 liblog4net-cil uuid-dev
libxml2 libxml2-dev automake1.9 libncurses5-dev libcommoncpp2-1.3c2a
libcommoncpp2-dev libstdc++5 libtool pkg-config make g++ mono-mcs
libflaim4 libflaim-dev mono-xsp subversion mono-xsp-base flex

thks for the help

On 10/15/07, Balakrishnan KalIdas <[EMAIL PROTECTED]> wrote:
> Hi Bastien,
>
>  Thanks for the logs, it really helps to identify what the issue is.
>
>  From the logs looks like apache doesn't know the key store, where it can get 
> the Public/Private keys. This has to be setup. Apache documentation for 
> Ubuntu should help or mono documentation for Ubuntu should help.
>
>  In SuSE, the key store which apache/mono points to is 
> /var/lib/wwwrun/.config/.mono/keypairs
>
> Kalis
>
> >>> "Bastien Jaillot" <[EMAIL PROTECTED]> 10/15/2007 3:13 AM >>>
> Hi,
>
> always on ubuntu 6.06, i compiled and installed from SVN. The
> installation passed without problem, i do a simias-server-setup,
> choices by default for all of parameters expect Use Key recovery Agent
> and use LDAP which i said no.
>
> I relaunch apache2 and then :
> cat /var/lib/simias/log/Simias.log
>
> 
> 2007-10-14 23:35:52,659 [-1237627984] INFO
> Simias.Storage.Provider.Provider - Created new store /var/lib/simias.
> 2007-10-14 23:35:53,655 [-1237627984] 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 <0x00064> Simias.Storage.Identity:get_Credential ()
> in <0x00

Re: [Ifolder-dev] compil ifolder server on ubuntu 6.06

2007-10-14 Thread Balakrishnan KalIdas
Hi Bastien,

 Thanks for the logs, it really helps to identify what the issue is.

 From the logs looks like apache doesn't know the key store, where it can get 
the Public/Private keys. This has to be setup. Apache documentation for Ubuntu 
should help or mono documentation for Ubuntu should help.

 In SuSE, the key store which apache/mono points to is 
/var/lib/wwwrun/.config/.mono/keypairs

Kalis

>>> "Bastien Jaillot" <[EMAIL PROTECTED]> 10/15/2007 3:13 AM >>>
Hi,

always on ubuntu 6.06, i compiled and installed from SVN. The
installation passed without problem, i do a simias-server-setup,
choices by default for all of parameters expect Use Key recovery Agent
and use LDAP which i said no.

I relaunch apache2 and then :
cat /var/lib/simias/log/Simias.log


2007-10-14 23:35:52,659 [-1237627984] INFO
Simias.Storage.Provider.Provider - Created new store /var/lib/simias.
2007-10-14 23:35:53,655 [-1237627984] 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 <0x00064> Simias.Storage.Identity:get_Credential ()
in <0x00016> Simias.Storage.Identity:get_PublicKey ()
in <0x00518> Simias.Storage.Store:.ctor ()
2007-10-14 23:35:53,739 [-1237627984] INFO
Simias.Storage.Provider.Provider - Created new store /var/lib/simias.
2007-10-14 23:35:54,735 [-1237627984] ERROR Simias.Service.Manager -
Exception has been thrown by the target of an invocation.
System.Reflection.TargetInvocationException: Exception has been thrown
by the target of an invocation. ---> System.NullReferenceException:
Object reference not set to an instance of an object
in <0x00064> Simias.Storage.Identity:get_Credential ()
in <0x00016> Simias.Storage.Identity:get_PublicKey ()
in <0x00518> Simias.Storage.Store:.ctor ()--- End of inner exception
stack trace ---

in <0x0010e> System.Reflection.MonoCMethod:Invoke (System.Object obj,
BindingFlags invokeAttr, System.Reflection.Binder binder,
System.Object[] parameters, System.Globalization.CultureInfo culture)
in <0x0001c> System.Reflection.MonoCMethod:Invoke (BindingFlags
invokeAttr, System.Reflection.Binder binder, System.Object[]
parameters, System.Globalization.CultureInfo culture)
in <0x00035> System.Reflection.ConstructorInfo:Invoke (System.Object[]
parameters)
in <0x00105> System.Activator:CreateInstance (System.Type type,
Boolean nonPublic)
in <0xc> System.Activator:CreateInstance (System.Type type)
in <0x0003a> System.Reflection.Assembly:CreateInstance (System.String
typeName, Boolean ignoreCase)
in <0x00012> System.Reflection.Assembly:CreateInstance (System.String typeName)
in <0x00055> Simias.Service.ThreadServiceCtl:Start ()
in <0x0008b> Simias.Service.Manager:messageDispatcher
(Simias.Service.Message msg)
2007-10-14 23:35:54,740 [-1237627984] INFO  Simias.Service.Manager -
"Simias Journal" service started.
2007-10-14 23:35:54,807 [-1237627984] INFO
Simias.Storage.Provider.Provider - Created new store /var/lib/simias.
2007-10-14 23:35:57,091 [-1237627984] 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 <0x00064> Simias.Storage.Identity:get_Credential ()
in <0x00016> Simias.Storage.Identity:get_PublicKey ()
in <0x00518> Simias.Storage.Store:.ctor ()
2007-10-14 23:35:57,151 [-1237627984] INFO
Simias.Storage.Provider.Provider - Created new store /var/lib/simias.
2007-10-14 23:35:58,159 [-1237627984] ERROR Simias.Service.Manager -
An exception was thrown by the type initializer for
Simias.Server.Report
System.TypeInitializationException: An exception was thrown by the
type initializer for Simias.Server.Report --->
System.NullReferenceException: Object reference not set to an instance
of an object
in <0x00064> Simias.Storage.Identity:get_Credential ()
in <0x00016> Simias.Storage.Identity:get_PublicKey ()
in <0x00518> Simias.Storage.Store:.ctor ()--- End of inner exception
stack trace ---

in <0x0> 
in <0x00021> Simias.Server.ReportService:Start ()
in <0x00102> Simias.Service.ThreadServiceCtl:Start ()
in <0x0008b> Simias.Service.Manager:messageDispatcher
(Simias.Service.Message msg)
2007-10-14 23:35:58,159 [-1237627984] INFO  Simias.Service.Manager -
Services started.
2007-10-14 23:35:58,348 [-1263129680] INFO
Simias.Storage.Provider.Provider - Created new store /var/lib/simias.
2007-10-14 23:36:00,455 [-1224926288] INFO
Simias.Storage.Provider.Provider - Created new store /var/lib/simias.
-

apparently it doesn't like the missing of "publickey()'. What I've to do?

thx for all

On 10/8/07, Balakrishnan KalIdas <[EMAIL PROTECTED]> wrote:
> Gsoap assumes the libraries are in /usr/lib, if you are compiling for 64bit, 
> then set $lib to lib64 before compiling, so that gsoap gets the correct path.
>
> Kalis
>
> >>> "Bastien Jaillot" <[EMAIL PROTECTED]> 10/5/2007 2:06 PM >>>
> Hi,
>
> I tried to compile simias server on an ubuntu 6.06 LTS but i've

Re: [Ifolder-dev] compil ifolder server on ubuntu 6.06

2007-10-07 Thread Balakrishnan KalIdas
Gsoap assumes the libraries are in /usr/lib, if you are compiling for 64bit, 
then set $lib to lib64 before compiling, so that gsoap gets the correct path.

Kalis

>>> "Bastien Jaillot" <[EMAIL PROTECTED]> 10/5/2007 2:06 PM >>>
Hi,

I tried to compile simias server on an ubuntu 6.06 LTS but i've
problems with gsoap :


make -C ../../../tools/gsoap/gsoap-linux-2.7/src && cp
./../../tools/gsoap/gsoap-linux-2.7/src/soapcpp2
./../../tools/gsoap/gsoap-linux-2.7
make[4]: Entering directory `/root/simias/tools/gsoap/gsoap-linux-2.7/src'
gcc -Wall -O1  -DWITH_BISON -DWITH_FLEX symbol2.o error2.o
soapcpp2_yacc.tab.o lex.yy.o init2.o soapcpp2.o /usr/lib/libfl.a -o
soapcpp2
gcc: /usr/lib/libfl.a: No such file or directory
make[4]: *** [soapcpp2] Error 1
make[4]: Leaving directory `/root/simias/tools/gsoap/gsoap-linux-2.7/src'
make[3]: *** [stdsoap2.c] Error 2
make[3]: Leaving directory `/root/simias/src/core/libsimias'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/root/simias/src/core'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/root/simias/src'
make: *** [install-recursive] Error 1


somebody got an idea ?

thanks for your help.

-- 
Bastien Jaillot
___
ifolder-dev mailing list
ifolder-dev@forge.novell.com 
http://forge.novell.com/mailman/listinfo/ifolder-dev

___
ifolder-dev mailing list
ifolder-dev@forge.novell.com
http://forge.novell.com/mailman/listinfo/ifolder-dev


Re: [Ifolder-dev] compil ifolder server on ubuntu 6.06

2007-10-05 Thread Jan-Simon Möller
Am Freitag, 5. Oktober 2007 10:36 schrieb Bastien Jaillot:
> Hi,
>
> I tried to compile simias server on an ubuntu 6.06 LTS but i've
> problems with gsoap :
>
> 
> make -C ../../../tools/gsoap/gsoap-linux-2.7/src && cp
> ./../../tools/gsoap/gsoap-linux-2.7/src/soapcpp2
> ./../../tools/gsoap/gsoap-linux-2.7
> make[4]: Entering directory `/root/simias/tools/gsoap/gsoap-linux-2.7/src'
> gcc -Wall -O1  -DWITH_BISON -DWITH_FLEX symbol2.o error2.o
> soapcpp2_yacc.tab.o lex.yy.o init2.o soapcpp2.o /usr/lib/libfl.a -o
> soapcpp2
> gcc: /usr/lib/libfl.a: No such file or directory
^^
You need to install flex and/or flex-devel


Jan-Simon
___
ifolder-dev mailing list
ifolder-dev@forge.novell.com
http://forge.novell.com/mailman/listinfo/ifolder-dev


[Ifolder-dev] compil ifolder server on ubuntu 6.06

2007-10-05 Thread Bastien Jaillot
Hi,

I tried to compile simias server on an ubuntu 6.06 LTS but i've
problems with gsoap :


make -C ../../../tools/gsoap/gsoap-linux-2.7/src && cp
./../../tools/gsoap/gsoap-linux-2.7/src/soapcpp2
./../../tools/gsoap/gsoap-linux-2.7
make[4]: Entering directory `/root/simias/tools/gsoap/gsoap-linux-2.7/src'
gcc -Wall -O1  -DWITH_BISON -DWITH_FLEX symbol2.o error2.o
soapcpp2_yacc.tab.o lex.yy.o init2.o soapcpp2.o /usr/lib/libfl.a -o
soapcpp2
gcc: /usr/lib/libfl.a: No such file or directory
make[4]: *** [soapcpp2] Error 1
make[4]: Leaving directory `/root/simias/tools/gsoap/gsoap-linux-2.7/src'
make[3]: *** [stdsoap2.c] Error 2
make[3]: Leaving directory `/root/simias/src/core/libsimias'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/root/simias/src/core'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/root/simias/src'
make: *** [install-recursive] Error 1


somebody got an idea ?

thanks for your help.

-- 
Bastien Jaillot
___
ifolder-dev mailing list
ifolder-dev@forge.novell.com
http://forge.novell.com/mailman/listinfo/ifolder-dev