[Prev][Next][Index][Thread]

Re: (still) can't start CL-HTTP



greetings.

i've tried the suggestions below, without success.

>This is very simple. Do you have Ethernet? If yes, that's
>fine. Configure your TCP/IP to use manual addressing.
>Then load CL-HTTP. Change the configuration.lisp
>file in the examples directory:
>
>
>;; Controls whether IP addresses are resolved in all contexts other than
>;; logging.
>(setq *resolve-ip-addresses* nil)  ;; turn it off (rj)
>
>;; Controls whether host names are DNS resolved and connonicalized on
>;; the primary DNS name for the host when the URL is interned. Choices
>;; are :always, :preferred, :never. Relevant when *resolve-ip-addresses*
>;; is non-null.
>(setq url:*url-host-name-resolution* :never)  ;; turn it off (rj)
>
>
>Then make sure mactcp does not try to resolve names:
>
>(setq ccl::*use-resolver* nil)
>

there must be something else missing...
the "host" in question is an 840av. which means it has ethernet. i would like,
however, to use it to serve other macs which do not.
therefore i'm trying to find a configuration with MacIP.

if i just apply the suggestions (most of which were already in
configuration-apple-talk.lisp in #'initialize-apple-talk-configuration),
the error in CCL::%TCP-CONTROL-ASYNC-WAIT
still occurs.

if i extend #' %local-host-parsed-ip-number to force an ip address,

(defun %local-host-parsed-ip-number ()
  (handler-case
    (ccl::%tcp-getaddr)
    #-with-net
    (error () (ccl::tcp-ip-str-to-addr "127.0.0.1"))
    (ccl:domain-error () 0)))

that call succeeds but somethis else later fails.
then the error is:

> Error: MACTCP: Unknown Error Code 1 -- No entry in
>ccl::*TCP-Error-Class-Alist*..
> While executing: CCL::%OPEN-RESOLVER
> Type Command-. to abort.
See the RestartsŠ menu item for further choices.
1 >

this happens both with the TCP/IP control panel set for MacIP and with it
set for Ethernet...
the error seems to occur while resolving names for external url's. if i
just ignore it an go ahead and start the server, it starts its processes,
each of which then yields the following (or similar) error message:

> Error in process HTTP Process 2: MACTCP: Insufficient resources to
>perform TCP request.
> While executing: CCL::MAKE-CONNECTION
> Type Command-. to abort.
See the RestartsŠ menu item for further choices.
1 >

suggestions?

-------------------------------------------------------------------------------
Welcome to Macintosh Common Lisp Version 3.0p2!
?
;Loading #P"Macintosh HD:Desktop
Folder:cl-http-60-57:mac-start-local-talk.lisp"...
;Loading #P"Macintosh HD:Desktop Folder:cl-http-60-57:mac-sysdcl.lisp"...
;Loading #P"Macintosh HD:Desktop Folder:cl-http-60-57:mac-translations.lisp"...
;Loading #4P"http:mac;server;timers.fasl"...
;Loading #4P"http:mac;server;resources.fasl"...
;Loading #4P"http:server;package.fasl"...
;Loading #4P"http:mac;server;tcp-stream.fasl"...
;Loading #4P"http:server;preliminary.fasl"...
;Loading #4P"http:server;variables.fasl"...
;Loading #4P"http:mac;server;www-utils.fasl"...