SOLUTIONS TO COMMON PROBLEMS
Access logs
"I can't find my access log!"
They are in your home directory, this is the directory you are in when you first logon.
Top
|| Common Problem
2.1.2) Error logs
"I can't find my error log?"
We don't keep error logs for performance reasons.
Top
|| Common Problem
Cgi-bin scripts
"Where do I put my cgi-bin scripts?"
Put them in the subdirectory cgi-bin which should be under your
www directory.
Top
|| Common Problem
Perl scripts
"I am being told file not found"
"I am being told No such file or directory"
Upload your Perl script in ascii mode, not binary mode.
Sometimes it seems like this is asked about once a day, so
we're going to repeat it, loudly.
Upload your Perl script in ascii mode, not binary mode.
"I get errors such as
Literal @sdfsdf now requires backslash at ./test.rob line 2, within string
Execution of ./test.rob aborted due to compilation errors."
Place a "\" before such offending @ characters. This is an
incompatibility between Perl 5 and Perl 4.
Top
|| Common Problem
Anonymous ftp
"Where should I store files for anonymous ftp access?"
Put files in the directory named anonftp/pub.
This will allow a file to be accessed by a customer with
ftp://yourdomain.com/pub/your-file-name.
For security the following applies
- Only the incoming directory can be written to anonymously
- Subdirectories are not creatable
- The incoming directory is not readable by people dropping files there
Top
|| Common Problem
Setting permissions
"Hey, how do I stop people who are not in my group from reading
a directory?"
Type chmod o-r directory while you are in the directory above
it.
"I don't care if people in my group can read my directory, but
I don't want them to write in it!"
Type chmod g-w directory while you are in the directory above
it.
"Who is in my group?"
In general, each domain has its own group. If you find you are
in the group users, let us know if you wish for your domain to
have its own group.
"Tell me more about permissions, they sound neat!"
To list the access permissions of a file or directory, type
ls -ls *.
r=read access, x=execute access, w=write access. The first three
letters apply to you, the second three letters apply to your group,
the last three letters apply to everyone else. Execute access enables
you to run programs or enter directories.
Examples of using chmod:
PEOPLE PERMISSIONS
u = the file's user (or owner) r = read access
g = the file's group x = execute access
o = others w = write access
a = the user, the group, and others.
chmod a+w = let everyone write to the file
chmod go-r = don't let people in the file's group or others to read
the file
chmod g+x = let people in the file's group execute the file
Top
|| Common Problem
Don't have permission to access /
This error message means that you are missing your index.html
file.
Note that files that start with a "." are hidden files. To see
them, type ls -al at shell prompt.
If you wish to ftp this file in, go to the /home/fred directory
assuming your userid is fred.
Top
|| Common Problem
I get a forbidden when trying to access my site
This error is generally because you have not placed a default page in the main directory.
A default page must be called index.htm, or default.htm and it should be your main page
Top
|| Common Problem