Guide Version: 1.11
Newest Guide Version: http://TrackSite.ru/channel/installguide.html
This Guide provides detailed, step-by-step instructions and
exhaustive discussion to
help even inexperienced users successfully complete TrackSite
installation. Installation covers range of different installation conditions and
provide several installation alternatives to choose from.
TrackSite
installation procedure is easy - normally, it takes
few minutes to complete. There is no need to be an IT-literate person. To
perform installation just follow installation procedure laid out in this
Guide.
IT-literate
people may use
Installation Procedure: Executive Summary
to omit excessive details.
If during installation you
encounter problem not covered by
Installation
Troubleshooting section, email highly detailed problem
description to websolutions at tracksite dot ru,
we may help you.
|
Installation Procedure: Executive Summary Installation Procedure: Full Story TrackSite installationTrackSite entry and registration Tying website with TrackSite TrackSite installation TrackSite entry and registration Tying website with TrackSite Installing From Downloaded Database Packages Upgrading Existing Installation
Appendix A: Setting Permissions on Unix Appendix B: Setting Permissions on Windows
|
Remember that you should keep confidential TrackSite registration name and serial number obtained upon purchase. In some situations, upon upgrade or when authorization name and password are compromised, it serves as second-line-of-defense password. By disclosing it, you weaken the security of your TrackSite installation. In addition, product upgrades and other valuable benefits are tied to registration data and may be lost, if such data is disclosed or misappropriated.
During installation, registration data is required only once upon TrackSite registration stage (see below). You should confidentially enter registration data yourself when such need arise in the course of installation.
TrackSite is installed on a computer that is connected to the Internet (or intranet if you want to analyze intranet traffic)--we call this computer deployment server (or deployment machine), and has webserver software installed on it--we call it deployment webserver. We also call operating system installed on deployment machine the deployment platform. Usually TrackSite is deployed on the same webserver (same machine) that hosts website to be tracked, e.g. directly in cgi-bin directory of tracked website, so that you use the same hosting for both tracked site and TrackSite, but this is not required. Deployment machine and webserver may be rented as hosting service or dedicated server may be used for that end. You can easily install TrackSite remotely via Internet on deployment server, which may physically be located anywhere in the world.
And once TrackSite is installed on deployment server (e.g. hosted by hosting provider), you can access it from anywhere in the world via Internet (or intranet) with your browser. Running on deployment server, TrackSite constantly monitors your site and publishes reports as usual (password protected!) web pages that you can periodically browse with your browser from anywhere (from home, work, Internet-cafe) to see what is going on your site.
TrackSite installation requirements are:
Operating system (deployment server):
- Unix derivative: any flavor Linux (RedHat, SuSe, Debian etc.), any flavor of BSD, Solaris, SunOS, AIX, HP-UX; or
- Windows: NT/2000/XP/Server2003
Webserver:
- Webserver software installed on deployment machine (Apache, Domino, IIS, etc.)
- cgi-bin directory available (configured) on deployment webserver
Perl interpreter:
- Perl interpreter 5.7.1 or higher installed on deployment machine; or
- Perl interpreter 5.6.1 or higher installed on deployment machine together with additional Filter module;
On Windows Perl interpreter needs to be located in PATH directories
TrackSite reports are browsable with any browser from any computer connected to the Internet. Browser should have cookies support turned on (default). In particular, Mozilla Firefox and Microsoft Internet Explorer will do. (Note that this requirements apply only to browser that you use to browse TrackSite reports.)
Above installation requirements are met by almost any website hosting plan, even most inexpensive.
If hosting service has Perl version in between 5.6.1 and 5.7.1, but has no Filter module installed (Filter module is standard part of Perl only beginning from version 5.7.1), ask service provider to install it. It is a common practice that Perl modules are installed by provider upon client request, if not yet. Filter module is freely available from CPAN and its installation is a trivial task that takes about 2 minutes or so (there is no rational reason for hosting provider to deny you use of Filter module).
If you are not sure whether installation requirements are met, consult competent person (system administrator, support person, etc.). In case deployment machine and deployment webserver are rented as hosting service, consult your hosting terms or ask hosting provider whether cgi-bin directory and proper version of Perl interpreter are available under your service agreement.
You should use installation of the latest available version of TrackSite Free of TrackSite as ultimate test of whether installation requirements are met. If TrackSite Free of TrackSite runs OK in your case, Standard Edition will also run OK. If installing TrackSite Free hits problems, please e-mail problem description to us, so that we can investigate and possibly issue a patch for your specific situation.
If targeted deployment webserver runs your CGI scripts under your account, you are installing in Privileged Mode. Otherwise, if targeted deployment webserver use unprivileged account to run your CGI scripts, you are installing in Default Mode. The distinction between Privileged and Default Mode applies both to Unix derivatives and to Windows systems.
To find out what installation mode you are installing with ask administrator of targeted deployment webserver which system account they use to run your CGI scripts.
You are installing in Privileged Mode, if targeted deployment webserver runs your CGI scripts under your account. On shared Unix servers (typical hosting service) this means either:
Privileged Mode provides security benefits on shared systems meaning TrackSite installation has increased protection against peer users of the same deployment machine.
Note: running CGI scripts under user's account is currently the common practice among hosting providers
You are installing in Default Mode, if targeted deployment webserver use unprivileged shared account to run your CGI scripts. Default Mode was the usual installation mode for CGI scripts hosted by hosting providers, but in recent time it becomes increasingly less common.
Be advised that if webserver use shared unprivileged account to run CGI scripts on shared server, all CGI scripts on shared server, including TrackSite, have potential security exposure to actions of peer users of the same server (e.g. users that host they own sites on the same machine; not people on the web). If you have to be true paranoid, e.g. you concerned with espionage from peer users of hosting service, Default Mode should not be used.
This Guide covers installation procedure for both Unix and Windows deployment servers. Installing TrackSite on Unix and installing on Windows requires the same procedure as described by this Guide. Where installation procedure needs to be system-specific, Unix-specific description is given, while Windows-specific installation details are presented as separate Installing on Windows notes in corresponding sections.
The only major difference of Windows installation is that you will need to set Windows native file permissions equivalent to (or more permissive) than that specified by this Guide in Unix case (and ignore some minor Unix-specific operations that do not apply to Windows). This difference is fully covered by Installing on Windows notes.
Designing other secure non-standard TrackSite installations, is available as consulting service.
To complete installation procedure you will need to know:
Note: If procedure described in Executive Summary hits problems or not clear, refer to corresponding section of its Full Story version.
TrackSite installation: Create custom-named subdirectory in cgi-bin directory of deployment webserver to be the TrackSite's installation directory. We refer to it as TrackSite directory; to illustrate, this Guide use name 'tracksite' for it, but you should use different name (do not name it 'tracksite' after us). Unpack distribution archive and transfer (upload with FTP) tracksite5.pl (tracksite5free.pl) into 'tracksite' directory. Depending on installation mode, set permissions on those files and directories as follows:
Directory/File | Permissions | |
Privileged Mode | Default Mode | |
tracksite/ | 0701 (drwx-----x) | 01707 (drwx---rwt) |
tracksite/tracksite5.pl | 0500 (-r-x------) | 0505 (-r-x---r-x) |
After that browse http://domain/cgi-bin/tracksite/tracksite5.pl (or .../tracksite5free.pl) , where http://domain/cgi-bin/tracksite/ is the URL of 'tracksite' directory specific to your case, to trigger installation process and see generated installation report page.
Installing on Windows: Above permissions translate into Windows native permissions:
Directory/File | Permissions | |
Privileged Mode | Default Mode | |
tracksite/ | MyAccount: Change (RXWD) | IUSR_Machine: Change (RXWD) |
tracksite/tracksite5.pl | MyAccount: Read (RX) | IUSR_Machine: Read (RX) |
where "MyAccount" stands for your account name on the Windows deployment server, "IUSR_Machine" stands for unprivileged account that webserver use to run your CGI scripts (consult webserver administrator for exact name of that account).
TrackSite entry: On installation report page click Entry link (or browse URL http://domain/cgi-bin/tracksite/ref.cgi?index.html). Authorize with default name 'user' and password 'tracksite', simultaneously change default name and password (remember new ones); enter TrackSite's front page and bookmark it for regular access; optionally enter Control Center and set options the way you like (refer to Control Center manual).
Tying with website: To start tracking TrackSite needs to be tied with website i.e. each website's page that needs to be tracked must be tagged with special tracking code, the tracking tag. Tracking code can be pasted into html pages manually or automatically by TrackSite. In case of manual tagging, generate tracking code in Control Center. If webserver runs copy of website's original source code kept somewhere else (in different directory or on different machine), the preferred solution is to tie (tag) the source code itself and then either copy tagged source to webserver or similarly tie (tag) current copy on webserver. The advantage is that whenever you edit original page and copy it to webserver it remains tied (tagged). For tying either original source code or its copy on webserver use any of the methods described below. Before proceeding with this step make sure you have backup copies of your entire website.
If TrackSite is deployed on same machine that runs tracked website (e.g. you install TrackSite into cgi-bin directory of website), you have fully automated tying (tagging) solution. Move to 'Tie With Website' section of Control Center and enter full filesystem path to website's root directory on that machine into 'Path to website directory' field and http://domain/cgi-bin/tracksite/ (which should be replaced with your specific value, as described above) into 'URL of TrackSite directory' field. Press 'Tie With Website' button to see tying report. If you need to untie (untag) website, use same approach but leave 'URL of TrackSite directory' field blank.
Automated tying procedure requires that permissions set on website's files and directories allow TrackSite to perform automated tying i.e. files should be readable and writable by TrackSite (for formal description of those requirements see Full Story step 8). In Default Mode requirements will typically not be met, because normally pages of your site should not be writable by unprivileged user account, which is used to run TrackSite in Default Mode. For automated tying in Default Mode, do one of the following:
If website to be tracked is located on different machine that has recent enough Perl interpreter installed, you still have automated tying solution - run from shell the tiesite.pl script that comes with TrackSite distribution (as described below).
Tying website from shell: You may need to use SSH to do it remotely. Copy tiesite.pl from TrackSite distribution to that machine and in directory where you have copied tiesite.pl issue the following command on shell prompt (as one line):
perl tiesite.pl -path /path/to/websiterootdir -url http://domain/cgi-bin/tracksite/
-skip /path/to/cgi-bin/tracksite
where components in red should be replaced with values specific to your case i.e. /path/to/websiterootdir should be replaced with your specific full path to website's root directory on that machine; http://domain/cgi-bin/tracksite/ should be replaced to your specific value, as described above; and /path/to/cgi-bin/tracksite should be replaced with absolute path to TrackSite directory. The -skip option is required, only if TrackSite directory is itself subdirectory of the /path/to/websiterootdir directory.
For manual installation without help of tiesite.pl automation, see Manual Tying in step 8.
In case of problems, check Installation Troubleshooting of Full Story for proper stage.
Directory/File Permissions Privileged Mode Default Mode tracksite/ 0701 (drwx-----x) 01707 (drwx---rwt) tracksite/tracksite5.pl 0500 (-r-x------) 0505 (-r-x---r-x) Note: In rare event you may need to make sure that directories in the pathname of (i.e. "above") TrackSite installation directory have at least the following permissions: 0100 (d**x******) in Privileged Mode or 0001 (d********x) in Default Mode, where * indicates arbitrary permissions. This requirement is usually automatically met for properly configured cgi-bin directory and you do not need to bother about them, unless "permissions denial" errors are encountered. On shared servers permissions on top parent directories may be beyond your control, so you may need to ask server administrator to change them (in unlikely event that such need arise).
For detailed instructions on how to set these permissions refer to Appendix A: Setting Permissions on Unix.
Installing on Windows: Above permissions translate into Windows native permissions:
Directory/File Permissions Privileged Mode Default Mode tracksite/ MyAccount: Change (RXWD) IUSR_Machine: Change (RXWD) tracksite/tracksite5.pl MyAccount: Read (RX) IUSR_Machine: Read (RX) where "MyAccount" stands for your account name on the Windows deployment server, "IUSR_Machine" stands for unprivileged account that webserver use to run your CGI scripts (consult webserver administrator for exact name of that account). In case of IIS webserver, "IUSR_Machine" account, where "Machine" token is replaced with actual machine name, is automatically configured to run CGI scripts. For detailed instructions on how to set these permissions refer to Appendix B: Setting Permissions on Windows.
To perform this step note the following:
Installation Mode: refer to Installation Modes to find out what installation mode you are installing with.
Remote installation: If you perform installation remotely i.e. via Internet or intranet, e.g. into cgi-bin directory of hosted website that is to be tracked (the most common case), copying tracksite5.pl means upload and you will need to use any FTP program (one that you normally use for regular site maintenance) to create 'tracksite' directory and upload tracksite5.pl into it. Depending on functionality of FTP client program used, it may be as easy as drag-and-drop or a like.
Uploading from Windows machine: Unlike modern systems, Windows treats binary and textual files differently, which always create mess. If you have unpacked distribution archive on Windows system (regardless of destination deployment platform, which may be Linux, for example), tracksite5.pl and tiesite.pl should be treated as binary files. FTP programs designed for Windows have special settings that instruct it which files identified by file name extension it should see as textual (binary) files. (Textual mode for file may be called ASCII mode.) Check those settings of your program and temporarily change them to make FTP program treat .pl extensions as binary files (not treat as text files).
Installing from command-line: Alternatively, if you have recent enough Perl interpreter installed on machine from which you try to copy TrackSite installation files to remote server via FTP, you do not even need FTP program. Just change working directory (cd command) to directory where you placed installation file and enter the following command (as one line):
perl tracksite5.pl -host remote.server.com -login mylogin -pwd mypassword -dir cgi-bin/tracksite -filemode 505 -dirmode 01707
where remote.server.com is the host name of deployment server; mylogin and mypassword are login and password for your FTP account on that server; cgi-bin/tracksite should be replaced with specific absolute or relative (against default working directory of your FTP account) path to TrackSite directory (if it does not initially exist, it will be created automatically); values of -filemode and -dirmode options reflect file and directory permissions as described above (depending on installation mode). If FTP server sits on unusual port, that port should be specified with -port option; on some servers you may also need to specify your account with additional -account me@remote.server.com option.
This command will do everything this step is all about, including upload of installation file into TrackSite directory on remote server and setting correct permissions on TrackSite directory and uploaded file (you need to correctly specify them depending on your installation mode, though). After this command runs, verify that directory is created and/or permissions are set correctly. Note: For remote Windows servers this command will perform uploading only, but will not yet set permissions and you will need to use other means described here to set permissions.
In an unusual case that this command failed to set permissions, FTP program will not help you set permissions either, and you will need to use SSH program instead; this rare case is not covered by this guide, but all that needs to be done is again copying installation files and setting correct file permissions.
Local installation: If you perform installation locally, you need just to know where cgi-bin directory is on your machine, create subdirectory and copy files mentioned above using any file manager program (e.g. Explorer on Windows).
Permissions note (Important!): It is very important to set files and 'tracksite' subdirectory permissions exactly as described above. It is not only crucial for successful installation, but also has security implications. Permissions are edited with FTP program in case of remote installation or file manager program in case of local installation. If you have no idea how to manipulate permissions in practice, refer to Appendix A: Setting Permissions on Unix or Appendix B: Setting Permissions on Windows, depending on whether you install on Unix or Windows.
Warning: When you browse the URL to start installation process, as described above, do not hit Stop button in your browser or otherwise abort this process, until you see installation report. If you do, installation may end up incomplete and you will need to repeat this installation procedure from the start (see Installation Troubleshooting: TrackSite installation section).
Installing on Windows: On Windows browsing URL to trigger installation will work the same way, if Perl interpreter is associated with .pl files. The very installation of Perl interpreter on Windows by default creates such association in Windows Registry, thus in most cases there is no need for special arrangements for this step. If this is not the case, browsing URL will return "Internal Server Error" or a like error and you need either:
- Associate .pl files with Perl interpreter and browse URL again as described above; or
- Run tracksite5.pl from command line by issuing following commands on command line prompt:
cd C:\path\to\cgi-bin\tracksite\perl tracksite5.plwhere C:\path\to\cgi-bin\tracksite\ should be replaced with specific to your case full filesystem path to TrackSite directory; 'perl' may need to be replaced with full pathname of Perl interpreter, if Perl interpreter is not in a PATH directory. You can issue these commands remotely with SSH; see SSH (Secure SHell) client program description in step 8.
Apache-specific note: Be advised that in case of Apache webserver browsing URL may start installation process and deliver installation report only once. Subsequent browsing of the same URL may return "Client denied by server configuration" or a like error. This is not a problem, provided that initial installation report was OK.
Troubleshooting Recommendations
See Installation Troubleshooting: TrackSite installation section.
As soon as you see TrackSite authorization page, enter TrackSite:
Press 'Submit' button. If name and password are correct, you will enter TrackSite's front page. If you have specified new name and password in lower part of authorization page and have authorized successfully, you should use new name and password from this moment. If you end up with authorization page again, this means name and/or password are incorrect and you need to enter them again.
Installing from Windows: If you have installed from Windows, i.e. unpacked distribution archive on Windows (regardless of actual deployment platform, which may be Linux, for example), take a close look on TrackSite logo at top left part of the screen. If it is distorted, consult point 4 of Installation Troubleshooting: TrackSite installation section.
Troubleshooting Recommendations
See Installation Troubleshooting: TrackSite entry and registration section.
At this point TrackSite is completely ready to track your website. To start tracking TrackSite needs to be tied with website i.e. each website's page that needs to be tracked must be tagged with special tracking code, the tracking tag. Tracking code can be pasted into html pages manually or automatically by TrackSite. In case of manual tagging, generate tracking code in Control Center. If webserver runs copy of website's original source code kept somewhere else (in different directory or on different machine), the preferred solution is to tie (tag) the source code itself and then either copy tagged source to webserver or similarly tie (tag) current copy on webserver. The advantage is that whenever you edit original page and copy it to webserver it remains tied (tagged). For tying either original source code or its copy on webserver use any of the methods described below. Before proceeding with next step make sure you have backup copies of your entire website.
Automated Tying
Note: automated tying may produce results that are close, but not exactly what you expect. In such case use manual tying to correct results of automated tying - see Manual Tying section for details.
If TrackSite is deployed on same machine that runs tracked website (e.g. you install TrackSite into cgi-bin directory of website), you have fully automated tying (tagging) solution. Move to 'Tie With Website' section of Control Center and enter full filesystem path to website's root directory on that machine into 'Path to website directory' field and http://domain/cgi-bin/tracksite/ (which should be replaced with your specific value, as described above) into 'URL of TrackSite directory' field. 'Path to tiesite.pl' field should be left blank, except special case described below. Press 'Tie With Website' button to see tying report. If you need to untie (untag) website, use same approach but leave 'URL of TrackSite directory' field blank. Note that in this case you tie entire website with just a click.
To permit such automated tying website's root directory and its sub-directories and html pages should have at least the following (or higher) permissions (* indicates arbitrary permissions):
Directory/File Permissions Privileged Mode Default Mode directories 0500 (dr*x******) 0005 (d******r*x) files 0600 (-rw*******) 0006 (-******rw*) Note: In rare event you may need to make sure that directories in the pathname of (i.e. "above") TrackSite installation directory have at least the following permissions: 0100 (d**x******) in Privileged Mode or 0001 (d********x) in Default Mode. This requirement is usually automatically met for website that is "visible" to the web and you do not need to bother about them, unless errors are encountered upon tying with website. On shared servers permissions on top parent directories may be beyond your control, so you may need to ask server administrator to change them (in unlikely event that such need arise).
Installing on Windows: Above permissions translate into Windows native permissions:
Directory/File Permissions Privileged Mode Default Mode directories MyAccount: Add and Read (R*W***) IUSR_Machine: Add and Read (R*W***) files MyAccount: Change (R*W***) IUSR_Machine: Change (R*W***) where "MyAccount" stands for your account name on the Windows deployment server, "IUSR_Machine" stands for unprivileged account that webserver use to run your CGI scripts (consult webserver administrator for exact name of that account). In case of IIS webserver, "IUSR_Machine" account, where "Machine" token is replaced with actual machine name, is automatically configured to run CGI scripts. For detailed instructions on how to set these permissions refer to Appendix B: Setting Permissions on Windows.
Tying in Default Mode: In Default Mode above file permission requirements will typically not be met, because normally pages of your site should not be writable by unprivileged user account, which is used to run TrackSite in Default Mode. For automated tying in Default Mode, do one of the following:
- run from command line (shell) the tiesite.pl script that comes with TrackSite distribution (as described below; requires that you have command line (shell) access to machine hosting tracked website); or
- run setuid tiesite.pl script as follows (this solution is Unix-specific):
Additionally transfer into TrackSite directory tiesite.pl, which is part of distribution, and set its permissions to 04505 (-r-s---r-x). Then do Control Center manipulations as described above. Warning: Because this will make tiesite.pl a setuid program that will run in privileged mode (run as you), you should drop permissions on that tiesite.pl file to 0500 (-r-x------) as soon as you are done with website tying and after dropping permissions test by looking into html source that tying was done as expected. Only if you have chosen to copy tiesite.pl into location other than prescribed (an unlikely event), specify full pathname of tiesite.pl in 'Path to tiesite.pl' field before pressing 'Tie with TrackSite' button (remember that this location directory should be accessible to unprivileged user). Otherwise simply leave it blank.
If website to be tracked is located on different machine that has recent enough Perl interpreter installed, you still have automated tying solution - run from command line (shell) the tiesite.pl script that comes with TrackSite distribution (as described below).
Tying website from command line (shell) (here things get perhaps a little too technical for non-technical people): Copy tiesite.pl from TrackSite distribution to machine where website to be tied is located (e.g. the same way as you did in the steps 3). Lets designate full pathname of copied tiesite.pl as /path/to/tiesitedir/tiesite.pl. Get to the command line (shell) prompt (connect to remote machine using SSH program for that) and change current directory to directory where you have put tiesite.pl by issuing this command on command line (SSH) prompt:
cd /path/to/tiesitedir/Then, issue the following command on command line (SSH) prompt (as one line):
perl tiesite.pl -path /path/to/websiterootdir -url http://domain/cgi-bin/tracksite/ -skip /path/to/cgi-bin/tracksite
where components in red should be replaced with values specific to your case i.e. /path/to/websiterootdir should be replaced with your specific full path to website's root directory (where top index.html front page usually lives) on that machine; http://domain/cgi-bin/tracksite/ should be replaced to your specific value, as described above; /path/to/cgi-bin/tracksite should be replaced with absolute path to TrackSite directory; the additional -skip option is required, only if TrackSite directory is itself subdirectory of the /path/to/websiterootdir directory; 'perl' may need to be replaced with full pathname of Perl interpreter, if command fails.
Again, if you need to untie website in this case, use same approach, but issue perl command without last argument:
perl tiesite.pl -path /path/to/websiterootdirRetying website: Having once tied website to TrackSite, you may need to occasionally retie it. Such need arise if values used for tying turned out to be incorrect or whenever you change TrackSite deployment or URL of TrackSite's cgi-bin directory changes (as a result of webserver configuration change). Retying is simple. To retie, untie website first as described above, and then tie it again using new values.
If automated tying doesn't work for you for some reason, you can always perform website tying manually. For this you need to edit website page to manually insert special tie code inside <HEAD>...</HEAD> tag in HTML code of every page that you want to track. Tie code can be generated using "Get Tie Code" button in Control Center.
Note that there should be only one snippet of tie code per page. To insert tie code you can edit pages directly on server or edit their local sources and then copy them to replace page copies that are currently on server. To insert tie code you may manually paste it in all pages (may be time consuming for large websites) or use advanced cross-file find-and-replace interfaces that some editing programs provide to automatically insert snippet in all site pages (search "<head>" or "</head>" tag and replace it with "<head>snippet..." or "...snippet</head>" respectively). If you need to retie site manually, you need to modify tie code snippets the same way in all pages to reflect new tying values.
One special case when you may need manual tying is to correct automated tying. Both tying tool of Control Center and tiesite.pl automatically tie (tag) every HTML page (regardless of file extension) that they find in and below website root directory so that every visit of that page is tracked. However, some pages may not need to be tracked, e.g. to reduce data noise, the fact automated tying is unaware of. One notorious example is master page that use frames inside to link to other, framed component pages. If framed pages are mere components that are not supposed to be navigated out of master page, they should not be tracked. In contrast, if master page is just auxiliary presentation handler for standalone page, master page do not need to be tracked. Finally, it is quite possible that both framed page and master page need to be tracked. Later case is assumed by automated tying - it ties both master page and frame page. If this assumption is not true in your case, you may need to manually remove automatically installed tie code from pages that do not need to be tracked. For removing tie code either replace tied page with unmodified (untied) version of such page from original/backup copy of website or edit tied page.
Executable tracksite5.pl left after installation is not a security hole. Executing it by malicious people on the web or by accident will not harm your database, but custom report and other setting that you have already made since installation will be reset to defaults. This will also reset your authorization name and password back to user/tracksite and, thus, allow malicious people to enter your TrackSite. But this will not get them too far--they will not be able to neither see nor steal statistics of your site, because TrackSite will require new registration from them (and from you a bit later) and they do not know your serial number because you have told it to nobody else, have you. This is one of the reasons why you should not disclose TrackSite's registration data.
Troubleshooting Recommendations
See Installation Troubleshooting: Tying website with TrackSite section.
The most powerful way to troubleshoot the installation is to scrupulously follow installation instructions. If you have trouble, check out installation steps performed to adhere strictly to above installation instructions. If you discover deviations, you may need to repeat installation.
To repeat installation from the beginning, in most cases, you do not need to return things to the very initial state i.e. no need to delete or empty 'tracksite' subdirectory or to repeat copying (re-upload) of tracksite5.pl installation file (unless copy used for installation gets corrupt). Simply browsing URL again, as described in step 4, will trigger brand new installation--if successful, it will automatically overwrite files left from previous failed installation. However, if you install on Apache webserver and browsing URL to trigger brand new installation returns "Client denied by server configuration" error, you have to rename already transferred tracksite5.pl to patch.pl (do not re-upload it, simply rename already uploaded file using FTP program) and browse different URL http://domain/cgi-bin/tracksite/patch.pl instead.
If instead of installation report at step 4 you see "Client denied by server configuration" or a like message, first see Apache-specific note to step 4 above and check point 5 of the troubleshooting list below. If instead of installation report at step 4 you see "Internal Server Error" or a like message, check points 3 and 4 of the troubleshooting list below first. If you see "Error 404. File Not Found..." it is probably reason 1. In any other case, check troubleshooting list points one after one starting from 1.
If above steps do not detect installation error, the following may require help from deployment webserver administrator or a like:
If you have authorization or registration difficulties right after TrackSite installation, make sure that you enter all data correctly. This is especially true for password and serial number, which are typed hidden, so you cannot control whether value you have entered is correct; make sure you enter characters in proper case; also make sure that your keyboard is switched to Latin characters and that Caps Lock is in proper state. If problem persist and reinstallation attempts hit same problem again, contact TrackSite Support using TrackSite website (http://tracksite.ru/).
First, check out that you do not have tracking accidentally disabled in Control Center with 'STOP TRACKING' checked. If tracking is disabled, enable it.
The most common reason why TrackSite still do not track your site is that you have made a mistake in URL of TrackSite directory i.e. value that we designate above as http://domain/cgi-bin/tracksite/, but you should use your value. Check once more whether it is correct. If it is not, use automated tying tool on Control Center (or tiesite.pl) as described in step 8 to untie website and then tie it again using correct http://domain/cgi-bin/tracksite/ value. (Or manually correct all HTML code snippets in all pages where it is present in a way described in step 8; make sure that all pages end-up with correct snippet (if page has incorrect snippet, it will not be tracked by TrackSite.)
If you have thoroughly followed instructions and troubleshooting recommendations, but still cannot get TrackSite to track your site, try brand-new installation from scratch. If it hit exactly same problem again, contact TrackSite Support using TrackSite website (http://tracksite.ru/) and provide them with relevant installation and tying reports.
Control Center of TrackSite allows to download TrackSite database package (or simply database package) which is the "snapshot" of TrackSite database and all custom settings within TrackSite that can be used to restore TrackSite installation back to state reflected in "snapshot". Database packages are designed to be used for back up of TrackSite database in just a click and for easy transfer of entire TrackSite database to other deployment machine, e.g. other hosting provider.
If there is no existing installation to replace, to install TrackSite from database package you should use the same Basic Installation Procedure as described above, but use database package file (usually downloaded as mytracks.pl or a like) instead of tracksite5.pl file. In case you want use downloaded package to restore current installation to the state of package's snapshot (not to create different installation) you will need to rename package file to patch.pl and then treat it the same way as you would treat tracksite5.pl file upon installation, as described in Basic Installation Procedure, except that TrackSite directory will initially contain files of current installation (no need to remove them). Retying website to newly (re)installed TrackSite is not necessary, unless URL of TrackSite directory has changed since website was last tied.
Note: On rare occasion you may encounter "Internal Server Error" or a like messages after installing from downloaded database packages. In this case either change (reduce) reported range by one day, or check "Flush" checkbox, if it is available, and try again; this measure is required only once to return to subsequent normal operation of the same report. (This minor bug will be fixed in future release.)
If there is already working installation that you want to replace, follow procedure described in Upgrading Existing Installation section, except that database package file (usually downloaded as mytracks.pl or a like) is used instead of distribution file (tracksite.pl or a like) and possibly Control Center settings may not need be reentered cause database package file restores its own settings.
Before upgrade (!):
To upgrade existing installation with new distribution, follow the same Basic Installation Procedure as described above, except add 'patch_' prefix to installation script name i.e. rename tracksite5.pl (or a like) file to patch_tracksite5.pl before transferring (uploading) it to deployment server and then treat it the same way as you would treat tracksite5.pl file upon initial installation, as described in Basic Installation Procedure, except that TrackSite directory will initially contain files of already existing installation - do not remove them! Upgraded installation will automatically preserve old traffic database accumulated so far. Retying website to newly (re)installed TrackSite is not necessary, unless URL of TrackSite directory has changed since website was last tied.
Immediately after upgrade, restore old settings of Control Center. It is recommended that you stop tracking using corresponding Control Center checkbox, before you restore the rest of settings (especially those that affect tracking).
Either in FTP program or in file manager program, file permissions are presented against each file or directory as 'rwxrwxrwx' string of 9 characters. First 3 characters represent permissions for file/directory's owner, next 3 are for group the file/directory belongs to and last 3 are for any other users on the system. Characters mean: 'r' - read permission; 'w' - write permission; 'x' - execute permission. Each character may be replaced with '-' to indicated that corresponding permission is not set (denied). The last 'x' character may also be replaced with 't' in directory case to indicate so called "sticky bit" set on directory. The 'x' character for owner and/or group (i.e. except last) may also be replaced with 's' in file case to indicate so called "setuid" and "setgid" permission on file. String is prefixed with 'd' character in case of directory and '-' in case of file.
Each permission string also has alternative unique numeric representation that may also be rendered.
Procedure of setting file/directory permissions may vary a bit for different FTP programs and file managers, but it is essentially the same for all of them. To set permissions on file to particular value (given as numeric value or 9 characters string as described above), either in FTP program or in file manager program:
Here is example for 0505 (r-x---r-x) for different permission control interfaces:
or
Note that "Set UID", "Set GID" or "Sticky" controls may not be present in specific interface, as in last example, so you may need to ignore corresponding part of permissions string i.e. assume 'x' instead of 't' or 's' (e.g. r-s---r-x can only be approximated by r-x---r-x). In this Guide such approximation will work (except for tiesite.pl fix, see Installation Procedure: Full Story step 8), but we strongly recommend to use FTP program or file manager program that allow to set all permissions exactly.
Either in FTP program or in File Manager: