You can run (most) cgi applications from command line. My majorcool
installd a file called majordomo and that is what I call to use it.
(ie. www.blah.com/cgi-bin/majordomo) I'll have to see tomorrow where
the majorcool.cgi your talking about is.
Travis
-----Original Message-----
From: Daniel Liston [mailto:dliston@sonny.org]
Sent: Tuesday, August 19, 2003 10:57 PM
To: Don Spark, The South Alameda County Peace and Justice Coalition:
SAPJC; majordomo-users@greatcircle.com
Subject: Re: |Is it my breath!?| no MAJORCOOL full install or read me -
cgi
Try these commands to help troubleshoot. I don't know the first thing
about majorcool. I did not even know it was valid to try to execute a
cgi script from the command line, but it sounds like you have a basic
perl or .cgi issue.
grep "#!" majorcool.cgi
Does this line say "#!/bin/perl"? If not, there's your problem.
/bin/perl -v
What version number comes back, if any?
Dan Liston
Don Spark, The South Alameda County Peace and Justice Coalition: SAPJC
wrote:
> COMON GUYS! At least suggest somewhere to get help
> or tell me to go jump in a lake. This is a serious request...
>
> Working with support to find out why majorcool would not install
> completely, I went through all documentation and quoted the
> system requirements for majorcool.
>
> I have tried to install this majorcool on my server but I am having
some
> problem's with it as there seems to be no full install or read me file
that
> goes along with this script. I have ran the ./Configure and it will
output
> the question's but when I try and ./majorcool.cgi I receive as an
error,
>
> sh: ./majorcool.cgi: PERLBIN: bad interpreter: No such file or
directory
>
> When you run a which perl you receive /bin/perl? What is the
information
> that could be wrong.
>
> This is the information inside of the default.sh:
>
>
> # Configuration file for MajorCool
> # These should only be modified through the use of the Configure
script
> # For yes/no values, 0=no, 1=yes
>
> # SYSTEM DETAILS
> # How to start a perl script
> PERLBIN="/bin/perl"
> # The cpset command for installations
> CPSET="install/cpset"
>
> # MAJORDOMO DETAILS
> # Home directory
> DOMO_DIR="/usr/local/majordomo"
> # Configuration file location
> DOMO_CONF="/usr/local/majordomo/majordomo.cf"
> # Version number
> DOMO_VERSION="1.94.5"
>
> # WEB SERVER DETAILS
> # Server scheme (http, shttp, https)
> WEB_SCHEME="http"
> # Server root directory
> WEB_ROOT="/usr/local/apache/htdocs"
> # CGI directory
> WEB_CGIDIR="/usr/local/apache/cgi-bin"
> # CGI URL
> WEB_CGIURL="http://www.justicetoolbox.org/cgi-bin";
> # Images directory
> WEB_IMGDIR="/usr/local/apache/htdocs/images"
> # Images URL
> WEB_IMGURL="http://www.justicetoolbox.org/images";
> # Root for served documents
> WEB_DOCROOT="/usr/local/apache/htdocs/"
> # Header & footer for common site look
> WEB_HEADER=""
> WEB_FOOTER=""
>
> # MAJORCOOL CONFIG
> # The name of this site
> COOL_SITENAME="Justice Toolbox"
> # The URL of this site's home page
> COOL_SITEHOME="http://www.justicetoolbox.org";
> # TMP directory
> COOL_TMPDIR="/tmp"
> # Location of key cache file
> COOL_CACHE="/usr/local/majordomo/.majordomo_keys"
> # CGI program name
> COOL_NAME="usercofigur"
> # UNIX user/group-id owners
> COOL_USERID="justice"
> COOL_GROUPID="justice"
> # Help file for MajorCool
> COOL_HELPFILE="/usr/local/apache/htdocs/majorcool help"
> # The address lookup function to use
> COOL_SITEADDR="simple"
> # The programs to invoke on CREATE/RENAME/DELETE
> COOL_CREATECMD=""
> COOL_RENAMECMD=""
> COOL_DELETECMD=""
>
> # MAJORCOOL OPTIONS
> # Module access
> OPT_ALLOWBROWSE="1"
> OPT_ALLOWMODIFY="1"
> OPT_ALLOWCREATE="1"
> OPT_ALLOWRENAME="1"
> OPT_ALLOWDELETE="1"
> # Hide list of lists from admins?
> OPT_HIDDENLISTS="0"
> # Admin passwd not in regular config?
> OPT_HIDDENPASSWD="1"
> # Members see noadvertised lists?
> OPT_NOADVERTISED="0"
> # Trust the address that users enter?
> OPT_TRUSTIDENT="0"
> # Use paranoia mode? Sends commands in e-mail...
> OPT_CMDVERIFY="0"
> # Send sub/unsub commands in e-mail for user confirmation?
> OPT_SUBVERIFY="0"
> # Allow admins to request emailed config?
> OPT_SENDCF="1"
> # Save comments in list config file?
> OPT_COMMENTEDCF="1"
> # Use MIME screen update feature if supported?
> OPT_MULTIPART="1"
> # Return to prior screen after Prefs session?
> OPT_PREFSRETURN="0"
> # Allow Internet spiders to index this CGI?
> OPT_ROBOTS="1"
> # Update interval during list membership scan.
> OPT_SCANSTEPS="50"
>
> # SITEADDR OPTIONS (may be empty)
>
>
>
>
> //THIS EMAIL MESSAGE WAS SENT BY DON SPARK 415-717-2425//
Follow-Ups:
|
|