[cgiirc-general] CGI:IRC on OpenBSD 3.8 (Mkdir error)
Brought to you by:
dgl
From: <man...@la...> - 2006-01-10 20:50:19
|
Hello, I am trying to get CGI:IRC to work on OpenBSD's apache which is a jailed environment. I've followed the perl in an apache chroot setup instructions: http://livenudefrogs.com/~anubis/servers/apache_perl_chroot.shtml and have verified the directory and file permissions are the same as those in /usr and /etc. When I access http://www.mydomain.com/cgi-bin/irc.cgi the CGI:IRC window opens up and looks fine. However I get the following error: *** An error occurred: Mkdir error: No such file or directory Not quite sure where to go from here. The logfiles look like cgi:irc is attempting to find the site within the cgi-bin directory. Any insight is appreciated. Here are the details: OpenBSD 3.8 Unreal IRCD 3.2.3 (working fine) CGI:IRC installed per documentation ---------------------------------------------------------- My cgiirc.config file: # This is the default configuration file for CGI:IRC 0.5 # See http://cgiirc.sourceforge.net/docs/config.php for help editing it. # If you want to allow the use of multiple servers or enable more # advanced options please copy cgiirc.config.full over this file, # then edit that. # Set the server(s) that access is allowed to, to allow more than one entry # seperate the servers with commas. default_server = chat.mydomain.com default_port = 6667 # Channel(s) to allow access to, a comma seperated list default_channel = #theclueless # The default name (shown in /whois) of a user default_name = CGI:IRC User # The default nickname, any ? is replaced with a random number default_nick=CGI??? # The path to images for the browser (a URL!) # In script aliased directories (cgi-bin) the default will *not* work, # you need to move the directory elsewhere and change this to something # like /images. image_path = http://www.mydomain.com/images # You can change the location of the scripts if needed. # This doesn't usually need to be changed but they *must* be set. script_nph = nph-irc.cgi script_form = client-perl.cgi script_login = irc.cgi ------------------------------------------------------------- My file permisions withing my cgi-bin directory: -rw-r--r-- 1 root wheel 1821 Feb 3 2004 README -rw-r--r-- 1 root wheel 1163 Jan 10 13:32 cgiirc.config -rw-r--r-- 1 root wheel 7685 Jan 3 16:23 cgiirc.config.full -rwxr-xr-x 1 root wheel 2376 Jun 19 2005 client-perl.cgi -rw-r--r-- 1 root wheel 4119 Jun 19 2005 client.c drwxr-xr-x 2 root wheel 512 Jun 19 2005 formats drwxr-xr-x 3 root wheel 512 Jun 19 2005 interfaces -rw-r--r-- 1 root wheel 1637 Oct 27 2003 ipaccess.example -rwxr-xr-x 1 root wheel 6727 Jun 19 2005 irc.cgi drwxr-xr-x 3 root wheel 512 Jun 19 2005 modules -rwxr-xr-x 1 root wheel 36485 Jun 19 2005 nph-irc.cgi ---------- 1 root bin 268 Sep 10 16:15 printenv ---------- 1 root bin 757 Sep 10 16:15 test-cgi ----------------------------------------------------------------- The logfile contents: 1] script not found or unable to stat: /cgi-bin/www.mydomain.com [Tue Jan 10 13:26:50 2006] [error] [client xx.xx.xx.xx] script not found or unable to stat: /cgi-bin/www.mydomain.com [Tue Jan 10 13:26:50 2006] [error] [client xx.xx.xx.xx] script not found or unable to stat: /cgi-bin/www.mydomain.com [Tue Jan 10 13:26:50 2006] [error] [client xx.xx.xx.xx] File does not exist: /htdocs/favicon.ico [Tue Jan 10 13:31:02 2006] [error] [client xx.xx.xx.xx] script not found or unable to stat: /cgi-bin/www.mydomain.com [Tue Jan 10 13:31:04 2006] [error] [client xx.xx.xx.xx]] script not found or unable to stat: /cgi-bin/www.mydomain.com [Tue Jan 10 13:31:06 2006] [error] [client xx.xx.xx.xx] script not found or unable to stat: /cgi-bin/www.mydomain.com [Tue Jan 10 13:31:07 2006] [error] [client xx.xx.xx.xx] script not found or unable to stat: /cgi-bin/www.mydomain.com [Tue Jan 10 13:31:07 2006] [error] [client xx.xx.xx.xx] script not found or unable to stat: /cgi-bin/www.mydomain.com [Tue Jan 10 13:31:07 2006] [error] [client xx.xx.xx.xx] script not found or unable to stat: /cgi-bin/www.mydomain.com Subroutine AF_INET6 redefined at (eval 2) line 1. Use of uninitialized value in length at /cgi-bin/nph-irc.cgi line 333. Use of uninitialized value in string eq at ./interfaces/mozilla.pm line 211. Use of uninitialized value in substitution (s///) at ./interfaces/mozilla.pm line 221. Use of uninitialized value in exists at ./interfaces/mozilla.pm line 222. Use of uninitialized value in exists at ./interfaces/mozilla.pm line 223. Use of uninitialized value in exists at ./interfaces/mozilla.pm line 224. [Tue Jan 10 19:32:54 2006] CGI:IRC Error: Mkdir error: No such file or directory (main::load_socket 1175)# ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/ |