List Info

Thread: Unable to log in (initial installation).




Unable to log in (initial installation).
user name
2006-09-25 18:23:44
 Hello,

 I suspect that somewhere along the line I've missed
something
important or otherwise gone off track with this, but here
goes:

  I've built and installed out of hula-store and I am
anticipating
experimenting with Dragonfly.  The daemon runs fine
(complains about
spamd but all else seems fine), but I can't seem to log in. 
When I
try, I receive the following errors in the web interface -

ERROR: Exception GET /user/admin/preferences/dragonfly.json:
MochiKit.Async.XMLHttpRequestError: Request failed: HTTP
Error: 500/
(ht
tp://192.168.127.17/js/lib/MochiKit/Base.js:1077)
ERROR: Error loading preferences:
MochiKit.Async.XMLHttpRequestError:
Request failed: HTTP Error: 500/
(ht
tp://192.168.127.17/js/lib/MochiKit/Base.js:1077)

 Any pointers on where to look?

 Regards,

  -FC
_______________________________________________
Hula-general mailing list
Hula-generalforge.novell.com
http://forge.novell.com/mailman/listinfo/hula-general
Unable to log in (initial installation).
user name
2006-09-25 18:39:49
Hello Frances,

If you are running the server with apache you should check
your apache error logs.

If you're using hula-standalone, it should print something
to the console you ran it from.

In addition, running hula-standalone with the --debug option
may have more information.

 -- jacob

_______________________________________________
Hula-general mailing list
Hula-generalforge.novell.com
http://forge.novell.com/mailman/listinfo/hula-general
Unable to log in (initial installation).
user name
2006-09-25 21:25:55
 Thanks for your rapid response!

  I should have checked this originally, my apologies.  I
was able to
determine that Apache wasn't loading the mod_python module
correctly
which was easy enough to resolve.  I do have an exciting new
problem
now, however.  ;)  Now it appears that it's trying to locate
my test
user's dragonfly.json file under
/var/www/user/$user/preferences/ and
is of course unable to locate it.  I am using the supplied
shnippet
for the Apache configuration.

 Any thoughts?

 Thanks,

  -FC

On 9/25/06, jacob berkman <jberkmannovell.com> wrote:
> Hello Frances,
>
> If you are running the server with apache you should
check your apache error logs.
>
> If you're using hula-standalone, it should print
something to the console you ran it from.
>
> In addition, running hula-standalone with the --debug
option may have more information.
>
>  -- jacob
>
>
_______________________________________________
Hula-general mailing list
Hula-generalforge.novell.com
http://forge.novell.com/mailman/listinfo/hula-general
Unable to log in (initial installation).
user name
2006-09-25 21:42:58
Frances,

Which snippet are you talking about?

If it's looking under /var/www then it's not trying to use
the mod_python module,
so something is still mis configured.

There should be a 'hula.conf' file in share/hula/examples
which has what the configuration
should be.

 -- jacob

_______________________________________________
Hula-general mailing list
Hula-generalforge.novell.com
http://forge.novell.com/mailman/listinfo/hula-general
Unable to log in (initial installation).
user name
2006-09-25 21:49:46
 Hi Jacob,

 That is indeed the snippet I'm working from.  I'll keep
digging at it
to figure out why it's not using mod_python...

 Thanks,

  -FC

On 9/25/06, jacob berkman <jberkmannovell.com> wrote:
> Frances,
>
> Which snippet are you talking about?
>
> If it's looking under /var/www then it's not trying to
use the mod_python module,
> so something is still mis configured.
>
> There should be a 'hula.conf' file in
share/hula/examples which has what the configuration
> should be.
>
>  -- jacob
>
>
_______________________________________________
Hula-general mailing list
Hula-generalforge.novell.com
http://forge.novell.com/mailman/listinfo/hula-general
Unable to log in (initial installation).
user name
2006-09-26 18:15:39
 Jacob,

 This might deserve a new thread, but I'll leave that to
your
discretion.  I became frustrated trying to figure out why
mod_python
wasn't working and the distribution I was working with was
only
partially familiar to me ... so, I compiled on a new (RPM
based)
distribution so I wouldn't have any "basic"
stumbling blocks.  Well,
I've got mod_python and everything working, which is
fantastic, but
now I'm unable to use hula-admin.  I segfault like so:

[demohula-test ~]$ /usr/local/hula/sbin/hula-admin demo
Enter password for admin:
/usr/lib/python2.3/optparse.py:668: FutureWarning:
%u/%o/%x/%X of
negative int will return a signed string in Python 2.4 and
up
  return ("<%s at 0x%x: %r>"
libhulacal: Generating system timezone cache
Segmentation fault

 Unfortunately, the debug argument doesn't tell me much:

[demohula-test ~]$ /usr/local/hula/sbin/hula-admin --debug
demo
Enter password for admin:
DEBUG: running command:
<hula.admintool.DemoCommands.DemoCommand
instance at 0xb7987b8c>
/usr/lib/python2.3/optparse.py:668: FutureWarning:
%u/%o/%x/%X of
negative int will return a signed string in Python 2.4 and
up
  return ("<%s at 0x%x: %r>"
DEBUG: options: <Values at 0xb7994f4c: {'demo_user':
'rupert',
'debug': True, 'authuser': 'admin', 'authpass': '*****',
'context':
None}>
libhulacal: Generating system timezone cache
Segmentation fault

 So far, just about anything I try to do with hula-admin
seems to
result in this (aside from getting the list of arguments,
that is).
Any suggestions?

 Thanks,

 -FC

On 9/25/06, jacob berkman <jberkmannovell.com> wrote:
> Frances,
>
> Which snippet are you talking about?
>
> If it's looking under /var/www then it's not trying to
use the mod_python module,
> so something is still mis configured.
>
> There should be a 'hula.conf' file in
share/hula/examples which has what the configuration
> should be.
>
>  -- jacob
>
>
_______________________________________________
Hula-general mailing list
Hula-generalforge.novell.com
http://forge.novell.com/mailman/listinfo/hula-general
Unable to log in (initial installation).
user name
2006-09-26 19:21:49
Hello Frances,

Ok, let's just do this the fast and dirty way.

Can you run 'strace -f -o strace.out hula-admin demo; gzip
strace.out' and
mail the strace.out.gz file to me (not the list)?

Thanks,
 -- jacob

_______________________________________________
Hula-general mailing list
Hula-generalforge.novell.com
http://forge.novell.com/mailman/listinfo/hula-general
Unable to log in (initial installation).
user name
2006-09-26 20:30:48
 You've got it; should be in your hands shortly.

 Thanks,

  -FC

On 9/26/06, jacob berkman <jberkmannovell.com> wrote:
> Hello Frances,
>
> Ok, let's just do this the fast and dirty way.
>
> Can you run 'strace -f -o strace.out hula-admin demo;
gzip strace.out' and
> mail the strace.out.gz file to me (not the list)?
>
> Thanks,
>  -- jacob
>
>
_______________________________________________
Hula-general mailing list
Hula-generalforge.novell.com
http://forge.novell.com/mailman/listinfo/hula-general
Unable to log in (initial installation).
user name
2006-09-28 02:27:45
<snip>
> libhulacal: Generating system timezone cache
> Segmentation fault
</snip>

The python problem aside, as it is unrelated) I'm seeing the
same crash
as above, all the components of hula start with the
exception of
hulastore which crashes with the above error. In addition as
in the
original report hula-admin crashes with the same SEGV.

Backtrace for hulastore is attached.

--Dan
(gdb) run
Starting program: /usr/sbin/hulastore 
[Thread debugging using libthread_db enabled]
[New Thread 47465894040336 (LWP 28161)]
[New Thread 1073805632 (LWP 28164)]
libhulacal: Generating system timezone cache

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 47465894040336 (LWP 28161)]
0x00002b2b83a3c404 in fread () from /lib/libc.so.6
(gdb) bt
#0  0x00002b2b83a3c404 in fread () from /lib/libc.so.6
#1  0x00002b2b81cbf207 in FileRead (userData=0x61bff0,
buffer=0x7fff2935b304 "", maxRead=1024) at
src/libs/json/parse.c:69
#2  0x00002b2b81cbf42f in EnsureBuffer (t=0x7fff2935b2e0) at
src/libs/json/parse.c:134
#3  0x00002b2b81cbf494 in HulaJsonParserNext
(t=0x7fff2935b2e0) at src/libs/json/parse.c:151
#4  0x00002b2b81cbf613 in HulaJsonParserNextClean
(t=0x7fff2935b2e0) at src/libs/json/parse.c:200
#5  0x00002b2b81cbfc4e in HulaJsonParserNextNode
(t=0x7fff2935b2e0) at src/libs/json/parse.c:454
#6  0x00002b2b81cc000e in HulaJsonParseFile (f=0x61bff0,
toRead=-1, node=0x7fff2935b7d0) at
src/libs/json/parse.c:541
#7  0x00002b2b81dda660 in CacheSystemTimezone
(tzfile=0x61bff0, cachefile=0x61df50, expandFrom={year =
1970, month = 0, day = 1, hour = 0, minute = 0, second = 0,
isDate = 0, isUtc = 1, tzid = 0x2b2b81dddd40
"UTC", tz = 0x2b2b81ee22e0}, 
    expandUntil={year = 2099, month = 0, day = 1, hour = 0,
minute = 0, second = 0, isDate = 1, isUtc = 1, tzid = 0x0,
tz = 0x0}) at src/libs/cal/hula-cal-timezone.c:874
#8  0x00002b2b81dda9c0 in CacheSystemTimezones
(cachedir=0x2b2b8220d752 "/var/lib/hula/dbf") at
src/libs/cal/hula-cal-timezone.c:953
#9  0x00002b2b81ddaae3 in HulaCalTimezoneInit
(cachedir=0x2b2b8220d752 "/var/lib/hula/dbf") at
src/libs/cal/hula-cal-timezone.c:992
#10 0x00002b2b81dcd0ce in HulaCalInit
(cachedir=0x2b2b8220d752 "/var/lib/hula/dbf") at
src/libs/cal/hula-cal-object.c:793
#11 0x000000000042ce9d in _XplServiceMain (argc=1,
argv=0x7fff2935daa8) at src/agents/store/stored.c:240
#12 0x000000000042466b in main (argc=1, argv=0x7fff2935daa8)
at src/agents/store/main.cpp:31
_______________________________________________
Hula-general mailing list
Hula-generalforge.novell.com
http://forge.novell.com/mailman/listinfo/hula-general
[1-9]

about | contact  Other archives ( Real Estate discussion Medical topics )