Common lisp 错误:条件地址错误(错误#14),无法在Clozure CL上运行Huntentoot
我正在尝试在IBMPOWER6上运行hunchentoot,该平台上只有ClozureCL可用。我试过这个: 1.口齿不清Common lisp 错误:条件地址错误(错误#14),无法在Clozure CL上运行Huntentoot,common-lisp,hunchentoot,clozure-cl,usocket,Common Lisp,Hunchentoot,Clozure Cl,Usocket,我正在尝试在IBMPOWER6上运行hunchentoot,该平台上只有ClozureCL可用。我试过这个: 1.口齿不清 (hunchentoot:start (make-instance 'hunchentoot:easy-acceptor :port 80)) (hunchentoot:define-easy-handler (say-yo :uri "/yo") (name) (setf (hunchentoot:content-type*) "text/plain") (for
(hunchentoot:start (make-instance 'hunchentoot:easy-acceptor :port 80))
(hunchentoot:define-easy-handler (say-yo :uri "/yo") (name)
(setf (hunchentoot:content-type*) "text/plain")
(format nil "Hey~@[ ~A~]!" name))
然后我将其加载到ccl中:
(T482:lisp/ccl/201907271334) # ./ccl/ppccl64 -I 0.img -l 1.lisp
> Error: The condition Bad address (error #14) during socket creation operation in bind occurred with errno: 0.
> While executing: USOCKET::RAISE-ERROR-FROM-ID, in process listener(1).
> Type :GO to continue, :POP to abort, :R for a list of available restarts.
> If continued: Skip loading "1.lisp"
> Type :? for other options.
1 >
我不知道如何修复它。尝试使用不同的端口号,例如
:端口9091
。我已经尝试过了。您是否有权接受您正在使用的设备上的连接?我以root用户身份使用它,并且iptable已关闭,我确信我尝试过的所有端口都没有被其他程序占用(使用lsof检查)尝试使用不同的端口号,例如:port 9091
。我尝试过。您是否有权接受您正在使用的设备上的连接?我以root用户身份使用它,并且iptable已关闭,我确信我尝试的所有端口都没有被其他程序占用(使用lsof检查)