Migrating from 4.1 to 6.0 problem - config files

Our custom NSAPI code parameters in obj.conf didn't get put into magnus.conf

correctly.

Original obj.conf parameters:

Init funcs="WEB_ACF_Init,WEB_ACF_AuthTrans"

fn="load-modules" shlib="/ehs/current/Web/lib/ssss_nsapi.so"

Init fn="WEB_ACF_Init"

debug="n"

acf-file="/ehs/current/Web/etc/EHS_Hosts"

mask-file="/ehs/current/Web/etc/hosts.masks"

ignore-list-file="/ehs/ehsetc/web/il"

show-pb="n"

show-rq-reqpb="n"

show-rq-headers="n"

show-rq-vars="n"

show-rq-srvhdrs="n"

show-sn-client="n"

check-browser="n"

During the migration, only the "Init" lines were moved to the magnus.conf

and the continuation lines were left in obj.conf. I have manually edited

the obj.conf and magnus.conf files to correct the problem, but get the

following error when I try to start the server;

Configuration initialization failed: line 36: directive with no value

Line 36 is the debug="n" line shown above. According to the manual, you can

have line continuations if you start your continuation line with 1 space or

with a tab. All of my continuation lines start with a tab. I have taken

all of my parameters and put them on one line and it works, except for

"Init" statements that have 20 or so parameters.

How do I get around this problem ?

Thanks in advance!

Greg

[1444 byte] By [] at [2007-11-25 7:18:54]
# 1

Greg Redman wrote:

> Line 36 is the debug="n" line shown above. According to the manual, you can

> have line continuations if you start your continuation line with 1 space or

> with a tab. All of my continuation lines start with a tab.

We certainly should have preserved the obj.conf semantics when we moved Init

directives to magnus.conf. Where did you see that syntax documented for

magnus.conf?

> I have taken all of my parameters and put them on one line and it works,

> except for "Init" statements that have 20 or so parameters.

What happens with Init lines with more than 20 parameters? I would expect them

to work.

Unfortunately, I don't think space/tab-delimited magnus.conf Init line

continuations will be added any time before 6.0 SP2. However, you should be

able to use \-delimited line continuations as follows:

Init fn="WEB_ACF_Init" \

debug="n" \

acf-file="/ehs/current/Web/etc/EHS_Hosts" \

mask-file="/ehs/current/Web/etc/hosts.masks" \

ignore-list-file="/ehs/ehsetc/web/il" \

show-pb="n" \

show-rq-reqpb="n" \

show-rq-headers="n" \

show-rq-vars="n" \

show-rq-srvhdrs="n" \

show-sn-client="n" \

check-browser="n"

at 2007-6-29 17:55:58 > top of Java-index,Web & Directory Servers,Web Servers...