* /sbin/loader error
@ 1998-05-13 4:00 Stuart Midgley
1998-05-15 4:00 ` Joe Mario
0 siblings, 1 reply; 3+ messages in thread
From: Stuart Midgley @ 1998-05-13 4:00 UTC (permalink / raw)
I have installed majordomo on a dunix4.0d system and am in the process
of installing the webfront end
majordomo-www and admin-www
http://www.inf.utfsm.cl/~marcos/majordomo/www.html
When I compile the wrapper I get the following error:
# make
cc -DCGIBIN=\"/usr/local/apache/cgi-bin\"
-DPATH=\"PATH=/bin:/usr/bin:/usr/ucb\" -DHOME=\"HOME=/home/majordom\"
-DSHELL=\"SHELL=/bin/sh\"
-DCF=\"MAJORDOMO_CF=/home/majordom/majordomo.cf\" -DMJ_UID=1000
-DMJ_GID=1 -DSCRIPT=\"admin.cgi-www\" -DPOSIX -DSETGROUPS -O -o
cgiwrapper cgiwrapper.c
cc: Warning: cgiwrapper.c, line 123: In the initializer for arg[0],
"prog" does not have a constant address, but occurs in a context that
requires an address constant. This is an extension of the language.
prog,
--------^
cc: Warning: cgiwrapper.c, line 124: In the initializer for arg[1],
"prog" does not have a constant address, but occurs in a context that
requires an address constant. This is an extension of the language.
prog
--------^
Though the wrapper seems to compile and then installs. When I call the
cgi script I get an error on the console:
11896:/sbin/loader: Fatal Error: loader cannot be invoked directly
I have installed Perl 5.004_004 and MDLB and Data-Dumper and they seem
to have worked correctly.
Has anybody else experienced this problem?
Thanks
Stu.
--
<------------------------------------------------------------------------------>
Stuart Midgley
Department of Physics, University of Western Australia
stuart@physics.uwa.edu.au
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: /sbin/loader error
1998-05-13 4:00 /sbin/loader error Stuart Midgley
@ 1998-05-15 4:00 ` Joe Mario
1998-05-18 4:00 ` Stuart Midgley
0 siblings, 1 reply; 3+ messages in thread
From: Joe Mario @ 1998-05-15 4:00 UTC (permalink / raw)
To: Stuart Midgley
Stuart Midgley wrote:
>
> I have installed majordomo on a dunix4.0d system and am in the process
> of installing the webfront end
> ...
> ...
> Though the wrapper seems to compile and then installs. When I
> call the cgi script I get an error on the console:
>
> 11896:/sbin/loader: Fatal Error: loader cannot be invoked directly
This message comes from invoking "/sbin/loader" directly as if it
were an executable that a user could invoke. That shoud not be done.
You might want to look in your scripts to see where that is happening.
Joe
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: /sbin/loader error
1998-05-15 4:00 ` Joe Mario
@ 1998-05-18 4:00 ` Stuart Midgley
0 siblings, 0 replies; 3+ messages in thread
From: Stuart Midgley @ 1998-05-18 4:00 UTC (permalink / raw)
I realise this, but since I did not write the scripts, I do not think
this should be happening.
I beleive it might be a problem with perl trying to load modules (MDLB
or Datadumper or GDBM or something). Has any body any experience with
this?
Thanks
Stu.
Joe Mario wrote:
>
> Stuart Midgley wrote:
> >
> > I have installed majordomo on a dunix4.0d system and am in the process
> > of installing the webfront end
> > ...
> > ...
> > Though the wrapper seems to compile and then installs. When I
> > call the cgi script I get an error on the console:
> >
> > 11896:/sbin/loader: Fatal Error: loader cannot be invoked directly
>
> This message comes from invoking "/sbin/loader" directly as if it
> were an executable that a user could invoke. That shoud not be done.
> You might want to look in your scripts to see where that is happening.
>
> Joe
--
<------------------------------------------------------------------------------>
Stuart Midgley
Department of Physics, University of Western Australia
stuart@physics.uwa.edu.au
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1998-05-18 4:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-05-13 4:00 /sbin/loader error Stuart Midgley
1998-05-15 4:00 ` Joe Mario
1998-05-18 4:00 ` Stuart Midgley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox