| List | < Previous || Next > |
If you see "Template File not found." error page on a UNIX installation, first check to see if the file is really missing:
If page=AGIndex (so URL is something like: ...s360v2/s360.cgi?page=AGIndex)
and it tried to find under /var/www/cgi-bin/s360v2/s360v2/page/
type this command
If it shows this error,
Share360v2 might not be installed correctly.
Please try to find where those files were installed (if they were ever installed).
become root user:
move to root directory :
find AGIndex.html on your server:
If the server has no AGIndex.html, installation was not finished correctly.
Please redo installation procedure.
If there is AGIndex.html but in a different location, please re-do installation
and give the correct path to the
installation script (which is shown on the error page above).
If there is AGIndex.html, and the location is the same as shown in the
error page, then this error might be occuring because that the file is
not visible to th Share360v2 program.
Possible reasons are file's permission and owner.
- know which user is an owner of the web server, by using ps command:
# ps -fe | grep httpd
apache 28759 1137 0 Jun30 ? 00:00:00 /usr/sbin/httpd
This shows the web server is running under the name 'apache'.
It may be usually 'apache', 'httpd', 'www', etc.
- know who is the owner of the AGIndex.html by ls command:
# ls -l AGIndex.html
-rw-r--r-- 1 apache root 53969 Jul 16 19:39 AGIndex.html
If the owner, which is displayed at the third column, does not
match with the web server owner, this could be a problem.
Please change owner of the file (and probably all *.html files
in the same directory) by
# chown apache AGIndex.htmlor
# chown apache *.html(all html files there)
This still may not completely solve the permission issue. Check to see if the permission is lenient enough.
- know current permission
# ls -l AGIndex.html
---------- 1 apache root 53969 Jul 16 19:39 AGIndex.html
-
add read-access rights to the file (and all *.html)
# chmod 644 *.html
| List | < Previous || Next > |

