[ic] error:/dev/fd/34 line 25

Darren Bayliss interchange-users@interchange.redhat.com
Mon Jan 14 10:34:01 2002


Mike,

Your speedy response was appreciated, Thank you.

First, i changed the port number in interchange.cfg, then
I ran the suggested command and the output was;

origin2 2# ./compile_link -p 1998
vlink.c: In function `die':
vlink.c:79: warning: passing arg 1 of `perror' makes pointer from integer
without a cast
vlink.c:79: invalid use of void expression
vlink.c: In function `open_socket':
vlink.c:144: `LINK_FILE' undeclared (first use in this function)
vlink.c:144: (Each undeclared identifier is reported only once
vlink.c:144: for each function it appears in.)
vlink.c:151: `LINK_TIMEOUT' undeclared (first use in this function)
Problem compiling vlink._usr_local_interchange_etc_socket.
tlink.c: In function `die':
tlink.c:112: warning: passing arg 1 of `perror' makes pointer from integer
without a cast
tlink.c:112: invalid use of void expression
tlink.c: In function `open_socket':
tlink.c:177: `LINK_HOST' undeclared (first use in this function)
tlink.c:177: (Each undeclared identifier is reported only once
tlink.c:177: for each function it appears in.)
tlink.c:192: `LINK_PORT' undeclared (first use in this function)
tlink.c:215: `LINK_TIMEOUT' undeclared (first use in this function)
Problem compiling tlink.localhost.1998.
Couldn't compile your choice of link
'vlink._usr_local_interchange_etc_socket'
origin2 3# 

Does this just mean that the particular socket was in use? Everything before
'Couldn't compile your choice of link
'vlink._usr_local_interchange_etc_socket' is a foreign language to me....
sorry.

The server is running NFS, does this change anything? Also i have tried to
grep the various sockets, but there is no output from the request, i can
only presume that nothing is running on those ports, but for the life of me
i cannot understand why interchange cannot bind to these sockets.

Just for reference, i have set up various internal web servers to listen to
various ports and i have tried to assign interchange to ports lower than
these e.g. 1998
but i still get the same response.

Any Ideas?
regards,
Darren Bayliss
e-SP
DD:+44 (0) 1527 508305
FAX:+44 (0) 1527 508001
darrenb@spgroup.co.uk

> ----------
> From: 	Mike Heins
> Reply To: 	interchange-users@interchange.redhat.com
> Sent: 	Monday, January 14, 2002 13:49
> To: 	darrenb@spgroup.co.uk
> Subject: 	Re: [ic] error:/dev/fd/34 line 25
> 
> Quoting Darren Bayliss (darrenb@spgroup.co.uk):
> > Hello all,
> > 
> > I recently managed to get interchange.4.8.3 installed on an SGI origin
> 200
> > (IRIX 6.5.14) running netscape fasttrack (for now).
> > The compilation went ok and so did the first makecat, everything seemed
> to
> > be installed into the relevant directories etc, but I got one small
> glitch.
> > On restart (interchange), I got the error that it could only run in UNIX
> > mode,
> 
> This means that one of:
> 
> 	1. Another Interchange (or other program) is already running
> 	on port 7786.
> 	
> 	2. Your system firewalls even localhost->localhost ports in that
> 	range.
> 
> You can try another port number by changing the TcpMap directive in
> interchange.cfg and recompiling tlink with "bin/compile_link -p NNNNN",
> where NNNNN is the port.
> 
>  so I went to the user folder (usr/people/interch) and upped the
> > overall ownership to 755. This time when I restarted interchange, I
> didn't
> > get any errors.
> > 
> > Then I went to my browser to view the 'foundation' catalogue and got the
> > obvious server error. I checked the server error log and found the
> > following;
> > 
> > [14/Jan/2002:01:58:17] failure: for host xxxxxxxx trying to GET
> > /cgi-bin/foundation/index.html, cgi-parse-output reports: the CGI
> program
> > /var/www/cgi-bin/foundation did not produce a valid header (name without
> > value: got line "begin failed--compilation aborted at /dev/fd/34 line
> 25.")
> > 
> > Has anyone got ANY ideas what this could be. I have checked the
> directory
> > /dev/fd and there are a bunch of 'files' (which aren't files.. I don't
> know
> > what they are) which number 1-9 (no 34).
> 
> No idea what this means. You might try running /var/www/cgi-bin/foundation
> from the command line (as the user the web server runs as) and seeing what
> happens. If the program is compiled properly, it should just return to the
> prompt and you should see an Interchange error log entry like:
> 
> - - - [14/January/2002:08:47:10 -0500] - - CGI mapping error:
> REQUEST_METHOD is not defined at /work/interchange/lib/Vend/Server.pm line
> 162.
> > 
> 
> That indicates the link program communicated properly with the daemon. If
> you don't see that, then the permissions and/or link is not compiled
> properly.
> You would probably have to set up tlink.pl in that case -- I haven't had
> an IRIX
> machine to test on for quite a few years.
> 
> -- 
> Red Hat, Inc., (emailing wirelessly, _from my laptop_,
> on Perl Whirl in the Caribbean Ocean)
> Geek Cruises (www.GeekCruises.com)
> phone +1.513.523.7621 fax 7501 <mheins@redhat.com>
> 
> Experience is what allows you to recognize a mistake the second
> time you make it. -- unknown
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
> 
>