[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] CGIWrap Error?



> > I did, as su still will not allow it. Nobody is the owner of the script
see
>>error message below:<snippage>
From: Carrie Bartkowiak
If you are logged in as root (su) you can change anything on any file you
want to.
(Which can be dangerous <g>.)
Admin is NOT su/root!
Telnet into your server.
Once you are logged in as admin, at the prompt type:su
You will be challenged for a password. It is the same as the admin's
password - unless you've changed it. Judging from your posts, I don't think
you've changed it.Now you'll see that your prompt has changed. Rather than
'admin', you will
be 'root'. *This* is superuser on the machine. Not admin.
Now change directories over to where this file is that's giving you such a
problem:cd /the/full/path/to/formmail.pl
(This will be something like cd /home/sites/home/web/cgi-bin/formmail.pl)
And now change ownership of the file (chown): (In this example we'll change
it to 'admin'.)chown admin formmail.pl
While you are there, check the permissions the script has. It should be
755 - rwxr-xr-x. Check this by listing out the contents of the directory,
all files, showing permissions:
ls -la Scroll back up to formmail.pl and make sure it says rwxr-xr-x. If it
does
not, change/modify the permission of it:
chmod 755 formmail.pl Back up to the parent directory and see what
permissions/ownership the
folder that formmail.pl is in has:
cd ..
ls -la
It should not have ownership of 'nobody', if it does: change it.
It should also be set to at least 755 - rwxr-xr-x: if it does not: change it
so that it does.
Try calling the script again in your browser. If it still does not work,
make absolutely SURE that the script has been uploaded in ASCII - I don't
care if you migrated the thing; upload it again in ASCII format. Also check
the referrers, IPs, path to perl, etc. in the script itself.
Carrie Bartkowiak
Well that definately changed the permissions, thanks Carrie!
What user or owner should I assign? At least this time I don't get the
ggiwrap error, all that happens now is Page Cannot Be displayed, I call that
progress! LOL Any other tips so I can get this darn formmail.pl working like
it used to? By the way it's a script I have had there forever and it always
worked until this last Raq3 update.
Thanks!!!
Frank