<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://techwiki.neosys.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Ashwin</id>
	<title>NEOSYS Technical Support Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://techwiki.neosys.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Ashwin"/>
	<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php/Special:Contributions/Ashwin"/>
	<updated>2026-05-29T18:13:14Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.3</generator>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Configuring_NEOSYS_Generally&amp;diff=901</id>
		<title>Configuring NEOSYS Generally</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=Configuring_NEOSYS_Generally&amp;diff=901"/>
		<updated>2012-02-15T05:26:41Z</updated>

		<summary type="html">&lt;p&gt;Ashwin: /* Mass updating database without data entry */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Clearing files in database ==&lt;br /&gt;
&lt;br /&gt;
This is to be done if you want to clean an old database or clean a training database so that a client can enter fresh data.&lt;br /&gt;
&lt;br /&gt;
These commands DO NOT reset the data to &amp;quot;factory settings&amp;quot; so for new installations you need to download a fresh BACKUP.ZIP file from the NEOSYS website.&lt;br /&gt;
&lt;br /&gt;
*Clear transactions		F5 	CLEAROP (only clears transactions not reference files)&lt;br /&gt;
&lt;br /&gt;
*Clear all		F5	CLEARALL (rather nasty command because it clears all reference files as well)&lt;br /&gt;
&lt;br /&gt;
== Clearing selected files in database ==&lt;br /&gt;
&lt;br /&gt;
This can be done if you want to reimport selected files. The flush index command MUST be performed after doing any clearing.&lt;br /&gt;
&lt;br /&gt;
WARNING This procedure must not be used if there are any transaction in the system that might use the files being cleared.&lt;br /&gt;
&lt;br /&gt;
WARNING Clearing individual files is error prone because other files might refer to the records you are clearing (referential integrity is not applied so dangling references may be created). For example, clearing suppliers without clearing vehicles in advance results in vehicles which have supplier codes that do not exist. Even if you reimport the suppliers, some supplier codes in the vehicles file may not be reimported leaving vehicles with problems.&lt;br /&gt;
&lt;br /&gt;
WARNING The opportunity to create problems that have no solution and that may only surface when the system is in operation is endless unless you think through the implications very very very carefully.&lt;br /&gt;
&lt;br /&gt;
*Flush Index		F5	FLUSH.INDEX (this command MUST be performed immediately after any data clearing)&lt;br /&gt;
&lt;br /&gt;
*Clear suppliers		F5	CLEARFILE SUPPLIERS&lt;br /&gt;
&lt;br /&gt;
*Clear vehicles		F5	CLEARFILE VEHICLES&lt;br /&gt;
&lt;br /&gt;
*Clear Payment Instruction F5    CLEARFIELD CLIENTS PAYMENT_INSTRUCTIONS (only clears the payment instruction from the client and brand file)&lt;br /&gt;
&lt;br /&gt;
== Mass updating database without data entry ==&lt;br /&gt;
&lt;br /&gt;
Warning: It is advisable that you take the approval of NEOSYS DBA or programmers before doing any of the following procedures. There is no protection whatsoever from damaging the database if you do not appreciate all the implications of any particular update. Common sense and caution must be used. If you damage a database then it may be, or with operation become, irretrievably damaged and require reconstruction from a backup causing possibly extreme finance damages to the owner of the data and consequences for yourself. You have been warned.&lt;br /&gt;
&lt;br /&gt;
There are many commands in maintenance mode that allow you to amend the database directly and without any record and without any ability to reverse changes.&lt;br /&gt;
&lt;br /&gt;
Normally, no record of the changes is made. All changes will appear to have been done by the last user at the time and date of the last normal user interface amendments.&lt;br /&gt;
&lt;br /&gt;
=== Available fields to clear or set ===&lt;br /&gt;
&lt;br /&gt;
#Client &amp;amp; Brand File: CLIENTS MARKET_CODE&lt;br /&gt;
#Client &amp;amp; Brand File: BRANDS MARKET_CODE&lt;br /&gt;
&lt;br /&gt;
=== How to clear a database field ===&lt;br /&gt;
&lt;br /&gt;
Assuming that a particular database field may be blank (i.e. not required for data entry) then you may clear a field as follows.&lt;br /&gt;
&lt;br /&gt;
Warning: There is nothing to stop you clearing a field that is mandatory and doing this may cause irrecoverable damage to the database.&lt;br /&gt;
&lt;br /&gt;
In the following example we wish to change all clients with market code “UAE to have market code blank.&lt;br /&gt;
&lt;br /&gt;
First, if you don’t want to clear all records, “select” the required records.&lt;br /&gt;
&lt;br /&gt;
 SELECT CLIENTS WITH MARKET_CODE “UAE”&lt;br /&gt;
&lt;br /&gt;
After a period of time, depending on the number of records in the file, it should briefly state the number of records selected and then return to the command prompt.&lt;br /&gt;
&lt;br /&gt;
WARNING: If no records have been selected then ALL records will be updated by the following command!&lt;br /&gt;
&lt;br /&gt;
 CLEARFIELD CLIENTS MARKET_CODE&lt;br /&gt;
&lt;br /&gt;
=== How to set a database field ===&lt;br /&gt;
&lt;br /&gt;
In the following example we change all the clients where the market code is blank (has not been entered) to become “UAE”.&lt;br /&gt;
&lt;br /&gt;
Warning: You can set the market code to a market code that does not exist. This will cause various problems in the operation of the system but is probably not irrecoverable.&lt;br /&gt;
&lt;br /&gt;
First, if you don’t want to set all records, “select” the required records.&lt;br /&gt;
&lt;br /&gt;
 SELECT CLIENTS WITH MARKET_CODE “”&lt;br /&gt;
&lt;br /&gt;
After a period of time, depending on the number of records in the file, it should briefly state the number of records selected and then return to the command prompt.&lt;br /&gt;
&lt;br /&gt;
WARNING: If no records have been selected then ALL records will be updated by the following command!&lt;br /&gt;
 &lt;br /&gt;
 CLEARFIELD CLIENTS MARKET_CODE/UAE&lt;br /&gt;
&lt;br /&gt;
== Configuring backup procedures ==&lt;br /&gt;
&lt;br /&gt;
See the System Configuration File on the NEOSYS Support Menu. More explanation is at [[Configuring_NEOSYS_automated_backup]]&lt;br /&gt;
&lt;br /&gt;
=== Non-Liability for Backup ===&lt;br /&gt;
&lt;br /&gt;
{{Non-Liability For Backup}}&lt;br /&gt;
&lt;br /&gt;
=== Backing up the Images folder ===&lt;br /&gt;
&lt;br /&gt;
The Images folder under the NEOSYS installation is used to upload images/artworks/files from the Job File section and hence needs to be backed up. NEOSYS will automatically backup this Images folder to the USB drive or other location (specified for the usual data backup) once a week. To configure this backup, RSYNC needs to have been installed during the initial installation.&lt;br /&gt;
&lt;br /&gt;
In case we need to configure the Images folder backup at another location other than the usual daily backup location than we need to edit:&lt;br /&gt;
&lt;br /&gt;
 line 12 - and specify the Drive of the location to be backed up to. eg. E or F&lt;br /&gt;
&lt;br /&gt;
== Backup to other media (i.e. not to USB)==&lt;br /&gt;
&lt;br /&gt;
If the backup is going to &#039;&#039;&#039;non-removable media&#039;&#039;&#039; (even if it is a shared folder on another computer) then the NEOSYS user/client/licensee (NOT the NEOSYS support team) can, at their own responsibility, arrange to &#039;&#039;&#039;move&#039;&#039;&#039; (NOT COPY) the NEOSYS backup files from that location to a backup location of their choice and avoid the WARNING message : &amp;quot;Backup media not changed. Overwriting last weeks backup&amp;quot;&lt;br /&gt;
&lt;br /&gt;
=== Sample alternative response to client requests for additional backups ===&lt;br /&gt;
&lt;br /&gt;
The existing NEOSYS backup must continue to take place for safety because it is the only well understood standard, controlled and checked procedure in use for all NEOSYS clients.&lt;br /&gt;
&lt;br /&gt;
You are free to setup and operate any additional backup procedure you like but NEOSYS cannot take any responsibility in setting up, monitoring or approving your additional backup procedure because it is beyond our sphere of control, expertise and trust.&lt;br /&gt;
&lt;br /&gt;
What you can backup is the NEOSYS backups on the USB drive. These are readily available online at all times on the NEOSYS server for you to access and copy as you choose. &lt;br /&gt;
&lt;br /&gt;
You can backup the usb anytime using anything you like, but you must not backup anything on any hard disk eg: C or D at any time.&lt;br /&gt;
&lt;br /&gt;
== Copying a single record from one database to another ==&lt;br /&gt;
 &lt;br /&gt;
You need to know the file name and record key of the record to be copied.&lt;br /&gt;
 &lt;br /&gt;
In this case the file is DEFINITIONS and the key is AGENCY.PARAMS&lt;br /&gt;
 &lt;br /&gt;
You can invent any old style 8.3 filename instead of C:\AGP.DAT in the following example&lt;br /&gt;
 &lt;br /&gt;
On the source computer:&lt;br /&gt;
 &lt;br /&gt;
 F5&lt;br /&gt;
 COPY DEFINITIONS AGENCY.PARAMS TO: (DOS C:\AGP.DAT)&lt;br /&gt;
&lt;br /&gt;
On the target computer:&lt;br /&gt;
 &lt;br /&gt;
 F5&lt;br /&gt;
 COPY DOS C:\AGP.DAT (ON) TO: (DEFINITIONS AGENCY.PARAMS)&lt;br /&gt;
&lt;br /&gt;
The (O) option is required to force overwrite of the existing &lt;br /&gt;
 &lt;br /&gt;
The (N) option means only copy if the target already exists. It is advisable to use it when you know that the target already exists to avoid misspellings in the command. It must be omitted if the target doesnt exist.&lt;br /&gt;
&lt;br /&gt;
== Allowing users temporary login as NEOSYS in maintenance mode ==&lt;br /&gt;
 &lt;br /&gt;
#Get them to login with any name even NEOSYS&lt;br /&gt;
#Get the to enter &amp;quot;?&amp;quot; for the pass without the quotes&lt;br /&gt;
#NEOSYS will give them a lock like &amp;quot;NEOSYS 123456&amp;quot; which they must give you. You should not log out until the next step is completed&lt;br /&gt;
#Follow the NEOSYS lock/key procedure using the full contents of the lock including the user name&lt;br /&gt;
(to allow access EXCEPT access to authorisation screen use a special number (not documented here) as the last number of the initial command)&lt;br /&gt;
#Give them the key and get them to enter and proceed&lt;br /&gt;
&lt;br /&gt;
== Configuring upload of photoshop &amp;quot;cs2&amp;quot; jpg files ==&lt;br /&gt;
&lt;br /&gt;
Photoshop version &amp;quot;cs2&amp;quot; produces jpg files that cannot be viewed in Internet Explorer.&lt;br /&gt;
&lt;br /&gt;
A solution is to rename the files extension from .jpg to .psjpg before uploading.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;psjpg&amp;quot; files are an invention of NEOSYS and IIS must be configured to handle .psjpg files as follows:&lt;br /&gt;
&lt;br /&gt;
Windows Server 2003 (doesnt work on XP)&lt;br /&gt;
&lt;br /&gt;
#Computer Management, Internet Information Server, Properties&lt;br /&gt;
#Click MIME Types&lt;br /&gt;
#Click New&lt;br /&gt;
#Extension: psjpg&lt;br /&gt;
#MIME Type: application/photoshop&lt;br /&gt;
#Click OK,OK,OK&lt;br /&gt;
#Restart IIS (Right click, All Tasks, Restart)&lt;br /&gt;
&lt;br /&gt;
== Enabling backup servers to access backed-up servers ==&lt;br /&gt;
&lt;br /&gt;
This relates to a common procedure used by NEOSYS to provide automatic nightly synchronisation/backups between servers for multi-office configurations. For more information see&lt;br /&gt;
http://itwiki.neosys.com/index.php/Setting_up_remote_backup&lt;br /&gt;
&lt;br /&gt;
Αccording to this procedure, backup processes are actually initiated and run on a &amp;quot;backup server&amp;quot; using a &amp;quot;pull&amp;quot; concept. The &amp;quot;backed-up server&amp;quot; serves the data (usually using an rsync service) to the backup server on request. They do not use a &amp;quot;push&amp;quot; concept.&lt;br /&gt;
&lt;br /&gt;
This means that backup servers need to be able to automatically login to the backed-up servers. On most backup servers a NEOSYS cygwin script called autologin.sh has been installed. This helps you configure the backup server and backed-up server.&lt;br /&gt;
&lt;br /&gt;
Normally you only need to run autologin.sh once per pair of backup and backed-up servers but sometimes the configuration is lost (particularly when NEOSYS is upgraded) and it must be repeated.&lt;br /&gt;
&lt;br /&gt;
=== Using autologin.sh ===&lt;br /&gt;
&lt;br /&gt;
#Asks you for the username and hostname&lt;br /&gt;
#Copies an identity file from the backup server to the backed up server.&amp;lt;br&amp;gt;&amp;lt;b&amp;gt;This requires you to enter the administrator or root password.&amp;lt;/b&amp;gt;&lt;br /&gt;
#Logs you in to the backed up server&#039;s cygwin/bash command line.&amp;lt;br&amp;gt;&amp;lt;b&amp;gt;This requires you to enter the password again.&amp;lt;/b&amp;gt;&lt;br /&gt;
#YOU then type a series of commands to install the identity file and finally exit the command console.&amp;lt;br&amp;gt;The series of commands that you must type are shown on screen by autologin.sh&lt;br /&gt;
#Logs you in to the backed up server&#039;s cygwin/bash command line.&amp;lt;br&amp;gt;&amp;lt;b&amp;gt;This time, you should NOT be required to enter a password.&amp;lt;/b&amp;gt;&lt;br /&gt;
#YOU type &amp;quot;exit&amp;quot; to quit the backed up server&#039;s command line.&lt;br /&gt;
&lt;br /&gt;
=== Running ./autologin.sh ===&lt;br /&gt;
&lt;br /&gt;
In cygwin on the backup server, you can use any of the following syntax depending on your configuration:&lt;br /&gt;
&lt;br /&gt;
Syntax&lt;br /&gt;
&lt;br /&gt;
 ./autologin.sh targethostname targetusername sshport&lt;br /&gt;
&lt;br /&gt;
*host and user will be prompted for if omitted &lt;br /&gt;
*port will be 19580 if omitted&lt;br /&gt;
&lt;br /&gt;
Example using prompting for parameters&lt;br /&gt;
&lt;br /&gt;
 ./autologin.sh&lt;br /&gt;
&lt;br /&gt;
Example using default user and port (administrator/19580)&lt;br /&gt;
&lt;br /&gt;
 ./autologin.sh examplehost.neosys.com&lt;br /&gt;
&lt;br /&gt;
Example with different user (port will be 19580)&lt;br /&gt;
&lt;br /&gt;
 ./autologin.sh examplehost.neosys.com Administrator&lt;br /&gt;
&lt;br /&gt;
Example with different user and port&lt;br /&gt;
&lt;br /&gt;
 ./autologin.sh examplehost.neosys.com Administrator 19580&lt;br /&gt;
&lt;br /&gt;
Follow instructions on screen. &lt;br /&gt;
&lt;br /&gt;
The system will ask you once the password to the target server to transfer an identity file and once again to access the command line of the target server from where you must follow a set of instructions in order to load the identity file properly.&lt;br /&gt;
&lt;br /&gt;
The username is usually administrator for windows server targets.&lt;br /&gt;
&lt;br /&gt;
The hostname can be found in backup email logs or in the CONFIG.CMD file in the backup server.&lt;br /&gt;
&lt;br /&gt;
There are often two alternative hostnames. Try the first one first. If you succeed with the first then there is no need to try the second.&lt;br /&gt;
&lt;br /&gt;
Sometimes one of the host names is based on alternative network access methods like hamachi which uses ip addresses starting with &amp;quot;5.&amp;quot; and requires hamachi service to be running in both servers and this sometimes is dependent on being logged in and correct setup of hamachi. You can ping the host names to discover the ip numbers of course.&lt;br /&gt;
&lt;br /&gt;
Follow the instructions on the screen VERY carefully.&lt;br /&gt;
&lt;br /&gt;
=== The edit step ===&lt;br /&gt;
&lt;br /&gt;
The last step will enter the nano editor where you should do the following:&lt;br /&gt;
&lt;br /&gt;
If present, delete the word neosys near the end of the last line of the file. The last bit of the last line will refer to some user and host that you are enabling access FROM&lt;br /&gt;
&lt;br /&gt;
BE CAREFUL NOT TO TRIGGER THE AUTOMATIC LINE BREAKING IN NANO because line breaking into two or more lines is automatically triggered when you add characters to long lines. it is not triggered if you just delete characters. If you do cause a line break then quit the editor WITHOUT saving and try again or then use the editor to rejoin the two lines. Note that pressing Alt+L will turn long line breaking off and on which avoids the problem in the first place.&lt;br /&gt;
&lt;br /&gt;
Press Ctrl+X to exit the editor&lt;br /&gt;
&lt;br /&gt;
=== Creating/Upgrading autologin.sh if it doesn’t exist or is out of date ===&lt;br /&gt;
&lt;br /&gt;
 nano autologin.sh&lt;br /&gt;
 chmod +x autologin.sh&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
&lt;br /&gt;
set -e&lt;br /&gt;
&lt;br /&gt;
REMOTEHOST=$1&lt;br /&gt;
REMOTEUSER=$2&lt;br /&gt;
PORT=$3&lt;br /&gt;
&lt;br /&gt;
test $REMOTEUSER || REMOTEUSER=administrator&lt;br /&gt;
test $PORT || PORT=19580&lt;br /&gt;
&lt;br /&gt;
if [ ! $REMOTEUSER ]; then&lt;br /&gt;
echo -n &amp;quot;Remote User (blank=administrator)/root?&amp;quot;&lt;br /&gt;
read REMOTEUSER&lt;br /&gt;
if [ &amp;quot;$REMOTEUSER&amp;quot; == &amp;quot;&amp;quot; ] ; then REMOTEUSER=administrator ; fi&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
if [ ! REMOTEHOST ]; then&lt;br /&gt;
echo -n &amp;quot;Remote Host? &amp;quot;&lt;br /&gt;
read REMOTEHOST&lt;br /&gt;
if [ &amp;quot;$REMOTEHOST&amp;quot; == &amp;quot;&amp;quot; ] ; then exit; fi&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
echo PASSPHRASE MUST BE BLANK IF YOU GET ASKED FOR IT!&lt;br /&gt;
#Generate priv/pub keys in .ssh if not already done&lt;br /&gt;
#Priv key mustnt be accessible except to owner otherwise wont work.&lt;br /&gt;
test -f ~/.ssh/id_dsa || \&lt;br /&gt;
ssh-keygen -t dsa -b 1024 &amp;amp;&amp;amp; \&lt;br /&gt;
chmod 600 ~/.ssh/id_dsa&lt;br /&gt;
&lt;br /&gt;
echo&lt;br /&gt;
echo &amp;quot;Logging in to the remote server (enter the pass again)&amp;quot;&lt;br /&gt;
sed &#039;s/neosys//&#039; ~/.ssh/id_dsa.pub | \&lt;br /&gt;
ssh -p $PORT $REMOTEUSER@$REMOTEHOST \&lt;br /&gt;
&amp;quot;mkdir -p .ssh ; chmod 700 .ssh ;\&lt;br /&gt;
cat &amp;gt;&amp;gt; .ssh/authorized_keys ;\&lt;br /&gt;
chmod 644 .ssh/authorized_keys&amp;quot;&lt;br /&gt;
&lt;br /&gt;
echo&lt;br /&gt;
echo &amp;quot;Test automatic login to the remote server&amp;quot;&lt;br /&gt;
echo &amp;quot; SHOULD NO LONGER ASK FOR PASSWORD.&amp;quot;&lt;br /&gt;
echo &amp;quot; IF SUCCESSFULL, TYPE exit&amp;quot;&lt;br /&gt;
ssh -p $PORT $REMOTEUSER@$REMOTEHOST&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== System Configuration File ==&lt;br /&gt;
=== Scope ===&lt;br /&gt;
&lt;br /&gt;
*All Installations&lt;br /&gt;
*Current Installation (default)&lt;br /&gt;
*Current Database&lt;br /&gt;
&lt;br /&gt;
You can configure most items at the above “scopes”. Any item configured on higher/broader scope has priority over the same item on a lower/narrower scope.&lt;br /&gt;
&lt;br /&gt;
Assigning higher priority to higher/broader scopes allows us to override any and all individual installations/databases configurations with a particular configuration of our choosing. However it does not allow us to set a default configuration for all installations/databases and then separately configure each one where desired. That would require NEOSYS to assign priority to lower/narrower scopes – which it doesn’t do.&lt;/div&gt;</summary>
		<author><name>Ashwin</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Troubleshooting_NEOSYS_Generally&amp;diff=896</id>
		<title>Troubleshooting NEOSYS Generally</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=Troubleshooting_NEOSYS_Generally&amp;diff=896"/>
		<updated>2012-02-12T05:50:43Z</updated>

		<summary type="html">&lt;p&gt;Ashwin: /* NO LOCK RECORD error when working on NEOSYS */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Solving failure to start a NEOSYS server due to disk failure message ==&lt;br /&gt;
=== Problem ===&lt;br /&gt;
During a reboot process (which maybe due to a Windows update or even done by a support personnel) the NEOSYS server gets hung on the startup and shows a message &amp;quot;Boot Failure - Abort, Retry&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
=== Temporary solution ===&lt;br /&gt;
This typically happens due to the USB being plugged into the server and the boot sequence being wrong - i.e. the server trying to boot from the USB first and fails. The immediate solution would be to unplug the USB and ask the client to reboot the server again and upon successfully rebooting the system, plug the USB back again.&lt;br /&gt;
&lt;br /&gt;
=== Permanent solution ===&lt;br /&gt;
The above problem will occur every time the computer is rebooted, so you need to immediately talk to the IT Administrator of the client and ask them to rectify the boot sequence to make it boot first from the CD ROM, then the HDD and last the USB.&lt;br /&gt;
&amp;lt;BR&amp;gt;Allowing &amp;quot;Boot from USB&amp;quot; causes a severe risk of infection by boot sector viruses since the first infected USB device inserted WILL infect the server immediately as anti-virus programs are not active during boot.&lt;br /&gt;
&lt;br /&gt;
== Solving NEOSYS process hung due to “Abort, Retry, Fail” ==&lt;br /&gt;
=== Problem ===&lt;br /&gt;
The following messages may come on older versions of NEOSYS if there is a some problem with the USB media inserted for backup.&lt;br /&gt;
&lt;br /&gt;
[[image:usberror.jpg]]&lt;br /&gt;
&lt;br /&gt;
This results in “NEOSYS has not checked in” message on Nagios since it hangs during the monitoring update and locks all other processes from monitoring too.&lt;br /&gt;
&lt;br /&gt;
General failure writing drive F&lt;br /&gt;
Abort, Retry, Fail?&lt;br /&gt;
&lt;br /&gt;
Not read reading drive F&lt;br /&gt;
Abort, Retry, Fail?&lt;br /&gt;
&lt;br /&gt;
Pressing A or F results in the problem happening again in about a minute, perhaps on a different process.&lt;br /&gt;
&lt;br /&gt;
=== Solution ===&lt;br /&gt;
Temporary solution is to do “Safely remove hardware” from the windows notification area. Using “Eject” from My Computer will not work.&lt;br /&gt;
&lt;br /&gt;
Permanent solution is to replace the defective USB memory stick. Sometime reformatting is sufficient.&lt;br /&gt;
&lt;br /&gt;
Upgrading NEOSYS will probably stop the defective media from causing NEOSYS to hang but the USB will still be useless for backup.&lt;br /&gt;
&lt;br /&gt;
== Solving &amp;quot;Read error in the operating system file&amp;quot; ==&lt;br /&gt;
=== Problem ===&lt;br /&gt;
Nagios reports a hung process and on the server a process has the following message popup.&lt;br /&gt;
&lt;br /&gt;
 Read error in the operating system file &amp;quot;..\DATA\PT0833\ACCOUNTS\REV20049&lt;br /&gt;
 The file does not exist or the filename is&lt;br /&gt;
 not valid for the operating system.&lt;br /&gt;
&lt;br /&gt;
[[Image:readerrorintheoperatingsystemfile.png]]&lt;br /&gt;
&lt;br /&gt;
=== Cause ===&lt;br /&gt;
Some non-NEOSYS program is directly accessing the NEOSYS database files while NEOSYS processes are running and using the files as well.&lt;br /&gt;
&lt;br /&gt;
*Client IT staff using a backup program to perform backup without ensuring that NEOSYS processes are shutdown.&lt;br /&gt;
*A NEOSYS rsync process taking longer than expected due to new USB.&lt;br /&gt;
&lt;br /&gt;
=== Solution ===&lt;br /&gt;
Kill the NEOSYS process eg with the X button. It is advisable NOT to let it run further while it cannot properly access one of its files.&lt;br /&gt;
&lt;br /&gt;
=== Prevention ===&lt;br /&gt;
Remove the third party program or arrange for it to operate only while NEOSYS processes are shutdown eg from 3am-6am.&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting the &amp;quot;Database not available&amp;quot; error message == &lt;br /&gt;
=== Problem explained ===&lt;br /&gt;
This error appears when you try to login to NEOSYS after you enter your username and password and click the Login button.&lt;br /&gt;
&lt;br /&gt;
[[image:database_unavailable.jpg]]&lt;br /&gt;
&lt;br /&gt;
Error message : &lt;br /&gt;
&lt;br /&gt;
 Cannot login because : &lt;br /&gt;
 Error :  The (database code) database is not available right now.&lt;br /&gt;
&lt;br /&gt;
=== Solution explained ===&lt;br /&gt;
# Determine if the processes are running. If they are running and you still get the same message that means that the proccesses have hung. Close them by hitting the X button on the window.&lt;br /&gt;
# If the processes are not visible, it is possible that they are running in the background and have hung for some reason. Check the windows task manager to see if any ‘ntvdm’ process is running. If so, use the End Process method to force close it.&lt;br /&gt;
# If there is no trace of any process running, that means the process probably did not start at the scheduled time. Refer to the &#039;Hung Process Reports&#039; to verify this claim. &lt;br /&gt;
# If the process had not hung, then the server might have restarted due to a power failure or a windows update and the administrator user had not logged in post the scheduled startup time of 6AM. To determine this cause, investigate in the Windows Event Viewer Log file.&lt;br /&gt;
# You can now start up the process by clicking on the respective desktop icons.&lt;br /&gt;
# Also check if the backup took place successfully or not. If not take a manual backup.&lt;br /&gt;
&lt;br /&gt;
== Handling damaged files ==&lt;br /&gt;
&lt;br /&gt;
[[Handling damaged files]]&lt;br /&gt;
&lt;br /&gt;
== Checking for corrupt database files ==&lt;br /&gt;
Login to NEOSYS Maintenance&lt;br /&gt;
&lt;br /&gt;
Press F5&lt;br /&gt;
&lt;br /&gt;
 CHK.FILES&lt;br /&gt;
&lt;br /&gt;
or &lt;br /&gt;
&lt;br /&gt;
 CHK.FILES filename&lt;br /&gt;
&lt;br /&gt;
== Assessing Database Size per File ==&lt;br /&gt;
In NEOSYS maintenance mode&lt;br /&gt;
 &lt;br /&gt;
 LIST FILES BY BY-DSND SIZE VOLUME.NAME SIZE&lt;br /&gt;
 &lt;br /&gt;
This will include all files not just those in the actual dataset in DATA\* folders.&lt;br /&gt;
&lt;br /&gt;
== Resolving slow speed ==&lt;br /&gt;
=== [[Benchmarking NEOSYS]] ===&lt;br /&gt;
=== Investigating CPU 100% using Windows Task Manager ===&lt;br /&gt;
Email, to support, a screen-shot of task manager APPLICATIONS, PROCESSES and PERFORMANCE screens MAXIMIZED TO SHOW AS MUCH AS POSSIBLE. &lt;br /&gt;
&lt;br /&gt;
(Sort the processes to show ntvdm, waiting.exe and high cpu% processes clearly)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Steps:&#039;&#039;&#039;&lt;br /&gt;
#Right Click on Windows Taskbar and click on Start Task Manager &amp;lt;br&amp;gt; [[image:starttaskmanager.jpg]] &amp;lt;br&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
#Click on Processes and then click on CPU &amp;lt;br&amp;gt;&#039;&#039;&#039;Note - The HIGH cpu% processes which should usually be the &amp;quot;process&amp;quot; called &amp;quot;System Idle Process&amp;quot; &#039;&#039;&#039;&amp;lt;br&amp;gt;[[image:cpu100percent1.jpg]] &amp;lt;br&amp;gt; &lt;br /&gt;
#Click on the Performance Tab &amp;lt;br&amp;gt; &#039;&#039;&#039;Note - PF Usage should typically be much less than Physical Memory otherwise there is insufficient real memory in the server to handle the load&#039;&#039;&#039; &amp;lt;br&amp;gt; [[image:cpu100percent3.jpg]] &amp;lt;br&amp;gt; &lt;br /&gt;
#Click on Application Tab then Right Click on a NEOSYS Process and Click on Bring to Front &amp;lt;br&amp;gt;&#039;&#039;&#039;See what the NEOSYS Process is doing &amp;lt;br&amp;gt; [[image:cpu100percent2.jpg]] &amp;lt;br&amp;gt; &lt;br /&gt;
#Right Click on a NEOSYS Process and Click on Go to Processes &amp;lt;br&amp;gt;&#039;&#039;&#039;Note the cpu% ntvdm process &amp;lt;br&amp;gt;[[image:cpu100percent2_2.jpg]]&amp;lt;br&amp;gt;  &lt;br /&gt;
#Normally NEOSYS application screens say &amp;quot;LISTENING&amp;quot; in the bottom line and those applications should have very low cpu%&amp;lt;br&amp;gt;[[image:normalneosysprocess.jpg]]&amp;lt;br&amp;gt;&lt;br /&gt;
#Look at the difference between the screen of running NEOSYS processes (applications actually) which are idle (listening for requests) and active (processing a request from a user)&lt;br /&gt;
#Note the number of cpus or cpu threads in the server from the performance screen graphics&amp;lt;br&amp;gt;[[image:performance-taskmgr-cputhread.jpg]]&amp;lt;br&amp;gt;&lt;br /&gt;
#Take screen-shots of any and ALL hung or long running processes (NEOSYS application screens) and email them to support. Even small details on the screens and user names, the user names may give clues to what problem caused the hanging.A Typical Hung NEOSYS process will look like this: &amp;lt;br&amp;gt; [[image:hungneosysprocess.jpg]] &amp;lt;br&amp;gt;&lt;br /&gt;
#Once all hung/long processes are closed then CPU should be low and not near 100%. If it is still 100% then check all high cpu% processes and send a screen-shot of processes sorted to show the high cpu% process names to support.&lt;br /&gt;
&lt;br /&gt;
=== Solving server CPU% is 100 and all users are extremely slow/stopped ===&lt;br /&gt;
==== Too few cpus/threads for the number of users ====&lt;br /&gt;
In Windows task manager normally, you should see one ntvdm.exe and one waiting.exe process per NEOSYS process (application). A standard installation has three NEOSYS processes per main database and plus one per test database. This is configured in Support Menu, Configuration File.&lt;br /&gt;
&lt;br /&gt;
If there are MORE ntvdm processes than you expect from the configuration file, then perhaps NEOSYS is auto starting new NEOSYS processes to try and cater for a high number of concurrent users.&lt;br /&gt;
&lt;br /&gt;
If the number of concurrent NEOSYS processes significantly exceeds the number of cpus/hyperthreads available in the server then processing for everybody can become so slow for everybody and almost no work gets done.&lt;br /&gt;
&lt;br /&gt;
==== Solution ====&lt;br /&gt;
Stop NEOSYS creating new NEOSYS processes automatically. Create a text file with the first and only line as AUTOSTART=NO in the neosys\neosys folder something like this.&lt;br /&gt;
&lt;br /&gt;
notepad d:\neosys\neosys\NET.CFG&lt;br /&gt;
&lt;br /&gt;
AUTOSTART=NO&lt;br /&gt;
&lt;br /&gt;
== Handling failure and warning on nightly backup alerts ==&lt;br /&gt;
&lt;br /&gt;
[[Handling failure and warning messages on nightly backup alerts]]&lt;br /&gt;
&lt;br /&gt;
== Resolving permissions errors while logging in ==&lt;br /&gt;
 &lt;br /&gt;
=== Problem ===&lt;br /&gt;
 &lt;br /&gt;
While logging in, you get the following error message:&lt;br /&gt;
[[Image:login_error_message.jpg]]&lt;br /&gt;
 &lt;br /&gt;
=== Solution ===&lt;br /&gt;
 &lt;br /&gt;
Add the internet guest account to the security list of the data folder with the default permission of list/read/write&lt;br /&gt;
 &lt;br /&gt;
Make sure the read&amp;amp;execute permission is removed&lt;br /&gt;
[[Image:permissions_on_data.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Resolving the &#039;HTTP Error 500.0 - Internal Server Error&#039; while logging in on IE on a Windows Vista system ==&lt;br /&gt;
&lt;br /&gt;
=== Problem ===&lt;br /&gt;
After configuring IIS on Windows Vista you will get this error message while trying to login into NEOSYS from Internet Explorer:&lt;br /&gt;
&lt;br /&gt;
 HTTP Error 500.0 - Internal Server Error&lt;br /&gt;
 Description: This application is running in an application pool that uses the Integrated .NET  &lt;br /&gt;
 mode. This is the preferred mode for running ASP.NET applications on the current and future &lt;br /&gt;
 version of IIS.&lt;br /&gt;
 &lt;br /&gt;
 In this mode, the application using client impersonation configured with &amp;lt;identity &lt;br /&gt;
 impersonate=&amp;quot;true&amp;quot; /&amp;gt; may not behave correctly. Client impersonation is not available in early &lt;br /&gt;
 ASP.NET request processing stages and may lead modules in those stages to execute with process &lt;br /&gt;
 identity instead.&lt;br /&gt;
&lt;br /&gt;
=== Solution ===&lt;br /&gt;
&lt;br /&gt;
You can move the application to an application pool that uses the Classic .NET mode by using the following from a command line window (the window must be running as Administrator) &lt;br /&gt;
&lt;br /&gt;
 %systemroot%\system32\inetsrv\APPCMD.EXE set app &amp;quot;Default Web Site/neosys&amp;quot; /applicationPool:&amp;quot;Classic .NET AppPool&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Alternatively, you can use any other application pool on your system that is running in the Classic .NET mode. You can also use the IIS Administration tool to move this application to another application pool.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Resolving the &#039;Class Not Registered&#039; error message while logging in ==&lt;br /&gt;
&lt;br /&gt;
=== Problem ===&lt;br /&gt;
While logging into NEOSYS, you will get a popup window giving an error message saying &#039;Class Not Registered - Server Error&#039;. Typically, you will encounter this error with XP Pro IIS 5.1. As usual, there&#039;s way to solve it, however the root cause of this is still unknown.&lt;br /&gt;
&lt;br /&gt;
Anyway, you will get the proper message in the event log:&lt;br /&gt;
&lt;br /&gt;
 Event Type: Warning&lt;br /&gt;
 Event Source: W3SVC&lt;br /&gt;
 Event Category: None&lt;br /&gt;
 Event ID: 36&lt;br /&gt;
 Description: The server failed to load application &#039;/LM/W3SVC/1/ROOT/NEOSYS.&lt;br /&gt;
 The error was &#039;Class not registered&#039;. &lt;br /&gt;
&lt;br /&gt;
=== Solution ===&lt;br /&gt;
So, what do you do ? This problem is related to Component Services, and when you open Component Services MMC, you will most probably  get  Error Code 8004E00F COM + was unable to talk to Microsoft Distributed Transaction Coordinator. So, fix the COM+ services first by using the following KB from Microsoft (PRB: Cannot Expand &amp;quot;My Computer&amp;quot; in Component Services MMC Snap-In http://support.microsoft.com/?id=301919):&lt;br /&gt;
&lt;br /&gt;
To resolve this problem, reinstall Component Services as follows: WARNING: &lt;br /&gt;
# Open registry editor, locate HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\COM3, and then delete this key.  &lt;br /&gt;
# From the Start menu, point to Settings, click Control Panel, and then click Add/Remove Programs.  &lt;br /&gt;
# Click Add/Remove Windows Components. &lt;br /&gt;
# Proceed through the wizard, and accept all of the defaults (including IIS)&lt;br /&gt;
# Restart the computer.&lt;br /&gt;
&lt;br /&gt;
If the above didn&#039;t solve it, and you still receive the &#039;Class not registered&#039; error message, then you need to recreate the IIS packages in COM+, try&lt;br /&gt;
&lt;br /&gt;
# Delete IIS related package in Component Services MMC&lt;br /&gt;
# IIS In-Process Applications &lt;br /&gt;
# IIS Out-of-Process Pooled Applications &lt;br /&gt;
# IIS Utilities&lt;br /&gt;
&lt;br /&gt;
Next, if you still get the message, try following before re-install IIS if you can&#039;t find Distributed Transaction Coordinator in your Services console.&lt;br /&gt;
&lt;br /&gt;
Launch command prompt and run the following command.&lt;br /&gt;
# msdtc -install&lt;br /&gt;
# net start msdtc&lt;br /&gt;
&lt;br /&gt;
Then try re-install IIS.&lt;br /&gt;
&lt;br /&gt;
This should solve the problem&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Enabling File Security option on Win XP Professional ==&lt;br /&gt;
&lt;br /&gt;
=== Problem ===&lt;br /&gt;
&lt;br /&gt;
In the Properties of any folders, the Security option does not show, hence you cannot modify the Read, Write options.&lt;br /&gt;
&lt;br /&gt;
=== Solution ===&lt;br /&gt;
&lt;br /&gt;
The solution would be to untick the &#039;Simple File Sharing&#039; option from  Tools &amp;gt; Folder Options &amp;gt; View:&lt;br /&gt;
[[Image:simplefilesharingoff.jpg]]&lt;br /&gt;
&lt;br /&gt;
== B10 &amp;amp; B12 Errors ==&lt;br /&gt;
&lt;br /&gt;
These errors are in the software and should be immediately escalated to the programmer.&lt;br /&gt;
&lt;br /&gt;
== B703 Errors ==&lt;br /&gt;
&lt;br /&gt;
The B703 error is usually always related to something too big for NEOSYS to handle. &lt;br /&gt;
&lt;br /&gt;
These are the only B errors that NEOSYS cant always permanently prevent by fixing the software.&lt;br /&gt;
&lt;br /&gt;
== Internet Explorer Menu, View, Text Size doesnt change font size as expected ==&lt;br /&gt;
&lt;br /&gt;
Cause: This is because the font size is now user definable in NEOSYS and View, Text Size does not override predefined font sizes.&lt;br /&gt;
&lt;br /&gt;
Solution: If you are using Internet Explorer 7 you can scale the screen (including the font size  using ctrl + and ctrl - keyboard shortcuts or the font size button on the bottom right hand side of the window. &lt;br /&gt;
&lt;br /&gt;
You can adjust the font size on the User Details form when you login although this permanently applies to all forms not just the one that you are on.&lt;br /&gt;
&lt;br /&gt;
== Error on process window &amp;quot;Not enough string space - Out of Memory&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
=== Message ===&lt;br /&gt;
&lt;br /&gt;
‘RTP27’ Line 1. [B29] Not enough string space – Out of Memory.&lt;br /&gt;
&lt;br /&gt;
Not enough memory to execute Debugger; current program aborted.&lt;br /&gt;
Press any key to continue&lt;br /&gt;
&lt;br /&gt;
[[Image:out_of_memory.jpg]]&lt;br /&gt;
&lt;br /&gt;
=== Cause ===&lt;br /&gt;
Unknown perhaps related to some large document or report&lt;br /&gt;
&lt;br /&gt;
=== Solution ===&lt;br /&gt;
Ask users for any hanging transactions.&lt;br /&gt;
None other than closing and starting another process&lt;br /&gt;
&lt;br /&gt;
== Uploaded jpg files fail to display in internet explorer ==&lt;br /&gt;
&lt;br /&gt;
Some large jpg files &amp;gt; 2Mb cannot be viewed in internet explorer despite being viewable in image preview, ms paint and other viewers/editors. It is not an issue caused by uploading or downloading the files.&lt;br /&gt;
&lt;br /&gt;
These file appear to have been created on Photoshop CS Macintosh and may be a special type of uncompressed jpg used for production quality files.&lt;br /&gt;
&lt;br /&gt;
=== Partial solution ===&lt;br /&gt;
Before uploading the files, open them in some editor like MS Paint (right click, edit) and save them. However this results in a loss of quality. Perhaps there is some program that can convert these files to a format understandable by Internet explorer without any loss of quality.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== &amp;quot;You have attempted to write to a read-only file&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
=== Message ===&lt;br /&gt;
&lt;br /&gt;
Error while writing data.&lt;br /&gt;
You have attempted to write to a read-only file.&lt;br /&gt;
- or -&lt;br /&gt;
access to the file has been denied by the operating system.&lt;br /&gt;
(operating system file name: &amp;quot;..\DATA\ADLINEC\ADAGENCY\REV76467.OV00012618&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
=== Cause ===&lt;br /&gt;
&lt;br /&gt;
It is almost certainly due to some third party backup or other maintenance software opening the NEOSYS database files when it shouldn&#039;t e.g. badly configured third party backup scheduled to backup NEOSYS while NEOSYS is still running. Note that the exact filename varies each time.&lt;br /&gt;
&lt;br /&gt;
=== Solution ===&lt;br /&gt;
&lt;br /&gt;
This can be a serious error that causes damaged files in NEOSYS especially if the filename ends in .OV. Use the usual methods of checking for damaged files e.g. do a backup which also looks for damaged files BUT DO NOT OVERWRITE THE LATEST BACKUP SINCE IT MAY BE REQUIRED for restoration. Then fix the damaged files using the usual methods e.g. by rebuilding/using&lt;br /&gt;
FIXFILE or restoring databases.&lt;br /&gt;
&lt;br /&gt;
=== Prevention ===&lt;br /&gt;
&lt;br /&gt;
Remove the third party backup or other maintenance software or reschedule it to run at a time that NEOSYS is shutdown. Removal of software may require hunting through the windows process list for unexpected programs running.&lt;br /&gt;
&lt;br /&gt;
== Resolving &amp;quot;Cannot backup/restore because PROCESS1 PROCESS2 (etc) is/are online&amp;quot; message ==&lt;br /&gt;
 &lt;br /&gt;
This can happen for a variety of reasons if all the NEOSYS processes fail to close down at backup time&lt;br /&gt;
 &lt;br /&gt;
# NEOSYS maintenance windows are left open.&lt;br /&gt;
# NEOSYS processes hang due to software error.&lt;br /&gt;
 &lt;br /&gt;
== How to kill hung NEOSYS processes ==&lt;br /&gt;
 &lt;br /&gt;
NOTE WELL: If you kill actively working NEOSYS processes (those which are &amp;quot;listening&amp;quot; and not hung/crashed) there is a reasonable chance that the database will be damaged and might need a restore losing possibly large amounts of work.&lt;br /&gt;
 &lt;br /&gt;
==== If NEOSYS processes are visible on the server desktop ====&lt;br /&gt;
 &lt;br /&gt;
Look for processes which don&#039;t have &amp;quot;Listening ...&amp;quot; on the last but one line. The times on the left hand side are frozen as at the time of the hang.&lt;br /&gt;
 &lt;br /&gt;
You can then click the X to kill the process and confirm that this is OK.&lt;br /&gt;
 &lt;br /&gt;
Example of a NEOSYS process that has hung due to a software error resulting in a failure to handle a complex query with a lot of brand codes.&lt;br /&gt;
&lt;br /&gt;
[[Image:hungprocess.jpg]]&lt;br /&gt;
 &lt;br /&gt;
==== If NEOSYS processes are not visible on the server desktop ====&lt;br /&gt;
&lt;br /&gt;
NEOSYS processes are most of the time visible on the desktop (i.e. the black dos windows) in Windows 2003 OS, except in the case that the process has been scheduled to start on computer restart and no one has logged into the server. In this case it would be running in the background. Secondly in the case of Windows 2008, the processes always are hidden. &lt;br /&gt;
&lt;br /&gt;
You can check if there are any hung processes from the NEOSYS Support Menu, List of Database Processes. &lt;br /&gt;
[[Image:databaseprocesseslist.jpg]]&lt;br /&gt;
&lt;br /&gt;
In this case you should follow the below instructions - however all of them need to be done within 30 seconds of starting the first instruction to avoid inconvenience to the users. It is recommend that you keep relevant windows open before proceeding with the same:&lt;br /&gt;
&lt;br /&gt;
#Shutdown NEOSYS by TEMPORARILY putting a file called GLOBAL.END in the parent directory of NEOSYS (if there is already a GLOBAL.END.TEMP file then rename it to GLOBAL.END). Leaving the file there would prevent NEOSYS from starting up again. Shutting down NEOSYS from the Support menu will not work because of the hung processes.&lt;br /&gt;
#Use Windows Task Manager to kill all the NTVDM processes - assuming that you have closed all the visible NEOSYS processes, then the NTVDM processes in the task manager would be the hung one.&lt;br /&gt;
#Delete GLOBAL.END or rename it to GLOBAL.END.TEMP&lt;br /&gt;
#Restart the processes back again. If there are many datasets then you need to restart them all well within the 30 seconds period.&lt;br /&gt;
&lt;br /&gt;
In case of Patsalides, where we have a thousand datasets which start &amp;quot;on demand&amp;quot; i.e. usually on login; all you need to do is start one dataset which will restart all the other datasets &amp;quot;on demand&amp;quot;. If there is no response within 30 seconds then one of the running datasets will start it up so there appears to be a 30 second delay when you login to one of the thousand datasets the first time on any one day.&lt;br /&gt;
&lt;br /&gt;
=== Temporary workarounds for hung NEOSYS processes ===&lt;br /&gt;
Until the error in the software is fixed users can often get their results by simplifying their requirements. For example select individual clients instead of selecting all the brands for a particular client. If the user has repeated his request (in forlorn hope that it would work finally) then the number of NEOSYS working NEOSYS processes will drop causing severe slowdown for other users and complete stop if all the NEOSYS processes hang.&lt;br /&gt;
&lt;br /&gt;
== How to fix a NEOSYS process which opens up in a notepad instead of Microsoft Windows Based Script Host (i.e. DOS window)==&lt;br /&gt;
&lt;br /&gt;
The NEOSYS process (cmd file) might open up in a notepad, instead of the usual black colour DOS window. This can be fixed by the following:&lt;br /&gt;
&lt;br /&gt;
# Download and install the Windows Script 5.6/5.7 from the Microsoft Website&lt;br /&gt;
# Go to any folder, click on Tools &amp;gt; Folder Options &amp;gt; File Types and find the .JS and .JSE and change the default program to wscript.exe (from windows&amp;gt;system32)&lt;br /&gt;
&lt;br /&gt;
== Resolving a &#039;Could not start&#039; error on Scheduled Tasks in Windows Server 2000 SP4 ==&lt;br /&gt;
&lt;br /&gt;
This error occurs because of a change that is made to the data that is stored in the credentials database when you install Windows 2000 SP4. Hence installing SP4 causes the the data that is stored in the credentials database to get converted to an SP4-compatible format. A registry key is configured to indicate that the data has been converted to the SP4 format.&lt;br /&gt;
&lt;br /&gt;
Hence the Scheduled Tasks do not work sometimes. However the Scheduled Tasks works fine sometimes, but when you uninstall SP4, it does not work.&lt;br /&gt;
&lt;br /&gt;
The best solution is to:&lt;br /&gt;
&lt;br /&gt;
# Incase Scheduled Tasks do not work after installing SP4, then uninstall SP4 and it should be fine.&lt;br /&gt;
# Incase Scheduled Tasks works after installing SP4, and later after uninstalling SP4, it does not work, then install SP4 and it should be fine.&lt;br /&gt;
&lt;br /&gt;
== Checking for server or NEOSYS crashes ==&lt;br /&gt;
 &lt;br /&gt;
#NEOSYS Maintenance Mode&lt;br /&gt;
#General Menu, Setup, Processes&lt;br /&gt;
#Select the dates and the option Detailed&lt;br /&gt;
 &lt;br /&gt;
This report shows a list of dates and times that NEOSYS logged in but did not log out properly.&lt;br /&gt;
 &lt;br /&gt;
Ignore the very latest entries since they represent the current NEOSYS processes. For example, if you have four NEOSYS processes running at the time that you get the report (including any in maintenance mode) then you can ignore the last four entries.&lt;br /&gt;
 &lt;br /&gt;
The date and time shows for each process that has failed to shutdown correctly when the process logged in. Versions of NEOSYS from January 2008 will also show the date and time that each crashed NEOSYS process was last active (heartbeat) so that the time of failure can be known.&lt;br /&gt;
 &lt;br /&gt;
If you see a bunch of NEOSYS processes all started up at around the same time but all failed to shutdown correctly then the cause will be a server failure - usually power failure.&lt;br /&gt;
 &lt;br /&gt;
Isolated one-off failures will be related to individual NEOSYS process crashes - most commonly caused by one of the following:&lt;br /&gt;
 &lt;br /&gt;
#NEOSYS hanging to due to software failure&lt;br /&gt;
#Manually exiting a NEOSYS process on the server either by pressing Ctrl+Alt+Del or clicking the &amp;quot;X&amp;quot; close icon/box and ignoring the warning&lt;br /&gt;
#Random server failures eg memory, disk etc&lt;br /&gt;
 &lt;br /&gt;
Example:&lt;br /&gt;
 &lt;br /&gt;
 LOGIN 22/12/2007 06:02 NEOSYS SERVER ADAGENCY         Current workstation &lt;br /&gt;
 LOGIN 23/12/2007 06:00 NEOSYS SERVER ADAGENCY         Current workstation  &lt;br /&gt;
 LOGIN 23/12/2007 06:01 NEOSYS SERVER ADAGENCY         Current workstation  &lt;br /&gt;
 LOGIN 23/12/2007 06:02 NEOSYS SERVER ADAGENCY         Current workstation  &lt;br /&gt;
 LOGIN 23/12/2007 08:52 NEOSYS SERVER ADAGENCY         Current workstation  &lt;br /&gt;
 LOGIN 23/12/2007 08:52 NEOSYS SERVER ADAGENCY         Current workstation  &lt;br /&gt;
 LOGIN 23/12/2007 08:53 NEOSYS SERVER ADAGENCY         Current workstation  &lt;br /&gt;
 LOGIN 8/1/2008 06:00 NEOSYS SERVER ADAGENCY         Current workstation  &lt;br /&gt;
 LOGIN 8/1/2008 06:01 NEOSYS SERVER ADAGENCY         Current workstation  &lt;br /&gt;
 LOGIN 8/1/2008 06:02 NEOSYS SERVER ADAGENCY         Current workstation  &lt;br /&gt;
 LOGIN 8/1/2008 13:51 NEOSYS SERVER NEOSYS         Current user session  &lt;br /&gt;
&lt;br /&gt;
Interpretation:&lt;br /&gt;
 &lt;br /&gt;
The first four entries indicate that all four NEOSYS processes started at 06am were suddenly killed probably by power failure&lt;br /&gt;
 &lt;br /&gt;
The next four entries indicate that NEOSYS was restarted at around 08:52 and all these processes were AGAIN killed probably by power failure&lt;br /&gt;
 &lt;br /&gt;
The last four entries can be ignored because there were four NEOSYS processes running at the time that the report was generated&lt;br /&gt;
&lt;br /&gt;
== Searching for word/number in the database files using maintenance mode ==&lt;br /&gt;
&lt;br /&gt;
You can search for any word/number in the database files of NEOSYS, using the following command line:&lt;br /&gt;
&lt;br /&gt;
 F5&lt;br /&gt;
 FIND FILENAME WORDWITHOUTANYSPACES&lt;br /&gt;
 &lt;br /&gt;
 For eg:&lt;br /&gt;
 FIND CURRENCIES 1.1&lt;br /&gt;
 (here you are searching for the number 1.1 in the currencies file) You CANNOT search for a phrase ie include spaces like this.&lt;br /&gt;
 &lt;br /&gt;
 Or you can also type:&lt;br /&gt;
 FIND FILENAME &amp;lt;enter&amp;gt;&lt;br /&gt;
 and it will ask you what you want do to search. You can enter an exact phrase with spaces.&lt;br /&gt;
&lt;br /&gt;
Incase you do not know the filenames, you can enter the following command to see all the filenames in the system:&lt;br /&gt;
&lt;br /&gt;
 F5&lt;br /&gt;
 LF&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting the NTVDM Hard error when opening up NEOSYS processes ==&lt;br /&gt;
&lt;br /&gt;
=== Error Message ===&lt;br /&gt;
&lt;br /&gt;
The following error message appears:&lt;br /&gt;
&lt;br /&gt;
[[Image:ntvdm.jpg]]&lt;br /&gt;
&lt;br /&gt;
 NTVDM encountered a hard error&lt;br /&gt;
&lt;br /&gt;
=== Solution  ===&lt;br /&gt;
 &lt;br /&gt;
This error is caused by missing or corrupt Windows system files (i.e. command.com, autoexec.nt and config.nt). The solution is to run a program called XP FIX which will reinstall these missing files. You can download it form http://www.visualtour.com/downloads/xp_fix.exe&lt;br /&gt;
&lt;br /&gt;
Sometimes even after running the XP FIX program the error still appears. Then you need to copy all the files under C:/windows/repair to C:/windows/system32 and in the autoexec.nt and config.nt put REM before any lines there which don&#039;t have it.&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting a Service Unavailable message on Internet Explorer when opening up NEOSYS ==&lt;br /&gt;
&lt;br /&gt;
=== Error Message ===&lt;br /&gt;
&lt;br /&gt;
The following error message appears in Internet Explorer when you try to open up NEOSYS:&lt;br /&gt;
&lt;br /&gt;
 Service Unavailable&lt;br /&gt;
&lt;br /&gt;
=== Solution  ===&lt;br /&gt;
 &lt;br /&gt;
Open the IIS Manager, right click Web Sites and select properties:&lt;br /&gt;
[[Image:serviceunavailable1.jpg]]&lt;br /&gt;
&lt;br /&gt;
Switch to the Service Tab and tick the &amp;quot;Run WWW Service in IIS 5.0 Isolation Mode&amp;quot;.&lt;br /&gt;
[[Image:serviceunavailable2.jpg]]&lt;br /&gt;
&lt;br /&gt;
You will be asked for Restart of IIS. Click yes to restart IIS. If you are not asked just restart IIS.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Inspecting IIS log files ==&lt;br /&gt;
&lt;br /&gt;
At a windows command prompt:&lt;br /&gt;
&lt;br /&gt;
 c:&lt;br /&gt;
 cd \Windows\system32\LogFiles\W3SVC1&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
 %SystemDrive%&lt;br /&gt;
 cd %SystemRoot%&lt;br /&gt;
 cd system32\LogFiles\W3SVC1&lt;br /&gt;
&lt;br /&gt;
then (substituting the ip number you are interested in)&lt;br /&gt;
&lt;br /&gt;
 find &amp;quot;192.168.1.55&amp;quot; *|sort&amp;gt;temp.log&lt;br /&gt;
&lt;br /&gt;
Open temp.log in Excel and use Tools, Data, Text to Columns to split into columns using options &amp;quot;Delimited&amp;quot; and check split on Space.&lt;br /&gt;
&lt;br /&gt;
Autowidth all columns by clicking on the top left box just outside the data to the left of column A and above column 1 then double click the column separator to the right of column &amp;quot;A&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Note that times and dates are in UTC/GMT so you have to add/subtract your timezone offset to get local times.&lt;br /&gt;
&lt;br /&gt;
== Fixing NEOSYS processes that do not auto start / Recovering from incorrect advanced date or time ==&lt;br /&gt;
This solution is applicable to live database processes only. Test database processes don’t auto-start any other processes.&lt;br /&gt;
&lt;br /&gt;
=== Problem explained ===&lt;br /&gt;
After starting up the 1st process, the rest of the processes don&#039;t start up.&lt;br /&gt;
&lt;br /&gt;
=== Solution ===&lt;br /&gt;
&lt;br /&gt;
The possible cause for this could be that the system date/time might have been changed - either manually or by the auto synchronization. Do the following checks in the sequence of order:&lt;br /&gt;
&lt;br /&gt;
# Check for any *.$* files (* after dollar sign should show a number, the highest being the latest one). If it shows OK, then proceed ahead.&lt;br /&gt;
# Check for any .end files and delete it to rename to .end.temp&lt;br /&gt;
# Check the System Event Viewer log for any 520 or 577 error message (refer http://128.175.24.251/forensics/timechange.htm). Also check for any out of sequence / ahead of today date or time.&lt;br /&gt;
# In case of no 520 or 577 error message, go to Administrative Tools &amp;gt; Local Security Policy &amp;gt; Local Policies &amp;gt; Audit Policy &amp;gt; Audit Privilege use - make sure that Success and Failure are selected under this (this will ensure that future changes to the date/time are recorded in the System Log).&lt;br /&gt;
# In NEOSYS maintenance mode - F5 ED PROCESSES %UPDATE% - and see what it says, incase of any text (only text, not numbers) there, that means that for sure the system date has been changed. To fix this, exit the editor by pressing the ESCAPE key and then type DELETE PROCESSES &amp;quot;%UPDATE%&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Recognising and Solving Low Memory Problems ==&lt;br /&gt;
&lt;br /&gt;
Quick Note: Installing a server class operating system on a workstation class computer with the intention of NEOSYS serving a heavy load is likely to cause problems with low memory.&lt;br /&gt;
&lt;br /&gt;
Quick Fix: Disable *ALL* non-essential features in the power-on setup menu.&lt;br /&gt;
&lt;br /&gt;
=== Effects ===&lt;br /&gt;
&lt;br /&gt;
It is speculated but not proven that low memory may cause NEOSYS to fail by hanging, causing damaged files etc.&lt;br /&gt;
&lt;br /&gt;
=== Checking ===&lt;br /&gt;
&lt;br /&gt;
 F5&lt;br /&gt;
 MEMORY&lt;br /&gt;
&lt;br /&gt;
On server class machines it should say somewhere around 350Kb to 370Kb Free&lt;br /&gt;
&lt;br /&gt;
Some server class machines have around 330Kb and sometimes even less with no reported problems&lt;br /&gt;
&lt;br /&gt;
The actual effect of low memory is supposed to make NEOSYS slower and perhaps cause hanging and damaged files however this has not been proven in an specific case so far.&lt;br /&gt;
&lt;br /&gt;
On workstation class machines it may often say around 280Kb to 300Kb.&lt;br /&gt;
&lt;br /&gt;
=== Cause ===&lt;br /&gt;
&lt;br /&gt;
Although there is plenty of real memory in virtually all computers now, NEOSYS runs in the legacy 16 bit virtual memory space of a windows mode called NTVDM. This is limited to 1Mb plus 4Mb of EMS memory.&lt;br /&gt;
&lt;br /&gt;
The 1Mb memory space is shared with:&lt;br /&gt;
&lt;br /&gt;
#Various non-essential windows drivers which NEOSYS automatically disables them in autoexec.nt&lt;br /&gt;
#Various plug and play hardware device drivers for the various adapters in the computer like video, network adapters and various other items that NEOSYS is unable to disable.&lt;br /&gt;
&lt;br /&gt;
In a server class computer the hardware device drivers are usually minimally present in the 1Mb base memory and do not therefore DOESNT a low memory situation for NEOSYS.&lt;br /&gt;
&lt;br /&gt;
In workstation class computers there are often many hardware device drivers present in the 1Mb base memory and this DOES causes a low memory situation for NEOSYS.&lt;br /&gt;
&lt;br /&gt;
When NEOSYS is installed on workstation class computers with XP there is usually not a heavy load expectation and therefore the low memory does not cause a problem.&lt;br /&gt;
&lt;br /&gt;
If Windows Server OS is installed on a workstation class computer NEOSYS may well be expected to serve a heavy load with limited amounts of memory.&lt;br /&gt;
&lt;br /&gt;
Workstation class computers: hardware drivers present and EMS is installed in low memory (0000-9FFF) causing low memory for NEOSYS and possible inability to &lt;br /&gt;
&lt;br /&gt;
Server class computers: Usually few hardware drivers are present in high part (A000-FFFF) of the 1Mb base memory and EMS is able to occupy the high memory leaving the low part (0000-9FFFF) of the 1Mb memory free for NEOSYS. You can find out how much memory is available to NEOSYS and whether EMS is occuping high or low memory using the following sections.&lt;br /&gt;
&lt;br /&gt;
=== Fixing Low Memory ===&lt;br /&gt;
&lt;br /&gt;
Start, Run, notepad c:\windows\system32\autoexec.nt&lt;br /&gt;
&lt;br /&gt;
Every time NEOSYS starts it tries to make some changes as follow:&lt;br /&gt;
&lt;br /&gt;
#replaces all lines in C:/WINDOWS/SYSTEM32/AUTOEXEC.NT starting with &#039;lh &#039; to start with &#039;rem NEOSYS LH &#039; instead.&lt;br /&gt;
#changes the line in C:/WINDOWS/SYSTEM32/CONFIG.NT &amp;quot;files=...&amp;quot; to &amp;quot;FILES=200&amp;quot;&lt;br /&gt;
&lt;br /&gt;
The replacement is case sensitive triggered on &#039;lh&#039; and &#039;files&#039; so if you manually edit the files and remove the rem or change the number of files and leave the LH and FILES in uppercase then NEOSYS will NOT make further changes. This allows you to do manual amendments to the files without NEOSYS overwriting them.&lt;br /&gt;
&lt;br /&gt;
Check that NEOSYS has successfully disabled all the drivers in the lines starting with LH.&lt;br /&gt;
&lt;br /&gt;
They should be commented out (prefixed) with REM or REM NEOSYS as follows.&lt;br /&gt;
&lt;br /&gt;
After making changes reopen NEOSYS in maintenance mode to use the MEMORY and WHO commands again.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
REM Install CD ROM extensions&lt;br /&gt;
REM NEOSYS LH %SystemRoot%\system32\mscdexnt.exe&lt;br /&gt;
&lt;br /&gt;
REM Install network redirector (load before dosx.exe)&lt;br /&gt;
REM NEOSYS LH %SystemRoot%\system32\redir&lt;br /&gt;
&lt;br /&gt;
REM Install DPMI support&lt;br /&gt;
REM NEOSYS LH %SYSTEMROOT%\SYSTEM32\DOSX&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Allowing DOS programs that require DOSX to run on the same computer as NEOSYS ===&lt;br /&gt;
&lt;br /&gt;
The automatic commenting out DOSX by NEOSYS will prevent some other DOS-like programs from running. If NEOSYS is on dedicated server then there should be no other such programs to fail. However, if you must allow DOS-like programs to work as well as NEOSYS you can do the following configuration:&lt;br /&gt;
&lt;br /&gt;
#leave or restore the original AUTOEXEC.NT and CONFIG.NT files where they are&lt;br /&gt;
#copy them to another folder eg neosys folder&lt;br /&gt;
#make the necessary REM changes there by hand&lt;br /&gt;
#right click the NEOSYS\NEOSYS\AREV.PIF and select properties&lt;br /&gt;
#change the location of the AUTOEXEC.NT and CONFIG.NT files in the following location&lt;br /&gt;
&lt;br /&gt;
[[image:pifsettings.jpg]]&lt;br /&gt;
&lt;br /&gt;
=== Checking EMS Memory Configuration ===&lt;br /&gt;
&lt;br /&gt;
==== Inspection ====&lt;br /&gt;
&lt;br /&gt;
 F5&lt;br /&gt;
 WHO&lt;br /&gt;
&lt;br /&gt;
 press the up arrow to get to the last part/page&lt;br /&gt;
&lt;br /&gt;
===== Example of Typical Server EMS Memory =====&lt;br /&gt;
[[image:serveremm.jpg]]&lt;br /&gt;
&lt;br /&gt;
===== Example of Typical Workstation EMS Memory =====&lt;br /&gt;
[[image:workstationemm.jpg]]&lt;br /&gt;
&lt;br /&gt;
====Correction====&lt;br /&gt;
&lt;br /&gt;
No easy way&lt;br /&gt;
&lt;br /&gt;
Removal of hardware adapters designed for workstations instead of servers eg graphics cards and network cards.&lt;br /&gt;
&lt;br /&gt;
Many of the devices may be located on the motherboard and not relocatable except possibly by BIOS configuration or special manufacturer information.&lt;br /&gt;
&lt;br /&gt;
Use windows device manager, View: Resources by Connection, Open the Memory item and look for items between 000A0000 up to 000FFFFF that might give you a clue as to what hardware could be removed or reconfigured. Actually only 000C0000 to 000FFFFF is candidate for EMS memory since 000A000-000BFFFF is mandatory video memory in all systems.&lt;br /&gt;
&lt;br /&gt;
[[image:devicemanager.jpg]]&lt;br /&gt;
&lt;br /&gt;
== Resolving issue where NEOSYS processes do not start-up at all or start-up and close immediately ==&lt;br /&gt;
&lt;br /&gt;
# Find if a file with the name global.end exists in the root directory of the NEOSYS installation. Eg D:\global.end . If you find such a file, rename it to global.end.temp - for more information on global.end and what it does refer to http://techwiki.neosys.com/index.php/Closing_NEOSYS_services&lt;br /&gt;
# If the above didn&#039;t fix the problem and NEOSYS still does not start, do a windows search for the entire NEOSYS folder for *.end (i.e. any file ending with .end extension). You may find a (databasecode).end file in D:\neosys\neosys folder which is created by the NEOSYS program during backup at 1 am and later on removed automatically. In this case NEOSYS program might have crashed during the backup and left this file behind. (databasecode).end files prevent other other NEOSYS processes starting up on the database while exclusive processes (like backup) are being done.&lt;br /&gt;
&lt;br /&gt;
In case the above didn&#039;t fix the problem then escalate to the programmer immediately.&lt;br /&gt;
&lt;br /&gt;
== Handling Change Backup message if the client does not use a USB backup device ==&lt;br /&gt;
DO *NOT* FOLLOW THIS PROCEDURE SINCE IS IT IS TOTALLY UNACCEPTABLE FOR NEOSYS TO SEND OUT A &amp;quot;BACKUP SUCCESS&amp;quot; MESSAGE WHEN THE BACKUP IS NOT BEING DONE PROPERLY. IN GENERAL, TAKING SHORT CUTS THAT MAKE THINGS APPEAR SATISFACTORY WHEN THEY ARE NOT IS VERY POOR POLICY.&lt;br /&gt;
&lt;br /&gt;
IF THE CLIENT IS BACKING UP TO A NON-REMOVABLE DESTINATION THEN EITHER 1. LIVE WITH THE FAILURE MESSAGE OR 2. SUPPRESS THE BACKUP ENTIRELY IN WHICH CASE NO BACKUPS ARE BEING DONE AND PROBABLY THIS WILL SHOW ON NEOSYS PROACTIVE WARNING SYSTEMS LIKE NAGIOS.&lt;br /&gt;
&lt;br /&gt;
# Basically most of the client use USB for Neosys server but there are some clients who do not use USB but save their backups in hard drive. &lt;br /&gt;
# As we know that backup take place in Data.bak folder but it do a backup only for a week in a single USB. Over here client do not use USB but save their backup in hard drive in Data.bak folder, once the week is over  it will again give Change backup message.  &lt;br /&gt;
# In this case rename the Data.bak folder to Data1.bak this is done because system read only Data.bak folder as it is configured in the system. When you rename Data.bak to Data1.bak it automatically create a new folder Data.bak in Backup drive.&lt;br /&gt;
# This process is done so that the backup should not fail then next day morning and backups are done in Data.bak folder.&lt;br /&gt;
# In the third week we will again see the same message Chang backup USB message so you need to rename Data.bak folder to Data2.bak&lt;br /&gt;
# But in fourth week you rename the Data1.bak to Data.bak and change the Data2.bak to Data1.bak and Data.bak to Data2.bak &lt;br /&gt;
# Keep only three folders and Data.bak, Data1.bak, Data2.bak and keep on renaming these folders every week as shown above.&lt;br /&gt;
&lt;br /&gt;
== Closing processes that are not visible on the desktop or hidden ==&lt;br /&gt;
&lt;br /&gt;
NEOSYS processes are most of the time visible on the desktop (i.e. the black dos windows) in Windows 2003 OS, except in the case that the process has been scheduled to start on restart and no one has logged into the server. In this case it would be hidden. Secondly in the case of Windows 2008, the processes always are hidden.&lt;br /&gt;
&lt;br /&gt;
In these cases whenever there is a hung NEOSYS process - due to many reasons for eg low memory. In this case you should close all processes using the global.end method and then from the task manager kill any NTVDM processes and then restart NEOSYS. This should be done within 30 seconds from using the global.end method to avoid any inconvenience to the users. If there are many datasets then you need to restart them all well within the 30 seconds period.&lt;br /&gt;
&lt;br /&gt;
In case of Patsalides, where we have a thousand datasets which start &amp;quot;on demand&amp;quot; i.e. usually on login; all you need to do is start one dataset which will restart all the other datasets &amp;quot;on demand&amp;quot;. If there is no response within 30 seconds then one of the running datasets will start it up so there appears to be a 30 second delay when you login to one of the thousand datasets the first time on any one day.&lt;br /&gt;
&lt;br /&gt;
== NEOSYS not updating NAGIOS ==&lt;br /&gt;
&lt;br /&gt;
=== Error Message ===&lt;br /&gt;
You notice a problem on NAGIOS indicating that &#039;&#039;&#039;&#039;&#039;NEOSYS not checked in&#039;&#039;&#039; on a particular client server.&lt;br /&gt;
&lt;br /&gt;
=== Possible Causes &amp;amp; Solutions ===&lt;br /&gt;
&lt;br /&gt;
====The NEOSYS process is &#039;&#039;&#039;NOT&#039;&#039;&#039; running on the server====&lt;br /&gt;
&lt;br /&gt;
Start the NEOSYS process and wait for 10 mins for NEOSYS to check into NAGIOS.&lt;br /&gt;
&amp;lt;BR&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====The NEOSYS process &#039;&#039;&#039;is&#039;&#039;&#039; running on the server but still cannot connect to NAGIOS====&lt;br /&gt;
#Search for &#039;&#039;&#039;UPDATE.$WG&#039;&#039;&#039; file located in the neosys\neosys. folder&lt;br /&gt;
#You should find a message similar to the following:   &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Connecting to 192.168.100.145:8080 failed: No such file or directory.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Where the above appears to be some non-functional http proxy server ip/port number and is not the expected nagios server ip number.&lt;br /&gt;
&amp;lt;br&amp;gt;&#039;&#039;&#039;(Note:&#039;&#039;&#039; The &#039;&#039;&#039;UPDATE.$WG&#039;&#039;&#039; file has to be viewed using either &#039;&#039;&#039;Notepad&#039;&#039;&#039; or &#039;&#039;&#039;Wordpad&#039;&#039;&#039;)&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;The windows command PROXYCFG shows the same ip and port:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
D:\NEOSYS\NEOSYS&amp;gt;proxycfg&lt;br /&gt;
Microsoft (R) WinHTTP Default Proxy Configuration Tool&lt;br /&gt;
Copyright (c) Microsoft Corporation. All rights reserved.&lt;br /&gt;
&lt;br /&gt;
Current WinHTTP proxy settings under:&lt;br /&gt;
  HKEY_LOCAL_MACHINE\&lt;br /&gt;
    SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Connections\&lt;br /&gt;
      WinHttpSettings :&lt;br /&gt;
&lt;br /&gt;
    Proxy Server(s) :  192.168.100.145:8080&lt;br /&gt;
    Bypass List     :  192.168.*.*;localhost;&amp;lt;local&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Solution 1 - Remove the above setting to create a direct connection&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
#To remove the registry entries that ProxyCfg.exe creates,you must delete the WinHttpSettings value from the following registry key:&amp;lt;br&amp;gt;&amp;lt;PRE&amp;gt;HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Connections\WinHttpSettings&amp;lt;/PRE&amp;gt;&lt;br /&gt;
#After you do the above, confirm that the proxy details are deleted by running the proxycfg command &amp;lt;BR&amp;gt;&lt;br /&gt;
#Next, restart the NEOSYS processes for the changes to be affected&lt;br /&gt;
&amp;lt;BR&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Solution 2 - Configure a functioning proxy ip/port number&#039;&#039;&#039;&lt;br /&gt;
#Use the proxycfg command to enter a working proxy ip/port number/exclusion list: http://msdn.microsoft.com/en-us/library/aa384069%28VS.85%29.aspx&lt;br /&gt;
#After you do the above, confirm that the new proxy details are working by running the proxycfg command again&lt;br /&gt;
#Next, restart the NEOSYS processes for the changes to be affected&lt;br /&gt;
&amp;lt;BR&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;B&amp;gt; Note: Please refer to the link before you restart NEOSYS processes http://techwiki.neosys.com/index.php/Troubleshooting_NEOSYS_Generally#Closing_processes_that_are_not_visible_on_the_desktop_or_hidden &amp;lt;/B&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Solving “page not found” when downloading some file types after uploading them successfully ==&lt;br /&gt;
=== One by One ===&lt;br /&gt;
&lt;br /&gt;
Windows web server will not download file types that it is unaware of. You can enable the download of new file types one by one as follows.&lt;br /&gt;
&lt;br /&gt;
This process is tedious and error-prone if you have to add many type.&lt;br /&gt;
&lt;br /&gt;
#Computer Management&lt;br /&gt;
#Services and Applications&lt;br /&gt;
#IIS properties&lt;br /&gt;
#Mime Types&lt;br /&gt;
#Add&lt;br /&gt;
&lt;br /&gt;
=== Many ===&lt;br /&gt;
&lt;br /&gt;
Window Server 2003 is unaware of all the Office 2007+ file types. To add all Office 2007+ file types at once do the following:&lt;br /&gt;
&lt;br /&gt;
Stop IIS&lt;br /&gt;
&lt;br /&gt;
 iisreset /stop&lt;br /&gt;
&lt;br /&gt;
Open the list of mime types&lt;br /&gt;
&lt;br /&gt;
*Start, Run, notepad C:\WINDOWS\system32\inetsrv\MetaBase.xml&lt;br /&gt;
&lt;br /&gt;
Search the file for “xlsx” and quit the editor if already inserted.&lt;br /&gt;
&lt;br /&gt;
Otherwise, find the following line,&lt;br /&gt;
&lt;br /&gt;
  .xml,text/xml&lt;br /&gt;
&lt;br /&gt;
and insert after that line the following lines. They do not need to be indented.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
.docm,application/vnd.ms-word.document.macroEnabled.12&lt;br /&gt;
.docx,application/vnd.openxmlformats-officedocument.wordprocessingml.document&lt;br /&gt;
.dotm,application/vnd.ms-word.template.macroEnabled.12&lt;br /&gt;
.dotx,application/vnd.openxmlformats-officedocument.wordprocessingml.template&lt;br /&gt;
.potm,application/vnd.ms-powerpoint.template.macroEnabled.12&lt;br /&gt;
.potx,application/vnd.openxmlformats-officedocument.presentationml.template&lt;br /&gt;
.ppam,application/vnd.ms-powerpoint.addin.macroEnabled.12&lt;br /&gt;
.ppsm,application/vnd.ms-powerpoint.slideshow.macroEnabled.12&lt;br /&gt;
.ppsx,application/vnd.openxmlformats-officedocument.presentationml.slideshow&lt;br /&gt;
.pptm,application/vnd.ms-powerpoint.presentation.macroEnabled.12&lt;br /&gt;
.pptx,application/vnd.openxmlformats-officedocument.presentationml.presentation&lt;br /&gt;
.xlam,application/vnd.ms-excel.addin.macroEnabled.12&lt;br /&gt;
.xlsb,application/vnd.ms-excel.sheet.binary.macroEnabled.12&lt;br /&gt;
.xlsm,application/vnd.ms-excel.sheet.macroEnabled.12&lt;br /&gt;
.xlsx,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet&lt;br /&gt;
.xltm,application/vnd.ms-excel.template.macroEnabled.12&lt;br /&gt;
.xltx,application/vnd.openxmlformats-officedocument.spreadsheetml.template&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save the file with File and Exit&lt;br /&gt;
&lt;br /&gt;
Restart IIS&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Handling Neosys Automatic Upgrade Error Messages ==&lt;br /&gt;
&lt;br /&gt;
=== Error Message ===&lt;br /&gt;
We will receive an email from the NEOSYS client installation with the following message:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&amp;quot;UPGRADEN.EXE&amp;quot; does not have expected exe MZ signature&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Solution ===&lt;br /&gt;
This message is a note that the NEOSYS automatic update procedure failed to download an upgrade file correctly.&lt;br /&gt;
This happens sometimes due to network issues but can be ignored because the file will be probably be correctly downloaded on the next automatic update check.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; This message is only informative to help with any problem with the automatic upgrade procedure and may be removed in a later version of neosys (currently Oct 2012)&lt;br /&gt;
&lt;br /&gt;
== Testing https connection ==&lt;br /&gt;
&lt;br /&gt;
The following procedure tests that the https server is operational and not blocked by firewall etc. It does not detect certificate errors.&lt;br /&gt;
&lt;br /&gt;
From a windows command prompt use the following telnet command:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
telnet clientname.hosts.neosys.com 4430&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
#4430 is the usual NEOSYS http port but replace it by whatever port is actually used for NEOSYS https on the system being tested. If there are multiple https installations on a particular server then different ports are probably used&lt;br /&gt;
#Replace clientname.hosts.neosys.com with the normal https login domain name of the client for whom we want to check the https service&lt;br /&gt;
&lt;br /&gt;
Normal behavior is that it should open a black screen. Pressing Enter or any key returns the _ character. (Close the window using the [X] since there is no keyboard command to do so)&lt;br /&gt;
&lt;br /&gt;
Hanging means that there is some connectivity issue (firewall/ip/server not running/https not installed etc)&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting &amp;quot;page not found&amp;quot; error while using https ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Problem:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
#The https service stops working and gives &amp;quot;Page not found&amp;quot; error.&lt;br /&gt;
#The https connection tests fine using telnet (see article above)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Solution:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
#Reinstall https using the usual procedure (currently using selfssl)&lt;br /&gt;
#Email clients, requesting to reinstall the new security certificate by following the procedure given at [http://userwiki.neosys.com/index.php/Troubleshooting_NEOSYS_Generally#Resolving_HTTPS_certificate_error_when_logging_in_from_an_external_link Resolving https certificate error].&lt;br /&gt;
&lt;br /&gt;
== Installing &amp;quot;QUICKDEX&amp;quot; on some files ==&lt;br /&gt;
&amp;quot;Quickdex&amp;quot; is a type of index that keeps an alphabetical order on small files. In some maintenance procedures you may be asked to &amp;quot;install Quickdex&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
For example to add a quickdex to the UNITS file.&lt;br /&gt;
&lt;br /&gt;
Maintenance mode press F5&lt;br /&gt;
&lt;br /&gt;
 DICT UNITS&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
г=================Dictionary=================┐&lt;br /&gt;
│                                            │&lt;br /&gt;
│  File name      UNITS                      │&lt;br /&gt;
│  Field name     .........................  │&lt;br /&gt;
│                                            │&lt;br /&gt;
│  Dict type                                 │&lt;br /&gt;
│  Single/Multi                              │&lt;br /&gt;
│  Data type                                 │&lt;br /&gt;
│  Output format                             │&lt;br /&gt;
│  Validation patterns                       │&lt;br /&gt;
│                                            │&lt;br /&gt;
│  Position              Key part            │&lt;br /&gt;
│                                            │&lt;br /&gt;
│  Column heading                            │&lt;br /&gt;
│                                            │&lt;br /&gt;
│                                            │&lt;br /&gt;
│  Justification     Display length          │&lt;br /&gt;
│  Description                               │&lt;br /&gt;
│                                            │&lt;br /&gt;
│                                            │&lt;br /&gt;
L============================================-&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Press Shift+F3.&lt;br /&gt;
&lt;br /&gt;
If it says &amp;quot;Do you want to remove ...&amp;quot; then Quickdex has already been installed and you should not continue. Press Esc to cancel, then Esc to quit.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
г=[B202]==================================┐&lt;br /&gt;
│                                         │&lt;br /&gt;
│               &amp;quot;UNITS&amp;quot; has               │&lt;br /&gt;
│          &amp;quot;QUICKDEX&amp;quot; installed.          │&lt;br /&gt;
│                                         │&lt;br /&gt;
│ Do you want to remove &amp;quot;QUICKDEX&amp;quot;? [Y/N] │&lt;br /&gt;
│                                         │&lt;br /&gt;
│&amp;lt;Y                                      &amp;gt;│&lt;br /&gt;
L=========================================-&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Otherwise it should say &amp;quot;Do you want to install ...&amp;quot;. Press Enter to accept.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
г=[W963]============================┐&lt;br /&gt;
│                                   │&lt;br /&gt;
│     Do you want to install a      │&lt;br /&gt;
│ Quickdex or Rightdex index? [Q/R] │&lt;br /&gt;
│                                   │&lt;br /&gt;
│&amp;lt;Q                                &amp;gt;│&lt;br /&gt;
L===================================-&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It should then say &amp;quot;Do you want to update ...&amp;quot;. Press Enter to accept.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
г=[W901]========================================┐&lt;br /&gt;
│                                               │&lt;br /&gt;
│           The &amp;quot;UNITS&amp;quot; file has had            │&lt;br /&gt;
│ the &amp;quot;QUICKDEX&amp;quot; modifying filing system added. │&lt;br /&gt;
│        There are 0 records in &amp;quot;UNITS&amp;quot;.        │&lt;br /&gt;
│                                               │&lt;br /&gt;
│    Do you want to update &amp;quot;QUICKDEX&amp;quot;? [Y/N]    │&lt;br /&gt;
│                                               │&lt;br /&gt;
│&amp;lt;Y                                            &amp;gt;│&lt;br /&gt;
L===============================================-&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Afterwards it should return to the initial screen. Press Esc to quit.&lt;/div&gt;</summary>
		<author><name>Ashwin</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Troubleshooting_NEOSYS_Generally&amp;diff=893</id>
		<title>Troubleshooting NEOSYS Generally</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=Troubleshooting_NEOSYS_Generally&amp;diff=893"/>
		<updated>2012-02-09T12:40:54Z</updated>

		<summary type="html">&lt;p&gt;Ashwin: /* Solution */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Solving failure to start a NEOSYS server due to disk failure message ==&lt;br /&gt;
=== Problem ===&lt;br /&gt;
During a reboot process (which maybe due to a Windows update or even done by a support personnel) the NEOSYS server gets hung on the startup and shows a message &amp;quot;Boot Failure - Abort, Retry&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
=== Temporary solution ===&lt;br /&gt;
This typically happens due to the USB being plugged into the server and the boot sequence being wrong - i.e. the server trying to boot from the USB first and fails. The immediate solution would be to unplug the USB and ask the client to reboot the server again and upon successfully rebooting the system, plug the USB back again.&lt;br /&gt;
&lt;br /&gt;
=== Permanent solution ===&lt;br /&gt;
The above problem will occur every time the computer is rebooted, so you need to immediately talk to the IT Administrator of the client and ask them to rectify the boot sequence to make it boot first from the CD ROM, then the HDD and last the USB.&lt;br /&gt;
&amp;lt;BR&amp;gt;Allowing &amp;quot;Boot from USB&amp;quot; causes a severe risk of infection by boot sector viruses since the first infected USB device inserted WILL infect the server immediately as anti-virus programs are not active during boot.&lt;br /&gt;
&lt;br /&gt;
== Solving NEOSYS process hung due to “Abort, Retry, Fail” ==&lt;br /&gt;
=== Problem ===&lt;br /&gt;
The following messages may come on older versions of NEOSYS if there is a some problem with the USB media inserted for backup.&lt;br /&gt;
&lt;br /&gt;
[[image:usberror.jpg]]&lt;br /&gt;
&lt;br /&gt;
This results in “NEOSYS has not checked in” message on Nagios since it hangs during the monitoring update and locks all other processes from monitoring too.&lt;br /&gt;
&lt;br /&gt;
General failure writing drive F&lt;br /&gt;
Abort, Retry, Fail?&lt;br /&gt;
&lt;br /&gt;
Not read reading drive F&lt;br /&gt;
Abort, Retry, Fail?&lt;br /&gt;
&lt;br /&gt;
Pressing A or F results in the problem happening again in about a minute, perhaps on a different process.&lt;br /&gt;
&lt;br /&gt;
=== Solution ===&lt;br /&gt;
Temporary solution is to do “Safely remove hardware” from the windows notification area. Using “Eject” from My Computer will not work.&lt;br /&gt;
&lt;br /&gt;
Permanent solution is to replace the defective USB memory stick. Sometime reformatting is sufficient.&lt;br /&gt;
&lt;br /&gt;
Upgrading NEOSYS will probably stop the defective media from causing NEOSYS to hang but the USB will still be useless for backup.&lt;br /&gt;
&lt;br /&gt;
== Solving &amp;quot;Read error in the operating system file&amp;quot; ==&lt;br /&gt;
=== Problem ===&lt;br /&gt;
Nagios reports a hung process and on the server a process has the following message popup.&lt;br /&gt;
&lt;br /&gt;
 Read error in the operating system file &amp;quot;..\DATA\PT0833\ACCOUNTS\REV20049&lt;br /&gt;
 The file does not exist or the filename is&lt;br /&gt;
 not valid for the operating system.&lt;br /&gt;
&lt;br /&gt;
[[Image:readerrorintheoperatingsystemfile.png]]&lt;br /&gt;
&lt;br /&gt;
=== Cause ===&lt;br /&gt;
Some non-NEOSYS program is directly accessing the NEOSYS database files while NEOSYS processes are running and using the files as well.&lt;br /&gt;
&lt;br /&gt;
*Client IT staff using a backup program to perform backup without ensuring that NEOSYS processes are shutdown.&lt;br /&gt;
*A NEOSYS rsync process taking longer than expected due to new USB.&lt;br /&gt;
&lt;br /&gt;
=== Solution ===&lt;br /&gt;
Kill the NEOSYS process eg with the X button. It is advisable NOT to let it run further while it cannot properly access one of its files.&lt;br /&gt;
&lt;br /&gt;
=== Prevention ===&lt;br /&gt;
Remove the third party program or arrange for it to operate only while NEOSYS processes are shutdown eg from 3am-6am.&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting the &amp;quot;Database not available&amp;quot; error message == &lt;br /&gt;
=== Problem explained ===&lt;br /&gt;
This error appears when you try to login to NEOSYS after you enter your username and password and click the Login button.&lt;br /&gt;
&lt;br /&gt;
[[image:database_unavailable.jpg]]&lt;br /&gt;
&lt;br /&gt;
Error message : &lt;br /&gt;
&lt;br /&gt;
 Cannot login because : &lt;br /&gt;
 Error :  The (database code) database is not available right now.&lt;br /&gt;
&lt;br /&gt;
=== Solution explained ===&lt;br /&gt;
# Determine if the processes are running. If they are running and you still get the same message that means that the proccesses have hung. Close them by hitting the X button on the window.&lt;br /&gt;
# If the processes are not visible, it is possible that they are running in the background and have hung for some reason. Check the windows task manager to see if any ‘ntvdm’ process is running. If so, use the End Process method to force close it.&lt;br /&gt;
# If there is no trace of any process running, that means the process probably did not start at the scheduled time. Refer to the &#039;Hung Process Reports&#039; to verify this claim. &lt;br /&gt;
# If the process had not hung, then the server might have restarted due to a power failure or a windows update and the administrator user had not logged in post the scheduled startup time of 6AM. To determine this cause, investigate in the Windows Event Viewer Log file.&lt;br /&gt;
# You can now start up the process by clicking on the respective desktop icons.&lt;br /&gt;
# Also check if the backup took place successfully or not. If not take a manual backup.&lt;br /&gt;
&lt;br /&gt;
== Handling damaged files ==&lt;br /&gt;
&lt;br /&gt;
[[Handling damaged files]]&lt;br /&gt;
&lt;br /&gt;
== Checking for corrupt database files ==&lt;br /&gt;
Login to NEOSYS Maintenance&lt;br /&gt;
&lt;br /&gt;
Press F5&lt;br /&gt;
&lt;br /&gt;
 CHK.FILES&lt;br /&gt;
&lt;br /&gt;
or &lt;br /&gt;
&lt;br /&gt;
 CHK.FILES filename&lt;br /&gt;
&lt;br /&gt;
== Assessing Database Size per File ==&lt;br /&gt;
In NEOSYS maintenance mode&lt;br /&gt;
 &lt;br /&gt;
 LIST FILES BY BY-DSND SIZE VOLUME.NAME SIZE&lt;br /&gt;
 &lt;br /&gt;
This will include all files not just those in the actual dataset in DATA\* folders.&lt;br /&gt;
&lt;br /&gt;
== Resolving slow speed ==&lt;br /&gt;
=== [[Benchmarking NEOSYS]] ===&lt;br /&gt;
=== Investigating CPU 100% using Windows Task Manager ===&lt;br /&gt;
Email, to support, a screen-shot of task manager APPLICATIONS, PROCESSES and PERFORMANCE screens MAXIMIZED TO SHOW AS MUCH AS POSSIBLE. &lt;br /&gt;
&lt;br /&gt;
(Sort the processes to show ntvdm, waiting.exe and high cpu% processes clearly)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Steps:&#039;&#039;&#039;&lt;br /&gt;
#Right Click on Windows Taskbar and click on Start Task Manager &amp;lt;br&amp;gt; [[image:starttaskmanager.jpg]] &amp;lt;br&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
#Click on Processes and then click on CPU &amp;lt;br&amp;gt;&#039;&#039;&#039;Note - The HIGH cpu% processes which should usually be the &amp;quot;process&amp;quot; called &amp;quot;System Idle Process&amp;quot; &#039;&#039;&#039;&amp;lt;br&amp;gt;[[image:cpu100percent1.jpg]] &amp;lt;br&amp;gt; &lt;br /&gt;
#Click on the Performance Tab &amp;lt;br&amp;gt; &#039;&#039;&#039;Note - PF Usage should typically be much less than Physical Memory otherwise there is insufficient real memory in the server to handle the load&#039;&#039;&#039; &amp;lt;br&amp;gt; [[image:cpu100percent3.jpg]] &amp;lt;br&amp;gt; &lt;br /&gt;
#Click on Application Tab then Right Click on a NEOSYS Process and Click on Bring to Front &amp;lt;br&amp;gt;&#039;&#039;&#039;See what the NEOSYS Process is doing &amp;lt;br&amp;gt; [[image:cpu100percent2.jpg]] &amp;lt;br&amp;gt; &lt;br /&gt;
#Right Click on a NEOSYS Process and Click on Go to Processes &amp;lt;br&amp;gt;&#039;&#039;&#039;Note the cpu% ntvdm process &amp;lt;br&amp;gt;[[image:cpu100percent2_2.jpg]]&amp;lt;br&amp;gt;  &lt;br /&gt;
#Normally NEOSYS application screens say &amp;quot;LISTENING&amp;quot; in the bottom line and those applications should have very low cpu%&amp;lt;br&amp;gt;[[image:normalneosysprocess.jpg]]&amp;lt;br&amp;gt;&lt;br /&gt;
#Look at the difference between the screen of running NEOSYS processes (applications actually) which are idle (listening for requests) and active (processing a request from a user)&lt;br /&gt;
#Note the number of cpus or cpu threads in the server from the performance screen graphics&amp;lt;br&amp;gt;[[image:performance-taskmgr-cputhread.jpg]]&amp;lt;br&amp;gt;&lt;br /&gt;
#Take screen-shots of any and ALL hung or long running processes (NEOSYS application screens) and email them to support. Even small details on the screens and user names, the user names may give clues to what problem caused the hanging.A Typical Hung NEOSYS process will look like this: &amp;lt;br&amp;gt; [[image:hungneosysprocess.jpg]] &amp;lt;br&amp;gt;&lt;br /&gt;
#Once all hung/long processes are closed then CPU should be low and not near 100%. If it is still 100% then check all high cpu% processes and send a screen-shot of processes sorted to show the high cpu% process names to support.&lt;br /&gt;
&lt;br /&gt;
=== Solving server CPU% is 100 and all users are extremely slow/stopped ===&lt;br /&gt;
==== Too few cpus/threads for the number of users ====&lt;br /&gt;
In Windows task manager normally, you should see one ntvdm.exe and one waiting.exe process per NEOSYS process (application). A standard installation has three NEOSYS processes per main database and plus one per test database. This is configured in Support Menu, Configuration File.&lt;br /&gt;
&lt;br /&gt;
If there are MORE ntvdm processes than you expect from the configuration file, then perhaps NEOSYS is auto starting new NEOSYS processes to try and cater for a high number of concurrent users.&lt;br /&gt;
&lt;br /&gt;
If the number of concurrent NEOSYS processes significantly exceeds the number of cpus/hyperthreads available in the server then processing for everybody can become so slow for everybody and almost no work gets done.&lt;br /&gt;
&lt;br /&gt;
==== Solution ====&lt;br /&gt;
Stop NEOSYS creating new NEOSYS processes automatically. Create a text file with the first and only line as AUTOSTART=NO in the neosys\neosys folder something like this.&lt;br /&gt;
&lt;br /&gt;
notepad d:\neosys\neosys\NET.CFG&lt;br /&gt;
&lt;br /&gt;
AUTOSTART=NO&lt;br /&gt;
&lt;br /&gt;
== Handling failure and warning on nightly backup alerts ==&lt;br /&gt;
&lt;br /&gt;
[[Handling failure and warning messages on nightly backup alerts]]&lt;br /&gt;
&lt;br /&gt;
== Resolving permissions errors while logging in ==&lt;br /&gt;
 &lt;br /&gt;
=== Problem ===&lt;br /&gt;
 &lt;br /&gt;
While logging in, you get the following error message:&lt;br /&gt;
[[Image:login_error_message.jpg]]&lt;br /&gt;
 &lt;br /&gt;
=== Solution ===&lt;br /&gt;
 &lt;br /&gt;
Add the internet guest account to the security list of the data folder with the default permission of list/read/write&lt;br /&gt;
 &lt;br /&gt;
Make sure the read&amp;amp;execute permission is removed&lt;br /&gt;
[[Image:permissions_on_data.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Resolving the &#039;HTTP Error 500.0 - Internal Server Error&#039; while logging in on IE on a Windows Vista system ==&lt;br /&gt;
&lt;br /&gt;
=== Problem ===&lt;br /&gt;
After configuring IIS on Windows Vista you will get this error message while trying to login into NEOSYS from Internet Explorer:&lt;br /&gt;
&lt;br /&gt;
 HTTP Error 500.0 - Internal Server Error&lt;br /&gt;
 Description: This application is running in an application pool that uses the Integrated .NET  &lt;br /&gt;
 mode. This is the preferred mode for running ASP.NET applications on the current and future &lt;br /&gt;
 version of IIS.&lt;br /&gt;
 &lt;br /&gt;
 In this mode, the application using client impersonation configured with &amp;lt;identity &lt;br /&gt;
 impersonate=&amp;quot;true&amp;quot; /&amp;gt; may not behave correctly. Client impersonation is not available in early &lt;br /&gt;
 ASP.NET request processing stages and may lead modules in those stages to execute with process &lt;br /&gt;
 identity instead.&lt;br /&gt;
&lt;br /&gt;
=== Solution ===&lt;br /&gt;
&lt;br /&gt;
You can move the application to an application pool that uses the Classic .NET mode by using the following from a command line window (the window must be running as Administrator) &lt;br /&gt;
&lt;br /&gt;
 %systemroot%\system32\inetsrv\APPCMD.EXE set app &amp;quot;Default Web Site/neosys&amp;quot; /applicationPool:&amp;quot;Classic .NET AppPool&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Alternatively, you can use any other application pool on your system that is running in the Classic .NET mode. You can also use the IIS Administration tool to move this application to another application pool.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Resolving the &#039;Class Not Registered&#039; error message while logging in ==&lt;br /&gt;
&lt;br /&gt;
=== Problem ===&lt;br /&gt;
While logging into NEOSYS, you will get a popup window giving an error message saying &#039;Class Not Registered - Server Error&#039;. Typically, you will encounter this error with XP Pro IIS 5.1. As usual, there&#039;s way to solve it, however the root cause of this is still unknown.&lt;br /&gt;
&lt;br /&gt;
Anyway, you will get the proper message in the event log:&lt;br /&gt;
&lt;br /&gt;
 Event Type: Warning&lt;br /&gt;
 Event Source: W3SVC&lt;br /&gt;
 Event Category: None&lt;br /&gt;
 Event ID: 36&lt;br /&gt;
 Description: The server failed to load application &#039;/LM/W3SVC/1/ROOT/NEOSYS.&lt;br /&gt;
 The error was &#039;Class not registered&#039;. &lt;br /&gt;
&lt;br /&gt;
=== Solution ===&lt;br /&gt;
So, what do you do ? This problem is related to Component Services, and when you open Component Services MMC, you will most probably  get  Error Code 8004E00F COM + was unable to talk to Microsoft Distributed Transaction Coordinator. So, fix the COM+ services first by using the following KB from Microsoft (PRB: Cannot Expand &amp;quot;My Computer&amp;quot; in Component Services MMC Snap-In http://support.microsoft.com/?id=301919):&lt;br /&gt;
&lt;br /&gt;
To resolve this problem, reinstall Component Services as follows: WARNING: &lt;br /&gt;
# Open registry editor, locate HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\COM3, and then delete this key.  &lt;br /&gt;
# From the Start menu, point to Settings, click Control Panel, and then click Add/Remove Programs.  &lt;br /&gt;
# Click Add/Remove Windows Components. &lt;br /&gt;
# Proceed through the wizard, and accept all of the defaults (including IIS)&lt;br /&gt;
# Restart the computer.&lt;br /&gt;
&lt;br /&gt;
If the above didn&#039;t solve it, and you still receive the &#039;Class not registered&#039; error message, then you need to recreate the IIS packages in COM+, try&lt;br /&gt;
&lt;br /&gt;
# Delete IIS related package in Component Services MMC&lt;br /&gt;
# IIS In-Process Applications &lt;br /&gt;
# IIS Out-of-Process Pooled Applications &lt;br /&gt;
# IIS Utilities&lt;br /&gt;
&lt;br /&gt;
Next, if you still get the message, try following before re-install IIS if you can&#039;t find Distributed Transaction Coordinator in your Services console.&lt;br /&gt;
&lt;br /&gt;
Launch command prompt and run the following command.&lt;br /&gt;
# msdtc -install&lt;br /&gt;
# net start msdtc&lt;br /&gt;
&lt;br /&gt;
Then try re-install IIS.&lt;br /&gt;
&lt;br /&gt;
This should solve the problem&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Enabling File Security option on Win XP Professional ==&lt;br /&gt;
&lt;br /&gt;
=== Problem ===&lt;br /&gt;
&lt;br /&gt;
In the Properties of any folders, the Security option does not show, hence you cannot modify the Read, Write options.&lt;br /&gt;
&lt;br /&gt;
=== Solution ===&lt;br /&gt;
&lt;br /&gt;
The solution would be to untick the &#039;Simple File Sharing&#039; option from  Tools &amp;gt; Folder Options &amp;gt; View:&lt;br /&gt;
[[Image:simplefilesharingoff.jpg]]&lt;br /&gt;
&lt;br /&gt;
== B10 &amp;amp; B12 Errors ==&lt;br /&gt;
&lt;br /&gt;
These errors are in the software and should be immediately escalated to the programmer.&lt;br /&gt;
&lt;br /&gt;
== B703 Errors ==&lt;br /&gt;
&lt;br /&gt;
The B703 error is usually always related to something too big for NEOSYS to handle. &lt;br /&gt;
&lt;br /&gt;
These are the only B errors that NEOSYS cant always permanently prevent by fixing the software.&lt;br /&gt;
&lt;br /&gt;
== Internet Explorer Menu, View, Text Size doesnt change font size as expected ==&lt;br /&gt;
&lt;br /&gt;
Cause: This is because the font size is now user definable in NEOSYS and View, Text Size does not override predefined font sizes.&lt;br /&gt;
&lt;br /&gt;
Solution: If you are using Internet Explorer 7 you can scale the screen (including the font size  using ctrl + and ctrl - keyboard shortcuts or the font size button on the bottom right hand side of the window. &lt;br /&gt;
&lt;br /&gt;
You can adjust the font size on the User Details form when you login although this permanently applies to all forms not just the one that you are on.&lt;br /&gt;
&lt;br /&gt;
== Error on process window &amp;quot;Not enough string space - Out of Memory&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
=== Message ===&lt;br /&gt;
&lt;br /&gt;
‘RTP27’ Line 1. [B29] Not enough string space – Out of Memory.&lt;br /&gt;
&lt;br /&gt;
Not enough memory to execute Debugger; current program aborted.&lt;br /&gt;
Press any key to continue&lt;br /&gt;
&lt;br /&gt;
[[Image:out_of_memory.jpg]]&lt;br /&gt;
&lt;br /&gt;
=== Cause ===&lt;br /&gt;
Unknown perhaps related to some large document or report&lt;br /&gt;
&lt;br /&gt;
=== Solution ===&lt;br /&gt;
Ask users for any hanging transactions.&lt;br /&gt;
None other than closing and starting another process&lt;br /&gt;
&lt;br /&gt;
== Uploaded jpg files fail to display in internet explorer ==&lt;br /&gt;
&lt;br /&gt;
Some large jpg files &amp;gt; 2Mb cannot be viewed in internet explorer despite being viewable in image preview, ms paint and other viewers/editors. It is not an issue caused by uploading or downloading the files.&lt;br /&gt;
&lt;br /&gt;
These file appear to have been created on Photoshop CS Macintosh and may be a special type of uncompressed jpg used for production quality files.&lt;br /&gt;
&lt;br /&gt;
=== Partial solution ===&lt;br /&gt;
Before uploading the files, open them in some editor like MS Paint (right click, edit) and save them. However this results in a loss of quality. Perhaps there is some program that can convert these files to a format understandable by Internet explorer without any loss of quality.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== &amp;quot;You have attempted to write to a read-only file&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
=== Message ===&lt;br /&gt;
&lt;br /&gt;
Error while writing data.&lt;br /&gt;
You have attempted to write to a read-only file.&lt;br /&gt;
- or -&lt;br /&gt;
access to the file has been denied by the operating system.&lt;br /&gt;
(operating system file name: &amp;quot;..\DATA\ADLINEC\ADAGENCY\REV76467.OV00012618&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
=== Cause ===&lt;br /&gt;
&lt;br /&gt;
It is almost certainly due to some third party backup or other maintenance software opening the NEOSYS database files when it shouldn&#039;t e.g. badly configured third party backup scheduled to backup NEOSYS while NEOSYS is still running. Note that the exact filename varies each time.&lt;br /&gt;
&lt;br /&gt;
=== Solution ===&lt;br /&gt;
&lt;br /&gt;
This can be a serious error that causes damaged files in NEOSYS especially if the filename ends in .OV. Use the usual methods of checking for damaged files e.g. do a backup which also looks for damaged files BUT DO NOT OVERWRITE THE LATEST BACKUP SINCE IT MAY BE REQUIRED for restoration. Then fix the damaged files using the usual methods e.g. by rebuilding/using&lt;br /&gt;
FIXFILE or restoring databases.&lt;br /&gt;
&lt;br /&gt;
=== Prevention ===&lt;br /&gt;
&lt;br /&gt;
Remove the third party backup or other maintenance software or reschedule it to run at a time that NEOSYS is shutdown. Removal of software may require hunting through the windows process list for unexpected programs running.&lt;br /&gt;
&lt;br /&gt;
== Resolving &amp;quot;Cannot backup/restore because PROCESS1 PROCESS2 (etc) is/are online&amp;quot; message ==&lt;br /&gt;
 &lt;br /&gt;
This can happen for a variety of reasons if all the NEOSYS processes fail to close down at backup time&lt;br /&gt;
 &lt;br /&gt;
# NEOSYS maintenance windows are left open.&lt;br /&gt;
# NEOSYS processes hang due to software error.&lt;br /&gt;
 &lt;br /&gt;
== How to kill hung NEOSYS processes ==&lt;br /&gt;
 &lt;br /&gt;
NOTE WELL: If you kill actively working NEOSYS processes (those which are &amp;quot;listening&amp;quot; and not hung/crashed) there is a reasonable chance that the database will be damaged and might need a restore losing possibly large amounts of work.&lt;br /&gt;
 &lt;br /&gt;
==== If NEOSYS processes are visible on the server desktop ====&lt;br /&gt;
 &lt;br /&gt;
Look for processes which don&#039;t have &amp;quot;Listening ...&amp;quot; on the last but one line. The times on the left hand side are frozen as at the time of the hang.&lt;br /&gt;
 &lt;br /&gt;
You can then click the X to kill the process and confirm that this is OK.&lt;br /&gt;
 &lt;br /&gt;
Example of a NEOSYS process that has hung due to a software error resulting in a failure to handle a complex query with a lot of brand codes.&lt;br /&gt;
&lt;br /&gt;
[[Image:hungprocess.jpg]]&lt;br /&gt;
 &lt;br /&gt;
==== If NEOSYS processes are not visible on the server desktop ====&lt;br /&gt;
&lt;br /&gt;
NEOSYS processes are most of the time visible on the desktop (i.e. the black dos windows) in Windows 2003 OS, except in the case that the process has been scheduled to start on computer restart and no one has logged into the server. In this case it would be running in the background. Secondly in the case of Windows 2008, the processes always are hidden. &lt;br /&gt;
&lt;br /&gt;
You can check if there are any hung processes from the NEOSYS Support Menu, List of Database Processes. &lt;br /&gt;
[[Image:databaseprocesseslist.jpg]]&lt;br /&gt;
&lt;br /&gt;
In this case you should follow the below instructions - however all of them need to be done within 30 seconds of starting the first instruction to avoid inconvenience to the users. It is recommend that you keep relevant windows open before proceeding with the same:&lt;br /&gt;
&lt;br /&gt;
#Shutdown NEOSYS by TEMPORARILY putting a file called GLOBAL.END in the parent directory of NEOSYS (if there is already a GLOBAL.END.TEMP file then rename it to GLOBAL.END). Leaving the file there would prevent NEOSYS from starting up again. Shutting down NEOSYS from the Support menu will not work because of the hung processes.&lt;br /&gt;
#Use Windows Task Manager to kill all the NTVDM processes - assuming that you have closed all the visible NEOSYS processes, then the NTVDM processes in the task manager would be the hung one.&lt;br /&gt;
#Delete GLOBAL.END or rename it to GLOBAL.END.TEMP&lt;br /&gt;
#Restart the processes back again. If there are many datasets then you need to restart them all well within the 30 seconds period.&lt;br /&gt;
&lt;br /&gt;
In case of Patsalides, where we have a thousand datasets which start &amp;quot;on demand&amp;quot; i.e. usually on login; all you need to do is start one dataset which will restart all the other datasets &amp;quot;on demand&amp;quot;. If there is no response within 30 seconds then one of the running datasets will start it up so there appears to be a 30 second delay when you login to one of the thousand datasets the first time on any one day.&lt;br /&gt;
&lt;br /&gt;
=== Temporary workarounds for hung NEOSYS processes ===&lt;br /&gt;
Until the error in the software is fixed users can often get their results by simplifying their requirements. For example select individual clients instead of selecting all the brands for a particular client. If the user has repeated his request (in forlorn hope that it would work finally) then the number of NEOSYS working NEOSYS processes will drop causing severe slowdown for other users and complete stop if all the NEOSYS processes hang.&lt;br /&gt;
&lt;br /&gt;
== How to fix a NEOSYS process which opens up in a notepad instead of Microsoft Windows Based Script Host (i.e. DOS window)==&lt;br /&gt;
&lt;br /&gt;
The NEOSYS process (cmd file) might open up in a notepad, instead of the usual black colour DOS window. This can be fixed by the following:&lt;br /&gt;
&lt;br /&gt;
# Download and install the Windows Script 5.6/5.7 from the Microsoft Website&lt;br /&gt;
# Go to any folder, click on Tools &amp;gt; Folder Options &amp;gt; File Types and find the .JS and .JSE and change the default program to wscript.exe (from windows&amp;gt;system32)&lt;br /&gt;
&lt;br /&gt;
== Resolving a &#039;Could not start&#039; error on Scheduled Tasks in Windows Server 2000 SP4 ==&lt;br /&gt;
&lt;br /&gt;
This error occurs because of a change that is made to the data that is stored in the credentials database when you install Windows 2000 SP4. Hence installing SP4 causes the the data that is stored in the credentials database to get converted to an SP4-compatible format. A registry key is configured to indicate that the data has been converted to the SP4 format.&lt;br /&gt;
&lt;br /&gt;
Hence the Scheduled Tasks do not work sometimes. However the Scheduled Tasks works fine sometimes, but when you uninstall SP4, it does not work.&lt;br /&gt;
&lt;br /&gt;
The best solution is to:&lt;br /&gt;
&lt;br /&gt;
# Incase Scheduled Tasks do not work after installing SP4, then uninstall SP4 and it should be fine.&lt;br /&gt;
# Incase Scheduled Tasks works after installing SP4, and later after uninstalling SP4, it does not work, then install SP4 and it should be fine.&lt;br /&gt;
&lt;br /&gt;
== Checking for server or NEOSYS crashes ==&lt;br /&gt;
 &lt;br /&gt;
#NEOSYS Maintenance Mode&lt;br /&gt;
#General Menu, Setup, Processes&lt;br /&gt;
#Select the dates and the option Detailed&lt;br /&gt;
 &lt;br /&gt;
This report shows a list of dates and times that NEOSYS logged in but did not log out properly.&lt;br /&gt;
 &lt;br /&gt;
Ignore the very latest entries since they represent the current NEOSYS processes. For example, if you have four NEOSYS processes running at the time that you get the report (including any in maintenance mode) then you can ignore the last four entries.&lt;br /&gt;
 &lt;br /&gt;
The date and time shows for each process that has failed to shutdown correctly when the process logged in. Versions of NEOSYS from January 2008 will also show the date and time that each crashed NEOSYS process was last active (heartbeat) so that the time of failure can be known.&lt;br /&gt;
 &lt;br /&gt;
If you see a bunch of NEOSYS processes all started up at around the same time but all failed to shutdown correctly then the cause will be a server failure - usually power failure.&lt;br /&gt;
 &lt;br /&gt;
Isolated one-off failures will be related to individual NEOSYS process crashes - most commonly caused by one of the following:&lt;br /&gt;
 &lt;br /&gt;
#NEOSYS hanging to due to software failure&lt;br /&gt;
#Manually exiting a NEOSYS process on the server either by pressing Ctrl+Alt+Del or clicking the &amp;quot;X&amp;quot; close icon/box and ignoring the warning&lt;br /&gt;
#Random server failures eg memory, disk etc&lt;br /&gt;
 &lt;br /&gt;
Example:&lt;br /&gt;
 &lt;br /&gt;
 LOGIN 22/12/2007 06:02 NEOSYS SERVER ADAGENCY         Current workstation &lt;br /&gt;
 LOGIN 23/12/2007 06:00 NEOSYS SERVER ADAGENCY         Current workstation  &lt;br /&gt;
 LOGIN 23/12/2007 06:01 NEOSYS SERVER ADAGENCY         Current workstation  &lt;br /&gt;
 LOGIN 23/12/2007 06:02 NEOSYS SERVER ADAGENCY         Current workstation  &lt;br /&gt;
 LOGIN 23/12/2007 08:52 NEOSYS SERVER ADAGENCY         Current workstation  &lt;br /&gt;
 LOGIN 23/12/2007 08:52 NEOSYS SERVER ADAGENCY         Current workstation  &lt;br /&gt;
 LOGIN 23/12/2007 08:53 NEOSYS SERVER ADAGENCY         Current workstation  &lt;br /&gt;
 LOGIN 8/1/2008 06:00 NEOSYS SERVER ADAGENCY         Current workstation  &lt;br /&gt;
 LOGIN 8/1/2008 06:01 NEOSYS SERVER ADAGENCY         Current workstation  &lt;br /&gt;
 LOGIN 8/1/2008 06:02 NEOSYS SERVER ADAGENCY         Current workstation  &lt;br /&gt;
 LOGIN 8/1/2008 13:51 NEOSYS SERVER NEOSYS         Current user session  &lt;br /&gt;
&lt;br /&gt;
Interpretation:&lt;br /&gt;
 &lt;br /&gt;
The first four entries indicate that all four NEOSYS processes started at 06am were suddenly killed probably by power failure&lt;br /&gt;
 &lt;br /&gt;
The next four entries indicate that NEOSYS was restarted at around 08:52 and all these processes were AGAIN killed probably by power failure&lt;br /&gt;
 &lt;br /&gt;
The last four entries can be ignored because there were four NEOSYS processes running at the time that the report was generated&lt;br /&gt;
&lt;br /&gt;
== Searching for word/number in the database files using maintenance mode ==&lt;br /&gt;
&lt;br /&gt;
You can search for any word/number in the database files of NEOSYS, using the following command line:&lt;br /&gt;
&lt;br /&gt;
 F5&lt;br /&gt;
 FIND FILENAME WORDWITHOUTANYSPACES&lt;br /&gt;
 &lt;br /&gt;
 For eg:&lt;br /&gt;
 FIND CURRENCIES 1.1&lt;br /&gt;
 (here you are searching for the number 1.1 in the currencies file) You CANNOT search for a phrase ie include spaces like this.&lt;br /&gt;
 &lt;br /&gt;
 Or you can also type:&lt;br /&gt;
 FIND FILENAME &amp;lt;enter&amp;gt;&lt;br /&gt;
 and it will ask you what you want do to search. You can enter an exact phrase with spaces.&lt;br /&gt;
&lt;br /&gt;
Incase you do not know the filenames, you can enter the following command to see all the filenames in the system:&lt;br /&gt;
&lt;br /&gt;
 F5&lt;br /&gt;
 LF&lt;br /&gt;
&lt;br /&gt;
== NO LOCK RECORD error when working on NEOSYS ==&lt;br /&gt;
&lt;br /&gt;
=== Error Message ===&lt;br /&gt;
&lt;br /&gt;
The following error message appears:&lt;br /&gt;
&lt;br /&gt;
 Cannot save &amp;quot;DOCUMENT NAME&amp;quot; because:&lt;br /&gt;
 Somebody has updated this record.&lt;br /&gt;
 Your update cannot be applied.&lt;br /&gt;
 This session id does not agree &amp;quot;NO LOCK PERIOD&amp;quot;&lt;br /&gt;
&lt;br /&gt;
=== Possible Causes and Solutions ===&lt;br /&gt;
 &lt;br /&gt;
1. There is some other error in NEOSYS software while saving the record.&lt;br /&gt;
Probably another error message would come before this one and that message should be sent to NEOSYS in order to solve the actual problem.&lt;br /&gt;
 &lt;br /&gt;
2. There has been a temporary loss of connection to the server for some period of time.&lt;br /&gt;
The NEOSYS web page needs to periodically &amp;quot;refresh&amp;quot; the exclusive lock on the document being edited. If NEOSYS cannot perform the refresh it may lose the rights to save the document.&lt;br /&gt;
 &lt;br /&gt;
Loss of connection could be for a huge variety of reasons including server, network, and workstation failures.&lt;br /&gt;
 &lt;br /&gt;
3. Bad Internet Explorer Configuration&lt;br /&gt;
Loss of cookies etc due to third party software (internet toolbars/spyware etc)&lt;br /&gt;
 &lt;br /&gt;
Reset Internet Explorer to factory settings.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting the NTVDM Hard error when opening up NEOSYS processes ==&lt;br /&gt;
&lt;br /&gt;
=== Error Message ===&lt;br /&gt;
&lt;br /&gt;
The following error message appears:&lt;br /&gt;
&lt;br /&gt;
[[Image:ntvdm.jpg]]&lt;br /&gt;
&lt;br /&gt;
 NTVDM encountered a hard error&lt;br /&gt;
&lt;br /&gt;
=== Solution  ===&lt;br /&gt;
 &lt;br /&gt;
This error is caused by missing or corrupt Windows system files (i.e. command.com, autoexec.nt and config.nt). The solution is to run a program called XP FIX which will reinstall these missing files. You can download it form http://www.visualtour.com/downloads/xp_fix.exe&lt;br /&gt;
&lt;br /&gt;
Sometimes even after running the XP FIX program the error still appears. Then you need to copy all the files under C:/windows/repair to C:/windows/system32 and in the autoexec.nt and config.nt put REM before any lines there which don&#039;t have it.&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting a Service Unavailable message on Internet Explorer when opening up NEOSYS ==&lt;br /&gt;
&lt;br /&gt;
=== Error Message ===&lt;br /&gt;
&lt;br /&gt;
The following error message appears in Internet Explorer when you try to open up NEOSYS:&lt;br /&gt;
&lt;br /&gt;
 Service Unavailable&lt;br /&gt;
&lt;br /&gt;
=== Solution  ===&lt;br /&gt;
 &lt;br /&gt;
Open the IIS Manager, right click Web Sites and select properties:&lt;br /&gt;
[[Image:serviceunavailable1.jpg]]&lt;br /&gt;
&lt;br /&gt;
Switch to the Service Tab and tick the &amp;quot;Run WWW Service in IIS 5.0 Isolation Mode&amp;quot;.&lt;br /&gt;
[[Image:serviceunavailable2.jpg]]&lt;br /&gt;
&lt;br /&gt;
You will be asked for Restart of IIS. Click yes to restart IIS. If you are not asked just restart IIS.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Inspecting IIS log files ==&lt;br /&gt;
&lt;br /&gt;
At a windows command prompt:&lt;br /&gt;
&lt;br /&gt;
 c:&lt;br /&gt;
 cd \Windows\system32\LogFiles\W3SVC1&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
 %SystemDrive%&lt;br /&gt;
 cd %SystemRoot%&lt;br /&gt;
 cd system32\LogFiles\W3SVC1&lt;br /&gt;
&lt;br /&gt;
then (substituting the ip number you are interested in)&lt;br /&gt;
&lt;br /&gt;
 find &amp;quot;192.168.1.55&amp;quot; *|sort&amp;gt;temp.log&lt;br /&gt;
&lt;br /&gt;
Open temp.log in Excel and use Tools, Data, Text to Columns to split into columns using options &amp;quot;Delimited&amp;quot; and check split on Space.&lt;br /&gt;
&lt;br /&gt;
Autowidth all columns by clicking on the top left box just outside the data to the left of column A and above column 1 then double click the column separator to the right of column &amp;quot;A&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Note that times and dates are in UTC/GMT so you have to add/subtract your timezone offset to get local times.&lt;br /&gt;
&lt;br /&gt;
== Fixing NEOSYS processes that do not auto start / Recovering from incorrect advanced date or time ==&lt;br /&gt;
&lt;br /&gt;
=== Problem explained ===&lt;br /&gt;
After starting up the 1st process, the rest of the processes don&#039;t start up.&lt;br /&gt;
&lt;br /&gt;
=== Solution ===&lt;br /&gt;
&lt;br /&gt;
The possible cause for this could be that the system date/time might have been changed - either manually or by the auto synchronization. Do the following checks in the sequence of order:&lt;br /&gt;
&lt;br /&gt;
# Check for any *.$* files (* after dollar sign should show a number, the highest being the latest one). If it shows OK, then proceed ahead.&lt;br /&gt;
# Check for any .end files and delete it to rename to .end.temp&lt;br /&gt;
# Check the System Event Viewer log for any 520 or 577 error message (refer http://128.175.24.251/forensics/timechange.htm). Also check for any out of sequence / ahead of today date or time.&lt;br /&gt;
# In case of no 520 or 577 error message, go to Administrative Tools &amp;gt; Local Security Policy &amp;gt; Local Policies &amp;gt; Audit Policy &amp;gt; Audit Privilege use - make sure that Success and Failure are selected under this (this will ensure that future changes to the date/time are recorded in the System Log).&lt;br /&gt;
# In NEOSYS maintenance mode - F5 ED PROCESSES %UPDATE% - and see what it says, incase of any text (only text, not numbers) there, that means that for sure the system date has been changed. To fix this, exit the editor by pressing the ESCAPE key and then type DELETE PROCESSES &amp;quot;%UPDATE%&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Recognising and Solving Low Memory Problems ==&lt;br /&gt;
&lt;br /&gt;
Quick Note: Installing a server class operating system on a workstation class computer with the intention of NEOSYS serving a heavy load is likely to cause problems with low memory.&lt;br /&gt;
&lt;br /&gt;
Quick Fix: Disable *ALL* non-essential features in the power-on setup menu.&lt;br /&gt;
&lt;br /&gt;
=== Effects ===&lt;br /&gt;
&lt;br /&gt;
It is speculated but not proven that low memory may cause NEOSYS to fail by hanging, causing damaged files etc.&lt;br /&gt;
&lt;br /&gt;
=== Checking ===&lt;br /&gt;
&lt;br /&gt;
 F5&lt;br /&gt;
 MEMORY&lt;br /&gt;
&lt;br /&gt;
On server class machines it should say somewhere around 350Kb to 370Kb Free&lt;br /&gt;
&lt;br /&gt;
Some server class machines have around 330Kb and sometimes even less with no reported problems&lt;br /&gt;
&lt;br /&gt;
The actual effect of low memory is supposed to make NEOSYS slower and perhaps cause hanging and damaged files however this has not been proven in an specific case so far.&lt;br /&gt;
&lt;br /&gt;
On workstation class machines it may often say around 280Kb to 300Kb.&lt;br /&gt;
&lt;br /&gt;
=== Cause ===&lt;br /&gt;
&lt;br /&gt;
Although there is plenty of real memory in virtually all computers now, NEOSYS runs in the legacy 16 bit virtual memory space of a windows mode called NTVDM. This is limited to 1Mb plus 4Mb of EMS memory.&lt;br /&gt;
&lt;br /&gt;
The 1Mb memory space is shared with:&lt;br /&gt;
&lt;br /&gt;
#Various non-essential windows drivers which NEOSYS automatically disables them in autoexec.nt&lt;br /&gt;
#Various plug and play hardware device drivers for the various adapters in the computer like video, network adapters and various other items that NEOSYS is unable to disable.&lt;br /&gt;
&lt;br /&gt;
In a server class computer the hardware device drivers are usually minimally present in the 1Mb base memory and do not therefore DOESNT a low memory situation for NEOSYS.&lt;br /&gt;
&lt;br /&gt;
In workstation class computers there are often many hardware device drivers present in the 1Mb base memory and this DOES causes a low memory situation for NEOSYS.&lt;br /&gt;
&lt;br /&gt;
When NEOSYS is installed on workstation class computers with XP there is usually not a heavy load expectation and therefore the low memory does not cause a problem.&lt;br /&gt;
&lt;br /&gt;
If Windows Server OS is installed on a workstation class computer NEOSYS may well be expected to serve a heavy load with limited amounts of memory.&lt;br /&gt;
&lt;br /&gt;
Workstation class computers: hardware drivers present and EMS is installed in low memory (0000-9FFF) causing low memory for NEOSYS and possible inability to &lt;br /&gt;
&lt;br /&gt;
Server class computers: Usually few hardware drivers are present in high part (A000-FFFF) of the 1Mb base memory and EMS is able to occupy the high memory leaving the low part (0000-9FFFF) of the 1Mb memory free for NEOSYS. You can find out how much memory is available to NEOSYS and whether EMS is occuping high or low memory using the following sections.&lt;br /&gt;
&lt;br /&gt;
=== Fixing Low Memory ===&lt;br /&gt;
&lt;br /&gt;
Start, Run, notepad c:\windows\system32\autoexec.nt&lt;br /&gt;
&lt;br /&gt;
Every time NEOSYS starts it tries to make some changes as follow:&lt;br /&gt;
&lt;br /&gt;
#replaces all lines in C:/WINDOWS/SYSTEM32/AUTOEXEC.NT starting with &#039;lh &#039; to start with &#039;rem NEOSYS LH &#039; instead.&lt;br /&gt;
#changes the line in C:/WINDOWS/SYSTEM32/CONFIG.NT &amp;quot;files=...&amp;quot; to &amp;quot;FILES=200&amp;quot;&lt;br /&gt;
&lt;br /&gt;
The replacement is case sensitive triggered on &#039;lh&#039; and &#039;files&#039; so if you manually edit the files and remove the rem or change the number of files and leave the LH and FILES in uppercase then NEOSYS will NOT make further changes. This allows you to do manual amendments to the files without NEOSYS overwriting them.&lt;br /&gt;
&lt;br /&gt;
Check that NEOSYS has successfully disabled all the drivers in the lines starting with LH.&lt;br /&gt;
&lt;br /&gt;
They should be commented out (prefixed) with REM or REM NEOSYS as follows.&lt;br /&gt;
&lt;br /&gt;
After making changes reopen NEOSYS in maintenance mode to use the MEMORY and WHO commands again.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
REM Install CD ROM extensions&lt;br /&gt;
REM NEOSYS LH %SystemRoot%\system32\mscdexnt.exe&lt;br /&gt;
&lt;br /&gt;
REM Install network redirector (load before dosx.exe)&lt;br /&gt;
REM NEOSYS LH %SystemRoot%\system32\redir&lt;br /&gt;
&lt;br /&gt;
REM Install DPMI support&lt;br /&gt;
REM NEOSYS LH %SYSTEMROOT%\SYSTEM32\DOSX&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Allowing DOS programs that require DOSX to run on the same computer as NEOSYS ===&lt;br /&gt;
&lt;br /&gt;
The automatic commenting out DOSX by NEOSYS will prevent some other DOS-like programs from running. If NEOSYS is on dedicated server then there should be no other such programs to fail. However, if you must allow DOS-like programs to work as well as NEOSYS you can do the following configuration:&lt;br /&gt;
&lt;br /&gt;
#leave or restore the original AUTOEXEC.NT and CONFIG.NT files where they are&lt;br /&gt;
#copy them to another folder eg neosys folder&lt;br /&gt;
#make the necessary REM changes there by hand&lt;br /&gt;
#right click the NEOSYS\NEOSYS\AREV.PIF and select properties&lt;br /&gt;
#change the location of the AUTOEXEC.NT and CONFIG.NT files in the following location&lt;br /&gt;
&lt;br /&gt;
[[image:pifsettings.jpg]]&lt;br /&gt;
&lt;br /&gt;
=== Checking EMS Memory Configuration ===&lt;br /&gt;
&lt;br /&gt;
==== Inspection ====&lt;br /&gt;
&lt;br /&gt;
 F5&lt;br /&gt;
 WHO&lt;br /&gt;
&lt;br /&gt;
 press the up arrow to get to the last part/page&lt;br /&gt;
&lt;br /&gt;
===== Example of Typical Server EMS Memory =====&lt;br /&gt;
[[image:serveremm.jpg]]&lt;br /&gt;
&lt;br /&gt;
===== Example of Typical Workstation EMS Memory =====&lt;br /&gt;
[[image:workstationemm.jpg]]&lt;br /&gt;
&lt;br /&gt;
====Correction====&lt;br /&gt;
&lt;br /&gt;
No easy way&lt;br /&gt;
&lt;br /&gt;
Removal of hardware adapters designed for workstations instead of servers eg graphics cards and network cards.&lt;br /&gt;
&lt;br /&gt;
Many of the devices may be located on the motherboard and not relocatable except possibly by BIOS configuration or special manufacturer information.&lt;br /&gt;
&lt;br /&gt;
Use windows device manager, View: Resources by Connection, Open the Memory item and look for items between 000A0000 up to 000FFFFF that might give you a clue as to what hardware could be removed or reconfigured. Actually only 000C0000 to 000FFFFF is candidate for EMS memory since 000A000-000BFFFF is mandatory video memory in all systems.&lt;br /&gt;
&lt;br /&gt;
[[image:devicemanager.jpg]]&lt;br /&gt;
&lt;br /&gt;
== Resolving issue where NEOSYS processes do not start-up at all or start-up and close immediately ==&lt;br /&gt;
&lt;br /&gt;
# Find if a file with the name global.end exists in the root directory of the NEOSYS installation. Eg D:\global.end . If you find such a file, rename it to global.end.temp - for more information on global.end and what it does refer to http://techwiki.neosys.com/index.php/Closing_NEOSYS_services&lt;br /&gt;
# If the above didn&#039;t fix the problem and NEOSYS still does not start, do a windows search for the entire NEOSYS folder for *.end (i.e. any file ending with .end extension). You may find a (databasecode).end file in D:\neosys\neosys folder which is created by the NEOSYS program during backup at 1 am and later on removed automatically. In this case NEOSYS program might have crashed during the backup and left this file behind. (databasecode).end files prevent other other NEOSYS processes starting up on the database while exclusive processes (like backup) are being done.&lt;br /&gt;
&lt;br /&gt;
In case the above didn&#039;t fix the problem then escalate to the programmer immediately.&lt;br /&gt;
&lt;br /&gt;
== Handling Change Backup message if the client does not use a USB backup device ==&lt;br /&gt;
DO *NOT* FOLLOW THIS PROCEDURE SINCE IS IT IS TOTALLY UNACCEPTABLE FOR NEOSYS TO SEND OUT A &amp;quot;BACKUP SUCCESS&amp;quot; MESSAGE WHEN THE BACKUP IS NOT BEING DONE PROPERLY. IN GENERAL, TAKING SHORT CUTS THAT MAKE THINGS APPEAR SATISFACTORY WHEN THEY ARE NOT IS VERY POOR POLICY.&lt;br /&gt;
&lt;br /&gt;
IF THE CLIENT IS BACKING UP TO A NON-REMOVABLE DESTINATION THEN EITHER 1. LIVE WITH THE FAILURE MESSAGE OR 2. SUPPRESS THE BACKUP ENTIRELY IN WHICH CASE NO BACKUPS ARE BEING DONE AND PROBABLY THIS WILL SHOW ON NEOSYS PROACTIVE WARNING SYSTEMS LIKE NAGIOS.&lt;br /&gt;
&lt;br /&gt;
# Basically most of the client use USB for Neosys server but there are some clients who do not use USB but save their backups in hard drive. &lt;br /&gt;
# As we know that backup take place in Data.bak folder but it do a backup only for a week in a single USB. Over here client do not use USB but save their backup in hard drive in Data.bak folder, once the week is over  it will again give Change backup message.  &lt;br /&gt;
# In this case rename the Data.bak folder to Data1.bak this is done because system read only Data.bak folder as it is configured in the system. When you rename Data.bak to Data1.bak it automatically create a new folder Data.bak in Backup drive.&lt;br /&gt;
# This process is done so that the backup should not fail then next day morning and backups are done in Data.bak folder.&lt;br /&gt;
# In the third week we will again see the same message Chang backup USB message so you need to rename Data.bak folder to Data2.bak&lt;br /&gt;
# But in fourth week you rename the Data1.bak to Data.bak and change the Data2.bak to Data1.bak and Data.bak to Data2.bak &lt;br /&gt;
# Keep only three folders and Data.bak, Data1.bak, Data2.bak and keep on renaming these folders every week as shown above.&lt;br /&gt;
&lt;br /&gt;
== Closing processes that are not visible on the desktop or hidden ==&lt;br /&gt;
&lt;br /&gt;
NEOSYS processes are most of the time visible on the desktop (i.e. the black dos windows) in Windows 2003 OS, except in the case that the process has been scheduled to start on restart and no one has logged into the server. In this case it would be hidden. Secondly in the case of Windows 2008, the processes always are hidden.&lt;br /&gt;
&lt;br /&gt;
In these cases whenever there is a hung NEOSYS process - due to many reasons for eg low memory. In this case you should close all processes using the global.end method and then from the task manager kill any NTVDM processes and then restart NEOSYS. This should be done within 30 seconds from using the global.end method to avoid any inconvenience to the users. If there are many datasets then you need to restart them all well within the 30 seconds period.&lt;br /&gt;
&lt;br /&gt;
In case of Patsalides, where we have a thousand datasets which start &amp;quot;on demand&amp;quot; i.e. usually on login; all you need to do is start one dataset which will restart all the other datasets &amp;quot;on demand&amp;quot;. If there is no response within 30 seconds then one of the running datasets will start it up so there appears to be a 30 second delay when you login to one of the thousand datasets the first time on any one day.&lt;br /&gt;
&lt;br /&gt;
== NEOSYS not updating NAGIOS ==&lt;br /&gt;
&lt;br /&gt;
=== Error Message ===&lt;br /&gt;
You notice a problem on NAGIOS indicating that &#039;&#039;&#039;&#039;&#039;NEOSYS not checked in&#039;&#039;&#039; on a particular client server.&lt;br /&gt;
&lt;br /&gt;
=== Possible Causes &amp;amp; Solutions ===&lt;br /&gt;
&lt;br /&gt;
====The NEOSYS process is &#039;&#039;&#039;NOT&#039;&#039;&#039; running on the server====&lt;br /&gt;
&lt;br /&gt;
Start the NEOSYS process and wait for 10 mins for NEOSYS to check into NAGIOS.&lt;br /&gt;
&amp;lt;BR&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====The NEOSYS process &#039;&#039;&#039;is&#039;&#039;&#039; running on the server but still cannot connect to NAGIOS====&lt;br /&gt;
#Search for &#039;&#039;&#039;UPDATE.$WG&#039;&#039;&#039; file located in the neosys\neosys. folder&lt;br /&gt;
#You should find a message similar to the following:   &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Connecting to 192.168.100.145:8080 failed: No such file or directory.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Where the above appears to be some non-functional http proxy server ip/port number and is not the expected nagios server ip number.&lt;br /&gt;
&amp;lt;br&amp;gt;&#039;&#039;&#039;(Note:&#039;&#039;&#039; The &#039;&#039;&#039;UPDATE.$WG&#039;&#039;&#039; file has to be viewed using either &#039;&#039;&#039;Notepad&#039;&#039;&#039; or &#039;&#039;&#039;Wordpad&#039;&#039;&#039;)&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;The windows command PROXYCFG shows the same ip and port:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
D:\NEOSYS\NEOSYS&amp;gt;proxycfg&lt;br /&gt;
Microsoft (R) WinHTTP Default Proxy Configuration Tool&lt;br /&gt;
Copyright (c) Microsoft Corporation. All rights reserved.&lt;br /&gt;
&lt;br /&gt;
Current WinHTTP proxy settings under:&lt;br /&gt;
  HKEY_LOCAL_MACHINE\&lt;br /&gt;
    SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Connections\&lt;br /&gt;
      WinHttpSettings :&lt;br /&gt;
&lt;br /&gt;
    Proxy Server(s) :  192.168.100.145:8080&lt;br /&gt;
    Bypass List     :  192.168.*.*;localhost;&amp;lt;local&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Solution 1 - Remove the above setting to create a direct connection&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
#To remove the registry entries that ProxyCfg.exe creates,you must delete the WinHttpSettings value from the following registry key:&amp;lt;br&amp;gt;&amp;lt;PRE&amp;gt;HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Connections\WinHttpSettings&amp;lt;/PRE&amp;gt;&lt;br /&gt;
#After you do the above, confirm that the proxy details are deleted by running the proxycfg command &amp;lt;BR&amp;gt;&lt;br /&gt;
#Next, restart the NEOSYS processes for the changes to be affected&lt;br /&gt;
&amp;lt;BR&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Solution 2 - Configure a functioning proxy ip/port number&#039;&#039;&#039;&lt;br /&gt;
#Use the proxycfg command to enter a working proxy ip/port number/exclusion list: http://msdn.microsoft.com/en-us/library/aa384069%28VS.85%29.aspx&lt;br /&gt;
#After you do the above, confirm that the new proxy details are working by running the proxycfg command again&lt;br /&gt;
#Next, restart the NEOSYS processes for the changes to be affected&lt;br /&gt;
&amp;lt;BR&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;B&amp;gt; Note: Please refer to the link before you restart NEOSYS processes http://techwiki.neosys.com/index.php/Troubleshooting_NEOSYS_Generally#Closing_processes_that_are_not_visible_on_the_desktop_or_hidden &amp;lt;/B&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Solving “page not found” when downloading some file types after uploading them successfully ==&lt;br /&gt;
=== One by One ===&lt;br /&gt;
&lt;br /&gt;
Windows web server will not download file types that it is unaware of. You can enable the download of new file types one by one as follows.&lt;br /&gt;
&lt;br /&gt;
This process is tedious and error-prone if you have to add many type.&lt;br /&gt;
&lt;br /&gt;
#Computer Management&lt;br /&gt;
#Services and Applications&lt;br /&gt;
#IIS properties&lt;br /&gt;
#Mime Types&lt;br /&gt;
#Add&lt;br /&gt;
&lt;br /&gt;
=== Many ===&lt;br /&gt;
&lt;br /&gt;
Window Server 2003 is unaware of all the Office 2007+ file types. To add all Office 2007+ file types at once do the following:&lt;br /&gt;
&lt;br /&gt;
Stop IIS&lt;br /&gt;
&lt;br /&gt;
 iisreset /stop&lt;br /&gt;
&lt;br /&gt;
Open the list of mime types&lt;br /&gt;
&lt;br /&gt;
*Start, Run, notepad C:\WINDOWS\system32\inetsrv\MetaBase.xml&lt;br /&gt;
&lt;br /&gt;
Search the file for “xlsx” and quit the editor if already inserted.&lt;br /&gt;
&lt;br /&gt;
Otherwise, find the following line,&lt;br /&gt;
&lt;br /&gt;
  .xml,text/xml&lt;br /&gt;
&lt;br /&gt;
and insert after that line the following lines. They do not need to be indented.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
.docm,application/vnd.ms-word.document.macroEnabled.12&lt;br /&gt;
.docx,application/vnd.openxmlformats-officedocument.wordprocessingml.document&lt;br /&gt;
.dotm,application/vnd.ms-word.template.macroEnabled.12&lt;br /&gt;
.dotx,application/vnd.openxmlformats-officedocument.wordprocessingml.template&lt;br /&gt;
.potm,application/vnd.ms-powerpoint.template.macroEnabled.12&lt;br /&gt;
.potx,application/vnd.openxmlformats-officedocument.presentationml.template&lt;br /&gt;
.ppam,application/vnd.ms-powerpoint.addin.macroEnabled.12&lt;br /&gt;
.ppsm,application/vnd.ms-powerpoint.slideshow.macroEnabled.12&lt;br /&gt;
.ppsx,application/vnd.openxmlformats-officedocument.presentationml.slideshow&lt;br /&gt;
.pptm,application/vnd.ms-powerpoint.presentation.macroEnabled.12&lt;br /&gt;
.pptx,application/vnd.openxmlformats-officedocument.presentationml.presentation&lt;br /&gt;
.xlam,application/vnd.ms-excel.addin.macroEnabled.12&lt;br /&gt;
.xlsb,application/vnd.ms-excel.sheet.binary.macroEnabled.12&lt;br /&gt;
.xlsm,application/vnd.ms-excel.sheet.macroEnabled.12&lt;br /&gt;
.xlsx,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet&lt;br /&gt;
.xltm,application/vnd.ms-excel.template.macroEnabled.12&lt;br /&gt;
.xltx,application/vnd.openxmlformats-officedocument.spreadsheetml.template&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save the file with File and Exit&lt;br /&gt;
&lt;br /&gt;
Restart IIS&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Handling Neosys Automatic Upgrade Error Messages ==&lt;br /&gt;
&lt;br /&gt;
=== Error Message ===&lt;br /&gt;
We will receive an email from the NEOSYS client installation with the following message:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&amp;quot;UPGRADEN.EXE&amp;quot; does not have expected exe MZ signature&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Solution ===&lt;br /&gt;
This message is a note that the NEOSYS automatic update procedure failed to download an upgrade file correctly.&lt;br /&gt;
This happens sometimes due to network issues but can be ignored because the file will be probably be correctly downloaded on the next automatic update check.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; This message is only informative to help with any problem with the automatic upgrade procedure and may be removed in a later version of neosys (currently Oct 2012)&lt;br /&gt;
&lt;br /&gt;
== Testing https connection ==&lt;br /&gt;
&lt;br /&gt;
The following procedure tests that the https server is operational and not blocked by firewall etc. It does not detect certificate errors.&lt;br /&gt;
&lt;br /&gt;
From a windows command prompt use the following telnet command:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
telnet clientname.hosts.neosys.com 4430&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
#4430 is the usual NEOSYS http port but replace it by whatever port is actually used for NEOSYS https on the system being tested. If there are multiple https installations on a particular server then different ports are probably used&lt;br /&gt;
#Replace clientname.hosts.neosys.com with the normal https login domain name of the client for whom we want to check the https service&lt;br /&gt;
&lt;br /&gt;
Normal behavior is that it should open a black screen. Pressing Enter or any key returns the _ character. (Close the window using the [X] since there is no keyboard command to do so)&lt;br /&gt;
&lt;br /&gt;
Hanging means that there is some connectivity issue (firewall/ip/server not running/https not installed etc)&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting &amp;quot;page not found&amp;quot; error while using https ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Problem:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
#The https service stops working and gives &amp;quot;Page not found&amp;quot; error.&lt;br /&gt;
#The https connection tests fine using telnet (see article above)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Solution:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
#Reinstall https using the usual procedure (currently using selfssl)&lt;br /&gt;
#Email clients, requesting to reinstall the new security certificate by following the procedure given at [http://userwiki.neosys.com/index.php/Troubleshooting_NEOSYS_Generally#Resolving_HTTPS_certificate_error_when_logging_in_from_an_external_link Resolving https certificate error].&lt;br /&gt;
&lt;br /&gt;
== Installing &amp;quot;QUICKDEX&amp;quot; on some files ==&lt;br /&gt;
&amp;quot;Quickdex&amp;quot; is a type of index that keeps an alphabetical order on small files. In some maintenance procedures you may be asked to &amp;quot;install Quickdex&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
For example to add a quickdex to the UNITS file.&lt;br /&gt;
&lt;br /&gt;
Maintenance mode press F5&lt;br /&gt;
&lt;br /&gt;
 DICT UNITS&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
г=================Dictionary=================┐&lt;br /&gt;
│                                            │&lt;br /&gt;
│  File name      UNITS                      │&lt;br /&gt;
│  Field name     .........................  │&lt;br /&gt;
│                                            │&lt;br /&gt;
│  Dict type                                 │&lt;br /&gt;
│  Single/Multi                              │&lt;br /&gt;
│  Data type                                 │&lt;br /&gt;
│  Output format                             │&lt;br /&gt;
│  Validation patterns                       │&lt;br /&gt;
│                                            │&lt;br /&gt;
│  Position              Key part            │&lt;br /&gt;
│                                            │&lt;br /&gt;
│  Column heading                            │&lt;br /&gt;
│                                            │&lt;br /&gt;
│                                            │&lt;br /&gt;
│  Justification     Display length          │&lt;br /&gt;
│  Description                               │&lt;br /&gt;
│                                            │&lt;br /&gt;
│                                            │&lt;br /&gt;
L============================================-&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Press Shift+F3.&lt;br /&gt;
&lt;br /&gt;
If it says &amp;quot;Do you want to remove ...&amp;quot; then Quickdex has already been installed and you should not continue. Press Esc to cancel, then Esc to quit.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
г=[B202]==================================┐&lt;br /&gt;
│                                         │&lt;br /&gt;
│               &amp;quot;UNITS&amp;quot; has               │&lt;br /&gt;
│          &amp;quot;QUICKDEX&amp;quot; installed.          │&lt;br /&gt;
│                                         │&lt;br /&gt;
│ Do you want to remove &amp;quot;QUICKDEX&amp;quot;? [Y/N] │&lt;br /&gt;
│                                         │&lt;br /&gt;
│&amp;lt;Y                                      &amp;gt;│&lt;br /&gt;
L=========================================-&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Otherwise it should say &amp;quot;Do you want to install ...&amp;quot;. Press Enter to accept.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
г=[W963]============================┐&lt;br /&gt;
│                                   │&lt;br /&gt;
│     Do you want to install a      │&lt;br /&gt;
│ Quickdex or Rightdex index? [Q/R] │&lt;br /&gt;
│                                   │&lt;br /&gt;
│&amp;lt;Q                                &amp;gt;│&lt;br /&gt;
L===================================-&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It should then say &amp;quot;Do you want to update ...&amp;quot;. Press Enter to accept.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
г=[W901]========================================┐&lt;br /&gt;
│                                               │&lt;br /&gt;
│           The &amp;quot;UNITS&amp;quot; file has had            │&lt;br /&gt;
│ the &amp;quot;QUICKDEX&amp;quot; modifying filing system added. │&lt;br /&gt;
│        There are 0 records in &amp;quot;UNITS&amp;quot;.        │&lt;br /&gt;
│                                               │&lt;br /&gt;
│    Do you want to update &amp;quot;QUICKDEX&amp;quot;? [Y/N]    │&lt;br /&gt;
│                                               │&lt;br /&gt;
│&amp;lt;Y                                            &amp;gt;│&lt;br /&gt;
L===============================================-&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Afterwards it should return to the initial screen. Press Esc to quit.&lt;/div&gt;</summary>
		<author><name>Ashwin</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Setting_up_and_using_remote_support&amp;diff=876</id>
		<title>Setting up and using remote support</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=Setting_up_and_using_remote_support&amp;diff=876"/>
		<updated>2012-02-07T14:13:46Z</updated>

		<summary type="html">&lt;p&gt;Ashwin: /* Installing Cygwin with OPENSSH */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Getting agreement of client IT staff to provide remote support ==&lt;br /&gt;
&lt;br /&gt;
[[Letter to obtain agreement of client IT staff to provide remote support]]&lt;br /&gt;
&lt;br /&gt;
== Installing and configuring the server ==&lt;br /&gt;
&lt;br /&gt;
=== Initial Connection to the server before setting up permanent remote connection ===&lt;br /&gt;
&lt;br /&gt;
In case of a remote installation you need to get an initial connection to the server before you can setup Cygwin for a permanent remote connection. For this purpose you can either use your customised reverse connect UltraVNC SC file or the one-time run Teamviewer utility.&lt;br /&gt;
&lt;br /&gt;
Do not use Microsoft Remote Desktop Client (RDP/RDC) on port 3389 at anytime to access the server from the internet since IT suppliers not aware of the situation often setup the initial administrator password to something obvious like &amp;quot;password&amp;quot; or even blank and in this case there is a good chance internet worms will discover the &amp;quot;open door&amp;quot; and install themselves before you get the chance to put a strong password.&lt;br /&gt;
&lt;br /&gt;
=== Installing and configuring SSH ===&lt;br /&gt;
==== Installing Cygwin with OPENSSH ====&lt;br /&gt;
Watch out for non-intuitive steps like clicking &amp;quot;skip&amp;quot; to install something.&lt;br /&gt;
# Read [[Avoiding Corrupt Cygwin Installations]]&lt;br /&gt;
# ENSURE that you are logged in as the local (NOT DOMAIN) administrator&lt;br /&gt;
# Run http://www.cygwin.com/setup.exe&lt;br /&gt;
# Install from Internet&lt;br /&gt;
# Root Directory: &#039;&#039;&#039;c:\cygwin&#039;&#039;&#039;&lt;br /&gt;
# Local Package Directory: &#039;&#039;&#039;c:\cygwin.lib&#039;&#039;&#039;&lt;br /&gt;
# Direct Connection&lt;br /&gt;
# Download Site: &#039;&#039;&#039;http://mirrors.kernel.org&#039;&#039;&#039; (near the bottom) - If this does not show in the list, key in the URL in the field &#039;&#039;&#039;User URL&#039;&#039;&#039; and click on Add&lt;br /&gt;
# You will now receive a Setup Alert. Click &#039;&#039;&#039;OK&#039;&#039;&#039;&lt;br /&gt;
# Select Packages: Maximise window then click &#039;&#039;&#039;View&#039;&#039;&#039; once to get &#039;&#039;&#039;Full&#039;&#039;&#039;&lt;br /&gt;
# Next to the package &#039;&#039;&#039;OPENSSH&#039;&#039;&#039;, click the word &#039;&#039;&#039;Skip&#039;&#039;&#039; (once!) to get version 4.4p1-1 or later&lt;br /&gt;
# Next to the package &#039;&#039;&#039;NANO&#039;&#039;&#039;, click the word &#039;&#039;&#039;Skip&#039;&#039;&#039; (once!) to get the latest version available&lt;br /&gt;
# Next to the package &#039;&#039;&#039;WGET&#039;&#039;&#039;, click the word &#039;&#039;&#039;Skip&#039;&#039;&#039; (once!) to get the latest version available&lt;br /&gt;
# Next to the package &#039;&#039;&#039;RSYNC&#039;&#039;&#039;, click the word &#039;&#039;&#039;Skip&#039;&#039;&#039; (once!) to get the latest version available&lt;br /&gt;
# Next to the package &#039;&#039;&#039;EMAIL&#039;&#039;&#039;, click the word &#039;&#039;&#039;Skip&#039;&#039;&#039; (once!) to get the latest version available&lt;br /&gt;
# Next to the package &#039;&#039;&#039;WHOIS&#039;&#039;&#039;, click the word &#039;&#039;&#039;Skip&#039;&#039;&#039; (once!) to get the latest version available&lt;br /&gt;
# Check the NEOSYS INSTALLATION CHECKLIST for any other packages to install like the above.&lt;br /&gt;
# Click Next and complete the installation&lt;br /&gt;
&lt;br /&gt;
==== Configuring and starting SSHD ====&lt;br /&gt;
Open the Cygwin icon to get a linux/bash command line and type:&lt;br /&gt;
&lt;br /&gt;
Run the following commands:&lt;br /&gt;
&lt;br /&gt;
 chmod +r /etc/passwd&lt;br /&gt;
 chmod +r /etc/group&lt;br /&gt;
 chmod 777 /var&lt;br /&gt;
&lt;br /&gt;
Thereafter start with the ssh configuration:&lt;br /&gt;
&lt;br /&gt;
 ssh-host-config&lt;br /&gt;
&lt;br /&gt;
Then on the following options type:&lt;br /&gt;
&lt;br /&gt;
 Privilege                   –   YES&lt;br /&gt;
 New local sshd account      -   YES&lt;br /&gt;
 Install SSHD as a service   -   YES&lt;br /&gt;
 Enter value of daemon       -   ntsec&lt;br /&gt;
 Different name              -   NO&lt;br /&gt;
 Create new privileged user  -   YES&lt;br /&gt;
 Enter a password now        -   Set any random password and should not be the same as the neosys server (8 characters min)&lt;br /&gt;
&lt;br /&gt;
At the command prompt type&lt;br /&gt;
&lt;br /&gt;
 net start sshd&lt;br /&gt;
&lt;br /&gt;
==== Configuring SSHD to use a non-standard port number ====&lt;br /&gt;
This is necessary if the router cannot forward port 19580 --&amp;gt; 22 and we don’t want to open port 22 directly.&lt;br /&gt;
&lt;br /&gt;
Capitalization is signification in cygwin/linux commands&lt;br /&gt;
&lt;br /&gt;
open cygwin command prompt&lt;br /&gt;
 cd /etc&lt;br /&gt;
 chown administrator sshd_config&lt;br /&gt;
 nano sshd_config (assuming that you have installed the NANO editor)&lt;br /&gt;
 notepad sshd_config (incase you havent installed the NANO editor)&lt;br /&gt;
Move your cursor to &#039;&#039;&#039;Port 22&#039;&#039;&#039; and change 22 to 19580. ctrl+x to save. On the confirmation type Y and on the next prompt hit enter.&lt;br /&gt;
 chown system sshd_config&lt;br /&gt;
 net stop sshd&lt;br /&gt;
 net start sshd&lt;br /&gt;
&lt;br /&gt;
To check that the connection to port 19580 is successful you can run the following test:&lt;br /&gt;
 ssh -p 19580 administrator@localhost&lt;br /&gt;
&lt;br /&gt;
You will be prompted to confirm the connection (say yes)&lt;br /&gt;
&lt;br /&gt;
Now enter the system password to complete the procedure.&lt;br /&gt;
&lt;br /&gt;
==== Changing ssh login from “Administrator” to “administrator” ====&lt;br /&gt;
Current NEOSYS policy to cater for recent versions of Cygwin is to rename the windows Administrator user to administrator to keep a consistent ssh login across all installations.&lt;br /&gt;
&lt;br /&gt;
If you forget to do this before installing or upgrading Cygwin then you must to the following:&lt;br /&gt;
&lt;br /&gt;
#Rename “Administrator” to “administrator” in Windows&lt;br /&gt;
#In a Cygwin console do:&lt;br /&gt;
&lt;br /&gt;
mkpasswd &amp;gt; /etc/passwd&lt;br /&gt;
&lt;br /&gt;
It should come back with nothing&lt;br /&gt;
&lt;br /&gt;
==== Error while changing Cygwin port 22 to 19580 ====&lt;br /&gt;
Error Message:&lt;br /&gt;
Could not open file for writring: permission denied&lt;br /&gt;
&lt;br /&gt;
Occurence:&lt;br /&gt;
Sometimes When you edit the sshd_config file through NANO.&lt;br /&gt;
&lt;br /&gt;
Solution:&lt;br /&gt;
In SSH shell, follow these commands:&lt;br /&gt;
&lt;br /&gt;
 cp sshd_config ashwin_temp (copies sshd_config to a new file ashwin_temp)&lt;br /&gt;
 rm sshd_config (deletes sshd_config)&lt;br /&gt;
 cp ashwin_temp sshd_config  (copies ashwin_temp to sshd_config)&lt;br /&gt;
&lt;br /&gt;
Incase it does not copy sshd_config to ashwin_temp, than check whether an ashwin_temp filename exists and delete it using the rm command.&lt;br /&gt;
&lt;br /&gt;
==== Opening up ssh connections to additional source ip nos ====&lt;br /&gt;
&lt;br /&gt;
Starting a NEOSYS process will automatically restrict cygwin ssh to accept connections from known NEOSYS company static ip numbers.&lt;br /&gt;
&lt;br /&gt;
In the cygwin command line, insert a line in the list of allowable hosts&lt;br /&gt;
&lt;br /&gt;
DO NOT ALLOW ALL OR GENERAL SSH ACCESS TO NEOSYS CLIENTS SERVERS WITHOUT GETTING PERMISSION *AND* INSTALLING EMAIL ALERTS FOR LOGINS AS DESCRIBED BELOW&lt;br /&gt;
&lt;br /&gt;
 nano /etc/hosts.allow&lt;br /&gt;
&lt;br /&gt;
 sshd: ALL&lt;br /&gt;
&lt;br /&gt;
or a ip numbers or CIDR format&lt;br /&gt;
&lt;br /&gt;
 sshd 12.34.56.78&lt;br /&gt;
 sshd 12.34.0.0/16&lt;br /&gt;
&lt;br /&gt;
==== Setting up email alerts for cygwin ssh logins  ====&lt;br /&gt;
&lt;br /&gt;
Use http://www.cygwin.com/setup.exe to install &amp;quot;email&amp;quot; and &amp;quot;whois&amp;quot; packages&lt;br /&gt;
&lt;br /&gt;
Insert the following script using cygwin command prompt.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;NOTE! it@neosys.com to whatever you want.&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 cd /etc&lt;br /&gt;
 nano sshrc&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
#&lt;br /&gt;
#you configure this&lt;br /&gt;
&lt;br /&gt;
ALERTEMAILADDRESS=it@neosys.com&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
#get the ip number without the ipv6 prefix&lt;br /&gt;
FROMIPNO=`echo $SSH_CLIENT|cut -f 1 -d &amp;quot; &amp;quot;|sed &#039;s/::ffff://&#039;`&lt;br /&gt;
#&lt;br /&gt;
#quit with no message if from a known host&lt;br /&gt;
&lt;br /&gt;
if grep -x $FROMIPNO /etc/trustedipnos&lt;br /&gt;
then exit&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
#get the host name by reverse lookup&lt;br /&gt;
&lt;br /&gt;
FROMHOST=`nslookup $FROMIPNO|grep &amp;quot;name =&amp;quot;`&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
#get whois info about the login ip number&lt;br /&gt;
&lt;br /&gt;
#and pipe it into the mail program&lt;br /&gt;
#&amp;quot;&amp;amp;&amp;quot; on the end creates a new process in order not to delay login&lt;br /&gt;
&lt;br /&gt;
whois $FROMIPNO|\&lt;br /&gt;
email -q -f nl1@neosys.com -s &amp;quot;login $USER $FROMIPNO $FROMHOST&amp;quot; -r \&lt;br /&gt;
mailout.neosys.com -p 2500 $ALERTEMAILADDRESS&amp;amp;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Make sure that you configure the file permissions&lt;br /&gt;
&lt;br /&gt;
 chmod a+x sshrc&lt;br /&gt;
&lt;br /&gt;
Inserted trusted ip nos.&lt;br /&gt;
&lt;br /&gt;
 cd /etc&lt;br /&gt;
 nano trustedipnos&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#sorry, ip ranges and cidr etc not accepted yet&lt;br /&gt;
&lt;br /&gt;
#vm1.neosys.com for remote checking&lt;br /&gt;
85.17.154.105&lt;br /&gt;
&lt;br /&gt;
#nl1.neosys.com&lt;br /&gt;
83.149.104.167&lt;br /&gt;
&lt;br /&gt;
#nl2.neosys.com&lt;br /&gt;
85.17.154.66&lt;br /&gt;
&lt;br /&gt;
#uk.neosys.com&lt;br /&gt;
78.143.212.191&lt;br /&gt;
&lt;br /&gt;
#nl3.neosys.com&lt;br /&gt;
94.75.233.2&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Make sure that you configure the file permissions&lt;br /&gt;
&lt;br /&gt;
 chmod a+x sshrc&lt;br /&gt;
&lt;br /&gt;
==== Troubleshooting SSH: If SSH connects and then disconnects immediately without exchanging keys ====&lt;br /&gt;
 &lt;br /&gt;
The first time that NEOSYS runs, it automatically adds source ip number restrictions to the sshd remote support configuration in /etc/hosts.allow and /etc/hosts.deny. This is an important security procedure to allow connection to clients systems from NEOSYS ip numbers only. This process allows only local and known NEOSYS ip numbers to connect using SSH. Upgrading NEOSYS will add and/or remove allowable ip numbers as NEOSYS configuration changes.&lt;br /&gt;
&lt;br /&gt;
It is possible that in some client network configurations incoming ssh connections will appear to be from the clients internal routers with an ip unknown to NEOSYS due to NAT configurations. Therefore ssh connections will be blocked unless specifically allow the local ip number or it is added into an upgraded version of NEOSYS.&lt;br /&gt;
&lt;br /&gt;
NOTE: Therefore you must check that remote support via ssh works AFTER you have run NEOSYS once (maintenance mode). &lt;br /&gt;
 &lt;br /&gt;
#Look in the Windows, Computer Management, System Tools, Event Viewer, Application&lt;br /&gt;
#Search for entries from source &amp;quot;sshd&amp;quot;, double click and look in the Event Properties, Description for ip numbers&lt;br /&gt;
#Information type sshd entries will give the ip number of successful sshd connections.&lt;br /&gt;
#Warning type sshd entries will give the ip number of failed sshd connections.&lt;br /&gt;
#Find the ip number of failed connections.&lt;br /&gt;
&lt;br /&gt;
===== Possible Problem 1 - Port mapping in router is using NAT =====&lt;br /&gt;
&lt;br /&gt;
If the ip number of failed connections is some local ip number (of the router for example) then possibly the inbound port forwarding has been done with NAT and the source ip number has been lost. Therefore the NEOSYS ip restrictions are blocking ssh connections because they appear to be coming from an unknown ip number (ie that of the router)&lt;br /&gt;
&lt;br /&gt;
===== Solution 1A =====&lt;br /&gt;
&lt;br /&gt;
Change the router configuration to not use NAT and leave the genuine original source IP number&lt;br /&gt;
&lt;br /&gt;
===== Solution 1B =====&lt;br /&gt;
&lt;br /&gt;
DO NOT USE THIS PROCEDURE TO BREAK NEOSYS SECURITY&lt;br /&gt;
 &lt;br /&gt;
DO NOT GRANT ACCESS TO ANY IP OTHER THAN CLIENTS ROUTER IPS&lt;br /&gt;
&lt;br /&gt;
Add the routers IP number to the list of authorised ip numbers in the cygwin hosts.allow file as follows:&lt;br /&gt;
&lt;br /&gt;
 nano /etc/hosts.allow&lt;br /&gt;
&lt;br /&gt;
and add the line as follows ... but put the ip number of your router&lt;br /&gt;
&lt;br /&gt;
 sshd: allow 192.168.0.99&lt;br /&gt;
&lt;br /&gt;
#router - sadly using NAT instead of plain old port forwarding&lt;br /&gt;
#if the router ip changes then neosys remote support will fail until this line is changed&lt;br /&gt;
#NB do not grant access to 192.168.* etc since this allows local LAN viruses to attack&lt;br /&gt;
&lt;br /&gt;
==== Troubleshooting sshd ====&lt;br /&gt;
&lt;br /&gt;
You can run the sshd service interactively to see all messages instead of having to search logs/events etc.&lt;br /&gt;
&lt;br /&gt;
Unfortunately this will not work the same as the normal windows sshd service unless you assume the identity of the sshd_server user. To assume the identity of the sshd_server user you will have to reset its password to something new (since we dont take a record of it during sshd-host-setup) AND ALSO place the new password in the logon properties of the sshd windows service.&lt;br /&gt;
&lt;br /&gt;
 su sshd_server&lt;br /&gt;
 /usr/sbin/sshd -D -p 19580&lt;br /&gt;
&lt;br /&gt;
==== Reinstalling SSHD if service fails to startup ====&lt;br /&gt;
&lt;br /&gt;
#Look in &#039;&#039;&#039;/var/log/sshd.log&#039;&#039;&#039; for errors&lt;br /&gt;
#Delete the following users: &#039;&#039;&#039;sshd&#039;&#039;&#039; and &#039;&#039;&#039;sshd_server&#039;&#039;&#039;&lt;br /&gt;
#Remove the sshd service at the cygwin prompt type &#039;&#039;&#039;cygrunsrv –R sshd&#039;&#039;&#039;&lt;br /&gt;
#Do the above Configuration and starting SSHD step again&lt;br /&gt;
&lt;br /&gt;
Note that you don&#039;t have to reinstall cygwin entirely, just sshd with the above steps.&lt;br /&gt;
&lt;br /&gt;
==== Upgrading SSHD / Cygwin ====&lt;br /&gt;
NEOSYS relies on cygwin to provide secure network access and support various linux/unix services under Windows, mainly rsync for interoffice consolidation.&lt;br /&gt;
&lt;br /&gt;
Just like MS Windows update, cygwin should be updated at regular intervals to close security holes discovered in the software by its authors. This is particularly important for cygwin&#039;s remote access service sshd since it is exposed to the internet although on a non-standard port.&lt;br /&gt;
&lt;br /&gt;
TO DO: Find a simple way to learn about when cygwin upgrades sshd and/or when there are issues generally with sshd. Join the cygwin and sshd security news email lists.&lt;br /&gt;
&lt;br /&gt;
To find out what versions of cygwin/sshd are installed at NEOSYS clients, look at Nagios, last column &amp;quot;Status Information&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
http://vm1.neosys.com/nagios3/cgi-bin/status.cgi?servicegroup=neosys-ssh&amp;amp;style=detail%22SSH%20OK%20-%20OpenSSH_5.9%20%28protocol%202.0%29%22&lt;br /&gt;
&lt;br /&gt;
eg&lt;br /&gt;
&lt;br /&gt;
 SSH OK - OpenSSH_5.9 (protocol 2.0) &lt;br /&gt;
&lt;br /&gt;
===== Upgrading Cygwin Without requiring a server reboot =====&lt;br /&gt;
NEOSYS normal remote server support connection uses cygwin/ssh. cygwin can be upgraded while in use but only if a reboot is performed and perhaps some cygwin packages reinstalled. &lt;br /&gt;
&lt;br /&gt;
You can use:&lt;br /&gt;
*vnc server&lt;br /&gt;
*direct rdp connection&lt;br /&gt;
*directly on the server&lt;br /&gt;
*teamviewer started manually on the server&lt;br /&gt;
&lt;br /&gt;
You cannot use:&lt;br /&gt;
*standard NEOSYS remote support connection using rdp/cygwin/sshd&lt;br /&gt;
*teamviewer started using a standard NEOSYS remote support connection.&lt;br /&gt;
&lt;br /&gt;
Procedure:&lt;br /&gt;
&lt;br /&gt;
1. If not already done, rename Windows “Administrator” user to “administrator” before upgrading&lt;br /&gt;
&lt;br /&gt;
2. Stop all programs and services that use cygwin. (Only sshd is installed as standard on all NEOSYS clients)&lt;br /&gt;
&lt;br /&gt;
 net stop sshd&lt;br /&gt;
 net stop cygwinrsync&lt;br /&gt;
 net stop exim&lt;br /&gt;
&lt;br /&gt;
3. Kill any remaining cygwin processes in task viewer. This will terminate any standard NEOSYS remote connections using cygwin/sshd/tunnelier.&lt;br /&gt;
&lt;br /&gt;
 sshd&lt;br /&gt;
 cygrunsvr&lt;br /&gt;
&lt;br /&gt;
4. Follow the usual cygwin installation procedure and it will upgrade all installed packages automatically.&lt;br /&gt;
*If you get a message &amp;quot;files in use&amp;quot; then click &amp;quot;retry&amp;quot; AFTER killing any running processes that use the cygwin1.dll. Search Google if you dont know how to do this, or follow the instructions in the next section which requires a reboot.&lt;br /&gt;
&lt;br /&gt;
5. Start the NEOSYS remote connection service - cygwin/sshd, and any cygwin services stopped in step 1.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 net start sshd&lt;br /&gt;
 net start cygwinrsync&lt;br /&gt;
 net start exim&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Upgrading Cygwin with server reboot =====&lt;br /&gt;
If not already done, rename Windows “Administrator” user to “administrator” before upgrading&lt;br /&gt;
&lt;br /&gt;
Connect using usual NEOSYS remote support.&lt;br /&gt;
&lt;br /&gt;
Follow the usual cygwin installation procedure.&lt;br /&gt;
&lt;br /&gt;
If and when cygwin &amp;quot;says files in use&amp;quot; then at console command prompt then click &amp;quot;continue&amp;quot;. NB &amp;quot;retry&amp;quot; will not work because your NEOSYS  remote support uses files like cygwin1.dll that are being updated by cygwin.&lt;br /&gt;
&lt;br /&gt;
If you have used the &amp;quot;continue&amp;quot; option then, towards the end of the cygwin installation process, you may get error messages similar to the one below.&lt;br /&gt;
You can ignore them.&lt;br /&gt;
&lt;br /&gt;
 &amp;quot;the procedure point __ctype_ptr__ could not be located in the dynamic link library cygwin1.dll&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Finally, you may get a message &amp;quot;postinstall script errors&amp;quot;. Copy this message so you know what packages have to be reinstalled.&lt;br /&gt;
&lt;br /&gt;
Your list may vary! The list of packages is longer if the cygwin1.dll file has to be upgraded as this is an essential library file for all cygwin programs.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 Package: base-cygwin&lt;br /&gt;
 Package: coreutils&lt;br /&gt;
 Package: bash&lt;br /&gt;
 Package: terminfo&lt;br /&gt;
 Package: _update-info-dir&lt;br /&gt;
 Package: base-files&lt;br /&gt;
 Package: colordiff&lt;br /&gt;
 Package: man&lt;br /&gt;
 Package: terminfo0&lt;br /&gt;
 Package: vim&lt;br /&gt;
 Package: wget&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Reboot the server and check that you can connect using usual NEOSYS remote support.&lt;br /&gt;
&lt;br /&gt;
*The login user name might be changed to &amp;quot;Administrator&amp;quot; instead of &amp;quot;administrator&amp;quot;.&lt;br /&gt;
*If you cannot reconnect after rebooting then the following steps (in particular the cygwin sshd package) may have to be performed directly on the server directly or using the usual initial NEOSYS remote installation procedures that do not rely on cygwin/sshd.&lt;br /&gt;
&lt;br /&gt;
Reinstall any problematic Cygwin packages&lt;br /&gt;
#Select View: &amp;quot;Up to date&amp;quot;&lt;br /&gt;
#&amp;quot;Keep&amp;quot; to &amp;quot;Reinstall&amp;quot; for the packages listed in the previous section.&lt;br /&gt;
&lt;br /&gt;
Finally, check that you can run the ls command in a cygwin command prompt window.&lt;br /&gt;
&lt;br /&gt;
==== How to uninstall/reinstall cygwin ====&lt;br /&gt;
&lt;br /&gt;
With setup.exe (the installer file of cygwin) you can uninstall individual packages but not Cygwin.&lt;br /&gt;
&lt;br /&gt;
Before you do this, make sure you have stopped the cygwin service (NET STOP SSHD), removed the sshd server (cygrunsrv -R sshd), deleted the users (sshd &amp;amp; sshd_server).&lt;br /&gt;
&lt;br /&gt;
To uninstall Cygwin you have to run the following in DOS prompt:&lt;br /&gt;
&lt;br /&gt;
 rmdir /s /q C:\cygwin&lt;br /&gt;
&lt;br /&gt;
You cannot delete the cygwin folder from Windows explorer due to a Access Denied error and this is the best way to uninstall cygwin.&lt;br /&gt;
&lt;br /&gt;
==== Getting Ownership and Permissions Correct ====&lt;br /&gt;
&lt;br /&gt;
Installation of cygrin under domain administrator account needs to be fixed as follows:&lt;br /&gt;
&lt;br /&gt;
#c:\cygin Properties, Security, Advanced&lt;br /&gt;
#Change owner to: Administrators&lt;br /&gt;
#Tick: Replace owner on subcontainers&lt;br /&gt;
&lt;br /&gt;
After changing ownership of all cygwin folders to Administrators all ssh login will be blocked and you will get a windows application event log message. &amp;quot;root&amp;quot; actually means sshd&#039;s user which is sshd_server by default or can be found in the cygwin ssh windows services properties under log on&lt;br /&gt;
&lt;br /&gt;
 fatal: /var/empty must be owned by root and not group or world-writable.&lt;br /&gt;
&lt;br /&gt;
Fix this in cygwin console as follows:&lt;br /&gt;
&lt;br /&gt;
 chown sshd_server /var/empty&lt;br /&gt;
&lt;br /&gt;
==== Configuring Firewall/Router ====&lt;br /&gt;
&lt;br /&gt;
You will have to port forward 19580 on the router to port 19580 on the neosys server. Some routers call port forwarding “port mapping” or “virtual servers”&lt;br /&gt;
&lt;br /&gt;
It is BAD idea to simply open port 22 since an open port 22 attracts scanners/hackers like flies.&lt;br /&gt;
&lt;br /&gt;
Also configure port forwarding of port 4430 to port 4430. This is for remote access via https if desired at a later date.&lt;br /&gt;
&lt;br /&gt;
==== Configuring Specific Client Routers ====&lt;br /&gt;
&lt;br /&gt;
[[Adline Dubai - CISCO PIX Firewall]]&lt;br /&gt;
&lt;br /&gt;
[[Sonicwall Firewall Configuration]]&lt;br /&gt;
&lt;br /&gt;
==== How to install ssh on port 19580 over vnc on port 19580 ====&lt;br /&gt;
&lt;br /&gt;
Install vnc on port 19580&lt;br /&gt;
 &lt;br /&gt;
connect on vnc&lt;br /&gt;
 &lt;br /&gt;
setup cygwin sshd on port 22&lt;br /&gt;
 &lt;br /&gt;
test you can login on port 22&lt;br /&gt;
&lt;br /&gt;
 ssh neosys@127.0.0.1&lt;br /&gt;
 &lt;br /&gt;
change sshd port to 19580 (but it wont start)&lt;br /&gt;
 &lt;br /&gt;
schedule a windows system reboot in 10 mins at windows command prompt&lt;br /&gt;
 &lt;br /&gt;
 shutdown -t 600&lt;br /&gt;
 &lt;br /&gt;
change vnc port to 5900 (if will disconnect you)&lt;br /&gt;
 &lt;br /&gt;
wait for 10 mins and try to ssh login on port 19580&lt;br /&gt;
&lt;br /&gt;
==== Changing user on Cygwin ====&lt;br /&gt;
&lt;br /&gt;
On SSH command line:&lt;br /&gt;
&lt;br /&gt;
 ssh neosys@127.0.0.1 (where &#039;neosys&#039; is the username)&lt;br /&gt;
&lt;br /&gt;
=== Installing and configuring UltraVNC ===&lt;br /&gt;
&lt;br /&gt;
Download UltraVNC from http://www.ultravnc.com&lt;br /&gt;
&lt;br /&gt;
Run installation – all default options EXCEPT choose INSTALL AS A SERVICE, and START SERVICE.&lt;br /&gt;
&lt;br /&gt;
((screenshot required))&lt;br /&gt;
&lt;br /&gt;
Run ‘Service Helper’ under UltraVNC Server in case you don’t see vnc tray icon on the notification area.&lt;br /&gt;
&lt;br /&gt;
Admin options should make the following changes:&lt;br /&gt;
[[Image:Vncadmin.png]]&lt;br /&gt;
# Deselect – Enable Java (to increase security)&lt;br /&gt;
# Select – Allow loopback connection (essential for connection via ssh)&lt;br /&gt;
# Select - Loopback only (to increase security)&lt;br /&gt;
&lt;br /&gt;
[[Image:vncserveraddnewclient55000.png]]&lt;br /&gt;
&lt;br /&gt;
==== Installing and configuring the client ====&lt;br /&gt;
&lt;br /&gt;
It is advisabke to use http over ssh rather than remote access IE inside vnc because the user interface is much faster alhough it might not be so bad using vnc to hosts in the same country&lt;br /&gt;
&lt;br /&gt;
==== Installing Putty ====&lt;br /&gt;
&lt;br /&gt;
http://the.earth.li/~sgtatham/putty/latest/x86/putty.exe&lt;br /&gt;
&lt;br /&gt;
Download putty.exe &amp;gt; run&lt;br /&gt;
&lt;br /&gt;
===== Configuring Putty =====&lt;br /&gt;
&lt;br /&gt;
ssh tunneling local:127.0.0.1:1235--&amp;gt;remote:127.0.0.1:80 so you can do http://127.0.0.1:1235/neosys on your own computer&lt;br /&gt;
&lt;br /&gt;
there are a few computers where it doesnt seem to like the above usually where the target server is on a none-standard port or not listening on 127.0.0.1&lt;br /&gt;
&lt;br /&gt;
so sometimes you have to map local 127.0.0.1:8080 to remote 10.0.0.255:8080 or whatever the listening ip and port is&lt;br /&gt;
&lt;br /&gt;
[[Image:puttysession.png|Fill in the host name of the server computer and the port number.]]&lt;br /&gt;
&lt;br /&gt;
[[Image:puttyssh.png]]&lt;br /&gt;
&lt;br /&gt;
[[Image:puttytunnel.png]]&lt;br /&gt;
 &lt;br /&gt;
Source: 1234 Destination: 127.0.0.1:5900 then click Add&lt;br /&gt;
&lt;br /&gt;
Source: 1235 Destination: 127.0.0.1:80 then click Add&lt;br /&gt;
&lt;br /&gt;
Once tunnels are setup then return to Session tab in putty and save the options then click open to connect to the server. Login as administrator with the servers password.&lt;br /&gt;
&lt;br /&gt;
Ultra VNC Viewer:&lt;br /&gt;
&lt;br /&gt;
As the port mapping is complete, enter 127.0.0.1:1234 to login into the computer screen remotely:&lt;br /&gt;
&lt;br /&gt;
==== Configuring Ultra VNC Viewer Listen mode to use a non-standard port ====&lt;br /&gt;
&lt;br /&gt;
[[Image:vncviewerlisten55000.png]]&lt;br /&gt;
&lt;br /&gt;
==== Troubleshooting Client ====&lt;br /&gt;
&lt;br /&gt;
===== Cygwin login on servers connected to any domain controller =====&lt;br /&gt;
&lt;br /&gt;
If NEOSYS is loaded on a server which is connected to any domain controller, it may require the local administrator password reset.&lt;br /&gt;
&lt;br /&gt;
==== Resolving VNC Password lockout ====&lt;br /&gt;
&lt;br /&gt;
If you connect to a client server through CYGWIN and enter the VNC password 3 times wrong in a row, VNC will block you. &lt;br /&gt;
&lt;br /&gt;
As you have already entered the server through CYGWIN, you can reactivate the blocked VNC by using the following commands on the prompt:&lt;br /&gt;
&lt;br /&gt;
 net stop winvnc&lt;br /&gt;
&lt;br /&gt;
 net start winvnc&lt;br /&gt;
&lt;br /&gt;
== Remote Desktop Connection ==&lt;br /&gt;
&lt;br /&gt;
Servers are normally not exposed to the internet so IT staff and suppliers are often not careful to use strong passwords and use things like &amp;quot;password&amp;quot; or blank.&lt;br /&gt;
&lt;br /&gt;
Given the above, it is NEOSYS policy NOT to use remote desktop via direct access from the internet at all and especially not long term. This is to prevent worms from instantly discovering possible entry points - typically before NEOSYS can even begin to enforce strong administrator password.&lt;br /&gt;
&lt;br /&gt;
If it is otherwise IMPOSSIBLE (difficult or inconvenient does NOT count as impossible!) to avoid using remote desktop protocol to the public internet then a simple and effective way of significantly increasing security is to change the remote desktop port from 3389 to something else e.g. 33890 as per NEOSYS convention.&lt;br /&gt;
&lt;br /&gt;
=== Changing RDC port from standard to nonstandard ===&lt;br /&gt;
&lt;br /&gt;
# Start Registry Editor.&lt;br /&gt;
# Locate and then click the following registry subkey:&lt;br /&gt;
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TerminalServer\WinStations\RDP-Tcp\PortNumber&lt;br /&gt;
# On the Edit menu, click Modify, and then click Decimal.&lt;br /&gt;
# Type the new port number, and then click OK.&lt;br /&gt;
# Quit Registry Editor.&lt;/div&gt;</summary>
		<author><name>Ashwin</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Setting_up_and_using_remote_support&amp;diff=875</id>
		<title>Setting up and using remote support</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=Setting_up_and_using_remote_support&amp;diff=875"/>
		<updated>2012-02-07T14:08:28Z</updated>

		<summary type="html">&lt;p&gt;Ashwin: /* Installing Cygwin with OPENSSH */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Getting agreement of client IT staff to provide remote support ==&lt;br /&gt;
&lt;br /&gt;
[[Letter to obtain agreement of client IT staff to provide remote support]]&lt;br /&gt;
&lt;br /&gt;
== Installing and configuring the server ==&lt;br /&gt;
&lt;br /&gt;
=== Initial Connection to the server before setting up permanent remote connection ===&lt;br /&gt;
&lt;br /&gt;
In case of a remote installation you need to get an initial connection to the server before you can setup Cygwin for a permanent remote connection. For this purpose you can either use your customised reverse connect UltraVNC SC file or the one-time run Teamviewer utility.&lt;br /&gt;
&lt;br /&gt;
Do not use Microsoft Remote Desktop Client (RDP/RDC) on port 3389 at anytime to access the server from the internet since IT suppliers not aware of the situation often setup the initial administrator password to something obvious like &amp;quot;password&amp;quot; or even blank and in this case there is a good chance internet worms will discover the &amp;quot;open door&amp;quot; and install themselves before you get the chance to put a strong password.&lt;br /&gt;
&lt;br /&gt;
=== Installing and configuring SSH ===&lt;br /&gt;
==== Installing Cygwin with OPENSSH ====&lt;br /&gt;
Watch out for non-intuitive steps like clicking &amp;quot;skip&amp;quot; to install something.&lt;br /&gt;
# Read [[Avoiding Corrupt Cygwin Installations]]&lt;br /&gt;
# ENSURE that you are logged in as the local (NOT DOMAIN) administrator&lt;br /&gt;
# Run http://www.cygwin.com/setup.exe&lt;br /&gt;
# Install from Internet&lt;br /&gt;
# Root Directory: &#039;&#039;&#039;c:\cygwin&#039;&#039;&#039;&lt;br /&gt;
# Local Package Directory: &#039;&#039;&#039;c:\cygwin.lib&#039;&#039;&#039;&lt;br /&gt;
# Direct Connection&lt;br /&gt;
# Download Site: &#039;&#039;&#039;http://mirrors.kernel.org&#039;&#039;&#039; (near the bottom)&lt;br /&gt;
# You will now receive a Setup Alert. Click &#039;&#039;&#039;OK&#039;&#039;&#039;&lt;br /&gt;
# Select Packages: Maximise window then click &#039;&#039;&#039;View&#039;&#039;&#039; once to get &#039;&#039;&#039;Full&#039;&#039;&#039;&lt;br /&gt;
# Next to the package &#039;&#039;&#039;OPENSSH&#039;&#039;&#039;, click the word &#039;&#039;&#039;Skip&#039;&#039;&#039; (once!) to get version 4.4p1-1 or later&lt;br /&gt;
# Next to the package &#039;&#039;&#039;NANO&#039;&#039;&#039;, click the word &#039;&#039;&#039;Skip&#039;&#039;&#039; (once!) to get the latest version available&lt;br /&gt;
# Next to the package &#039;&#039;&#039;WGET&#039;&#039;&#039;, click the word &#039;&#039;&#039;Skip&#039;&#039;&#039; (once!) to get the latest version available&lt;br /&gt;
# Next to the package &#039;&#039;&#039;RSYNC&#039;&#039;&#039;, click the word &#039;&#039;&#039;Skip&#039;&#039;&#039; (once!) to get the latest version available&lt;br /&gt;
# Next to the package &#039;&#039;&#039;EMAIL&#039;&#039;&#039;, click the word &#039;&#039;&#039;Skip&#039;&#039;&#039; (once!) to get the latest version available&lt;br /&gt;
# Next to the package &#039;&#039;&#039;WHOIS&#039;&#039;&#039;, click the word &#039;&#039;&#039;Skip&#039;&#039;&#039; (once!) to get the latest version available&lt;br /&gt;
# Check the NEOSYS INSTALLATION CHECKLIST for any other packages to install like the above.&lt;br /&gt;
# Click Next and complete the installation&lt;br /&gt;
&lt;br /&gt;
==== Configuring and starting SSHD ====&lt;br /&gt;
Open the Cygwin icon to get a linux/bash command line and type:&lt;br /&gt;
&lt;br /&gt;
Run the following commands:&lt;br /&gt;
&lt;br /&gt;
 chmod +r /etc/passwd&lt;br /&gt;
 chmod +r /etc/group&lt;br /&gt;
 chmod 777 /var&lt;br /&gt;
&lt;br /&gt;
Thereafter start with the ssh configuration:&lt;br /&gt;
&lt;br /&gt;
 ssh-host-config&lt;br /&gt;
&lt;br /&gt;
Then on the following options type:&lt;br /&gt;
&lt;br /&gt;
 Privilege                   –   YES&lt;br /&gt;
 New local sshd account      -   YES&lt;br /&gt;
 Install SSHD as a service   -   YES&lt;br /&gt;
 Enter value of daemon       -   ntsec&lt;br /&gt;
 Different name              -   NO&lt;br /&gt;
 Create new privileged user  -   YES&lt;br /&gt;
 Enter a password now        -   Set any random password and should not be the same as the neosys server (8 characters min)&lt;br /&gt;
&lt;br /&gt;
At the command prompt type&lt;br /&gt;
&lt;br /&gt;
 net start sshd&lt;br /&gt;
&lt;br /&gt;
==== Configuring SSHD to use a non-standard port number ====&lt;br /&gt;
This is necessary if the router cannot forward port 19580 --&amp;gt; 22 and we don’t want to open port 22 directly.&lt;br /&gt;
&lt;br /&gt;
Capitalization is signification in cygwin/linux commands&lt;br /&gt;
&lt;br /&gt;
open cygwin command prompt&lt;br /&gt;
 cd /etc&lt;br /&gt;
 chown administrator sshd_config&lt;br /&gt;
 nano sshd_config (assuming that you have installed the NANO editor)&lt;br /&gt;
 notepad sshd_config (incase you havent installed the NANO editor)&lt;br /&gt;
Move your cursor to &#039;&#039;&#039;Port 22&#039;&#039;&#039; and change 22 to 19580. ctrl+x to save. On the confirmation type Y and on the next prompt hit enter.&lt;br /&gt;
 chown system sshd_config&lt;br /&gt;
 net stop sshd&lt;br /&gt;
 net start sshd&lt;br /&gt;
&lt;br /&gt;
To check that the connection to port 19580 is successful you can run the following test:&lt;br /&gt;
 ssh -p 19580 administrator@localhost&lt;br /&gt;
&lt;br /&gt;
You will be prompted to confirm the connection (say yes)&lt;br /&gt;
&lt;br /&gt;
Now enter the system password to complete the procedure.&lt;br /&gt;
&lt;br /&gt;
==== Changing ssh login from “Administrator” to “administrator” ====&lt;br /&gt;
Current NEOSYS policy to cater for recent versions of Cygwin is to rename the windows Administrator user to administrator to keep a consistent ssh login across all installations.&lt;br /&gt;
&lt;br /&gt;
If you forget to do this before installing or upgrading Cygwin then you must to the following:&lt;br /&gt;
&lt;br /&gt;
#Rename “Administrator” to “administrator” in Windows&lt;br /&gt;
#In a Cygwin console do:&lt;br /&gt;
&lt;br /&gt;
mkpasswd &amp;gt; /etc/passwd&lt;br /&gt;
&lt;br /&gt;
It should come back with nothing&lt;br /&gt;
&lt;br /&gt;
==== Error while changing Cygwin port 22 to 19580 ====&lt;br /&gt;
Error Message:&lt;br /&gt;
Could not open file for writring: permission denied&lt;br /&gt;
&lt;br /&gt;
Occurence:&lt;br /&gt;
Sometimes When you edit the sshd_config file through NANO.&lt;br /&gt;
&lt;br /&gt;
Solution:&lt;br /&gt;
In SSH shell, follow these commands:&lt;br /&gt;
&lt;br /&gt;
 cp sshd_config ashwin_temp (copies sshd_config to a new file ashwin_temp)&lt;br /&gt;
 rm sshd_config (deletes sshd_config)&lt;br /&gt;
 cp ashwin_temp sshd_config  (copies ashwin_temp to sshd_config)&lt;br /&gt;
&lt;br /&gt;
Incase it does not copy sshd_config to ashwin_temp, than check whether an ashwin_temp filename exists and delete it using the rm command.&lt;br /&gt;
&lt;br /&gt;
==== Opening up ssh connections to additional source ip nos ====&lt;br /&gt;
&lt;br /&gt;
Starting a NEOSYS process will automatically restrict cygwin ssh to accept connections from known NEOSYS company static ip numbers.&lt;br /&gt;
&lt;br /&gt;
In the cygwin command line, insert a line in the list of allowable hosts&lt;br /&gt;
&lt;br /&gt;
DO NOT ALLOW ALL OR GENERAL SSH ACCESS TO NEOSYS CLIENTS SERVERS WITHOUT GETTING PERMISSION *AND* INSTALLING EMAIL ALERTS FOR LOGINS AS DESCRIBED BELOW&lt;br /&gt;
&lt;br /&gt;
 nano /etc/hosts.allow&lt;br /&gt;
&lt;br /&gt;
 sshd: ALL&lt;br /&gt;
&lt;br /&gt;
or a ip numbers or CIDR format&lt;br /&gt;
&lt;br /&gt;
 sshd 12.34.56.78&lt;br /&gt;
 sshd 12.34.0.0/16&lt;br /&gt;
&lt;br /&gt;
==== Setting up email alerts for cygwin ssh logins  ====&lt;br /&gt;
&lt;br /&gt;
Use http://www.cygwin.com/setup.exe to install &amp;quot;email&amp;quot; and &amp;quot;whois&amp;quot; packages&lt;br /&gt;
&lt;br /&gt;
Insert the following script using cygwin command prompt.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;NOTE! it@neosys.com to whatever you want.&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 cd /etc&lt;br /&gt;
 nano sshrc&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
#&lt;br /&gt;
#you configure this&lt;br /&gt;
&lt;br /&gt;
ALERTEMAILADDRESS=it@neosys.com&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
#get the ip number without the ipv6 prefix&lt;br /&gt;
FROMIPNO=`echo $SSH_CLIENT|cut -f 1 -d &amp;quot; &amp;quot;|sed &#039;s/::ffff://&#039;`&lt;br /&gt;
#&lt;br /&gt;
#quit with no message if from a known host&lt;br /&gt;
&lt;br /&gt;
if grep -x $FROMIPNO /etc/trustedipnos&lt;br /&gt;
then exit&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
#get the host name by reverse lookup&lt;br /&gt;
&lt;br /&gt;
FROMHOST=`nslookup $FROMIPNO|grep &amp;quot;name =&amp;quot;`&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
#get whois info about the login ip number&lt;br /&gt;
&lt;br /&gt;
#and pipe it into the mail program&lt;br /&gt;
#&amp;quot;&amp;amp;&amp;quot; on the end creates a new process in order not to delay login&lt;br /&gt;
&lt;br /&gt;
whois $FROMIPNO|\&lt;br /&gt;
email -q -f nl1@neosys.com -s &amp;quot;login $USER $FROMIPNO $FROMHOST&amp;quot; -r \&lt;br /&gt;
mailout.neosys.com -p 2500 $ALERTEMAILADDRESS&amp;amp;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Make sure that you configure the file permissions&lt;br /&gt;
&lt;br /&gt;
 chmod a+x sshrc&lt;br /&gt;
&lt;br /&gt;
Inserted trusted ip nos.&lt;br /&gt;
&lt;br /&gt;
 cd /etc&lt;br /&gt;
 nano trustedipnos&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#sorry, ip ranges and cidr etc not accepted yet&lt;br /&gt;
&lt;br /&gt;
#vm1.neosys.com for remote checking&lt;br /&gt;
85.17.154.105&lt;br /&gt;
&lt;br /&gt;
#nl1.neosys.com&lt;br /&gt;
83.149.104.167&lt;br /&gt;
&lt;br /&gt;
#nl2.neosys.com&lt;br /&gt;
85.17.154.66&lt;br /&gt;
&lt;br /&gt;
#uk.neosys.com&lt;br /&gt;
78.143.212.191&lt;br /&gt;
&lt;br /&gt;
#nl3.neosys.com&lt;br /&gt;
94.75.233.2&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Make sure that you configure the file permissions&lt;br /&gt;
&lt;br /&gt;
 chmod a+x sshrc&lt;br /&gt;
&lt;br /&gt;
==== Troubleshooting SSH: If SSH connects and then disconnects immediately without exchanging keys ====&lt;br /&gt;
 &lt;br /&gt;
The first time that NEOSYS runs, it automatically adds source ip number restrictions to the sshd remote support configuration in /etc/hosts.allow and /etc/hosts.deny. This is an important security procedure to allow connection to clients systems from NEOSYS ip numbers only. This process allows only local and known NEOSYS ip numbers to connect using SSH. Upgrading NEOSYS will add and/or remove allowable ip numbers as NEOSYS configuration changes.&lt;br /&gt;
&lt;br /&gt;
It is possible that in some client network configurations incoming ssh connections will appear to be from the clients internal routers with an ip unknown to NEOSYS due to NAT configurations. Therefore ssh connections will be blocked unless specifically allow the local ip number or it is added into an upgraded version of NEOSYS.&lt;br /&gt;
&lt;br /&gt;
NOTE: Therefore you must check that remote support via ssh works AFTER you have run NEOSYS once (maintenance mode). &lt;br /&gt;
 &lt;br /&gt;
#Look in the Windows, Computer Management, System Tools, Event Viewer, Application&lt;br /&gt;
#Search for entries from source &amp;quot;sshd&amp;quot;, double click and look in the Event Properties, Description for ip numbers&lt;br /&gt;
#Information type sshd entries will give the ip number of successful sshd connections.&lt;br /&gt;
#Warning type sshd entries will give the ip number of failed sshd connections.&lt;br /&gt;
#Find the ip number of failed connections.&lt;br /&gt;
&lt;br /&gt;
===== Possible Problem 1 - Port mapping in router is using NAT =====&lt;br /&gt;
&lt;br /&gt;
If the ip number of failed connections is some local ip number (of the router for example) then possibly the inbound port forwarding has been done with NAT and the source ip number has been lost. Therefore the NEOSYS ip restrictions are blocking ssh connections because they appear to be coming from an unknown ip number (ie that of the router)&lt;br /&gt;
&lt;br /&gt;
===== Solution 1A =====&lt;br /&gt;
&lt;br /&gt;
Change the router configuration to not use NAT and leave the genuine original source IP number&lt;br /&gt;
&lt;br /&gt;
===== Solution 1B =====&lt;br /&gt;
&lt;br /&gt;
DO NOT USE THIS PROCEDURE TO BREAK NEOSYS SECURITY&lt;br /&gt;
 &lt;br /&gt;
DO NOT GRANT ACCESS TO ANY IP OTHER THAN CLIENTS ROUTER IPS&lt;br /&gt;
&lt;br /&gt;
Add the routers IP number to the list of authorised ip numbers in the cygwin hosts.allow file as follows:&lt;br /&gt;
&lt;br /&gt;
 nano /etc/hosts.allow&lt;br /&gt;
&lt;br /&gt;
and add the line as follows ... but put the ip number of your router&lt;br /&gt;
&lt;br /&gt;
 sshd: allow 192.168.0.99&lt;br /&gt;
&lt;br /&gt;
#router - sadly using NAT instead of plain old port forwarding&lt;br /&gt;
#if the router ip changes then neosys remote support will fail until this line is changed&lt;br /&gt;
#NB do not grant access to 192.168.* etc since this allows local LAN viruses to attack&lt;br /&gt;
&lt;br /&gt;
==== Troubleshooting sshd ====&lt;br /&gt;
&lt;br /&gt;
You can run the sshd service interactively to see all messages instead of having to search logs/events etc.&lt;br /&gt;
&lt;br /&gt;
Unfortunately this will not work the same as the normal windows sshd service unless you assume the identity of the sshd_server user. To assume the identity of the sshd_server user you will have to reset its password to something new (since we dont take a record of it during sshd-host-setup) AND ALSO place the new password in the logon properties of the sshd windows service.&lt;br /&gt;
&lt;br /&gt;
 su sshd_server&lt;br /&gt;
 /usr/sbin/sshd -D -p 19580&lt;br /&gt;
&lt;br /&gt;
==== Reinstalling SSHD if service fails to startup ====&lt;br /&gt;
&lt;br /&gt;
#Look in &#039;&#039;&#039;/var/log/sshd.log&#039;&#039;&#039; for errors&lt;br /&gt;
#Delete the following users: &#039;&#039;&#039;sshd&#039;&#039;&#039; and &#039;&#039;&#039;sshd_server&#039;&#039;&#039;&lt;br /&gt;
#Remove the sshd service at the cygwin prompt type &#039;&#039;&#039;cygrunsrv –R sshd&#039;&#039;&#039;&lt;br /&gt;
#Do the above Configuration and starting SSHD step again&lt;br /&gt;
&lt;br /&gt;
Note that you don&#039;t have to reinstall cygwin entirely, just sshd with the above steps.&lt;br /&gt;
&lt;br /&gt;
==== Upgrading SSHD / Cygwin ====&lt;br /&gt;
NEOSYS relies on cygwin to provide secure network access and support various linux/unix services under Windows, mainly rsync for interoffice consolidation.&lt;br /&gt;
&lt;br /&gt;
Just like MS Windows update, cygwin should be updated at regular intervals to close security holes discovered in the software by its authors. This is particularly important for cygwin&#039;s remote access service sshd since it is exposed to the internet although on a non-standard port.&lt;br /&gt;
&lt;br /&gt;
TO DO: Find a simple way to learn about when cygwin upgrades sshd and/or when there are issues generally with sshd. Join the cygwin and sshd security news email lists.&lt;br /&gt;
&lt;br /&gt;
To find out what versions of cygwin/sshd are installed at NEOSYS clients, look at Nagios, last column &amp;quot;Status Information&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
http://vm1.neosys.com/nagios3/cgi-bin/status.cgi?servicegroup=neosys-ssh&amp;amp;style=detail%22SSH%20OK%20-%20OpenSSH_5.9%20%28protocol%202.0%29%22&lt;br /&gt;
&lt;br /&gt;
eg&lt;br /&gt;
&lt;br /&gt;
 SSH OK - OpenSSH_5.9 (protocol 2.0) &lt;br /&gt;
&lt;br /&gt;
===== Upgrading Cygwin Without requiring a server reboot =====&lt;br /&gt;
NEOSYS normal remote server support connection uses cygwin/ssh. cygwin can be upgraded while in use but only if a reboot is performed and perhaps some cygwin packages reinstalled. &lt;br /&gt;
&lt;br /&gt;
You can use:&lt;br /&gt;
*vnc server&lt;br /&gt;
*direct rdp connection&lt;br /&gt;
*directly on the server&lt;br /&gt;
*teamviewer started manually on the server&lt;br /&gt;
&lt;br /&gt;
You cannot use:&lt;br /&gt;
*standard NEOSYS remote support connection using rdp/cygwin/sshd&lt;br /&gt;
*teamviewer started using a standard NEOSYS remote support connection.&lt;br /&gt;
&lt;br /&gt;
Procedure:&lt;br /&gt;
&lt;br /&gt;
1. If not already done, rename Windows “Administrator” user to “administrator” before upgrading&lt;br /&gt;
&lt;br /&gt;
2. Stop all programs and services that use cygwin. (Only sshd is installed as standard on all NEOSYS clients)&lt;br /&gt;
&lt;br /&gt;
 net stop sshd&lt;br /&gt;
 net stop cygwinrsync&lt;br /&gt;
 net stop exim&lt;br /&gt;
&lt;br /&gt;
3. Kill any remaining cygwin processes in task viewer. This will terminate any standard NEOSYS remote connections using cygwin/sshd/tunnelier.&lt;br /&gt;
&lt;br /&gt;
 sshd&lt;br /&gt;
 cygrunsvr&lt;br /&gt;
&lt;br /&gt;
4. Follow the usual cygwin installation procedure and it will upgrade all installed packages automatically.&lt;br /&gt;
*If you get a message &amp;quot;files in use&amp;quot; then click &amp;quot;retry&amp;quot; AFTER killing any running processes that use the cygwin1.dll. Search Google if you dont know how to do this, or follow the instructions in the next section which requires a reboot.&lt;br /&gt;
&lt;br /&gt;
5. Start the NEOSYS remote connection service - cygwin/sshd, and any cygwin services stopped in step 1.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 net start sshd&lt;br /&gt;
 net start cygwinrsync&lt;br /&gt;
 net start exim&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Upgrading Cygwin with server reboot =====&lt;br /&gt;
If not already done, rename Windows “Administrator” user to “administrator” before upgrading&lt;br /&gt;
&lt;br /&gt;
Connect using usual NEOSYS remote support.&lt;br /&gt;
&lt;br /&gt;
Follow the usual cygwin installation procedure.&lt;br /&gt;
&lt;br /&gt;
If and when cygwin &amp;quot;says files in use&amp;quot; then at console command prompt then click &amp;quot;continue&amp;quot;. NB &amp;quot;retry&amp;quot; will not work because your NEOSYS  remote support uses files like cygwin1.dll that are being updated by cygwin.&lt;br /&gt;
&lt;br /&gt;
If you have used the &amp;quot;continue&amp;quot; option then, towards the end of the cygwin installation process, you may get error messages similar to the one below.&lt;br /&gt;
You can ignore them.&lt;br /&gt;
&lt;br /&gt;
 &amp;quot;the procedure point __ctype_ptr__ could not be located in the dynamic link library cygwin1.dll&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Finally, you may get a message &amp;quot;postinstall script errors&amp;quot;. Copy this message so you know what packages have to be reinstalled.&lt;br /&gt;
&lt;br /&gt;
Your list may vary! The list of packages is longer if the cygwin1.dll file has to be upgraded as this is an essential library file for all cygwin programs.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 Package: base-cygwin&lt;br /&gt;
 Package: coreutils&lt;br /&gt;
 Package: bash&lt;br /&gt;
 Package: terminfo&lt;br /&gt;
 Package: _update-info-dir&lt;br /&gt;
 Package: base-files&lt;br /&gt;
 Package: colordiff&lt;br /&gt;
 Package: man&lt;br /&gt;
 Package: terminfo0&lt;br /&gt;
 Package: vim&lt;br /&gt;
 Package: wget&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Reboot the server and check that you can connect using usual NEOSYS remote support.&lt;br /&gt;
&lt;br /&gt;
*The login user name might be changed to &amp;quot;Administrator&amp;quot; instead of &amp;quot;administrator&amp;quot;.&lt;br /&gt;
*If you cannot reconnect after rebooting then the following steps (in particular the cygwin sshd package) may have to be performed directly on the server directly or using the usual initial NEOSYS remote installation procedures that do not rely on cygwin/sshd.&lt;br /&gt;
&lt;br /&gt;
Reinstall any problematic Cygwin packages&lt;br /&gt;
#Select View: &amp;quot;Up to date&amp;quot;&lt;br /&gt;
#&amp;quot;Keep&amp;quot; to &amp;quot;Reinstall&amp;quot; for the packages listed in the previous section.&lt;br /&gt;
&lt;br /&gt;
Finally, check that you can run the ls command in a cygwin command prompt window.&lt;br /&gt;
&lt;br /&gt;
==== How to uninstall/reinstall cygwin ====&lt;br /&gt;
&lt;br /&gt;
With setup.exe (the installer file of cygwin) you can uninstall individual packages but not Cygwin.&lt;br /&gt;
&lt;br /&gt;
Before you do this, make sure you have stopped the cygwin service (NET STOP SSHD), removed the sshd server (cygrunsrv -R sshd), deleted the users (sshd &amp;amp; sshd_server).&lt;br /&gt;
&lt;br /&gt;
To uninstall Cygwin you have to run the following in DOS prompt:&lt;br /&gt;
&lt;br /&gt;
 rmdir /s /q C:\cygwin&lt;br /&gt;
&lt;br /&gt;
You cannot delete the cygwin folder from Windows explorer due to a Access Denied error and this is the best way to uninstall cygwin.&lt;br /&gt;
&lt;br /&gt;
==== Getting Ownership and Permissions Correct ====&lt;br /&gt;
&lt;br /&gt;
Installation of cygrin under domain administrator account needs to be fixed as follows:&lt;br /&gt;
&lt;br /&gt;
#c:\cygin Properties, Security, Advanced&lt;br /&gt;
#Change owner to: Administrators&lt;br /&gt;
#Tick: Replace owner on subcontainers&lt;br /&gt;
&lt;br /&gt;
After changing ownership of all cygwin folders to Administrators all ssh login will be blocked and you will get a windows application event log message. &amp;quot;root&amp;quot; actually means sshd&#039;s user which is sshd_server by default or can be found in the cygwin ssh windows services properties under log on&lt;br /&gt;
&lt;br /&gt;
 fatal: /var/empty must be owned by root and not group or world-writable.&lt;br /&gt;
&lt;br /&gt;
Fix this in cygwin console as follows:&lt;br /&gt;
&lt;br /&gt;
 chown sshd_server /var/empty&lt;br /&gt;
&lt;br /&gt;
==== Configuring Firewall/Router ====&lt;br /&gt;
&lt;br /&gt;
You will have to port forward 19580 on the router to port 19580 on the neosys server. Some routers call port forwarding “port mapping” or “virtual servers”&lt;br /&gt;
&lt;br /&gt;
It is BAD idea to simply open port 22 since an open port 22 attracts scanners/hackers like flies.&lt;br /&gt;
&lt;br /&gt;
Also configure port forwarding of port 4430 to port 4430. This is for remote access via https if desired at a later date.&lt;br /&gt;
&lt;br /&gt;
==== Configuring Specific Client Routers ====&lt;br /&gt;
&lt;br /&gt;
[[Adline Dubai - CISCO PIX Firewall]]&lt;br /&gt;
&lt;br /&gt;
[[Sonicwall Firewall Configuration]]&lt;br /&gt;
&lt;br /&gt;
==== How to install ssh on port 19580 over vnc on port 19580 ====&lt;br /&gt;
&lt;br /&gt;
Install vnc on port 19580&lt;br /&gt;
 &lt;br /&gt;
connect on vnc&lt;br /&gt;
 &lt;br /&gt;
setup cygwin sshd on port 22&lt;br /&gt;
 &lt;br /&gt;
test you can login on port 22&lt;br /&gt;
&lt;br /&gt;
 ssh neosys@127.0.0.1&lt;br /&gt;
 &lt;br /&gt;
change sshd port to 19580 (but it wont start)&lt;br /&gt;
 &lt;br /&gt;
schedule a windows system reboot in 10 mins at windows command prompt&lt;br /&gt;
 &lt;br /&gt;
 shutdown -t 600&lt;br /&gt;
 &lt;br /&gt;
change vnc port to 5900 (if will disconnect you)&lt;br /&gt;
 &lt;br /&gt;
wait for 10 mins and try to ssh login on port 19580&lt;br /&gt;
&lt;br /&gt;
==== Changing user on Cygwin ====&lt;br /&gt;
&lt;br /&gt;
On SSH command line:&lt;br /&gt;
&lt;br /&gt;
 ssh neosys@127.0.0.1 (where &#039;neosys&#039; is the username)&lt;br /&gt;
&lt;br /&gt;
=== Installing and configuring UltraVNC ===&lt;br /&gt;
&lt;br /&gt;
Download UltraVNC from http://www.ultravnc.com&lt;br /&gt;
&lt;br /&gt;
Run installation – all default options EXCEPT choose INSTALL AS A SERVICE, and START SERVICE.&lt;br /&gt;
&lt;br /&gt;
((screenshot required))&lt;br /&gt;
&lt;br /&gt;
Run ‘Service Helper’ under UltraVNC Server in case you don’t see vnc tray icon on the notification area.&lt;br /&gt;
&lt;br /&gt;
Admin options should make the following changes:&lt;br /&gt;
[[Image:Vncadmin.png]]&lt;br /&gt;
# Deselect – Enable Java (to increase security)&lt;br /&gt;
# Select – Allow loopback connection (essential for connection via ssh)&lt;br /&gt;
# Select - Loopback only (to increase security)&lt;br /&gt;
&lt;br /&gt;
[[Image:vncserveraddnewclient55000.png]]&lt;br /&gt;
&lt;br /&gt;
==== Installing and configuring the client ====&lt;br /&gt;
&lt;br /&gt;
It is advisabke to use http over ssh rather than remote access IE inside vnc because the user interface is much faster alhough it might not be so bad using vnc to hosts in the same country&lt;br /&gt;
&lt;br /&gt;
==== Installing Putty ====&lt;br /&gt;
&lt;br /&gt;
http://the.earth.li/~sgtatham/putty/latest/x86/putty.exe&lt;br /&gt;
&lt;br /&gt;
Download putty.exe &amp;gt; run&lt;br /&gt;
&lt;br /&gt;
===== Configuring Putty =====&lt;br /&gt;
&lt;br /&gt;
ssh tunneling local:127.0.0.1:1235--&amp;gt;remote:127.0.0.1:80 so you can do http://127.0.0.1:1235/neosys on your own computer&lt;br /&gt;
&lt;br /&gt;
there are a few computers where it doesnt seem to like the above usually where the target server is on a none-standard port or not listening on 127.0.0.1&lt;br /&gt;
&lt;br /&gt;
so sometimes you have to map local 127.0.0.1:8080 to remote 10.0.0.255:8080 or whatever the listening ip and port is&lt;br /&gt;
&lt;br /&gt;
[[Image:puttysession.png|Fill in the host name of the server computer and the port number.]]&lt;br /&gt;
&lt;br /&gt;
[[Image:puttyssh.png]]&lt;br /&gt;
&lt;br /&gt;
[[Image:puttytunnel.png]]&lt;br /&gt;
 &lt;br /&gt;
Source: 1234 Destination: 127.0.0.1:5900 then click Add&lt;br /&gt;
&lt;br /&gt;
Source: 1235 Destination: 127.0.0.1:80 then click Add&lt;br /&gt;
&lt;br /&gt;
Once tunnels are setup then return to Session tab in putty and save the options then click open to connect to the server. Login as administrator with the servers password.&lt;br /&gt;
&lt;br /&gt;
Ultra VNC Viewer:&lt;br /&gt;
&lt;br /&gt;
As the port mapping is complete, enter 127.0.0.1:1234 to login into the computer screen remotely:&lt;br /&gt;
&lt;br /&gt;
==== Configuring Ultra VNC Viewer Listen mode to use a non-standard port ====&lt;br /&gt;
&lt;br /&gt;
[[Image:vncviewerlisten55000.png]]&lt;br /&gt;
&lt;br /&gt;
==== Troubleshooting Client ====&lt;br /&gt;
&lt;br /&gt;
===== Cygwin login on servers connected to any domain controller =====&lt;br /&gt;
&lt;br /&gt;
If NEOSYS is loaded on a server which is connected to any domain controller, it may require the local administrator password reset.&lt;br /&gt;
&lt;br /&gt;
==== Resolving VNC Password lockout ====&lt;br /&gt;
&lt;br /&gt;
If you connect to a client server through CYGWIN and enter the VNC password 3 times wrong in a row, VNC will block you. &lt;br /&gt;
&lt;br /&gt;
As you have already entered the server through CYGWIN, you can reactivate the blocked VNC by using the following commands on the prompt:&lt;br /&gt;
&lt;br /&gt;
 net stop winvnc&lt;br /&gt;
&lt;br /&gt;
 net start winvnc&lt;br /&gt;
&lt;br /&gt;
== Remote Desktop Connection ==&lt;br /&gt;
&lt;br /&gt;
Servers are normally not exposed to the internet so IT staff and suppliers are often not careful to use strong passwords and use things like &amp;quot;password&amp;quot; or blank.&lt;br /&gt;
&lt;br /&gt;
Given the above, it is NEOSYS policy NOT to use remote desktop via direct access from the internet at all and especially not long term. This is to prevent worms from instantly discovering possible entry points - typically before NEOSYS can even begin to enforce strong administrator password.&lt;br /&gt;
&lt;br /&gt;
If it is otherwise IMPOSSIBLE (difficult or inconvenient does NOT count as impossible!) to avoid using remote desktop protocol to the public internet then a simple and effective way of significantly increasing security is to change the remote desktop port from 3389 to something else e.g. 33890 as per NEOSYS convention.&lt;br /&gt;
&lt;br /&gt;
=== Changing RDC port from standard to nonstandard ===&lt;br /&gt;
&lt;br /&gt;
# Start Registry Editor.&lt;br /&gt;
# Locate and then click the following registry subkey:&lt;br /&gt;
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TerminalServer\WinStations\RDP-Tcp\PortNumber&lt;br /&gt;
# On the Edit menu, click Modify, and then click Decimal.&lt;br /&gt;
# Type the new port number, and then click OK.&lt;br /&gt;
# Quit Registry Editor.&lt;/div&gt;</summary>
		<author><name>Ashwin</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Setting_up_and_using_remote_support&amp;diff=874</id>
		<title>Setting up and using remote support</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=Setting_up_and_using_remote_support&amp;diff=874"/>
		<updated>2012-02-07T13:39:54Z</updated>

		<summary type="html">&lt;p&gt;Ashwin: /* Installing Cygwin with OPENSSH */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Getting agreement of client IT staff to provide remote support ==&lt;br /&gt;
&lt;br /&gt;
[[Letter to obtain agreement of client IT staff to provide remote support]]&lt;br /&gt;
&lt;br /&gt;
== Installing and configuring the server ==&lt;br /&gt;
&lt;br /&gt;
=== Initial Connection to the server before setting up permanent remote connection ===&lt;br /&gt;
&lt;br /&gt;
In case of a remote installation you need to get an initial connection to the server before you can setup Cygwin for a permanent remote connection. For this purpose you can either use your customised reverse connect UltraVNC SC file or the one-time run Teamviewer utility.&lt;br /&gt;
&lt;br /&gt;
Do not use Microsoft Remote Desktop Client (RDP/RDC) on port 3389 at anytime to access the server from the internet since IT suppliers not aware of the situation often setup the initial administrator password to something obvious like &amp;quot;password&amp;quot; or even blank and in this case there is a good chance internet worms will discover the &amp;quot;open door&amp;quot; and install themselves before you get the chance to put a strong password.&lt;br /&gt;
&lt;br /&gt;
=== Installing and configuring SSH ===&lt;br /&gt;
==== Installing Cygwin with OPENSSH ====&lt;br /&gt;
Watch out for non-intuitive steps like clicking &amp;quot;skip&amp;quot; to install something.&lt;br /&gt;
# Read [[Avoiding Corrupt Cygwin Installations]]&lt;br /&gt;
# ENSURE that you are logged in as the local (NOT DOMAIN) administrator&lt;br /&gt;
# Run http://www.cygwin.com/setup.exe&lt;br /&gt;
# Install from Internet&lt;br /&gt;
# Root Directory: &#039;&#039;&#039;c:\cygwin&#039;&#039;&#039;&lt;br /&gt;
# Local Package Directory: &#039;&#039;&#039;c:\cygwin.lib&#039;&#039;&#039;&lt;br /&gt;
# Direct Connection&lt;br /&gt;
# Download Site: &#039;&#039;&#039;http://mirrors.kernal.org&#039;&#039;&#039; (near the bottom)&lt;br /&gt;
# You will now receive a Setup Alert. Click &#039;&#039;&#039;OK&#039;&#039;&#039;&lt;br /&gt;
# Select Packages: Maximise window then click &#039;&#039;&#039;View&#039;&#039;&#039; once to get &#039;&#039;&#039;Full&#039;&#039;&#039;&lt;br /&gt;
# Next to the package &#039;&#039;&#039;OPENSSH&#039;&#039;&#039;, click the word &#039;&#039;&#039;Skip&#039;&#039;&#039; (once!) to get version 4.4p1-1 or later&lt;br /&gt;
# Next to the package &#039;&#039;&#039;NANO&#039;&#039;&#039;, click the word &#039;&#039;&#039;Skip&#039;&#039;&#039; (once!) to get the latest version available&lt;br /&gt;
# Next to the package &#039;&#039;&#039;WGET&#039;&#039;&#039;, click the word &#039;&#039;&#039;Skip&#039;&#039;&#039; (once!) to get the latest version available&lt;br /&gt;
# Next to the package &#039;&#039;&#039;RSYNC&#039;&#039;&#039;, click the word &#039;&#039;&#039;Skip&#039;&#039;&#039; (once!) to get the latest version available&lt;br /&gt;
# Next to the package &#039;&#039;&#039;EMAIL&#039;&#039;&#039;, click the word &#039;&#039;&#039;Skip&#039;&#039;&#039; (once!) to get the latest version available&lt;br /&gt;
# Next to the package &#039;&#039;&#039;WHOIS&#039;&#039;&#039;, click the word &#039;&#039;&#039;Skip&#039;&#039;&#039; (once!) to get the latest version available&lt;br /&gt;
# Check the NEOSYS INSTALLATION CHECKLIST for any other packages to install like the above.&lt;br /&gt;
# Click Next and complete the installation&lt;br /&gt;
&lt;br /&gt;
==== Configuring and starting SSHD ====&lt;br /&gt;
Open the Cygwin icon to get a linux/bash command line and type:&lt;br /&gt;
&lt;br /&gt;
Run the following commands:&lt;br /&gt;
&lt;br /&gt;
 chmod +r /etc/passwd&lt;br /&gt;
 chmod +r /etc/group&lt;br /&gt;
 chmod 777 /var&lt;br /&gt;
&lt;br /&gt;
Thereafter start with the ssh configuration:&lt;br /&gt;
&lt;br /&gt;
 ssh-host-config&lt;br /&gt;
&lt;br /&gt;
Then on the following options type:&lt;br /&gt;
&lt;br /&gt;
 Privilege                   –   YES&lt;br /&gt;
 New local sshd account      -   YES&lt;br /&gt;
 Install SSHD as a service   -   YES&lt;br /&gt;
 Enter value of daemon       -   ntsec&lt;br /&gt;
 Different name              -   NO&lt;br /&gt;
 Create new privileged user  -   YES&lt;br /&gt;
 Enter a password now        -   Set any random password and should not be the same as the neosys server (8 characters min)&lt;br /&gt;
&lt;br /&gt;
At the command prompt type&lt;br /&gt;
&lt;br /&gt;
 net start sshd&lt;br /&gt;
&lt;br /&gt;
==== Configuring SSHD to use a non-standard port number ====&lt;br /&gt;
This is necessary if the router cannot forward port 19580 --&amp;gt; 22 and we don’t want to open port 22 directly.&lt;br /&gt;
&lt;br /&gt;
Capitalization is signification in cygwin/linux commands&lt;br /&gt;
&lt;br /&gt;
open cygwin command prompt&lt;br /&gt;
 cd /etc&lt;br /&gt;
 chown administrator sshd_config&lt;br /&gt;
 nano sshd_config (assuming that you have installed the NANO editor)&lt;br /&gt;
 notepad sshd_config (incase you havent installed the NANO editor)&lt;br /&gt;
Move your cursor to &#039;&#039;&#039;Port 22&#039;&#039;&#039; and change 22 to 19580. ctrl+x to save. On the confirmation type Y and on the next prompt hit enter.&lt;br /&gt;
 chown system sshd_config&lt;br /&gt;
 net stop sshd&lt;br /&gt;
 net start sshd&lt;br /&gt;
&lt;br /&gt;
To check that the connection to port 19580 is successful you can run the following test:&lt;br /&gt;
 ssh -p 19580 administrator@localhost&lt;br /&gt;
&lt;br /&gt;
You will be prompted to confirm the connection (say yes)&lt;br /&gt;
&lt;br /&gt;
Now enter the system password to complete the procedure.&lt;br /&gt;
&lt;br /&gt;
==== Changing ssh login from “Administrator” to “administrator” ====&lt;br /&gt;
Current NEOSYS policy to cater for recent versions of Cygwin is to rename the windows Administrator user to administrator to keep a consistent ssh login across all installations.&lt;br /&gt;
&lt;br /&gt;
If you forget to do this before installing or upgrading Cygwin then you must to the following:&lt;br /&gt;
&lt;br /&gt;
#Rename “Administrator” to “administrator” in Windows&lt;br /&gt;
#In a Cygwin console do:&lt;br /&gt;
&lt;br /&gt;
mkpasswd &amp;gt; /etc/passwd&lt;br /&gt;
&lt;br /&gt;
It should come back with nothing&lt;br /&gt;
&lt;br /&gt;
==== Error while changing Cygwin port 22 to 19580 ====&lt;br /&gt;
Error Message:&lt;br /&gt;
Could not open file for writring: permission denied&lt;br /&gt;
&lt;br /&gt;
Occurence:&lt;br /&gt;
Sometimes When you edit the sshd_config file through NANO.&lt;br /&gt;
&lt;br /&gt;
Solution:&lt;br /&gt;
In SSH shell, follow these commands:&lt;br /&gt;
&lt;br /&gt;
 cp sshd_config ashwin_temp (copies sshd_config to a new file ashwin_temp)&lt;br /&gt;
 rm sshd_config (deletes sshd_config)&lt;br /&gt;
 cp ashwin_temp sshd_config  (copies ashwin_temp to sshd_config)&lt;br /&gt;
&lt;br /&gt;
Incase it does not copy sshd_config to ashwin_temp, than check whether an ashwin_temp filename exists and delete it using the rm command.&lt;br /&gt;
&lt;br /&gt;
==== Opening up ssh connections to additional source ip nos ====&lt;br /&gt;
&lt;br /&gt;
Starting a NEOSYS process will automatically restrict cygwin ssh to accept connections from known NEOSYS company static ip numbers.&lt;br /&gt;
&lt;br /&gt;
In the cygwin command line, insert a line in the list of allowable hosts&lt;br /&gt;
&lt;br /&gt;
DO NOT ALLOW ALL OR GENERAL SSH ACCESS TO NEOSYS CLIENTS SERVERS WITHOUT GETTING PERMISSION *AND* INSTALLING EMAIL ALERTS FOR LOGINS AS DESCRIBED BELOW&lt;br /&gt;
&lt;br /&gt;
 nano /etc/hosts.allow&lt;br /&gt;
&lt;br /&gt;
 sshd: ALL&lt;br /&gt;
&lt;br /&gt;
or a ip numbers or CIDR format&lt;br /&gt;
&lt;br /&gt;
 sshd 12.34.56.78&lt;br /&gt;
 sshd 12.34.0.0/16&lt;br /&gt;
&lt;br /&gt;
==== Setting up email alerts for cygwin ssh logins  ====&lt;br /&gt;
&lt;br /&gt;
Use http://www.cygwin.com/setup.exe to install &amp;quot;email&amp;quot; and &amp;quot;whois&amp;quot; packages&lt;br /&gt;
&lt;br /&gt;
Insert the following script using cygwin command prompt.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;NOTE! it@neosys.com to whatever you want.&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 cd /etc&lt;br /&gt;
 nano sshrc&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
#&lt;br /&gt;
#you configure this&lt;br /&gt;
&lt;br /&gt;
ALERTEMAILADDRESS=it@neosys.com&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
#get the ip number without the ipv6 prefix&lt;br /&gt;
FROMIPNO=`echo $SSH_CLIENT|cut -f 1 -d &amp;quot; &amp;quot;|sed &#039;s/::ffff://&#039;`&lt;br /&gt;
#&lt;br /&gt;
#quit with no message if from a known host&lt;br /&gt;
&lt;br /&gt;
if grep -x $FROMIPNO /etc/trustedipnos&lt;br /&gt;
then exit&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
#get the host name by reverse lookup&lt;br /&gt;
&lt;br /&gt;
FROMHOST=`nslookup $FROMIPNO|grep &amp;quot;name =&amp;quot;`&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
#get whois info about the login ip number&lt;br /&gt;
&lt;br /&gt;
#and pipe it into the mail program&lt;br /&gt;
#&amp;quot;&amp;amp;&amp;quot; on the end creates a new process in order not to delay login&lt;br /&gt;
&lt;br /&gt;
whois $FROMIPNO|\&lt;br /&gt;
email -q -f nl1@neosys.com -s &amp;quot;login $USER $FROMIPNO $FROMHOST&amp;quot; -r \&lt;br /&gt;
mailout.neosys.com -p 2500 $ALERTEMAILADDRESS&amp;amp;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Make sure that you configure the file permissions&lt;br /&gt;
&lt;br /&gt;
 chmod a+x sshrc&lt;br /&gt;
&lt;br /&gt;
Inserted trusted ip nos.&lt;br /&gt;
&lt;br /&gt;
 cd /etc&lt;br /&gt;
 nano trustedipnos&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#sorry, ip ranges and cidr etc not accepted yet&lt;br /&gt;
&lt;br /&gt;
#vm1.neosys.com for remote checking&lt;br /&gt;
85.17.154.105&lt;br /&gt;
&lt;br /&gt;
#nl1.neosys.com&lt;br /&gt;
83.149.104.167&lt;br /&gt;
&lt;br /&gt;
#nl2.neosys.com&lt;br /&gt;
85.17.154.66&lt;br /&gt;
&lt;br /&gt;
#uk.neosys.com&lt;br /&gt;
78.143.212.191&lt;br /&gt;
&lt;br /&gt;
#nl3.neosys.com&lt;br /&gt;
94.75.233.2&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Make sure that you configure the file permissions&lt;br /&gt;
&lt;br /&gt;
 chmod a+x sshrc&lt;br /&gt;
&lt;br /&gt;
==== Troubleshooting SSH: If SSH connects and then disconnects immediately without exchanging keys ====&lt;br /&gt;
 &lt;br /&gt;
The first time that NEOSYS runs, it automatically adds source ip number restrictions to the sshd remote support configuration in /etc/hosts.allow and /etc/hosts.deny. This is an important security procedure to allow connection to clients systems from NEOSYS ip numbers only. This process allows only local and known NEOSYS ip numbers to connect using SSH. Upgrading NEOSYS will add and/or remove allowable ip numbers as NEOSYS configuration changes.&lt;br /&gt;
&lt;br /&gt;
It is possible that in some client network configurations incoming ssh connections will appear to be from the clients internal routers with an ip unknown to NEOSYS due to NAT configurations. Therefore ssh connections will be blocked unless specifically allow the local ip number or it is added into an upgraded version of NEOSYS.&lt;br /&gt;
&lt;br /&gt;
NOTE: Therefore you must check that remote support via ssh works AFTER you have run NEOSYS once (maintenance mode). &lt;br /&gt;
 &lt;br /&gt;
#Look in the Windows, Computer Management, System Tools, Event Viewer, Application&lt;br /&gt;
#Search for entries from source &amp;quot;sshd&amp;quot;, double click and look in the Event Properties, Description for ip numbers&lt;br /&gt;
#Information type sshd entries will give the ip number of successful sshd connections.&lt;br /&gt;
#Warning type sshd entries will give the ip number of failed sshd connections.&lt;br /&gt;
#Find the ip number of failed connections.&lt;br /&gt;
&lt;br /&gt;
===== Possible Problem 1 - Port mapping in router is using NAT =====&lt;br /&gt;
&lt;br /&gt;
If the ip number of failed connections is some local ip number (of the router for example) then possibly the inbound port forwarding has been done with NAT and the source ip number has been lost. Therefore the NEOSYS ip restrictions are blocking ssh connections because they appear to be coming from an unknown ip number (ie that of the router)&lt;br /&gt;
&lt;br /&gt;
===== Solution 1A =====&lt;br /&gt;
&lt;br /&gt;
Change the router configuration to not use NAT and leave the genuine original source IP number&lt;br /&gt;
&lt;br /&gt;
===== Solution 1B =====&lt;br /&gt;
&lt;br /&gt;
DO NOT USE THIS PROCEDURE TO BREAK NEOSYS SECURITY&lt;br /&gt;
 &lt;br /&gt;
DO NOT GRANT ACCESS TO ANY IP OTHER THAN CLIENTS ROUTER IPS&lt;br /&gt;
&lt;br /&gt;
Add the routers IP number to the list of authorised ip numbers in the cygwin hosts.allow file as follows:&lt;br /&gt;
&lt;br /&gt;
 nano /etc/hosts.allow&lt;br /&gt;
&lt;br /&gt;
and add the line as follows ... but put the ip number of your router&lt;br /&gt;
&lt;br /&gt;
 sshd: allow 192.168.0.99&lt;br /&gt;
&lt;br /&gt;
#router - sadly using NAT instead of plain old port forwarding&lt;br /&gt;
#if the router ip changes then neosys remote support will fail until this line is changed&lt;br /&gt;
#NB do not grant access to 192.168.* etc since this allows local LAN viruses to attack&lt;br /&gt;
&lt;br /&gt;
==== Troubleshooting sshd ====&lt;br /&gt;
&lt;br /&gt;
You can run the sshd service interactively to see all messages instead of having to search logs/events etc.&lt;br /&gt;
&lt;br /&gt;
Unfortunately this will not work the same as the normal windows sshd service unless you assume the identity of the sshd_server user. To assume the identity of the sshd_server user you will have to reset its password to something new (since we dont take a record of it during sshd-host-setup) AND ALSO place the new password in the logon properties of the sshd windows service.&lt;br /&gt;
&lt;br /&gt;
 su sshd_server&lt;br /&gt;
 /usr/sbin/sshd -D -p 19580&lt;br /&gt;
&lt;br /&gt;
==== Reinstalling SSHD if service fails to startup ====&lt;br /&gt;
&lt;br /&gt;
#Look in &#039;&#039;&#039;/var/log/sshd.log&#039;&#039;&#039; for errors&lt;br /&gt;
#Delete the following users: &#039;&#039;&#039;sshd&#039;&#039;&#039; and &#039;&#039;&#039;sshd_server&#039;&#039;&#039;&lt;br /&gt;
#Remove the sshd service at the cygwin prompt type &#039;&#039;&#039;cygrunsrv –R sshd&#039;&#039;&#039;&lt;br /&gt;
#Do the above Configuration and starting SSHD step again&lt;br /&gt;
&lt;br /&gt;
Note that you don&#039;t have to reinstall cygwin entirely, just sshd with the above steps.&lt;br /&gt;
&lt;br /&gt;
==== Upgrading SSHD / Cygwin ====&lt;br /&gt;
NEOSYS relies on cygwin to provide secure network access and support various linux/unix services under Windows, mainly rsync for interoffice consolidation.&lt;br /&gt;
&lt;br /&gt;
Just like MS Windows update, cygwin should be updated at regular intervals to close security holes discovered in the software by its authors. This is particularly important for cygwin&#039;s remote access service sshd since it is exposed to the internet although on a non-standard port.&lt;br /&gt;
&lt;br /&gt;
TO DO: Find a simple way to learn about when cygwin upgrades sshd and/or when there are issues generally with sshd. Join the cygwin and sshd security news email lists.&lt;br /&gt;
&lt;br /&gt;
To find out what versions of cygwin/sshd are installed at NEOSYS clients, look at Nagios, last column &amp;quot;Status Information&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
http://vm1.neosys.com/nagios3/cgi-bin/status.cgi?servicegroup=neosys-ssh&amp;amp;style=detail%22SSH%20OK%20-%20OpenSSH_5.9%20%28protocol%202.0%29%22&lt;br /&gt;
&lt;br /&gt;
eg&lt;br /&gt;
&lt;br /&gt;
 SSH OK - OpenSSH_5.9 (protocol 2.0) &lt;br /&gt;
&lt;br /&gt;
===== Upgrading Cygwin Without requiring a server reboot =====&lt;br /&gt;
NEOSYS normal remote server support connection uses cygwin/ssh. cygwin can be upgraded while in use but only if a reboot is performed and perhaps some cygwin packages reinstalled. &lt;br /&gt;
&lt;br /&gt;
You can use:&lt;br /&gt;
*vnc server&lt;br /&gt;
*direct rdp connection&lt;br /&gt;
*directly on the server&lt;br /&gt;
*teamviewer started manually on the server&lt;br /&gt;
&lt;br /&gt;
You cannot use:&lt;br /&gt;
*standard NEOSYS remote support connection using rdp/cygwin/sshd&lt;br /&gt;
*teamviewer started using a standard NEOSYS remote support connection.&lt;br /&gt;
&lt;br /&gt;
Procedure:&lt;br /&gt;
&lt;br /&gt;
1. If not already done, rename Windows “Administrator” user to “administrator” before upgrading&lt;br /&gt;
&lt;br /&gt;
2. Stop all programs and services that use cygwin. (Only sshd is installed as standard on all NEOSYS clients)&lt;br /&gt;
&lt;br /&gt;
 net stop sshd&lt;br /&gt;
 net stop cygwinrsync&lt;br /&gt;
 net stop exim&lt;br /&gt;
&lt;br /&gt;
3. Kill any remaining cygwin processes in task viewer. This will terminate any standard NEOSYS remote connections using cygwin/sshd/tunnelier.&lt;br /&gt;
&lt;br /&gt;
 sshd&lt;br /&gt;
 cygrunsvr&lt;br /&gt;
&lt;br /&gt;
4. Follow the usual cygwin installation procedure and it will upgrade all installed packages automatically.&lt;br /&gt;
*If you get a message &amp;quot;files in use&amp;quot; then click &amp;quot;retry&amp;quot; AFTER killing any running processes that use the cygwin1.dll. Search Google if you dont know how to do this, or follow the instructions in the next section which requires a reboot.&lt;br /&gt;
&lt;br /&gt;
5. Start the NEOSYS remote connection service - cygwin/sshd, and any cygwin services stopped in step 1.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 net start sshd&lt;br /&gt;
 net start cygwinrsync&lt;br /&gt;
 net start exim&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Upgrading Cygwin with server reboot =====&lt;br /&gt;
If not already done, rename Windows “Administrator” user to “administrator” before upgrading&lt;br /&gt;
&lt;br /&gt;
Connect using usual NEOSYS remote support.&lt;br /&gt;
&lt;br /&gt;
Follow the usual cygwin installation procedure.&lt;br /&gt;
&lt;br /&gt;
If and when cygwin &amp;quot;says files in use&amp;quot; then at console command prompt then click &amp;quot;continue&amp;quot;. NB &amp;quot;retry&amp;quot; will not work because your NEOSYS  remote support uses files like cygwin1.dll that are being updated by cygwin.&lt;br /&gt;
&lt;br /&gt;
If you have used the &amp;quot;continue&amp;quot; option then, towards the end of the cygwin installation process, you may get error messages similar to the one below.&lt;br /&gt;
You can ignore them.&lt;br /&gt;
&lt;br /&gt;
 &amp;quot;the procedure point __ctype_ptr__ could not be located in the dynamic link library cygwin1.dll&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Finally, you may get a message &amp;quot;postinstall script errors&amp;quot;. Copy this message so you know what packages have to be reinstalled.&lt;br /&gt;
&lt;br /&gt;
Your list may vary! The list of packages is longer if the cygwin1.dll file has to be upgraded as this is an essential library file for all cygwin programs.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 Package: base-cygwin&lt;br /&gt;
 Package: coreutils&lt;br /&gt;
 Package: bash&lt;br /&gt;
 Package: terminfo&lt;br /&gt;
 Package: _update-info-dir&lt;br /&gt;
 Package: base-files&lt;br /&gt;
 Package: colordiff&lt;br /&gt;
 Package: man&lt;br /&gt;
 Package: terminfo0&lt;br /&gt;
 Package: vim&lt;br /&gt;
 Package: wget&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Reboot the server and check that you can connect using usual NEOSYS remote support.&lt;br /&gt;
&lt;br /&gt;
*The login user name might be changed to &amp;quot;Administrator&amp;quot; instead of &amp;quot;administrator&amp;quot;.&lt;br /&gt;
*If you cannot reconnect after rebooting then the following steps (in particular the cygwin sshd package) may have to be performed directly on the server directly or using the usual initial NEOSYS remote installation procedures that do not rely on cygwin/sshd.&lt;br /&gt;
&lt;br /&gt;
Reinstall any problematic Cygwin packages&lt;br /&gt;
#Select View: &amp;quot;Up to date&amp;quot;&lt;br /&gt;
#&amp;quot;Keep&amp;quot; to &amp;quot;Reinstall&amp;quot; for the packages listed in the previous section.&lt;br /&gt;
&lt;br /&gt;
Finally, check that you can run the ls command in a cygwin command prompt window.&lt;br /&gt;
&lt;br /&gt;
==== How to uninstall/reinstall cygwin ====&lt;br /&gt;
&lt;br /&gt;
With setup.exe (the installer file of cygwin) you can uninstall individual packages but not Cygwin.&lt;br /&gt;
&lt;br /&gt;
Before you do this, make sure you have stopped the cygwin service (NET STOP SSHD), removed the sshd server (cygrunsrv -R sshd), deleted the users (sshd &amp;amp; sshd_server).&lt;br /&gt;
&lt;br /&gt;
To uninstall Cygwin you have to run the following in DOS prompt:&lt;br /&gt;
&lt;br /&gt;
 rmdir /s /q C:\cygwin&lt;br /&gt;
&lt;br /&gt;
You cannot delete the cygwin folder from Windows explorer due to a Access Denied error and this is the best way to uninstall cygwin.&lt;br /&gt;
&lt;br /&gt;
==== Getting Ownership and Permissions Correct ====&lt;br /&gt;
&lt;br /&gt;
Installation of cygrin under domain administrator account needs to be fixed as follows:&lt;br /&gt;
&lt;br /&gt;
#c:\cygin Properties, Security, Advanced&lt;br /&gt;
#Change owner to: Administrators&lt;br /&gt;
#Tick: Replace owner on subcontainers&lt;br /&gt;
&lt;br /&gt;
After changing ownership of all cygwin folders to Administrators all ssh login will be blocked and you will get a windows application event log message. &amp;quot;root&amp;quot; actually means sshd&#039;s user which is sshd_server by default or can be found in the cygwin ssh windows services properties under log on&lt;br /&gt;
&lt;br /&gt;
 fatal: /var/empty must be owned by root and not group or world-writable.&lt;br /&gt;
&lt;br /&gt;
Fix this in cygwin console as follows:&lt;br /&gt;
&lt;br /&gt;
 chown sshd_server /var/empty&lt;br /&gt;
&lt;br /&gt;
==== Configuring Firewall/Router ====&lt;br /&gt;
&lt;br /&gt;
You will have to port forward 19580 on the router to port 19580 on the neosys server. Some routers call port forwarding “port mapping” or “virtual servers”&lt;br /&gt;
&lt;br /&gt;
It is BAD idea to simply open port 22 since an open port 22 attracts scanners/hackers like flies.&lt;br /&gt;
&lt;br /&gt;
Also configure port forwarding of port 4430 to port 4430. This is for remote access via https if desired at a later date.&lt;br /&gt;
&lt;br /&gt;
==== Configuring Specific Client Routers ====&lt;br /&gt;
&lt;br /&gt;
[[Adline Dubai - CISCO PIX Firewall]]&lt;br /&gt;
&lt;br /&gt;
[[Sonicwall Firewall Configuration]]&lt;br /&gt;
&lt;br /&gt;
==== How to install ssh on port 19580 over vnc on port 19580 ====&lt;br /&gt;
&lt;br /&gt;
Install vnc on port 19580&lt;br /&gt;
 &lt;br /&gt;
connect on vnc&lt;br /&gt;
 &lt;br /&gt;
setup cygwin sshd on port 22&lt;br /&gt;
 &lt;br /&gt;
test you can login on port 22&lt;br /&gt;
&lt;br /&gt;
 ssh neosys@127.0.0.1&lt;br /&gt;
 &lt;br /&gt;
change sshd port to 19580 (but it wont start)&lt;br /&gt;
 &lt;br /&gt;
schedule a windows system reboot in 10 mins at windows command prompt&lt;br /&gt;
 &lt;br /&gt;
 shutdown -t 600&lt;br /&gt;
 &lt;br /&gt;
change vnc port to 5900 (if will disconnect you)&lt;br /&gt;
 &lt;br /&gt;
wait for 10 mins and try to ssh login on port 19580&lt;br /&gt;
&lt;br /&gt;
==== Changing user on Cygwin ====&lt;br /&gt;
&lt;br /&gt;
On SSH command line:&lt;br /&gt;
&lt;br /&gt;
 ssh neosys@127.0.0.1 (where &#039;neosys&#039; is the username)&lt;br /&gt;
&lt;br /&gt;
=== Installing and configuring UltraVNC ===&lt;br /&gt;
&lt;br /&gt;
Download UltraVNC from http://www.ultravnc.com&lt;br /&gt;
&lt;br /&gt;
Run installation – all default options EXCEPT choose INSTALL AS A SERVICE, and START SERVICE.&lt;br /&gt;
&lt;br /&gt;
((screenshot required))&lt;br /&gt;
&lt;br /&gt;
Run ‘Service Helper’ under UltraVNC Server in case you don’t see vnc tray icon on the notification area.&lt;br /&gt;
&lt;br /&gt;
Admin options should make the following changes:&lt;br /&gt;
[[Image:Vncadmin.png]]&lt;br /&gt;
# Deselect – Enable Java (to increase security)&lt;br /&gt;
# Select – Allow loopback connection (essential for connection via ssh)&lt;br /&gt;
# Select - Loopback only (to increase security)&lt;br /&gt;
&lt;br /&gt;
[[Image:vncserveraddnewclient55000.png]]&lt;br /&gt;
&lt;br /&gt;
==== Installing and configuring the client ====&lt;br /&gt;
&lt;br /&gt;
It is advisabke to use http over ssh rather than remote access IE inside vnc because the user interface is much faster alhough it might not be so bad using vnc to hosts in the same country&lt;br /&gt;
&lt;br /&gt;
==== Installing Putty ====&lt;br /&gt;
&lt;br /&gt;
http://the.earth.li/~sgtatham/putty/latest/x86/putty.exe&lt;br /&gt;
&lt;br /&gt;
Download putty.exe &amp;gt; run&lt;br /&gt;
&lt;br /&gt;
===== Configuring Putty =====&lt;br /&gt;
&lt;br /&gt;
ssh tunneling local:127.0.0.1:1235--&amp;gt;remote:127.0.0.1:80 so you can do http://127.0.0.1:1235/neosys on your own computer&lt;br /&gt;
&lt;br /&gt;
there are a few computers where it doesnt seem to like the above usually where the target server is on a none-standard port or not listening on 127.0.0.1&lt;br /&gt;
&lt;br /&gt;
so sometimes you have to map local 127.0.0.1:8080 to remote 10.0.0.255:8080 or whatever the listening ip and port is&lt;br /&gt;
&lt;br /&gt;
[[Image:puttysession.png|Fill in the host name of the server computer and the port number.]]&lt;br /&gt;
&lt;br /&gt;
[[Image:puttyssh.png]]&lt;br /&gt;
&lt;br /&gt;
[[Image:puttytunnel.png]]&lt;br /&gt;
 &lt;br /&gt;
Source: 1234 Destination: 127.0.0.1:5900 then click Add&lt;br /&gt;
&lt;br /&gt;
Source: 1235 Destination: 127.0.0.1:80 then click Add&lt;br /&gt;
&lt;br /&gt;
Once tunnels are setup then return to Session tab in putty and save the options then click open to connect to the server. Login as administrator with the servers password.&lt;br /&gt;
&lt;br /&gt;
Ultra VNC Viewer:&lt;br /&gt;
&lt;br /&gt;
As the port mapping is complete, enter 127.0.0.1:1234 to login into the computer screen remotely:&lt;br /&gt;
&lt;br /&gt;
==== Configuring Ultra VNC Viewer Listen mode to use a non-standard port ====&lt;br /&gt;
&lt;br /&gt;
[[Image:vncviewerlisten55000.png]]&lt;br /&gt;
&lt;br /&gt;
==== Troubleshooting Client ====&lt;br /&gt;
&lt;br /&gt;
===== Cygwin login on servers connected to any domain controller =====&lt;br /&gt;
&lt;br /&gt;
If NEOSYS is loaded on a server which is connected to any domain controller, it may require the local administrator password reset.&lt;br /&gt;
&lt;br /&gt;
==== Resolving VNC Password lockout ====&lt;br /&gt;
&lt;br /&gt;
If you connect to a client server through CYGWIN and enter the VNC password 3 times wrong in a row, VNC will block you. &lt;br /&gt;
&lt;br /&gt;
As you have already entered the server through CYGWIN, you can reactivate the blocked VNC by using the following commands on the prompt:&lt;br /&gt;
&lt;br /&gt;
 net stop winvnc&lt;br /&gt;
&lt;br /&gt;
 net start winvnc&lt;br /&gt;
&lt;br /&gt;
== Remote Desktop Connection ==&lt;br /&gt;
&lt;br /&gt;
Servers are normally not exposed to the internet so IT staff and suppliers are often not careful to use strong passwords and use things like &amp;quot;password&amp;quot; or blank.&lt;br /&gt;
&lt;br /&gt;
Given the above, it is NEOSYS policy NOT to use remote desktop via direct access from the internet at all and especially not long term. This is to prevent worms from instantly discovering possible entry points - typically before NEOSYS can even begin to enforce strong administrator password.&lt;br /&gt;
&lt;br /&gt;
If it is otherwise IMPOSSIBLE (difficult or inconvenient does NOT count as impossible!) to avoid using remote desktop protocol to the public internet then a simple and effective way of significantly increasing security is to change the remote desktop port from 3389 to something else e.g. 33890 as per NEOSYS convention.&lt;br /&gt;
&lt;br /&gt;
=== Changing RDC port from standard to nonstandard ===&lt;br /&gt;
&lt;br /&gt;
# Start Registry Editor.&lt;br /&gt;
# Locate and then click the following registry subkey:&lt;br /&gt;
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TerminalServer\WinStations\RDP-Tcp\PortNumber&lt;br /&gt;
# On the Edit menu, click Modify, and then click Decimal.&lt;br /&gt;
# Type the new port number, and then click OK.&lt;br /&gt;
# Quit Registry Editor.&lt;/div&gt;</summary>
		<author><name>Ashwin</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Upgrading_NEOSYS&amp;diff=873</id>
		<title>Upgrading NEOSYS</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=Upgrading_NEOSYS&amp;diff=873"/>
		<updated>2012-02-07T10:09:11Z</updated>

		<summary type="html">&lt;p&gt;Ashwin: /* Small Installations */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Upgrading NEOSYS fully ==&lt;br /&gt;
&lt;br /&gt;
NEOSYS can be upgraded in two ways either in the night before the daily backup or during the day.&lt;br /&gt;
&lt;br /&gt;
Procedure to upgrade NEOSYS during the day.&lt;br /&gt;
&lt;br /&gt;
#Email the management and staff the standard email on upgrade for agreement of time.&lt;br /&gt;
#Confirm the date and time and inform the staff about the update. &lt;br /&gt;
#During upgrade make sure all users are logged off and follow the installation procedures.&lt;br /&gt;
#Once the upgrade is over mail the management and staff the steps they should perform before using NEOSYS.&lt;br /&gt;
&lt;br /&gt;
NEOSYS can also be upgraded with smaller patches by the programmer and this can be done at any time while the users are working&lt;br /&gt;
&lt;br /&gt;
=== Sample Emails to be sent PRIOR to Upgrading NEOSYS ===&lt;br /&gt;
 &lt;br /&gt;
==== Informing the client of the intention to upgrade ====&lt;br /&gt;
 &lt;br /&gt;
 NEOSYS needs to be updated to its latest version.&lt;br /&gt;
  &lt;br /&gt;
 Please confirm a suitable time to upgrade NEOSYS.The upgrade will take about half an hour to one hour. &lt;br /&gt;
  &lt;br /&gt;
 Please note that all users should be logged off during the upgrade and there should not be any attempt&lt;br /&gt;
 to login during that one hour. &lt;br /&gt;
 &lt;br /&gt;
 Once the upgrade is done we shall notify you with the same and the users should Clear Cache from Internet Explorer &lt;br /&gt;
 before they log into the new version.&lt;br /&gt;
 &lt;br /&gt;
 You can find instructions on how to clear the Internet Explorer Cache at this link: &lt;br /&gt;
 http://userwiki.neosys.com/index.php/Troubleshooting_IE#Solution&lt;br /&gt;
&lt;br /&gt;
==== Confirming Date and Time ====&lt;br /&gt;
&lt;br /&gt;
 I will be upgrading NEOSYS to its latest version tomorrow i.e. 15th November. NEOSYS will be down without warning from 13:00 to 14:00.&lt;br /&gt;
 &lt;br /&gt;
 If you attempt to do data entry during this period of time you will probably lose data but there will be no harm caused to the system.&lt;br /&gt;
 You may continue using the system in read-only mode to get reports etc until it actually goes down whereupon NEOSYS will hang and &lt;br /&gt;
 you should close its windows.&lt;br /&gt;
 &lt;br /&gt;
 After the upgrade you need to clear your temporary internet files to ensure that you obtain the new version of the programs otherwise all &lt;br /&gt;
 kinds of strange errors may occur due to caching creating an unpredictable mixture of old and new web pages/software. &lt;br /&gt;
 &lt;br /&gt;
 You can find instructions on how to clear the Internet Explorer Cache at this link: &lt;br /&gt;
 http://userwiki.neosys.com/index.php/Troubleshooting_IE#Solution&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Downloading ===&lt;br /&gt;
&lt;br /&gt;
Get the latest version of NEOSYS&lt;br /&gt;
&lt;br /&gt;
Download http://www.neosys.com/support/neosys2.exe in NEOSYS\downloads folder and rename it to neosys2-(DATE).exe (eg neosys2-10th November 2009.exe) - this is to keep track of the various downloads we do for the client and also allows to install a previous version if needed.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;*** IMPORTANT: DO NOT RUN/EXECUTE THE NEOSYS EXE FILE NOW ***&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Downloading previous versions of NEOSYS ===&lt;br /&gt;
&lt;br /&gt;
The 9 previous versions of neosys are stored at:&lt;br /&gt;
&lt;br /&gt;
http://www.neosys.com/support/neosys21.exe&lt;br /&gt;
&lt;br /&gt;
http://www.neosys.com/support/neosys22.exe&lt;br /&gt;
&lt;br /&gt;
http://www.neosys.com/support/neosys23.exe&lt;br /&gt;
&lt;br /&gt;
http://www.neosys.com/support/neosys24.exe&lt;br /&gt;
&lt;br /&gt;
http://www.neosys.com/support/neosys25.exe&lt;br /&gt;
&lt;br /&gt;
http://www.neosys.com/support/neosys26.exe&lt;br /&gt;
&lt;br /&gt;
http://www.neosys.com/support/neosys27.exe&lt;br /&gt;
&lt;br /&gt;
http://www.neosys.com/support/neosys28.exe&lt;br /&gt;
&lt;br /&gt;
http://www.neosys.com/support/neosys29.exe&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Backing up prior to upgrading ===&lt;br /&gt;
&lt;br /&gt;
THIS WHOLE BACKUP PROCEDURE IS MANDATORY&lt;br /&gt;
&lt;br /&gt;
Make sure that all NEOSYS users are logged off and the processes are closed before you do any folder copying.&lt;br /&gt;
&lt;br /&gt;
==== Small Installations ====&lt;br /&gt;
&lt;br /&gt;
#Take a normal proper backup using the NEOSYS Support Menu - for all live databases if there is more than one.&lt;br /&gt;
#If a USB change was made by the client&#039;s IT person prior to doing this manual backup, ensure that after the upgrade is done, the backup file for that manual backup is moved to another location (preferably in a new folder on the D drive)so that the clients backup cycle is not affected by the existence of a days backup in the USB before the cycle actually begins the following morning. &lt;br /&gt;
#Take a copy of the whole of the D:\NEOSYS folder (or where-ever NEOSYS is installed) into another folder. You can omit the D:\NEOSYS\IMAGES and D:\NEOSYS\LOGS folders from the copy to save time. Preferably place the copy on another disk or partition so that it is not included in any whole disk backup that might be running in parallel to NEOSYS backup.&lt;br /&gt;
&lt;br /&gt;
==== Large Installations ====&lt;br /&gt;
&lt;br /&gt;
Copying the whole of the D:\NEOSYS folder can take so much time as to be virtually impossible. In this case do the upgrade EARLY IN THE MORNING since all the data will have been backed up the previous night. The NEOSYS nightly backup only backs up data, so you MUST manually take copies of the following folders which contain the current version of the programs that are going to be upgraded.&lt;br /&gt;
&lt;br /&gt;
#D:\NEOSYS\NEOSYS&lt;br /&gt;
#D:\NEOSYS\NEOSYS.NET&lt;br /&gt;
#D:\NEOSYS\NEOSYS.MAC or  D:\NEOSYS\NEOSYS.W3C&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Installing ===&lt;br /&gt;
Run / Execute the .EXE file that you downloaded into the NEOSYS\downloads folder and Install to the D:\NEOSYS\ folder.&lt;br /&gt;
&lt;br /&gt;
Closing NEOSYS processes should happen automatically during upgrade but you can also do it manually as follows:&lt;br /&gt;
&lt;br /&gt;
[[Closing NEOSYS services]]&lt;br /&gt;
&lt;br /&gt;
The installation procedure first creates a GLOBAL.END file in the NEOSYS programs folder causing all serving processes to terminate. Maintenance processes must be terminated manually.&lt;br /&gt;
&lt;br /&gt;
Next, the installation procedure attempts to update the WAITING.EXE file and, if the processes haven’t terminated quickly enough, this will fail asking for retry or abort. Retry immediately or once all the processes have terminated.&lt;br /&gt;
&lt;br /&gt;
The last step of the installation procedure is to delete the GLOBAL.END file to allow processes to start normally.&lt;br /&gt;
&lt;br /&gt;
=== Post installation steps ===&lt;br /&gt;
&lt;br /&gt;
New versions of the software sometimes perform quick or long database conversions.&lt;br /&gt;
&lt;br /&gt;
Starting NEOSYS in maintenance mode immediately after upgrading leaves you more in control if anything goes wrong.&lt;br /&gt;
&lt;br /&gt;
It not necessary to use the maintenance mode to start-up once after upgrading and before starting an automatic neosys process.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Sample Email to be sent to the Clients AFTER an upgrade or patch ====&lt;br /&gt;
&lt;br /&gt;
 We have upgraded your version of NEOSYS.&lt;br /&gt;
 &lt;br /&gt;
 Please follow the instructions at [http://userwiki.neosys.com/index.php/Troubleshooting_IE#Troubleshooting_Internet_Explorer Clear Internet Cache] to clear your temporary internet files  &lt;br /&gt;
 before you proceed to use NEOSYS.&lt;br /&gt;
 &lt;br /&gt;
 This is required because your Internet Explorer may have saved old versions of the software and it is necessary to clear this to avoid any  &lt;br /&gt;
 possible errors.&lt;br /&gt;
&lt;br /&gt;
=== Troubleshooting ===&lt;br /&gt;
&lt;br /&gt;
If you choose to abort the installation for any reason then the GLOBAL.END file will have to be deleted manually since its presence prevents any processes from starting up.&lt;br /&gt;
&lt;br /&gt;
== Upgrading NEOSYS with patch files ==&lt;br /&gt;
&lt;br /&gt;
Patch files can be used to update a very recent installation of neosys without doing a full install and without getting people out of NEOSYS.&lt;br /&gt;
&lt;br /&gt;
If in doubt do a full install.&lt;br /&gt;
&lt;br /&gt;
#Copy the file which is probably something like ADAGENCY.1 or ACCOUNTS.1 to the neosys\neosys folder&lt;br /&gt;
#F5&lt;br /&gt;
#INSTALL ADAGENCY&lt;br /&gt;
#Follow instructions&lt;/div&gt;</summary>
		<author><name>Ashwin</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Procedures&amp;diff=856</id>
		<title>Procedures</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=Procedures&amp;diff=856"/>
		<updated>2012-01-23T12:35:29Z</updated>

		<summary type="html">&lt;p&gt;Ashwin: /* NEOSYS Policy about Reposting Journal Entries */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Here are procedures to be followed by Support Staff in respect to various technical matters in day to day operations of client issues.&lt;br /&gt;
&lt;br /&gt;
== NEOSYS Support Policies ==&lt;br /&gt;
In order to maintain good payment speed by clients NEOSYS needs to restrict support to clients that dont pay their bills on time, however the degree of restriction needs to depend on an intimate knowledge of the client which cannot be expected from all NEOSYS support staff. Therefore we will use a simple escalation policy as follows:&lt;br /&gt;
&lt;br /&gt;
=== Stop Support List ===&lt;br /&gt;
NEOSYS SUPPORT MANAGERS WILL maintain an overdue/stop list on a whiteboard visible to all support staff. Generally clients will go on the list immediately when their invoice is overdue and come off only after satisfactory commitment to pay have been obtained.&lt;br /&gt;
&lt;br /&gt;
NEOSYS SUPPORT STAFF WILL discretely refer any calls for support from client on the overdue/stop list to support managers for handling.&lt;br /&gt;
&lt;br /&gt;
In case clients pressurize neosys staff to provide support then the support staff must inform them that there is an issue with their account and that their request had been forwarded to the manager.&lt;br /&gt;
&lt;br /&gt;
This policy excludes dealing with server failures, backup failures and measures required to be taken to fix these failures.&lt;br /&gt;
&lt;br /&gt;
== Client Password Policy ==&lt;br /&gt;
All client user passwords, including their initial one, are to be obtained via the user&#039;s email address using the password reminder/reset button on the login screen.&lt;br /&gt;
&lt;br /&gt;
NEOSYS staff should never know users passwords therefore NEOSYS will not obtain and grant user passwords.&lt;br /&gt;
&lt;br /&gt;
=== Support requests from ordinary client users ===&lt;br /&gt;
Any support requests concerning inability to obtain passwords will be forwarded to known skilled users on the client staff since this is the most efficient (not fastest) way to handle such issues.&lt;br /&gt;
&lt;br /&gt;
=== Support requests from senior client management ===&lt;br /&gt;
Any support requests concerning inability to obtain passwords by senior client management users shall be handled directly by NEOSYS support staff in any way convenient to resolve the issue in the quickest possible time rather than the most efficient.&lt;br /&gt;
&lt;br /&gt;
Bearing in mind that NEOSYS staff should never know user&#039;s passwords this will probably involve NEOSYS staff using the Password Reminder/Reset button to send a new password to the user.&lt;br /&gt;
&lt;br /&gt;
=== User Defined Passwords ===&lt;br /&gt;
NEOSYS will provide user defined passwords in very special cases which must be pre-approved case by case by NEOSYS management. For many reasons, NEOSYS will not approve.&lt;br /&gt;
&lt;br /&gt;
Currently this permission has only been granted to one NEOSYS client with several hundred of databases.&lt;br /&gt;
&lt;br /&gt;
== Handling client issues ==&lt;br /&gt;
=== Handling error messages ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Important:&#039;&#039;&#039; Before Attempting to resolve client issues, please ensure that we have secure access to the NEOSYS server.&lt;br /&gt;
&lt;br /&gt;
#The very first step is understanding client problem.&lt;br /&gt;
#Ask the client what error does he gets on the screen.&lt;br /&gt;
#If error seems to be familiar then resolve it over the phone.&lt;br /&gt;
#If error is unknown then ask user to send a screenshot of the error displayed along with the options used (basically you need to know HOW to replicate the error)&lt;br /&gt;
#Upon receipt of the error, check in all the wikis for a solution.&lt;br /&gt;
#If the issue is unknown or you don’t understand it clearly ask the user then use remote support to gain access to the users desktop to view how to replicate the error. &lt;br /&gt;
&lt;br /&gt;
If it is new issue then report by escalation the same issue to your manager with a brief explanation.&lt;br /&gt;
&lt;br /&gt;
=== NEOSYS support for resolving issues with totals on reports ===&lt;br /&gt;
&lt;br /&gt;
If a client has a problem with any total output by NEOSYS software then NEOSYS support will advise them which other NEOSYS report or reports provide a complete breakdown of the total (if necessary, to individual transactions) and ask the client to locate any offending transactions themselves.&lt;br /&gt;
&lt;br /&gt;
NEOSYS support staff will handle any issues where the total on the breakdown report does not add up to the total on the summary report.&lt;br /&gt;
&lt;br /&gt;
Reconciling totals can be hard if there are many transactions involved. Regardless of how hard it may be, reconciliation is an operational task for users not for support staff since NEOSYS support staff will not get involved in understanding client transactions or data.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Using Support Tools ==&lt;br /&gt;
&lt;br /&gt;
=== NEOSYS Software ===&lt;br /&gt;
&lt;br /&gt;
The NEOSYS Software is currently supported on the following Operating Systems (OS) and browsers:&lt;br /&gt;
&lt;br /&gt;
* For Media &amp;amp; Finance modules, Internet Explorer 6+ on Windows&lt;br /&gt;
* For Jobs &amp;amp; Timesheets modules, Internet Explorer 6+ on Windows or Safari 5+ on Mac&lt;br /&gt;
&lt;br /&gt;
Users are to ensure that pop-up blockers and any 3rd party toolbars are deactivated/switched off or else certain pages and alert messages while using NEOSYS do not appear as a result of blocking from either the pop-up blocker or toolbars with built-in pop-up blockers.&lt;br /&gt;
&lt;br /&gt;
NEOSYS Support personnel should additionally ensure that under Internet Explorer &amp;gt; Tools &amp;gt; Internet Options &amp;gt; Advanced &amp;gt; Browsing - the items Disable script debugging (Internet Explorer) and Disable script debugging (Other) are &#039;&#039;&#039;UNTICKED&#039;&#039;&#039;. This is because if NEOSYS generates any javascript error message, the same would disappear in the bottom left corner of a window, which in turn helps the programmer fix the error.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Note-&#039;&#039; The above mentioned process must be carried out after every Factory Reset.&lt;br /&gt;
&lt;br /&gt;
=== Website Live Support ===&lt;br /&gt;
www.neosys.com is equipped with a Live Support software and clients can visit the website, click on this link and chat with any of our support staff, without the need for any installation. The client has to fill in their name and email address to connect to an available support personnel. During non-working hours, the Live Support icon on the website automatically displays &amp;quot;offline&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
NEOSYS Support personnel who are authorised to provide such support, need to download a software called Kayako Live Support from http://hotfix.kayako.com/latest.php?product=lr&amp;amp;platform=win32&amp;amp;buildtype=stable&lt;br /&gt;
&lt;br /&gt;
Once downloaded the account needs to be setup as follows:&lt;br /&gt;
&lt;br /&gt;
* Account Name: (as provided by NEOSYS IT)&lt;br /&gt;
* SupportSuite URL: http://support.neosys.com/&lt;br /&gt;
* User Name: (as provided by NEOSYS IT and usually same as Account Name)&lt;br /&gt;
* Password: (as provided by NEOSYS IT)&lt;br /&gt;
&lt;br /&gt;
The first time the account is setup, you need to close Kayako Live Support completely and restart for it to login and work properly.&lt;br /&gt;
&lt;br /&gt;
== Handling Nagios Client Monitoring system ==&lt;br /&gt;
&lt;br /&gt;
Nagios is configured to display information pertaining to all NEOSYS client&#039;s server statuses which include multiple services such as:&lt;br /&gt;
# HTTPS: Most of NEOSYS clients are configured to have external web access via secure HTTP protocol (port 4430) from outside office. Nagios is configured to check port 4430 on a regular interval of 10 minutes and display any issues in accessing the same.&lt;br /&gt;
# SSH: As part of the support contract, NEOSYS should have external secure access to the client server usually over port 19580. Nagios is configured to check this port on a regular interval of 10 minutes and display any issues in accessing the same.&lt;br /&gt;
# Ping: Nagios is also configured to ping the client router as a measure to check if router responds incase the NEOSYS server is down.&lt;br /&gt;
# NEOSYS: This service works in a reverse direction, and the NEOSYS installation on the client server sends information such as databases running, current backup status, internal and internet IP addressess etc to Nagios on a regular interval of 10 minutes.&lt;br /&gt;
&lt;br /&gt;
Some key information about Nagios is as follows:&lt;br /&gt;
* Nagios is also configured to display information related to internal servers. &lt;br /&gt;
* Clients hosted on a NEOSYS cloud server might not have services such as SSH or PING as this is monitored as part of the internal server service.&lt;br /&gt;
* Nagios sends out email alerts to support2@neosys.com (which is forwarded to support@neosys.com) from 8 am to 12 midnight on all Dubai working days (Sun-Thu). No alerts are sent out on Fri and Sat, unless they are for NEOSYS internal servers.&lt;br /&gt;
&lt;br /&gt;
NEOSYS support staff on duty has to follow the below outlined procedures in case of any Nagios items showing a critical or warning message for any service: &lt;br /&gt;
# Nagios is required to be checked first thing in the morning and any critical or warning messages need to be dealth with to resolve the same at the earliest. &lt;br /&gt;
# Some of the messages could be related to backup failures and the usual procedure as stated in #Backup Procedures needs to be followed. In case the backup issue isn&#039;t resolved by 9:30 am, the Nagios service needs to be scheduled with downtime for a minimum of 2 hours and maximum until 1 am next day if the issue cannot be solved. &lt;br /&gt;
# In case any HTTPS, SSH or PING service is down, immediate action is required and the relevant IT people at the client side needs to be contacted to get this resolved. A downtime of 2 hours is required to be scheduled with further intervals of 2 hours incase this is not resolved. Support staff shouldn&#039;t schedule downtime till 1 am next day, just to get rid of the alerts for the day. Proactive follow up with the client is required to get this resolved before the business day - more so, if there is a weekend ahead. &lt;br /&gt;
# In case the HTTPS, SSH or PING service goes down during the day, a grace period of 20 minutes is given before the issue is reported to the client IT. This helps incase there is any temporary internet connection issue at the client or along the internet route. &lt;br /&gt;
# In case of &amp;quot;Backup not changed&amp;quot; warning status which occurs if the client has not interchanged the USB before 12 noon on that day, no action is required from the support staff and a downtime until 1 am next day needs to be scheduled.&lt;br /&gt;
 &lt;br /&gt;
**&#039;&#039;&#039;PLEASE NOTE&#039;&#039;&#039;: Failure to schedule appropriate downtime will lead to REDUNDANT ALERTS from NAGIOS every hour.&lt;br /&gt;
&lt;br /&gt;
== What happens if there is no remote access to NEOSYS server based in client’s premises ? ==&lt;br /&gt;
&lt;br /&gt;
If access to the NEOSYS server is lost then we must determine the root cause by: &lt;br /&gt;
&lt;br /&gt;
# Checking if the server is UP and running&lt;br /&gt;
# If yes, please check internet connectivity on the server&lt;br /&gt;
# If there is connectivity, please check the router for connectivity issues&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Sample Response:&#039;&#039;&#039;&lt;br /&gt;
Please note that we have currently lost access to the NEOSYS server. The server seems to be down at the moment and it seems that neosys processes are not running on the server.&lt;br /&gt;
Kindly check if the server is UP and running. If yes, please check internet connectivity on the server.&lt;br /&gt;
Do keep us posted on the server status so we can test connectivity from our side as well.0&lt;br /&gt;
&lt;br /&gt;
== New Router (Port Forwarding) ==&lt;br /&gt;
&lt;br /&gt;
If you have changed your router then you may notice that external access to NEOSYS is unavailable. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Solution:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Setup a permanent access for NEOSYS by reconfiguring the Router / Firewall for Port Forwarding from Router to the NEOSYS Server as follows: &lt;br /&gt;
# Port 19580 &amp;gt; 19580 for SSH &lt;br /&gt;
# Port 4430 &amp;gt; 4430 for HTTPS&lt;br /&gt;
&lt;br /&gt;
You can click [http://portforward.com/ Set Up Port Forwarding] to learn how to configure your Router.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Sample Response:&#039;&#039;&#039;&lt;br /&gt;
You are requested to kindly setup a permanent access for NEOSYS by reconfiguring the Router / Firewall for Port Forwarding from Router to the NEOSYS Server,i.e.  port 19580 for SSH and port 4430 for HTTPS.&lt;br /&gt;
&lt;br /&gt;
Once this is complete, kindly send me an email to confirm the same so that we could test connectivity from our end as well.&lt;br /&gt;
&lt;br /&gt;
== Backup Procedures ==&lt;br /&gt;
=== Preparing daily backup report ===&lt;br /&gt;
# Note the success, failure and other error of the clients backup mail in an excel sheet and forward the same to your manager.&lt;br /&gt;
# If there is a backup failure or backup is not available, check wiki to take necessary steps.&lt;br /&gt;
# If there is any unknown error, forward the same to your manager.&lt;br /&gt;
&lt;br /&gt;
=== Updating Nagios incase of failures ===&lt;br /&gt;
# If the backup failure is unsolved, schedule downtime Neosys service in Nagios till 01 am.&lt;br /&gt;
# If the backup did not happen because of server down. Call the IT person; ask him to re-boot the server and check wiki to do necessary step ahead and schedule downtime to Nagios for 2hours.&lt;br /&gt;
# If there is an error &amp;quot;Backup-&amp;gt;Impossible&amp;quot; on Nagios check wiki and schedule downtime to Nagios for 2hours.&lt;br /&gt;
&lt;br /&gt;
=== Interchange backup USB mail reminder ===&lt;br /&gt;
# Basically all the clients have different days to change their backup USB. All the notification can be seen on Nagios at 12.00 pm every day.&lt;br /&gt;
# When you see the change backup notification on Nagios at 12.00 pm, send a mail to the IT person or the person who changes the USB. As you send the mail schedule downtime for Neosys services for two hours.&lt;br /&gt;
# Check the Nagios at 2.00 pm if the backup USB is changed, don&#039;t send another mail and stop there. But if backup is still not yet changed, send a another mail and this time cc the mail to your manager. After sending the mail, schedule downtime for Neosys service for more two hours.&lt;br /&gt;
# Now at 4.00 pm if you still find the backup USB not changed. Call the IT person and ask him to change the USB ASAP and schedule downtime for Neosys services for one hour.&lt;br /&gt;
# Now at 5.00 pm check Nagios and see if the backup USB is changed and if not changed. Send the mail to everyone from the backup mail.&lt;br /&gt;
# If the backup is still not changed, escalate the issue to your manager.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; &lt;br /&gt;
If the USB is not interchanged on the scheduled day i.e. then The NEOSYS Automated backup will fail.&lt;br /&gt;
Traditionally, each USB holds backup of 7 days and using 3 different USBs we can store backups for the last 21 days enabling us to restore the system unto a time period beginning 21 days prior.&lt;br /&gt;
If the USB is not changed then the first backup on the current USB is replaced with the new or latest backup leading to inconsistencies within the backups. Hence we &#039;&#039;&#039;must&#039;&#039;&#039; interchange the USB on schedule to avoid a backup failure the next morning.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Sample Response:&#039;&#039;&#039;&lt;br /&gt;
The NEOSYS backup has failed today as the USB was not interchanged on the scheduled day.&lt;br /&gt;
Please interchange the USB immediately today to avoid a backup failure tomorrow morning.&lt;br /&gt;
Also note that your scheduled day to interchange the USB next week and hence forth remains unchanged to &#039;&#039;&#039;(Scheduled Day)&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
=== Finding out which USB is inserted into the server ===&lt;br /&gt;
As we ask the client to have 3 USB&#039;s and interchange them weekly, we also need to sometimes track which one of these 3 USB&#039;s are inserted into the server. USB&#039;s can be tracked using their volume serial number in most cases. To find this out either go to the command prompt and type VOL or in the nightly backup message check for the 2nd line (which looks like this - 14/12/2009 2:45pm Media: 705B-5B5F). However serial numbers can be the same even for different USB&#039;s.&lt;br /&gt;
&lt;br /&gt;
== Client relocating operations to a new premises == &lt;br /&gt;
&lt;br /&gt;
Ensure that the following procedure is followed by the clients IT staff prior to relocation:&lt;br /&gt;
&lt;br /&gt;
# Login to the NEOSYS server and shut down all the processes by hitting the ESC button on each of the window three times or until they close&lt;br /&gt;
# Take a backup of the D drive on another system or network / external drive&lt;br /&gt;
# Remove the USB plugged in and secure the same along with the other two USB’s in a safe location&lt;br /&gt;
# The NEOSYS server may now be shutdown and moved to the new premises&lt;br /&gt;
&lt;br /&gt;
Post relocation, the clients IT staff must ensure the following immediately:&lt;br /&gt;
&lt;br /&gt;
# Connect the server to the local network and complete all setup required for users to be able to access the system internally&lt;br /&gt;
# Configure the firewall and/or port settings to enable NEOSYS support staff to connect to the server externally &lt;br /&gt;
# Provide NEOSYS support with the new fixed IP address so that the connection can be tested.&lt;br /&gt;
&lt;br /&gt;
== Creating and Handling passwords ==&lt;br /&gt;
Passwords made out of a pass phrase should be at least 10 characters since using initials results in a lot of i&#039;s and a&#039;s etc which reduces the effectiveness of the password and allows hacking via brute force guessing especially since windows doesnt slow down logins even if it sees thousands of password attempts.&lt;br /&gt;
&lt;br /&gt;
=== Creating a password ===&lt;br /&gt;
Passwords are generated from a pass phrase and it is important to create a very difficult to guess pass phrase.&lt;br /&gt;
&lt;br /&gt;
For example, a good pass phrase would be: &#039;&#039;&#039;Today is a good day and it is the best time to go for a holiday&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The password for this would be &#039;&#039;&#039;Tiagdaiitbt2g4ah&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The important instructions for the above are:&lt;br /&gt;
#You have to take the first letter of each word and that makes your password (i.e. by using initials)&lt;br /&gt;
#Wherever any word starts with a capital, then you have to take first letter as a capital (eg. For Today you will take T)&lt;br /&gt;
#Replace &#039;&#039;&#039;and&#039;&#039;&#039; with &#039;&#039;&#039;&amp;amp;&#039;&#039;&#039;&lt;br /&gt;
#Replace &#039;&#039;&#039;to&#039;&#039;&#039; with &#039;&#039;&#039;2&#039;&#039;&#039;&lt;br /&gt;
#Replace &#039;&#039;&#039;for&#039;&#039;&#039; with &#039;&#039;&#039;4&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Handling passwords ===&lt;br /&gt;
#Never send the actual password - always send the pass phrase&lt;br /&gt;
#Make sure that the password created out of the pass phrase is at least 10 characters long since using initials results in a lot of i&#039;s and a&#039;s etc which reduces the effectiveness of the password and allows hacking via brute force guessing especially since windows doesnt slow down logins even if it sees thousands of password attempts&lt;br /&gt;
#Pass phrases are never to be sent by email, whatever the case maybe.&lt;br /&gt;
#Pass phrases can be sent by chat - however they have to be broken down in two parts and sent separately over two different messengers or if you are using Gtalk then use the &#039;off the record&#039; mode.&lt;br /&gt;
#Using SMS to send pass phrases is the best known way as of now.&lt;br /&gt;
#If you save the passwords on your system as a file, make sure the file is encrypted with a master password.&lt;br /&gt;
&lt;br /&gt;
== NEOSYS Maintenance Window ==&lt;br /&gt;
&lt;br /&gt;
The NEOSYS server is functional from 6am – 1am. There is a 5hr window gap for the system to perform updates &amp;amp; backups.&lt;br /&gt;
&lt;br /&gt;
The 5hr maintenance window:-&lt;br /&gt;
&lt;br /&gt;
1. At 1am – The server performs a data backup on a USB (for the respective clients) &amp;amp; once the backup has been completed, the system automatically generates an email addressed to the neosys staff &amp;amp; the respective clients.&lt;br /&gt;
&lt;br /&gt;
2. At 2:45am – The main data over writes the test data on the server.&lt;br /&gt;
&lt;br /&gt;
3. At 3:00am – The server by itself performs an update for Windows.&lt;br /&gt;
&lt;br /&gt;
4. At 4:00am – The server performs a backup to the headquarters for clients, and then automatically generates an email addressed to the NEOSYS staff &amp;amp; the respective clients. This process is followed by only two clients i.e. Adline &amp;amp; Farouk.&lt;br /&gt;
&lt;br /&gt;
5. At 6:00am – The server starts up NEOSYS.&lt;br /&gt;
&lt;br /&gt;
==Switching to a backup server==&lt;br /&gt;
&lt;br /&gt;
As NEOSYS provides clients with option of backing up their data to a remote NEOSYS server in case of emergencies or server problems, it is crucial you understand the below procedure on how to switch to a backup server in the event of such a situation. Extreme care must be taken when switching over to using a backup server otherwise unnecessary data loss is very likely.&lt;br /&gt;
&lt;br /&gt;
Backup servers are normally switched off and should not be started automatically otherwise there is a serious risk of the client’s staff working on two systems. It is not possible to merge two databases into one database. Before the backup server is enabled the main server must be disabled, and before the main server is re-enabled, the backup  server must be disabled again. This can be managed technically without requiring any decision from senior non-technical staff.&lt;br /&gt;
&lt;br /&gt;
However, there are also some potentially hard decisions about unavoidable loss of data versus continued system availability. *** Backup servers should therefore only be started with the written approval of the clients senior staff. A suitable email requesting approval follows.&lt;br /&gt;
&lt;br /&gt;
The following case assumes that the main server has gone down sometime during the working day and that therefore the data on the backup server is out of date. Allowing them to use the backup server therefore implies some loss of data. They may wish to lose the data. They may wish to work on the backup server data and then try to redo the work on the main server once it is restored. There are a variety of options depending on the situation.&lt;br /&gt;
&lt;br /&gt;
If the main server is still functioning AND you are reasonably sure that the database is not damaged (which is perhaps an unlikely situation if you need to use the backup server!), it may be sensible to trigger an additional “backup/sync” process to bring the backup server database up to date with the main server. Before you do this, it is advisable that you take a backup copy of the backup system on the backup  server. In this case there would be no data loss in using the backup.&lt;br /&gt;
&lt;br /&gt;
An additional option of providing usage of the backup server in read-only mode so that people can at least access some data is being developed. The backup server could be available continuously at any time in read-only mode. This article would then be related to switching a backup server into main operational mode.&lt;br /&gt;
&lt;br /&gt;
 Dear {senior staff} cc {IT staff}&lt;br /&gt;
 &lt;br /&gt;
 Please note that we can enable the backup server if you wish.&lt;br /&gt;
 &lt;br /&gt;
 However the data on the backup server is out of date since it is a copy of your main database as at 11/22/33 99:99.&lt;br /&gt;
 &lt;br /&gt;
 If you wish to allow work to be done on the backup server then any data entered on your main server since the above date will be lost if we &lt;br /&gt;
 subsequently copy the data on the backup server to the main server.&lt;br /&gt;
 &lt;br /&gt;
 If, after using the backup server, we do NOT copy the data on the back server to the main server then any data you have entered on the backup &lt;br /&gt;
 server/database will be lost.&lt;br /&gt;
 &lt;br /&gt;
 Please confirm a) you want to work on HOSTS2 database and that we should therefore enable it and b) you have disconnected your main server &lt;br /&gt;
 for the duration.&lt;br /&gt;
 &lt;br /&gt;
 Best Regards,&lt;br /&gt;
 xxxxxx xxxxxxx&lt;br /&gt;
 NEOSYS Support&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Description of Backup Procedure for the NEOSYS Client Hosting Server ==&lt;br /&gt;
&lt;br /&gt;
NEOSYS backup is a two phase process. It is mandatory that both phases are complete for the process to be considered a backup.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
#On the main NEOSYS server host(Schuberg Philis in Amsterdam as of Dec 2010)&amp;lt;br&amp;gt;Every night, the NEOSYS process for selected databases stops serving users at around 1:00 AM to 5:00 AM (local time of the client&#039;s main office) and performs the following procedure: &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; - All the database files are checked for physical corruption.&amp;lt;br&amp;gt; - All the database files are zipped into a file who&#039;s path would be something like C:\DATA.BAK\CLIENTX\MONDAY\BACKUP.ZIP file.&amp;lt;br&amp;gt; - The file having the same name as that of the corresponding day of the week as last week is overwritten.A &amp;quot;backup alert&amp;quot; email indicating success or failure is sent to senior managers at the client, the client’s IT manager and backups@neosys.com.&amp;lt;br&amp;gt; - An internal log (accessible on each database&#039;s Support Menu) is maintained as a record and in case the emails cannot be sent out for some reason.&amp;lt;br&amp;gt; - NEOSYS support staff in Dubai check the emails every morning Sunday through Thursday.&amp;lt;br&amp;gt; - In the case of failure, NEOSYS support staff in Dubai take appropriate action and send an email (to the same people who receive the automated backup alert emails) indicating what action has been taken.&amp;lt;br&amp;gt; - The above does not by itself constitute a proper backup because the backup is stored on the same server and physical disk as the actual data.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
#On the NEOSYS backup server host (in NEOSYS Dubai Office as of Dec 2010 but could be changed without notice to EvoSwitch in Amsterdam).&amp;lt;br&amp;gt; - At around 02:00-02:30 AM GMT daily, NEOSYS&#039;s backup server copies (replicates) all the BACKUP.ZIP files from the main NEOSYS server host to itself.&amp;lt;br&amp;gt; - An email indicating success or failure is sent to NEOSYS support staff (only) who deal with it in a similar way to phase 1, except that only NEOSYS management are updated.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Cutting and Pasting NEOSYS Maintenance Mode Messages into Wiki ==&lt;br /&gt;
&lt;br /&gt;
Error messages expressed as images are not searchable.&lt;br /&gt;
&lt;br /&gt;
Therefore SELECT THE TEXT OF MAINTENANCE MODE WINDOWS using right click on window heading, Edit, Mark, Copy .. not graphical copy.&lt;br /&gt;
 &lt;br /&gt;
Then paste the text into wiki and surround with &amp;quot;&amp;lt; pre&amp;gt;&amp;quot; and &amp;quot;&amp;lt; /pre&amp;gt;&amp;quot; tags (without the space) as follows:&lt;br /&gt;
&lt;br /&gt;
[[image:loginmessage.jpg]]&lt;br /&gt;
&lt;br /&gt;
the result is searchable text as follows ...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
╔════════════════════════════╗&lt;br /&gt;
║      NEOSYS SECURITY       ║&lt;br /&gt;
║    What is your name ?     ║&lt;br /&gt;
║                            ║&lt;br /&gt;
║   [                    ]   ║&lt;br /&gt;
║                            ║&lt;br /&gt;
║  Please enter your name,   ║&lt;br /&gt;
║   or press Esc to exit.    ║&lt;br /&gt;
╚════════════════════════════╝&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Amending/Reposting Journal Entries ==&lt;br /&gt;
&lt;br /&gt;
NEOSYS does not generally allow reposting or amending of journal entries once posted. &lt;br /&gt;
&lt;br /&gt;
This policy is derived from the manual book keeping practices where once a journal entry is made you cannot remove it as it is written in ink and hence a rectification entry needs to be passed.&lt;br /&gt;
&lt;br /&gt;
However in certain exceptional cases, amending/reposting of journal entries is allowed for a brief period of time to enable clients to present reports in an alternative manner. This would be subject to NEOSYS would requiring a written LETTER OF APPROVAL duly signed and stamped by the highest management of the company.&lt;br /&gt;
&lt;br /&gt;
Before granting such permission NEOSYS will have a conversation with the Management of the client organisation and clearly explain the repercussions of granting permission to edit/report journals, which primarily are:&lt;br /&gt;
&lt;br /&gt;
# It is not common practice to do such manipulations&lt;br /&gt;
# It can lead to possible errors in numbers&lt;br /&gt;
# Staff can become complacent and careless while posting entries and frequently ask for this permission&lt;br /&gt;
# Restricting users from editing/reposting journal entries promotes a more healthy and vigilant working environment where users verify each journal entry before posting it which effectively leads to good accounting practices.&lt;br /&gt;
&lt;br /&gt;
=== Amending/Reposting Procedure ===&lt;br /&gt;
In case the client management still decides to go ahead and allow editing/reposting of journal entries, the following procedure is to be followed:&lt;br /&gt;
&lt;br /&gt;
# Client must de-allocate vouchers which need to be amended&lt;br /&gt;
# NEOSYS support staff must wait for a day so that de-allocated vouchers are copied into Test database&lt;br /&gt;
# Authorise required users to amend and repost (without record) &#039;&#039;&#039;in Test database only&#039;&#039;&#039; &amp;lt;br&amp;gt;( While reposting, we have 2 options i.e. with record and without record. The &#039;with record&#039; option causes the system to maintain a history of edits made. Hence, we want to repost without record so that there is no trace of the edit in the system)&lt;br /&gt;
# Amend a substantial number of vouchers in Test and verify them.&amp;lt;br&amp;gt;To verify if the edits made are reflected:&lt;br /&gt;
# *Print all ledgers for the whole year&lt;br /&gt;
# *Cross-check all balances&lt;br /&gt;
# Once you verify the balances are correct in Test database, grant users permission to amend and repost in the Live database.&lt;br /&gt;
# Ask users to amend and repost vouchers in the Live database.&lt;br /&gt;
# Cross-check all balances for the current year.&lt;br /&gt;
# If you successfully verify the balances, revoke permissions immediately. Else, wait for 24 hours and revoke permissions irrespectively.&lt;/div&gt;</summary>
		<author><name>Ashwin</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Procedures&amp;diff=855</id>
		<title>Procedures</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=Procedures&amp;diff=855"/>
		<updated>2012-01-23T12:34:48Z</updated>

		<summary type="html">&lt;p&gt;Ashwin: /* NEOSYS Policy about Reposting Journal Entries */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Here are procedures to be followed by Support Staff in respect to various technical matters in day to day operations of client issues.&lt;br /&gt;
&lt;br /&gt;
== NEOSYS Support Policies ==&lt;br /&gt;
In order to maintain good payment speed by clients NEOSYS needs to restrict support to clients that dont pay their bills on time, however the degree of restriction needs to depend on an intimate knowledge of the client which cannot be expected from all NEOSYS support staff. Therefore we will use a simple escalation policy as follows:&lt;br /&gt;
&lt;br /&gt;
=== Stop Support List ===&lt;br /&gt;
NEOSYS SUPPORT MANAGERS WILL maintain an overdue/stop list on a whiteboard visible to all support staff. Generally clients will go on the list immediately when their invoice is overdue and come off only after satisfactory commitment to pay have been obtained.&lt;br /&gt;
&lt;br /&gt;
NEOSYS SUPPORT STAFF WILL discretely refer any calls for support from client on the overdue/stop list to support managers for handling.&lt;br /&gt;
&lt;br /&gt;
In case clients pressurize neosys staff to provide support then the support staff must inform them that there is an issue with their account and that their request had been forwarded to the manager.&lt;br /&gt;
&lt;br /&gt;
This policy excludes dealing with server failures, backup failures and measures required to be taken to fix these failures.&lt;br /&gt;
&lt;br /&gt;
== Client Password Policy ==&lt;br /&gt;
All client user passwords, including their initial one, are to be obtained via the user&#039;s email address using the password reminder/reset button on the login screen.&lt;br /&gt;
&lt;br /&gt;
NEOSYS staff should never know users passwords therefore NEOSYS will not obtain and grant user passwords.&lt;br /&gt;
&lt;br /&gt;
=== Support requests from ordinary client users ===&lt;br /&gt;
Any support requests concerning inability to obtain passwords will be forwarded to known skilled users on the client staff since this is the most efficient (not fastest) way to handle such issues.&lt;br /&gt;
&lt;br /&gt;
=== Support requests from senior client management ===&lt;br /&gt;
Any support requests concerning inability to obtain passwords by senior client management users shall be handled directly by NEOSYS support staff in any way convenient to resolve the issue in the quickest possible time rather than the most efficient.&lt;br /&gt;
&lt;br /&gt;
Bearing in mind that NEOSYS staff should never know user&#039;s passwords this will probably involve NEOSYS staff using the Password Reminder/Reset button to send a new password to the user.&lt;br /&gt;
&lt;br /&gt;
=== User Defined Passwords ===&lt;br /&gt;
NEOSYS will provide user defined passwords in very special cases which must be pre-approved case by case by NEOSYS management. For many reasons, NEOSYS will not approve.&lt;br /&gt;
&lt;br /&gt;
Currently this permission has only been granted to one NEOSYS client with several hundred of databases.&lt;br /&gt;
&lt;br /&gt;
== Handling client issues ==&lt;br /&gt;
=== Handling error messages ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Important:&#039;&#039;&#039; Before Attempting to resolve client issues, please ensure that we have secure access to the NEOSYS server.&lt;br /&gt;
&lt;br /&gt;
#The very first step is understanding client problem.&lt;br /&gt;
#Ask the client what error does he gets on the screen.&lt;br /&gt;
#If error seems to be familiar then resolve it over the phone.&lt;br /&gt;
#If error is unknown then ask user to send a screenshot of the error displayed along with the options used (basically you need to know HOW to replicate the error)&lt;br /&gt;
#Upon receipt of the error, check in all the wikis for a solution.&lt;br /&gt;
#If the issue is unknown or you don’t understand it clearly ask the user then use remote support to gain access to the users desktop to view how to replicate the error. &lt;br /&gt;
&lt;br /&gt;
If it is new issue then report by escalation the same issue to your manager with a brief explanation.&lt;br /&gt;
&lt;br /&gt;
=== NEOSYS support for resolving issues with totals on reports ===&lt;br /&gt;
&lt;br /&gt;
If a client has a problem with any total output by NEOSYS software then NEOSYS support will advise them which other NEOSYS report or reports provide a complete breakdown of the total (if necessary, to individual transactions) and ask the client to locate any offending transactions themselves.&lt;br /&gt;
&lt;br /&gt;
NEOSYS support staff will handle any issues where the total on the breakdown report does not add up to the total on the summary report.&lt;br /&gt;
&lt;br /&gt;
Reconciling totals can be hard if there are many transactions involved. Regardless of how hard it may be, reconciliation is an operational task for users not for support staff since NEOSYS support staff will not get involved in understanding client transactions or data.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Using Support Tools ==&lt;br /&gt;
&lt;br /&gt;
=== NEOSYS Software ===&lt;br /&gt;
&lt;br /&gt;
The NEOSYS Software is currently supported on the following Operating Systems (OS) and browsers:&lt;br /&gt;
&lt;br /&gt;
* For Media &amp;amp; Finance modules, Internet Explorer 6+ on Windows&lt;br /&gt;
* For Jobs &amp;amp; Timesheets modules, Internet Explorer 6+ on Windows or Safari 5+ on Mac&lt;br /&gt;
&lt;br /&gt;
Users are to ensure that pop-up blockers and any 3rd party toolbars are deactivated/switched off or else certain pages and alert messages while using NEOSYS do not appear as a result of blocking from either the pop-up blocker or toolbars with built-in pop-up blockers.&lt;br /&gt;
&lt;br /&gt;
NEOSYS Support personnel should additionally ensure that under Internet Explorer &amp;gt; Tools &amp;gt; Internet Options &amp;gt; Advanced &amp;gt; Browsing - the items Disable script debugging (Internet Explorer) and Disable script debugging (Other) are &#039;&#039;&#039;UNTICKED&#039;&#039;&#039;. This is because if NEOSYS generates any javascript error message, the same would disappear in the bottom left corner of a window, which in turn helps the programmer fix the error.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Note-&#039;&#039; The above mentioned process must be carried out after every Factory Reset.&lt;br /&gt;
&lt;br /&gt;
=== Website Live Support ===&lt;br /&gt;
www.neosys.com is equipped with a Live Support software and clients can visit the website, click on this link and chat with any of our support staff, without the need for any installation. The client has to fill in their name and email address to connect to an available support personnel. During non-working hours, the Live Support icon on the website automatically displays &amp;quot;offline&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
NEOSYS Support personnel who are authorised to provide such support, need to download a software called Kayako Live Support from http://hotfix.kayako.com/latest.php?product=lr&amp;amp;platform=win32&amp;amp;buildtype=stable&lt;br /&gt;
&lt;br /&gt;
Once downloaded the account needs to be setup as follows:&lt;br /&gt;
&lt;br /&gt;
* Account Name: (as provided by NEOSYS IT)&lt;br /&gt;
* SupportSuite URL: http://support.neosys.com/&lt;br /&gt;
* User Name: (as provided by NEOSYS IT and usually same as Account Name)&lt;br /&gt;
* Password: (as provided by NEOSYS IT)&lt;br /&gt;
&lt;br /&gt;
The first time the account is setup, you need to close Kayako Live Support completely and restart for it to login and work properly.&lt;br /&gt;
&lt;br /&gt;
== Handling Nagios Client Monitoring system ==&lt;br /&gt;
&lt;br /&gt;
Nagios is configured to display information pertaining to all NEOSYS client&#039;s server statuses which include multiple services such as:&lt;br /&gt;
# HTTPS: Most of NEOSYS clients are configured to have external web access via secure HTTP protocol (port 4430) from outside office. Nagios is configured to check port 4430 on a regular interval of 10 minutes and display any issues in accessing the same.&lt;br /&gt;
# SSH: As part of the support contract, NEOSYS should have external secure access to the client server usually over port 19580. Nagios is configured to check this port on a regular interval of 10 minutes and display any issues in accessing the same.&lt;br /&gt;
# Ping: Nagios is also configured to ping the client router as a measure to check if router responds incase the NEOSYS server is down.&lt;br /&gt;
# NEOSYS: This service works in a reverse direction, and the NEOSYS installation on the client server sends information such as databases running, current backup status, internal and internet IP addressess etc to Nagios on a regular interval of 10 minutes.&lt;br /&gt;
&lt;br /&gt;
Some key information about Nagios is as follows:&lt;br /&gt;
* Nagios is also configured to display information related to internal servers. &lt;br /&gt;
* Clients hosted on a NEOSYS cloud server might not have services such as SSH or PING as this is monitored as part of the internal server service.&lt;br /&gt;
* Nagios sends out email alerts to support2@neosys.com (which is forwarded to support@neosys.com) from 8 am to 12 midnight on all Dubai working days (Sun-Thu). No alerts are sent out on Fri and Sat, unless they are for NEOSYS internal servers.&lt;br /&gt;
&lt;br /&gt;
NEOSYS support staff on duty has to follow the below outlined procedures in case of any Nagios items showing a critical or warning message for any service: &lt;br /&gt;
# Nagios is required to be checked first thing in the morning and any critical or warning messages need to be dealth with to resolve the same at the earliest. &lt;br /&gt;
# Some of the messages could be related to backup failures and the usual procedure as stated in #Backup Procedures needs to be followed. In case the backup issue isn&#039;t resolved by 9:30 am, the Nagios service needs to be scheduled with downtime for a minimum of 2 hours and maximum until 1 am next day if the issue cannot be solved. &lt;br /&gt;
# In case any HTTPS, SSH or PING service is down, immediate action is required and the relevant IT people at the client side needs to be contacted to get this resolved. A downtime of 2 hours is required to be scheduled with further intervals of 2 hours incase this is not resolved. Support staff shouldn&#039;t schedule downtime till 1 am next day, just to get rid of the alerts for the day. Proactive follow up with the client is required to get this resolved before the business day - more so, if there is a weekend ahead. &lt;br /&gt;
# In case the HTTPS, SSH or PING service goes down during the day, a grace period of 20 minutes is given before the issue is reported to the client IT. This helps incase there is any temporary internet connection issue at the client or along the internet route. &lt;br /&gt;
# In case of &amp;quot;Backup not changed&amp;quot; warning status which occurs if the client has not interchanged the USB before 12 noon on that day, no action is required from the support staff and a downtime until 1 am next day needs to be scheduled.&lt;br /&gt;
 &lt;br /&gt;
**&#039;&#039;&#039;PLEASE NOTE&#039;&#039;&#039;: Failure to schedule appropriate downtime will lead to REDUNDANT ALERTS from NAGIOS every hour.&lt;br /&gt;
&lt;br /&gt;
== What happens if there is no remote access to NEOSYS server based in client’s premises ? ==&lt;br /&gt;
&lt;br /&gt;
If access to the NEOSYS server is lost then we must determine the root cause by: &lt;br /&gt;
&lt;br /&gt;
# Checking if the server is UP and running&lt;br /&gt;
# If yes, please check internet connectivity on the server&lt;br /&gt;
# If there is connectivity, please check the router for connectivity issues&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Sample Response:&#039;&#039;&#039;&lt;br /&gt;
Please note that we have currently lost access to the NEOSYS server. The server seems to be down at the moment and it seems that neosys processes are not running on the server.&lt;br /&gt;
Kindly check if the server is UP and running. If yes, please check internet connectivity on the server.&lt;br /&gt;
Do keep us posted on the server status so we can test connectivity from our side as well.0&lt;br /&gt;
&lt;br /&gt;
== New Router (Port Forwarding) ==&lt;br /&gt;
&lt;br /&gt;
If you have changed your router then you may notice that external access to NEOSYS is unavailable. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Solution:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Setup a permanent access for NEOSYS by reconfiguring the Router / Firewall for Port Forwarding from Router to the NEOSYS Server as follows: &lt;br /&gt;
# Port 19580 &amp;gt; 19580 for SSH &lt;br /&gt;
# Port 4430 &amp;gt; 4430 for HTTPS&lt;br /&gt;
&lt;br /&gt;
You can click [http://portforward.com/ Set Up Port Forwarding] to learn how to configure your Router.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Sample Response:&#039;&#039;&#039;&lt;br /&gt;
You are requested to kindly setup a permanent access for NEOSYS by reconfiguring the Router / Firewall for Port Forwarding from Router to the NEOSYS Server,i.e.  port 19580 for SSH and port 4430 for HTTPS.&lt;br /&gt;
&lt;br /&gt;
Once this is complete, kindly send me an email to confirm the same so that we could test connectivity from our end as well.&lt;br /&gt;
&lt;br /&gt;
== Backup Procedures ==&lt;br /&gt;
=== Preparing daily backup report ===&lt;br /&gt;
# Note the success, failure and other error of the clients backup mail in an excel sheet and forward the same to your manager.&lt;br /&gt;
# If there is a backup failure or backup is not available, check wiki to take necessary steps.&lt;br /&gt;
# If there is any unknown error, forward the same to your manager.&lt;br /&gt;
&lt;br /&gt;
=== Updating Nagios incase of failures ===&lt;br /&gt;
# If the backup failure is unsolved, schedule downtime Neosys service in Nagios till 01 am.&lt;br /&gt;
# If the backup did not happen because of server down. Call the IT person; ask him to re-boot the server and check wiki to do necessary step ahead and schedule downtime to Nagios for 2hours.&lt;br /&gt;
# If there is an error &amp;quot;Backup-&amp;gt;Impossible&amp;quot; on Nagios check wiki and schedule downtime to Nagios for 2hours.&lt;br /&gt;
&lt;br /&gt;
=== Interchange backup USB mail reminder ===&lt;br /&gt;
# Basically all the clients have different days to change their backup USB. All the notification can be seen on Nagios at 12.00 pm every day.&lt;br /&gt;
# When you see the change backup notification on Nagios at 12.00 pm, send a mail to the IT person or the person who changes the USB. As you send the mail schedule downtime for Neosys services for two hours.&lt;br /&gt;
# Check the Nagios at 2.00 pm if the backup USB is changed, don&#039;t send another mail and stop there. But if backup is still not yet changed, send a another mail and this time cc the mail to your manager. After sending the mail, schedule downtime for Neosys service for more two hours.&lt;br /&gt;
# Now at 4.00 pm if you still find the backup USB not changed. Call the IT person and ask him to change the USB ASAP and schedule downtime for Neosys services for one hour.&lt;br /&gt;
# Now at 5.00 pm check Nagios and see if the backup USB is changed and if not changed. Send the mail to everyone from the backup mail.&lt;br /&gt;
# If the backup is still not changed, escalate the issue to your manager.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; &lt;br /&gt;
If the USB is not interchanged on the scheduled day i.e. then The NEOSYS Automated backup will fail.&lt;br /&gt;
Traditionally, each USB holds backup of 7 days and using 3 different USBs we can store backups for the last 21 days enabling us to restore the system unto a time period beginning 21 days prior.&lt;br /&gt;
If the USB is not changed then the first backup on the current USB is replaced with the new or latest backup leading to inconsistencies within the backups. Hence we &#039;&#039;&#039;must&#039;&#039;&#039; interchange the USB on schedule to avoid a backup failure the next morning.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Sample Response:&#039;&#039;&#039;&lt;br /&gt;
The NEOSYS backup has failed today as the USB was not interchanged on the scheduled day.&lt;br /&gt;
Please interchange the USB immediately today to avoid a backup failure tomorrow morning.&lt;br /&gt;
Also note that your scheduled day to interchange the USB next week and hence forth remains unchanged to &#039;&#039;&#039;(Scheduled Day)&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
=== Finding out which USB is inserted into the server ===&lt;br /&gt;
As we ask the client to have 3 USB&#039;s and interchange them weekly, we also need to sometimes track which one of these 3 USB&#039;s are inserted into the server. USB&#039;s can be tracked using their volume serial number in most cases. To find this out either go to the command prompt and type VOL or in the nightly backup message check for the 2nd line (which looks like this - 14/12/2009 2:45pm Media: 705B-5B5F). However serial numbers can be the same even for different USB&#039;s.&lt;br /&gt;
&lt;br /&gt;
== Client relocating operations to a new premises == &lt;br /&gt;
&lt;br /&gt;
Ensure that the following procedure is followed by the clients IT staff prior to relocation:&lt;br /&gt;
&lt;br /&gt;
# Login to the NEOSYS server and shut down all the processes by hitting the ESC button on each of the window three times or until they close&lt;br /&gt;
# Take a backup of the D drive on another system or network / external drive&lt;br /&gt;
# Remove the USB plugged in and secure the same along with the other two USB’s in a safe location&lt;br /&gt;
# The NEOSYS server may now be shutdown and moved to the new premises&lt;br /&gt;
&lt;br /&gt;
Post relocation, the clients IT staff must ensure the following immediately:&lt;br /&gt;
&lt;br /&gt;
# Connect the server to the local network and complete all setup required for users to be able to access the system internally&lt;br /&gt;
# Configure the firewall and/or port settings to enable NEOSYS support staff to connect to the server externally &lt;br /&gt;
# Provide NEOSYS support with the new fixed IP address so that the connection can be tested.&lt;br /&gt;
&lt;br /&gt;
== Creating and Handling passwords ==&lt;br /&gt;
Passwords made out of a pass phrase should be at least 10 characters since using initials results in a lot of i&#039;s and a&#039;s etc which reduces the effectiveness of the password and allows hacking via brute force guessing especially since windows doesnt slow down logins even if it sees thousands of password attempts.&lt;br /&gt;
&lt;br /&gt;
=== Creating a password ===&lt;br /&gt;
Passwords are generated from a pass phrase and it is important to create a very difficult to guess pass phrase.&lt;br /&gt;
&lt;br /&gt;
For example, a good pass phrase would be: &#039;&#039;&#039;Today is a good day and it is the best time to go for a holiday&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The password for this would be &#039;&#039;&#039;Tiagdaiitbt2g4ah&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The important instructions for the above are:&lt;br /&gt;
#You have to take the first letter of each word and that makes your password (i.e. by using initials)&lt;br /&gt;
#Wherever any word starts with a capital, then you have to take first letter as a capital (eg. For Today you will take T)&lt;br /&gt;
#Replace &#039;&#039;&#039;and&#039;&#039;&#039; with &#039;&#039;&#039;&amp;amp;&#039;&#039;&#039;&lt;br /&gt;
#Replace &#039;&#039;&#039;to&#039;&#039;&#039; with &#039;&#039;&#039;2&#039;&#039;&#039;&lt;br /&gt;
#Replace &#039;&#039;&#039;for&#039;&#039;&#039; with &#039;&#039;&#039;4&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Handling passwords ===&lt;br /&gt;
#Never send the actual password - always send the pass phrase&lt;br /&gt;
#Make sure that the password created out of the pass phrase is at least 10 characters long since using initials results in a lot of i&#039;s and a&#039;s etc which reduces the effectiveness of the password and allows hacking via brute force guessing especially since windows doesnt slow down logins even if it sees thousands of password attempts&lt;br /&gt;
#Pass phrases are never to be sent by email, whatever the case maybe.&lt;br /&gt;
#Pass phrases can be sent by chat - however they have to be broken down in two parts and sent separately over two different messengers or if you are using Gtalk then use the &#039;off the record&#039; mode.&lt;br /&gt;
#Using SMS to send pass phrases is the best known way as of now.&lt;br /&gt;
#If you save the passwords on your system as a file, make sure the file is encrypted with a master password.&lt;br /&gt;
&lt;br /&gt;
== NEOSYS Maintenance Window ==&lt;br /&gt;
&lt;br /&gt;
The NEOSYS server is functional from 6am – 1am. There is a 5hr window gap for the system to perform updates &amp;amp; backups.&lt;br /&gt;
&lt;br /&gt;
The 5hr maintenance window:-&lt;br /&gt;
&lt;br /&gt;
1. At 1am – The server performs a data backup on a USB (for the respective clients) &amp;amp; once the backup has been completed, the system automatically generates an email addressed to the neosys staff &amp;amp; the respective clients.&lt;br /&gt;
&lt;br /&gt;
2. At 2:45am – The main data over writes the test data on the server.&lt;br /&gt;
&lt;br /&gt;
3. At 3:00am – The server by itself performs an update for Windows.&lt;br /&gt;
&lt;br /&gt;
4. At 4:00am – The server performs a backup to the headquarters for clients, and then automatically generates an email addressed to the NEOSYS staff &amp;amp; the respective clients. This process is followed by only two clients i.e. Adline &amp;amp; Farouk.&lt;br /&gt;
&lt;br /&gt;
5. At 6:00am – The server starts up NEOSYS.&lt;br /&gt;
&lt;br /&gt;
==Switching to a backup server==&lt;br /&gt;
&lt;br /&gt;
As NEOSYS provides clients with option of backing up their data to a remote NEOSYS server in case of emergencies or server problems, it is crucial you understand the below procedure on how to switch to a backup server in the event of such a situation. Extreme care must be taken when switching over to using a backup server otherwise unnecessary data loss is very likely.&lt;br /&gt;
&lt;br /&gt;
Backup servers are normally switched off and should not be started automatically otherwise there is a serious risk of the client’s staff working on two systems. It is not possible to merge two databases into one database. Before the backup server is enabled the main server must be disabled, and before the main server is re-enabled, the backup  server must be disabled again. This can be managed technically without requiring any decision from senior non-technical staff.&lt;br /&gt;
&lt;br /&gt;
However, there are also some potentially hard decisions about unavoidable loss of data versus continued system availability. *** Backup servers should therefore only be started with the written approval of the clients senior staff. A suitable email requesting approval follows.&lt;br /&gt;
&lt;br /&gt;
The following case assumes that the main server has gone down sometime during the working day and that therefore the data on the backup server is out of date. Allowing them to use the backup server therefore implies some loss of data. They may wish to lose the data. They may wish to work on the backup server data and then try to redo the work on the main server once it is restored. There are a variety of options depending on the situation.&lt;br /&gt;
&lt;br /&gt;
If the main server is still functioning AND you are reasonably sure that the database is not damaged (which is perhaps an unlikely situation if you need to use the backup server!), it may be sensible to trigger an additional “backup/sync” process to bring the backup server database up to date with the main server. Before you do this, it is advisable that you take a backup copy of the backup system on the backup  server. In this case there would be no data loss in using the backup.&lt;br /&gt;
&lt;br /&gt;
An additional option of providing usage of the backup server in read-only mode so that people can at least access some data is being developed. The backup server could be available continuously at any time in read-only mode. This article would then be related to switching a backup server into main operational mode.&lt;br /&gt;
&lt;br /&gt;
 Dear {senior staff} cc {IT staff}&lt;br /&gt;
 &lt;br /&gt;
 Please note that we can enable the backup server if you wish.&lt;br /&gt;
 &lt;br /&gt;
 However the data on the backup server is out of date since it is a copy of your main database as at 11/22/33 99:99.&lt;br /&gt;
 &lt;br /&gt;
 If you wish to allow work to be done on the backup server then any data entered on your main server since the above date will be lost if we &lt;br /&gt;
 subsequently copy the data on the backup server to the main server.&lt;br /&gt;
 &lt;br /&gt;
 If, after using the backup server, we do NOT copy the data on the back server to the main server then any data you have entered on the backup &lt;br /&gt;
 server/database will be lost.&lt;br /&gt;
 &lt;br /&gt;
 Please confirm a) you want to work on HOSTS2 database and that we should therefore enable it and b) you have disconnected your main server &lt;br /&gt;
 for the duration.&lt;br /&gt;
 &lt;br /&gt;
 Best Regards,&lt;br /&gt;
 xxxxxx xxxxxxx&lt;br /&gt;
 NEOSYS Support&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Description of Backup Procedure for the NEOSYS Client Hosting Server ==&lt;br /&gt;
&lt;br /&gt;
NEOSYS backup is a two phase process. It is mandatory that both phases are complete for the process to be considered a backup.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
#On the main NEOSYS server host(Schuberg Philis in Amsterdam as of Dec 2010)&amp;lt;br&amp;gt;Every night, the NEOSYS process for selected databases stops serving users at around 1:00 AM to 5:00 AM (local time of the client&#039;s main office) and performs the following procedure: &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; - All the database files are checked for physical corruption.&amp;lt;br&amp;gt; - All the database files are zipped into a file who&#039;s path would be something like C:\DATA.BAK\CLIENTX\MONDAY\BACKUP.ZIP file.&amp;lt;br&amp;gt; - The file having the same name as that of the corresponding day of the week as last week is overwritten.A &amp;quot;backup alert&amp;quot; email indicating success or failure is sent to senior managers at the client, the client’s IT manager and backups@neosys.com.&amp;lt;br&amp;gt; - An internal log (accessible on each database&#039;s Support Menu) is maintained as a record and in case the emails cannot be sent out for some reason.&amp;lt;br&amp;gt; - NEOSYS support staff in Dubai check the emails every morning Sunday through Thursday.&amp;lt;br&amp;gt; - In the case of failure, NEOSYS support staff in Dubai take appropriate action and send an email (to the same people who receive the automated backup alert emails) indicating what action has been taken.&amp;lt;br&amp;gt; - The above does not by itself constitute a proper backup because the backup is stored on the same server and physical disk as the actual data.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
#On the NEOSYS backup server host (in NEOSYS Dubai Office as of Dec 2010 but could be changed without notice to EvoSwitch in Amsterdam).&amp;lt;br&amp;gt; - At around 02:00-02:30 AM GMT daily, NEOSYS&#039;s backup server copies (replicates) all the BACKUP.ZIP files from the main NEOSYS server host to itself.&amp;lt;br&amp;gt; - An email indicating success or failure is sent to NEOSYS support staff (only) who deal with it in a similar way to phase 1, except that only NEOSYS management are updated.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Cutting and Pasting NEOSYS Maintenance Mode Messages into Wiki ==&lt;br /&gt;
&lt;br /&gt;
Error messages expressed as images are not searchable.&lt;br /&gt;
&lt;br /&gt;
Therefore SELECT THE TEXT OF MAINTENANCE MODE WINDOWS using right click on window heading, Edit, Mark, Copy .. not graphical copy.&lt;br /&gt;
 &lt;br /&gt;
Then paste the text into wiki and surround with &amp;quot;&amp;lt; pre&amp;gt;&amp;quot; and &amp;quot;&amp;lt; /pre&amp;gt;&amp;quot; tags (without the space) as follows:&lt;br /&gt;
&lt;br /&gt;
[[image:loginmessage.jpg]]&lt;br /&gt;
&lt;br /&gt;
the result is searchable text as follows ...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
╔════════════════════════════╗&lt;br /&gt;
║      NEOSYS SECURITY       ║&lt;br /&gt;
║    What is your name ?     ║&lt;br /&gt;
║                            ║&lt;br /&gt;
║   [                    ]   ║&lt;br /&gt;
║                            ║&lt;br /&gt;
║  Please enter your name,   ║&lt;br /&gt;
║   or press Esc to exit.    ║&lt;br /&gt;
╚════════════════════════════╝&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== NEOSYS Policy about Reposting Journal Entries ==&lt;br /&gt;
&lt;br /&gt;
NEOSYS does not generally allow reposting or amending of journal entries once posted. &lt;br /&gt;
&lt;br /&gt;
This policy is derived from the manual book keeping practices where once a journal entry is made you cannot remove it as it is written in ink and hence a rectification entry needs to be passed.&lt;br /&gt;
&lt;br /&gt;
However in certain exceptional cases, amending/reposting of journal entries is allowed for a brief period of time to enable clients to present reports in an alternative manner. This would be subject to NEOSYS would requiring a written LETTER OF APPROVAL duly signed and stamped by the highest management of the company.&lt;br /&gt;
&lt;br /&gt;
Before granting such permission NEOSYS will have a conversation with the Management of the client organisation and clearly explain the repercussions of granting permission to edit/report journals, which primarily are:&lt;br /&gt;
&lt;br /&gt;
# It is not common practice to do such manipulations&lt;br /&gt;
# It can lead to possible errors in numbers&lt;br /&gt;
# Staff can become complacent and careless while posting entries and frequently ask for this permission&lt;br /&gt;
# Restricting users from editing/reposting journal entries promotes a more healthy and vigilant working environment where users verify each journal entry before posting it which effectively leads to good accounting practices.&lt;br /&gt;
&lt;br /&gt;
=== Amending/Reposting Procedure ===&lt;br /&gt;
In case the client management still decides to go ahead and allow editing/reposting of journal entries, the following procedure is to be followed:&lt;br /&gt;
&lt;br /&gt;
# Client must de-allocate vouchers which need to be amended&lt;br /&gt;
# NEOSYS support staff must wait for a day so that de-allocated vouchers are copied into Test database&lt;br /&gt;
# Authorise required users to amend and repost (without record) &#039;&#039;&#039;in Test database only&#039;&#039;&#039; &amp;lt;br&amp;gt;( While reposting, we have 2 options i.e. with record and without record. The &#039;with record&#039; option causes the system to maintain a history of edits made. Hence, we want to repost without record so that there is no trace of the edit in the system)&lt;br /&gt;
# Amend a substantial number of vouchers in Test and verify them.&amp;lt;br&amp;gt;To verify if the edits made are reflected:&lt;br /&gt;
# *Print all ledgers for the whole year&lt;br /&gt;
# *Cross-check all balances&lt;br /&gt;
# Once you verify the balances are correct in Test database, grant users permission to amend and repost in the Live database.&lt;br /&gt;
# Ask users to amend and repost vouchers in the Live database.&lt;br /&gt;
# Cross-check all balances for the current year.&lt;br /&gt;
# If you successfully verify the balances, revoke permissions immediately. Else, wait for 24 hours and revoke permissions irrespectively.&lt;/div&gt;</summary>
		<author><name>Ashwin</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Procedures&amp;diff=854</id>
		<title>Procedures</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=Procedures&amp;diff=854"/>
		<updated>2012-01-23T12:34:22Z</updated>

		<summary type="html">&lt;p&gt;Ashwin: /* NEOSYS Policy about Reposting Journal Entries */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Here are procedures to be followed by Support Staff in respect to various technical matters in day to day operations of client issues.&lt;br /&gt;
&lt;br /&gt;
== NEOSYS Support Policies ==&lt;br /&gt;
In order to maintain good payment speed by clients NEOSYS needs to restrict support to clients that dont pay their bills on time, however the degree of restriction needs to depend on an intimate knowledge of the client which cannot be expected from all NEOSYS support staff. Therefore we will use a simple escalation policy as follows:&lt;br /&gt;
&lt;br /&gt;
=== Stop Support List ===&lt;br /&gt;
NEOSYS SUPPORT MANAGERS WILL maintain an overdue/stop list on a whiteboard visible to all support staff. Generally clients will go on the list immediately when their invoice is overdue and come off only after satisfactory commitment to pay have been obtained.&lt;br /&gt;
&lt;br /&gt;
NEOSYS SUPPORT STAFF WILL discretely refer any calls for support from client on the overdue/stop list to support managers for handling.&lt;br /&gt;
&lt;br /&gt;
In case clients pressurize neosys staff to provide support then the support staff must inform them that there is an issue with their account and that their request had been forwarded to the manager.&lt;br /&gt;
&lt;br /&gt;
This policy excludes dealing with server failures, backup failures and measures required to be taken to fix these failures.&lt;br /&gt;
&lt;br /&gt;
== Client Password Policy ==&lt;br /&gt;
All client user passwords, including their initial one, are to be obtained via the user&#039;s email address using the password reminder/reset button on the login screen.&lt;br /&gt;
&lt;br /&gt;
NEOSYS staff should never know users passwords therefore NEOSYS will not obtain and grant user passwords.&lt;br /&gt;
&lt;br /&gt;
=== Support requests from ordinary client users ===&lt;br /&gt;
Any support requests concerning inability to obtain passwords will be forwarded to known skilled users on the client staff since this is the most efficient (not fastest) way to handle such issues.&lt;br /&gt;
&lt;br /&gt;
=== Support requests from senior client management ===&lt;br /&gt;
Any support requests concerning inability to obtain passwords by senior client management users shall be handled directly by NEOSYS support staff in any way convenient to resolve the issue in the quickest possible time rather than the most efficient.&lt;br /&gt;
&lt;br /&gt;
Bearing in mind that NEOSYS staff should never know user&#039;s passwords this will probably involve NEOSYS staff using the Password Reminder/Reset button to send a new password to the user.&lt;br /&gt;
&lt;br /&gt;
=== User Defined Passwords ===&lt;br /&gt;
NEOSYS will provide user defined passwords in very special cases which must be pre-approved case by case by NEOSYS management. For many reasons, NEOSYS will not approve.&lt;br /&gt;
&lt;br /&gt;
Currently this permission has only been granted to one NEOSYS client with several hundred of databases.&lt;br /&gt;
&lt;br /&gt;
== Handling client issues ==&lt;br /&gt;
=== Handling error messages ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Important:&#039;&#039;&#039; Before Attempting to resolve client issues, please ensure that we have secure access to the NEOSYS server.&lt;br /&gt;
&lt;br /&gt;
#The very first step is understanding client problem.&lt;br /&gt;
#Ask the client what error does he gets on the screen.&lt;br /&gt;
#If error seems to be familiar then resolve it over the phone.&lt;br /&gt;
#If error is unknown then ask user to send a screenshot of the error displayed along with the options used (basically you need to know HOW to replicate the error)&lt;br /&gt;
#Upon receipt of the error, check in all the wikis for a solution.&lt;br /&gt;
#If the issue is unknown or you don’t understand it clearly ask the user then use remote support to gain access to the users desktop to view how to replicate the error. &lt;br /&gt;
&lt;br /&gt;
If it is new issue then report by escalation the same issue to your manager with a brief explanation.&lt;br /&gt;
&lt;br /&gt;
=== NEOSYS support for resolving issues with totals on reports ===&lt;br /&gt;
&lt;br /&gt;
If a client has a problem with any total output by NEOSYS software then NEOSYS support will advise them which other NEOSYS report or reports provide a complete breakdown of the total (if necessary, to individual transactions) and ask the client to locate any offending transactions themselves.&lt;br /&gt;
&lt;br /&gt;
NEOSYS support staff will handle any issues where the total on the breakdown report does not add up to the total on the summary report.&lt;br /&gt;
&lt;br /&gt;
Reconciling totals can be hard if there are many transactions involved. Regardless of how hard it may be, reconciliation is an operational task for users not for support staff since NEOSYS support staff will not get involved in understanding client transactions or data.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Using Support Tools ==&lt;br /&gt;
&lt;br /&gt;
=== NEOSYS Software ===&lt;br /&gt;
&lt;br /&gt;
The NEOSYS Software is currently supported on the following Operating Systems (OS) and browsers:&lt;br /&gt;
&lt;br /&gt;
* For Media &amp;amp; Finance modules, Internet Explorer 6+ on Windows&lt;br /&gt;
* For Jobs &amp;amp; Timesheets modules, Internet Explorer 6+ on Windows or Safari 5+ on Mac&lt;br /&gt;
&lt;br /&gt;
Users are to ensure that pop-up blockers and any 3rd party toolbars are deactivated/switched off or else certain pages and alert messages while using NEOSYS do not appear as a result of blocking from either the pop-up blocker or toolbars with built-in pop-up blockers.&lt;br /&gt;
&lt;br /&gt;
NEOSYS Support personnel should additionally ensure that under Internet Explorer &amp;gt; Tools &amp;gt; Internet Options &amp;gt; Advanced &amp;gt; Browsing - the items Disable script debugging (Internet Explorer) and Disable script debugging (Other) are &#039;&#039;&#039;UNTICKED&#039;&#039;&#039;. This is because if NEOSYS generates any javascript error message, the same would disappear in the bottom left corner of a window, which in turn helps the programmer fix the error.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Note-&#039;&#039; The above mentioned process must be carried out after every Factory Reset.&lt;br /&gt;
&lt;br /&gt;
=== Website Live Support ===&lt;br /&gt;
www.neosys.com is equipped with a Live Support software and clients can visit the website, click on this link and chat with any of our support staff, without the need for any installation. The client has to fill in their name and email address to connect to an available support personnel. During non-working hours, the Live Support icon on the website automatically displays &amp;quot;offline&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
NEOSYS Support personnel who are authorised to provide such support, need to download a software called Kayako Live Support from http://hotfix.kayako.com/latest.php?product=lr&amp;amp;platform=win32&amp;amp;buildtype=stable&lt;br /&gt;
&lt;br /&gt;
Once downloaded the account needs to be setup as follows:&lt;br /&gt;
&lt;br /&gt;
* Account Name: (as provided by NEOSYS IT)&lt;br /&gt;
* SupportSuite URL: http://support.neosys.com/&lt;br /&gt;
* User Name: (as provided by NEOSYS IT and usually same as Account Name)&lt;br /&gt;
* Password: (as provided by NEOSYS IT)&lt;br /&gt;
&lt;br /&gt;
The first time the account is setup, you need to close Kayako Live Support completely and restart for it to login and work properly.&lt;br /&gt;
&lt;br /&gt;
== Handling Nagios Client Monitoring system ==&lt;br /&gt;
&lt;br /&gt;
Nagios is configured to display information pertaining to all NEOSYS client&#039;s server statuses which include multiple services such as:&lt;br /&gt;
# HTTPS: Most of NEOSYS clients are configured to have external web access via secure HTTP protocol (port 4430) from outside office. Nagios is configured to check port 4430 on a regular interval of 10 minutes and display any issues in accessing the same.&lt;br /&gt;
# SSH: As part of the support contract, NEOSYS should have external secure access to the client server usually over port 19580. Nagios is configured to check this port on a regular interval of 10 minutes and display any issues in accessing the same.&lt;br /&gt;
# Ping: Nagios is also configured to ping the client router as a measure to check if router responds incase the NEOSYS server is down.&lt;br /&gt;
# NEOSYS: This service works in a reverse direction, and the NEOSYS installation on the client server sends information such as databases running, current backup status, internal and internet IP addressess etc to Nagios on a regular interval of 10 minutes.&lt;br /&gt;
&lt;br /&gt;
Some key information about Nagios is as follows:&lt;br /&gt;
* Nagios is also configured to display information related to internal servers. &lt;br /&gt;
* Clients hosted on a NEOSYS cloud server might not have services such as SSH or PING as this is monitored as part of the internal server service.&lt;br /&gt;
* Nagios sends out email alerts to support2@neosys.com (which is forwarded to support@neosys.com) from 8 am to 12 midnight on all Dubai working days (Sun-Thu). No alerts are sent out on Fri and Sat, unless they are for NEOSYS internal servers.&lt;br /&gt;
&lt;br /&gt;
NEOSYS support staff on duty has to follow the below outlined procedures in case of any Nagios items showing a critical or warning message for any service: &lt;br /&gt;
# Nagios is required to be checked first thing in the morning and any critical or warning messages need to be dealth with to resolve the same at the earliest. &lt;br /&gt;
# Some of the messages could be related to backup failures and the usual procedure as stated in #Backup Procedures needs to be followed. In case the backup issue isn&#039;t resolved by 9:30 am, the Nagios service needs to be scheduled with downtime for a minimum of 2 hours and maximum until 1 am next day if the issue cannot be solved. &lt;br /&gt;
# In case any HTTPS, SSH or PING service is down, immediate action is required and the relevant IT people at the client side needs to be contacted to get this resolved. A downtime of 2 hours is required to be scheduled with further intervals of 2 hours incase this is not resolved. Support staff shouldn&#039;t schedule downtime till 1 am next day, just to get rid of the alerts for the day. Proactive follow up with the client is required to get this resolved before the business day - more so, if there is a weekend ahead. &lt;br /&gt;
# In case the HTTPS, SSH or PING service goes down during the day, a grace period of 20 minutes is given before the issue is reported to the client IT. This helps incase there is any temporary internet connection issue at the client or along the internet route. &lt;br /&gt;
# In case of &amp;quot;Backup not changed&amp;quot; warning status which occurs if the client has not interchanged the USB before 12 noon on that day, no action is required from the support staff and a downtime until 1 am next day needs to be scheduled.&lt;br /&gt;
 &lt;br /&gt;
**&#039;&#039;&#039;PLEASE NOTE&#039;&#039;&#039;: Failure to schedule appropriate downtime will lead to REDUNDANT ALERTS from NAGIOS every hour.&lt;br /&gt;
&lt;br /&gt;
== What happens if there is no remote access to NEOSYS server based in client’s premises ? ==&lt;br /&gt;
&lt;br /&gt;
If access to the NEOSYS server is lost then we must determine the root cause by: &lt;br /&gt;
&lt;br /&gt;
# Checking if the server is UP and running&lt;br /&gt;
# If yes, please check internet connectivity on the server&lt;br /&gt;
# If there is connectivity, please check the router for connectivity issues&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Sample Response:&#039;&#039;&#039;&lt;br /&gt;
Please note that we have currently lost access to the NEOSYS server. The server seems to be down at the moment and it seems that neosys processes are not running on the server.&lt;br /&gt;
Kindly check if the server is UP and running. If yes, please check internet connectivity on the server.&lt;br /&gt;
Do keep us posted on the server status so we can test connectivity from our side as well.0&lt;br /&gt;
&lt;br /&gt;
== New Router (Port Forwarding) ==&lt;br /&gt;
&lt;br /&gt;
If you have changed your router then you may notice that external access to NEOSYS is unavailable. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Solution:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Setup a permanent access for NEOSYS by reconfiguring the Router / Firewall for Port Forwarding from Router to the NEOSYS Server as follows: &lt;br /&gt;
# Port 19580 &amp;gt; 19580 for SSH &lt;br /&gt;
# Port 4430 &amp;gt; 4430 for HTTPS&lt;br /&gt;
&lt;br /&gt;
You can click [http://portforward.com/ Set Up Port Forwarding] to learn how to configure your Router.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Sample Response:&#039;&#039;&#039;&lt;br /&gt;
You are requested to kindly setup a permanent access for NEOSYS by reconfiguring the Router / Firewall for Port Forwarding from Router to the NEOSYS Server,i.e.  port 19580 for SSH and port 4430 for HTTPS.&lt;br /&gt;
&lt;br /&gt;
Once this is complete, kindly send me an email to confirm the same so that we could test connectivity from our end as well.&lt;br /&gt;
&lt;br /&gt;
== Backup Procedures ==&lt;br /&gt;
=== Preparing daily backup report ===&lt;br /&gt;
# Note the success, failure and other error of the clients backup mail in an excel sheet and forward the same to your manager.&lt;br /&gt;
# If there is a backup failure or backup is not available, check wiki to take necessary steps.&lt;br /&gt;
# If there is any unknown error, forward the same to your manager.&lt;br /&gt;
&lt;br /&gt;
=== Updating Nagios incase of failures ===&lt;br /&gt;
# If the backup failure is unsolved, schedule downtime Neosys service in Nagios till 01 am.&lt;br /&gt;
# If the backup did not happen because of server down. Call the IT person; ask him to re-boot the server and check wiki to do necessary step ahead and schedule downtime to Nagios for 2hours.&lt;br /&gt;
# If there is an error &amp;quot;Backup-&amp;gt;Impossible&amp;quot; on Nagios check wiki and schedule downtime to Nagios for 2hours.&lt;br /&gt;
&lt;br /&gt;
=== Interchange backup USB mail reminder ===&lt;br /&gt;
# Basically all the clients have different days to change their backup USB. All the notification can be seen on Nagios at 12.00 pm every day.&lt;br /&gt;
# When you see the change backup notification on Nagios at 12.00 pm, send a mail to the IT person or the person who changes the USB. As you send the mail schedule downtime for Neosys services for two hours.&lt;br /&gt;
# Check the Nagios at 2.00 pm if the backup USB is changed, don&#039;t send another mail and stop there. But if backup is still not yet changed, send a another mail and this time cc the mail to your manager. After sending the mail, schedule downtime for Neosys service for more two hours.&lt;br /&gt;
# Now at 4.00 pm if you still find the backup USB not changed. Call the IT person and ask him to change the USB ASAP and schedule downtime for Neosys services for one hour.&lt;br /&gt;
# Now at 5.00 pm check Nagios and see if the backup USB is changed and if not changed. Send the mail to everyone from the backup mail.&lt;br /&gt;
# If the backup is still not changed, escalate the issue to your manager.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; &lt;br /&gt;
If the USB is not interchanged on the scheduled day i.e. then The NEOSYS Automated backup will fail.&lt;br /&gt;
Traditionally, each USB holds backup of 7 days and using 3 different USBs we can store backups for the last 21 days enabling us to restore the system unto a time period beginning 21 days prior.&lt;br /&gt;
If the USB is not changed then the first backup on the current USB is replaced with the new or latest backup leading to inconsistencies within the backups. Hence we &#039;&#039;&#039;must&#039;&#039;&#039; interchange the USB on schedule to avoid a backup failure the next morning.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Sample Response:&#039;&#039;&#039;&lt;br /&gt;
The NEOSYS backup has failed today as the USB was not interchanged on the scheduled day.&lt;br /&gt;
Please interchange the USB immediately today to avoid a backup failure tomorrow morning.&lt;br /&gt;
Also note that your scheduled day to interchange the USB next week and hence forth remains unchanged to &#039;&#039;&#039;(Scheduled Day)&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
=== Finding out which USB is inserted into the server ===&lt;br /&gt;
As we ask the client to have 3 USB&#039;s and interchange them weekly, we also need to sometimes track which one of these 3 USB&#039;s are inserted into the server. USB&#039;s can be tracked using their volume serial number in most cases. To find this out either go to the command prompt and type VOL or in the nightly backup message check for the 2nd line (which looks like this - 14/12/2009 2:45pm Media: 705B-5B5F). However serial numbers can be the same even for different USB&#039;s.&lt;br /&gt;
&lt;br /&gt;
== Client relocating operations to a new premises == &lt;br /&gt;
&lt;br /&gt;
Ensure that the following procedure is followed by the clients IT staff prior to relocation:&lt;br /&gt;
&lt;br /&gt;
# Login to the NEOSYS server and shut down all the processes by hitting the ESC button on each of the window three times or until they close&lt;br /&gt;
# Take a backup of the D drive on another system or network / external drive&lt;br /&gt;
# Remove the USB plugged in and secure the same along with the other two USB’s in a safe location&lt;br /&gt;
# The NEOSYS server may now be shutdown and moved to the new premises&lt;br /&gt;
&lt;br /&gt;
Post relocation, the clients IT staff must ensure the following immediately:&lt;br /&gt;
&lt;br /&gt;
# Connect the server to the local network and complete all setup required for users to be able to access the system internally&lt;br /&gt;
# Configure the firewall and/or port settings to enable NEOSYS support staff to connect to the server externally &lt;br /&gt;
# Provide NEOSYS support with the new fixed IP address so that the connection can be tested.&lt;br /&gt;
&lt;br /&gt;
== Creating and Handling passwords ==&lt;br /&gt;
Passwords made out of a pass phrase should be at least 10 characters since using initials results in a lot of i&#039;s and a&#039;s etc which reduces the effectiveness of the password and allows hacking via brute force guessing especially since windows doesnt slow down logins even if it sees thousands of password attempts.&lt;br /&gt;
&lt;br /&gt;
=== Creating a password ===&lt;br /&gt;
Passwords are generated from a pass phrase and it is important to create a very difficult to guess pass phrase.&lt;br /&gt;
&lt;br /&gt;
For example, a good pass phrase would be: &#039;&#039;&#039;Today is a good day and it is the best time to go for a holiday&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The password for this would be &#039;&#039;&#039;Tiagdaiitbt2g4ah&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The important instructions for the above are:&lt;br /&gt;
#You have to take the first letter of each word and that makes your password (i.e. by using initials)&lt;br /&gt;
#Wherever any word starts with a capital, then you have to take first letter as a capital (eg. For Today you will take T)&lt;br /&gt;
#Replace &#039;&#039;&#039;and&#039;&#039;&#039; with &#039;&#039;&#039;&amp;amp;&#039;&#039;&#039;&lt;br /&gt;
#Replace &#039;&#039;&#039;to&#039;&#039;&#039; with &#039;&#039;&#039;2&#039;&#039;&#039;&lt;br /&gt;
#Replace &#039;&#039;&#039;for&#039;&#039;&#039; with &#039;&#039;&#039;4&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Handling passwords ===&lt;br /&gt;
#Never send the actual password - always send the pass phrase&lt;br /&gt;
#Make sure that the password created out of the pass phrase is at least 10 characters long since using initials results in a lot of i&#039;s and a&#039;s etc which reduces the effectiveness of the password and allows hacking via brute force guessing especially since windows doesnt slow down logins even if it sees thousands of password attempts&lt;br /&gt;
#Pass phrases are never to be sent by email, whatever the case maybe.&lt;br /&gt;
#Pass phrases can be sent by chat - however they have to be broken down in two parts and sent separately over two different messengers or if you are using Gtalk then use the &#039;off the record&#039; mode.&lt;br /&gt;
#Using SMS to send pass phrases is the best known way as of now.&lt;br /&gt;
#If you save the passwords on your system as a file, make sure the file is encrypted with a master password.&lt;br /&gt;
&lt;br /&gt;
== NEOSYS Maintenance Window ==&lt;br /&gt;
&lt;br /&gt;
The NEOSYS server is functional from 6am – 1am. There is a 5hr window gap for the system to perform updates &amp;amp; backups.&lt;br /&gt;
&lt;br /&gt;
The 5hr maintenance window:-&lt;br /&gt;
&lt;br /&gt;
1. At 1am – The server performs a data backup on a USB (for the respective clients) &amp;amp; once the backup has been completed, the system automatically generates an email addressed to the neosys staff &amp;amp; the respective clients.&lt;br /&gt;
&lt;br /&gt;
2. At 2:45am – The main data over writes the test data on the server.&lt;br /&gt;
&lt;br /&gt;
3. At 3:00am – The server by itself performs an update for Windows.&lt;br /&gt;
&lt;br /&gt;
4. At 4:00am – The server performs a backup to the headquarters for clients, and then automatically generates an email addressed to the NEOSYS staff &amp;amp; the respective clients. This process is followed by only two clients i.e. Adline &amp;amp; Farouk.&lt;br /&gt;
&lt;br /&gt;
5. At 6:00am – The server starts up NEOSYS.&lt;br /&gt;
&lt;br /&gt;
==Switching to a backup server==&lt;br /&gt;
&lt;br /&gt;
As NEOSYS provides clients with option of backing up their data to a remote NEOSYS server in case of emergencies or server problems, it is crucial you understand the below procedure on how to switch to a backup server in the event of such a situation. Extreme care must be taken when switching over to using a backup server otherwise unnecessary data loss is very likely.&lt;br /&gt;
&lt;br /&gt;
Backup servers are normally switched off and should not be started automatically otherwise there is a serious risk of the client’s staff working on two systems. It is not possible to merge two databases into one database. Before the backup server is enabled the main server must be disabled, and before the main server is re-enabled, the backup  server must be disabled again. This can be managed technically without requiring any decision from senior non-technical staff.&lt;br /&gt;
&lt;br /&gt;
However, there are also some potentially hard decisions about unavoidable loss of data versus continued system availability. *** Backup servers should therefore only be started with the written approval of the clients senior staff. A suitable email requesting approval follows.&lt;br /&gt;
&lt;br /&gt;
The following case assumes that the main server has gone down sometime during the working day and that therefore the data on the backup server is out of date. Allowing them to use the backup server therefore implies some loss of data. They may wish to lose the data. They may wish to work on the backup server data and then try to redo the work on the main server once it is restored. There are a variety of options depending on the situation.&lt;br /&gt;
&lt;br /&gt;
If the main server is still functioning AND you are reasonably sure that the database is not damaged (which is perhaps an unlikely situation if you need to use the backup server!), it may be sensible to trigger an additional “backup/sync” process to bring the backup server database up to date with the main server. Before you do this, it is advisable that you take a backup copy of the backup system on the backup  server. In this case there would be no data loss in using the backup.&lt;br /&gt;
&lt;br /&gt;
An additional option of providing usage of the backup server in read-only mode so that people can at least access some data is being developed. The backup server could be available continuously at any time in read-only mode. This article would then be related to switching a backup server into main operational mode.&lt;br /&gt;
&lt;br /&gt;
 Dear {senior staff} cc {IT staff}&lt;br /&gt;
 &lt;br /&gt;
 Please note that we can enable the backup server if you wish.&lt;br /&gt;
 &lt;br /&gt;
 However the data on the backup server is out of date since it is a copy of your main database as at 11/22/33 99:99.&lt;br /&gt;
 &lt;br /&gt;
 If you wish to allow work to be done on the backup server then any data entered on your main server since the above date will be lost if we &lt;br /&gt;
 subsequently copy the data on the backup server to the main server.&lt;br /&gt;
 &lt;br /&gt;
 If, after using the backup server, we do NOT copy the data on the back server to the main server then any data you have entered on the backup &lt;br /&gt;
 server/database will be lost.&lt;br /&gt;
 &lt;br /&gt;
 Please confirm a) you want to work on HOSTS2 database and that we should therefore enable it and b) you have disconnected your main server &lt;br /&gt;
 for the duration.&lt;br /&gt;
 &lt;br /&gt;
 Best Regards,&lt;br /&gt;
 xxxxxx xxxxxxx&lt;br /&gt;
 NEOSYS Support&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Description of Backup Procedure for the NEOSYS Client Hosting Server ==&lt;br /&gt;
&lt;br /&gt;
NEOSYS backup is a two phase process. It is mandatory that both phases are complete for the process to be considered a backup.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
#On the main NEOSYS server host(Schuberg Philis in Amsterdam as of Dec 2010)&amp;lt;br&amp;gt;Every night, the NEOSYS process for selected databases stops serving users at around 1:00 AM to 5:00 AM (local time of the client&#039;s main office) and performs the following procedure: &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; - All the database files are checked for physical corruption.&amp;lt;br&amp;gt; - All the database files are zipped into a file who&#039;s path would be something like C:\DATA.BAK\CLIENTX\MONDAY\BACKUP.ZIP file.&amp;lt;br&amp;gt; - The file having the same name as that of the corresponding day of the week as last week is overwritten.A &amp;quot;backup alert&amp;quot; email indicating success or failure is sent to senior managers at the client, the client’s IT manager and backups@neosys.com.&amp;lt;br&amp;gt; - An internal log (accessible on each database&#039;s Support Menu) is maintained as a record and in case the emails cannot be sent out for some reason.&amp;lt;br&amp;gt; - NEOSYS support staff in Dubai check the emails every morning Sunday through Thursday.&amp;lt;br&amp;gt; - In the case of failure, NEOSYS support staff in Dubai take appropriate action and send an email (to the same people who receive the automated backup alert emails) indicating what action has been taken.&amp;lt;br&amp;gt; - The above does not by itself constitute a proper backup because the backup is stored on the same server and physical disk as the actual data.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
#On the NEOSYS backup server host (in NEOSYS Dubai Office as of Dec 2010 but could be changed without notice to EvoSwitch in Amsterdam).&amp;lt;br&amp;gt; - At around 02:00-02:30 AM GMT daily, NEOSYS&#039;s backup server copies (replicates) all the BACKUP.ZIP files from the main NEOSYS server host to itself.&amp;lt;br&amp;gt; - An email indicating success or failure is sent to NEOSYS support staff (only) who deal with it in a similar way to phase 1, except that only NEOSYS management are updated.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Cutting and Pasting NEOSYS Maintenance Mode Messages into Wiki ==&lt;br /&gt;
&lt;br /&gt;
Error messages expressed as images are not searchable.&lt;br /&gt;
&lt;br /&gt;
Therefore SELECT THE TEXT OF MAINTENANCE MODE WINDOWS using right click on window heading, Edit, Mark, Copy .. not graphical copy.&lt;br /&gt;
 &lt;br /&gt;
Then paste the text into wiki and surround with &amp;quot;&amp;lt; pre&amp;gt;&amp;quot; and &amp;quot;&amp;lt; /pre&amp;gt;&amp;quot; tags (without the space) as follows:&lt;br /&gt;
&lt;br /&gt;
[[image:loginmessage.jpg]]&lt;br /&gt;
&lt;br /&gt;
the result is searchable text as follows ...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
╔════════════════════════════╗&lt;br /&gt;
║      NEOSYS SECURITY       ║&lt;br /&gt;
║    What is your name ?     ║&lt;br /&gt;
║                            ║&lt;br /&gt;
║   [                    ]   ║&lt;br /&gt;
║                            ║&lt;br /&gt;
║  Please enter your name,   ║&lt;br /&gt;
║   or press Esc to exit.    ║&lt;br /&gt;
╚════════════════════════════╝&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== NEOSYS Policy about Reposting Journal Entries ==&lt;br /&gt;
&lt;br /&gt;
NEOSYS does not generally allow reposting or amending of journal entries once posted. &lt;br /&gt;
&lt;br /&gt;
This policy is derived from the manual book keeping practices where once a journal entry is made you cannot remove it as it is written in ink and hence a rectification entry needs to be passed.&lt;br /&gt;
&lt;br /&gt;
However in certain exceptional cases, amending/reposting of journal entries is allowed for a brief period of time to enable clients to present reports in an alternative manner. This would be subject to NEOSYS would requiring a written LETTER OF APPROVAL duly signed and stamped by the highest management of the company.&lt;br /&gt;
&lt;br /&gt;
Before granting such permission NEOSYS will have a conversation with the Management of the client organisation and clearly explain the repercussions of granting permission to edit/report journals, which primarily are:&lt;br /&gt;
&lt;br /&gt;
# It is not common practice to do such manipulations&lt;br /&gt;
# It can lead to possible errors in numbers&lt;br /&gt;
# Staff can become complacent and careless while posting entries and frequently ask for this permission&lt;br /&gt;
# Restricting users from editing/reposting journal entries promotes a more healthy and vigilant working environment where users verify each journal entry before posting it which effectively leads to good accounting practices.&lt;br /&gt;
&lt;br /&gt;
=== Amendment Procedure ===&lt;br /&gt;
In case the client management still decides to go ahead and allow editing/reposting of journal entries, the following procedure is to be followed:&lt;br /&gt;
&lt;br /&gt;
# Client must de-allocate vouchers which need to be amended&lt;br /&gt;
# NEOSYS support staff must wait for a day so that de-allocated vouchers are copied into Test database&lt;br /&gt;
# Authorise required users to amend and repost (without record) &#039;&#039;&#039;in Test database only&#039;&#039;&#039; &amp;lt;br&amp;gt;( While reposting, we have 2 options i.e. with record and without record. The &#039;with record&#039; option causes the system to maintain a history of edits made. Hence, we want to repost without record so that there is no trace of the edit in the system)&lt;br /&gt;
# Amend a substantial number of vouchers in Test and verify them.&amp;lt;br&amp;gt;To verify if the edits made are reflected:&lt;br /&gt;
# *Print all ledgers for the whole year&lt;br /&gt;
# *Cross-check all balances&lt;br /&gt;
# Once you verify the balances are correct in Test database, grant users permission to amend and repost in the Live database.&lt;br /&gt;
# Ask users to amend and repost vouchers in the Live database.&lt;br /&gt;
# Cross-check all balances for the current year.&lt;br /&gt;
# If you successfully verify the balances, revoke permissions immediately. Else, wait for 24 hours and revoke permissions irrespectively.&lt;/div&gt;</summary>
		<author><name>Ashwin</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Technical_/_Hardware_requirements&amp;diff=805</id>
		<title>Technical / Hardware requirements</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=Technical_/_Hardware_requirements&amp;diff=805"/>
		<updated>2011-12-12T10:45:57Z</updated>

		<summary type="html">&lt;p&gt;Ashwin: /* Software requirements */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== Hardware requirements ===&lt;br /&gt;
# Entry level server dedicated to NEOSYS&lt;br /&gt;
# 1 GB RAM &lt;br /&gt;
# 80 GB HDD &lt;br /&gt;
# No RAID&lt;br /&gt;
&lt;br /&gt;
=== Software requirements ===&lt;br /&gt;
# Windows 2008 Standard Edition preferred - 32 bit (not 64bit). Windows 2003 Standard Edition could be used, but not advised.&lt;br /&gt;
# Configured with two partitions on the hard disk (C &amp;amp; D)&lt;br /&gt;
# Configured as a workgroup and not as part of a domain&lt;br /&gt;
# No roles assigned for the server (eg DNS or DHCP or FILE SERVER)&lt;br /&gt;
# All service packs and updates applied (except no IE7 &amp;amp; IE8 incase of Windows 2003)&lt;br /&gt;
# No Anti-Virus or any other program loaded&lt;br /&gt;
# Copy the Windows CD or i386 folder to the C Drive&lt;br /&gt;
# Configured with an internal static IP (ie dynamic IP delivered by DHCP is not allowed)&lt;br /&gt;
&lt;br /&gt;
=== Backup requirements ===&lt;br /&gt;
# 3 x 4 GB USB drives for backup&lt;br /&gt;
# Someone to change the USB drives on a scheduled basis (weekly or daily)&lt;br /&gt;
&lt;br /&gt;
=== Router requirements ===&lt;br /&gt;
# Username and password for the router / or someone who can configure port forwarding / virtual server configuration for SSH on port 19580.&lt;br /&gt;
# Outgoing access to the internet on port 2500 OR access to send email via an internal email server.&lt;/div&gt;</summary>
		<author><name>Ashwin</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Upgrading_NEOSYS&amp;diff=798</id>
		<title>Upgrading NEOSYS</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=Upgrading_NEOSYS&amp;diff=798"/>
		<updated>2011-11-28T10:31:59Z</updated>

		<summary type="html">&lt;p&gt;Ashwin: /* Sample Mails */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Upgrading NEOSYS fully ==&lt;br /&gt;
&lt;br /&gt;
NEOSYS can be upgraded in two ways either in the night before the daily backup or during the day.&lt;br /&gt;
&lt;br /&gt;
Procedure to upgrade NEOSYS during the day.&lt;br /&gt;
&lt;br /&gt;
#Email the management and staff the standard email on upgrade for agreement of time.&lt;br /&gt;
#Confirm the date and time and inform the staff about the update. &lt;br /&gt;
#During upgrade make sure all users are logged off and follow the installation procedures.&lt;br /&gt;
#Once the upgrade is over mail the management and staff the steps they should perform before using NEOSYS.&lt;br /&gt;
&lt;br /&gt;
NEOSYS can also be upgraded with smaller patches by the programmer and this can be done at any time while the users are working&lt;br /&gt;
&lt;br /&gt;
=== Sample Mails ===&lt;br /&gt;
 &lt;br /&gt;
==== Informing the client of the intention to upgrade ====&lt;br /&gt;
 &lt;br /&gt;
 NEOSYS needs to be updated to its latest version.&lt;br /&gt;
  &lt;br /&gt;
 Please confirm a suitable time to upgrade NEOSYS.The upgrade will take about half an hour to one hour. &lt;br /&gt;
  &lt;br /&gt;
 Please note that all users should be logged off during the upgrade and there should not be any attempt&lt;br /&gt;
 to login during that one hour. &lt;br /&gt;
 &lt;br /&gt;
 Once the upgrade is done we shall notify you with the same and the users should reset Internet Explorer settings &lt;br /&gt;
 before they log into the new version.&lt;br /&gt;
&lt;br /&gt;
==== Confirming Date and Time ====&lt;br /&gt;
&lt;br /&gt;
 I will be upgrading NEOSYS to its latest version tomorrow i.e. 15th November. NEOSYS will be down without warning from 13:00 to 14:00.&lt;br /&gt;
 &lt;br /&gt;
 If you attempt to do data entry during this period of time you will probably lose data but there will be no harm caused to the system.&lt;br /&gt;
 You may continue using the system in read-only mode to get reports etc until it actually goes down whereupon NEOSYS will hang and &lt;br /&gt;
 you should close its windows.&lt;br /&gt;
 &lt;br /&gt;
 After the upgrade you need to clear your temporary internet files to ensure that you obtain the new version of the programs otherwise all &lt;br /&gt;
 kinds of strange errors may occur due to caching creating an unpredictable mixture of old and new web pages/software. &lt;br /&gt;
 &lt;br /&gt;
 You can find instructions on how to clear the Internet Explorer Cache at this link: &lt;br /&gt;
 http://userwiki.neosys.com/index.php/Troubleshooting_IE#Solution&lt;br /&gt;
&lt;br /&gt;
==== Email to send clients after an upgrade of patch ====&lt;br /&gt;
&lt;br /&gt;
 We have upgraded your version of NEOSYS.&lt;br /&gt;
 &lt;br /&gt;
 Please follow the instructions at http://userwiki.neosys.com/index.php/Troubleshooting_IE#Solution to clear your temporary internet files  &lt;br /&gt;
 before you proceed to use NEOSYS.&lt;br /&gt;
 &lt;br /&gt;
 This is required because your Internet Explorer may have saved old versions of the software and it is necessary to clear this to avoid any  &lt;br /&gt;
 possible errors.&lt;br /&gt;
&lt;br /&gt;
=== Downloading ===&lt;br /&gt;
&lt;br /&gt;
Get the latest version of NEOSYS&lt;br /&gt;
&lt;br /&gt;
Download http://www.neosys.com/support/neosys2.exe in NEOSYS\downloads folder and rename it to neosys2-(DATE).exe (eg neosys2-10th November 2009.exe) - this is to keep track of the various downloads we do for the client and also allows to install a previous version if needed.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;*** IMPORTANT: DO NOT RUN/EXECUTE THE NEOSYS EXE FILE NOW ***&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Downloading previous versions of NEOSYS ===&lt;br /&gt;
&lt;br /&gt;
The 9 previous versions of neosys are stored at:&lt;br /&gt;
&lt;br /&gt;
http://www.neosys.com/support/neosys21.exe&lt;br /&gt;
&lt;br /&gt;
http://www.neosys.com/support/neosys22.exe&lt;br /&gt;
&lt;br /&gt;
http://www.neosys.com/support/neosys23.exe&lt;br /&gt;
&lt;br /&gt;
http://www.neosys.com/support/neosys24.exe&lt;br /&gt;
&lt;br /&gt;
http://www.neosys.com/support/neosys25.exe&lt;br /&gt;
&lt;br /&gt;
http://www.neosys.com/support/neosys26.exe&lt;br /&gt;
&lt;br /&gt;
http://www.neosys.com/support/neosys27.exe&lt;br /&gt;
&lt;br /&gt;
http://www.neosys.com/support/neosys28.exe&lt;br /&gt;
&lt;br /&gt;
http://www.neosys.com/support/neosys29.exe&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Backing up prior to upgrading ===&lt;br /&gt;
&lt;br /&gt;
THIS WHOLE BACKUP PROCEDURE IS MANDATORY&lt;br /&gt;
&lt;br /&gt;
Make sure that all NEOSYS users are logged off and the processes are closed before you do any folder copying.&lt;br /&gt;
&lt;br /&gt;
==== Small Installations ====&lt;br /&gt;
&lt;br /&gt;
Take a normal proper backup using the NEOSYS Support Menu - for all live databases if there is more than one. &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
If a USB change was made by the client&#039;s IT person prior to doing this manual backup, ensure that after the upgrade is done, the backup file for that manual backup is moved to another location (preferably in a new folder on the D drive)so that the clients backup cycle is not affected by the existence of a days backup in the USB before the cycle actually begins the following morning. &lt;br /&gt;
&lt;br /&gt;
Take a copy of the whole of the D:\NEOSYS folder (or where-ever NEOSYS is installed) into another folder. You can omit the D:\NEOSYS\IMAGES and D:\NEOSYS\LOGS folders from the copy to save time.&lt;br /&gt;
&lt;br /&gt;
Preferably place the copy on another disk or partition so that it is not included in any whole disk backup that might be running in parallel to NEOSYS backup.&lt;br /&gt;
&lt;br /&gt;
==== Large Installations ====&lt;br /&gt;
&lt;br /&gt;
Copying the whole of the D:\NEOSYS folder can take so much time as to be virtually impossible. In this case do the upgrade EARLY IN THE MORNING since all the data will have been backed up the previous night. The NEOSYS nightly backup only backs up data, so you MUST manually take copies of the following folders which contain the current version of the programs that are going to be upgraded.&lt;br /&gt;
&lt;br /&gt;
#D:\NEOSYS\NEOSYS&lt;br /&gt;
#D:\NEOSYS\NEOSYS.NET&lt;br /&gt;
#D:\NEOSYS\NEOSYS.MAC or  D:\NEOSYS\NEOSYS.W3C&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Installing ===&lt;br /&gt;
Run / Execute the .EXE file that you downloaded into the NEOSYS\downloads folder.&lt;br /&gt;
&lt;br /&gt;
Closing NEOSYS processes should happen automatically during upgrade but you can also do it manually as follows:&lt;br /&gt;
&lt;br /&gt;
[[Closing NEOSYS services]]&lt;br /&gt;
&lt;br /&gt;
The installation procedure first creates a GLOBAL.END file in the NEOSYS programs folder causing all serving processes to terminate. Maintenance processes must be terminated manually.&lt;br /&gt;
&lt;br /&gt;
Next, the installation procedure attempts to update the WAITING.EXE file and, if the processes haven’t terminated quickly enough, this will fail asking for retry or abort. Retry immediately or once all the processes have terminated.&lt;br /&gt;
&lt;br /&gt;
The last step of the installation procedure is to delete the GLOBAL.END file to allow processes to start normally.&lt;br /&gt;
&lt;br /&gt;
=== Post installation steps ===&lt;br /&gt;
&lt;br /&gt;
New versions of the software sometimes perform quick or long database conversions.&lt;br /&gt;
&lt;br /&gt;
Starting NEOSYS in maintenance mode immediately after upgrading leaves you more in control if anything goes wrong.&lt;br /&gt;
&lt;br /&gt;
It not necessary to use the maintenance mode to start-up once after upgrading and before starting an automatic neosys process.&lt;br /&gt;
&lt;br /&gt;
=== Troubleshooting ===&lt;br /&gt;
&lt;br /&gt;
If you choose to abort the installation for any reason then the GLOBAL.END file will have to be deleted manually since its presence prevents any processes from starting up.&lt;br /&gt;
&lt;br /&gt;
== Upgrading NEOSYS with patch files ==&lt;br /&gt;
&lt;br /&gt;
Patch files can be used to update a very recent installation of neosys without doing a full install and without getting people out of NEOSYS.&lt;br /&gt;
&lt;br /&gt;
If in doubt do a full install.&lt;br /&gt;
&lt;br /&gt;
#Copy the file which is probably something like ADAGENCY.1 or ACCOUNTS.1 to the neosys\neosys folder&lt;br /&gt;
#F5&lt;br /&gt;
#INSTALL ADAGENCY&lt;br /&gt;
#Follow instructions&lt;/div&gt;</summary>
		<author><name>Ashwin</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Upgrading_NEOSYS&amp;diff=797</id>
		<title>Upgrading NEOSYS</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=Upgrading_NEOSYS&amp;diff=797"/>
		<updated>2011-11-28T07:55:20Z</updated>

		<summary type="html">&lt;p&gt;Ashwin: /* Upgrading NEOSYS fully */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Upgrading NEOSYS fully ==&lt;br /&gt;
&lt;br /&gt;
NEOSYS can be upgraded in two ways either in the night before the daily backup or during the day.&lt;br /&gt;
&lt;br /&gt;
Procedure to upgrade NEOSYS during the day.&lt;br /&gt;
&lt;br /&gt;
#Email the management and staff the standard email on upgrade for agreement of time.&lt;br /&gt;
#Confirm the date and time and inform the staff about the update. &lt;br /&gt;
#During upgrade make sure all users are logged off and follow the installation procedures.&lt;br /&gt;
#Once the upgrade is over mail the management and staff the steps they should perform before using NEOSYS.&lt;br /&gt;
&lt;br /&gt;
NEOSYS can also be upgraded with smaller patches by the programmer and this can be done at any time while the users are working&lt;br /&gt;
&lt;br /&gt;
=== Sample Mails ===&lt;br /&gt;
 &lt;br /&gt;
==== Informing the client of the intention to upgrade ====&lt;br /&gt;
&lt;br /&gt;
  Hi All,&lt;br /&gt;
  &lt;br /&gt;
  NEOSYS needs to be updated to its latest version.&lt;br /&gt;
  &lt;br /&gt;
  Please confirm a suitable time to upgrade NEOSYS.The upgrade will take about half an hour to one hour. &lt;br /&gt;
  &lt;br /&gt;
  Please note that all users should be logged off during the upgrade and there should not be any attempt&lt;br /&gt;
  to login during that one hour. &lt;br /&gt;
  &lt;br /&gt;
  Once the upgrade is done we shall notify you with the same and the users should reset Internet Explorer settings &lt;br /&gt;
  before they log into the new version.&lt;br /&gt;
&lt;br /&gt;
==== Confirming Date and Time ====&lt;br /&gt;
 &lt;br /&gt;
  Hi All,&lt;br /&gt;
  I will be upgrading NEOSYS to its latest version tomorrow i.e. 15th November. NEOSYS will be down without warning from 13:00 to 14:00.&lt;br /&gt;
  If you attempt to do data entry during this period of time you will probably lose data but there will be no harm caused to the system.&lt;br /&gt;
  You may continue using the system in read-only mode to get reports etc until it actually goes down whereupon NEOSYS will hang and &lt;br /&gt;
  you should close its windows.&lt;br /&gt;
  &lt;br /&gt;
  After the upgrade you need to clear your temporary internet files to ensure that you obtain the new version of the programs otherwise all &lt;br /&gt;
  kinds of strange errors may occur due to caching creating an unpredictable mixture of old and new web pages/software. &lt;br /&gt;
  &lt;br /&gt;
  You can find instructions on how to clear the Internet Explorer Cache at this link: &lt;br /&gt;
  http://userwiki.neosys.com/index.php/Troubleshooting_IE#Solution&lt;br /&gt;
&lt;br /&gt;
=== Downloading ===&lt;br /&gt;
&lt;br /&gt;
Get the latest version of NEOSYS&lt;br /&gt;
&lt;br /&gt;
Download http://www.neosys.com/support/neosys2.exe in NEOSYS\downloads folder and rename it to neosys2-(DATE).exe (eg neosys2-10th November 2009.exe) - this is to keep track of the various downloads we do for the client and also allows to install a previous version if needed.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;*** IMPORTANT: DO NOT RUN/EXECUTE THE NEOSYS EXE FILE NOW ***&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Downloading previous versions of NEOSYS ===&lt;br /&gt;
&lt;br /&gt;
The 9 previous versions of neosys are stored at:&lt;br /&gt;
&lt;br /&gt;
http://www.neosys.com/support/neosys21.exe&lt;br /&gt;
&lt;br /&gt;
http://www.neosys.com/support/neosys22.exe&lt;br /&gt;
&lt;br /&gt;
http://www.neosys.com/support/neosys23.exe&lt;br /&gt;
&lt;br /&gt;
http://www.neosys.com/support/neosys24.exe&lt;br /&gt;
&lt;br /&gt;
http://www.neosys.com/support/neosys25.exe&lt;br /&gt;
&lt;br /&gt;
http://www.neosys.com/support/neosys26.exe&lt;br /&gt;
&lt;br /&gt;
http://www.neosys.com/support/neosys27.exe&lt;br /&gt;
&lt;br /&gt;
http://www.neosys.com/support/neosys28.exe&lt;br /&gt;
&lt;br /&gt;
http://www.neosys.com/support/neosys29.exe&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Backing up prior to upgrading ===&lt;br /&gt;
&lt;br /&gt;
THIS WHOLE BACKUP PROCEDURE IS MANDATORY&lt;br /&gt;
&lt;br /&gt;
Make sure that all NEOSYS users are logged off and the processes are closed before you do any folder copying.&lt;br /&gt;
&lt;br /&gt;
==== Small Installations ====&lt;br /&gt;
&lt;br /&gt;
Take a normal proper backup using the NEOSYS Support Menu - for all live databases if there is more than one. &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
If a USB change was made by the client&#039;s IT person prior to doing this manual backup, ensure that after the upgrade is done, the backup file for that manual backup is moved to another location (preferably in a new folder on the D drive)so that the clients backup cycle is not affected by the existence of a days backup in the USB before the cycle actually begins the following morning. &lt;br /&gt;
&lt;br /&gt;
Take a copy of the whole of the D:\NEOSYS folder (or where-ever NEOSYS is installed) into another folder. You can omit the D:\NEOSYS\IMAGES and D:\NEOSYS\LOGS folders from the copy to save time.&lt;br /&gt;
&lt;br /&gt;
Preferably place the copy on another disk or partition so that it is not included in any whole disk backup that might be running in parallel to NEOSYS backup.&lt;br /&gt;
&lt;br /&gt;
==== Large Installations ====&lt;br /&gt;
&lt;br /&gt;
Copying the whole of the D:\NEOSYS folder can take so much time as to be virtually impossible. In this case do the upgrade EARLY IN THE MORNING since all the data will have been backed up the previous night. The NEOSYS nightly backup only backs up data, so you MUST manually take copies of the following folders which contain the current version of the programs that are going to be upgraded.&lt;br /&gt;
&lt;br /&gt;
#D:\NEOSYS\NEOSYS&lt;br /&gt;
#D:\NEOSYS\NEOSYS.NET&lt;br /&gt;
#D:\NEOSYS\NEOSYS.MAC or  D:\NEOSYS\NEOSYS.W3C&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Installing ===&lt;br /&gt;
Run / Execute the .EXE file that you downloaded into the NEOSYS\downloads folder.&lt;br /&gt;
&lt;br /&gt;
Closing NEOSYS processes should happen automatically during upgrade but you can also do it manually as follows:&lt;br /&gt;
&lt;br /&gt;
[[Closing NEOSYS services]]&lt;br /&gt;
&lt;br /&gt;
The installation procedure first creates a GLOBAL.END file in the NEOSYS programs folder causing all serving processes to terminate. Maintenance processes must be terminated manually.&lt;br /&gt;
&lt;br /&gt;
Next, the installation procedure attempts to update the WAITING.EXE file and, if the processes haven’t terminated quickly enough, this will fail asking for retry or abort. Retry immediately or once all the processes have terminated.&lt;br /&gt;
&lt;br /&gt;
The last step of the installation procedure is to delete the GLOBAL.END file to allow processes to start normally.&lt;br /&gt;
&lt;br /&gt;
=== Post installation steps ===&lt;br /&gt;
&lt;br /&gt;
New versions of the software sometimes perform quick or long database conversions.&lt;br /&gt;
&lt;br /&gt;
Starting NEOSYS in maintenance mode immediately after upgrading leaves you more in control if anything goes wrong.&lt;br /&gt;
&lt;br /&gt;
It not necessary to use the maintenance mode to start-up once after upgrading and before starting an automatic neosys process.&lt;br /&gt;
&lt;br /&gt;
=== Troubleshooting ===&lt;br /&gt;
&lt;br /&gt;
If you choose to abort the installation for any reason then the GLOBAL.END file will have to be deleted manually since its presence prevents any processes from starting up.&lt;br /&gt;
&lt;br /&gt;
== Upgrading NEOSYS with patch files ==&lt;br /&gt;
&lt;br /&gt;
Patch files can be used to update a very recent installation of neosys without doing a full install and without getting people out of NEOSYS.&lt;br /&gt;
&lt;br /&gt;
If in doubt do a full install.&lt;br /&gt;
&lt;br /&gt;
#Copy the file which is probably something like ADAGENCY.1 or ACCOUNTS.1 to the neosys\neosys folder&lt;br /&gt;
#F5&lt;br /&gt;
#INSTALL ADAGENCY&lt;br /&gt;
#Follow instructions&lt;/div&gt;</summary>
		<author><name>Ashwin</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Setting_up_HTTPS&amp;diff=790</id>
		<title>Setting up HTTPS</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=Setting_up_HTTPS&amp;diff=790"/>
		<updated>2011-11-16T06:42:36Z</updated>

		<summary type="html">&lt;p&gt;Ashwin: /* Creating multiple HTTPS web sites */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Creating a single HTTPS web site on Windows 2008 ==&lt;br /&gt;
&lt;br /&gt;
Install selfssl.exe from Microsoft site (iis60rkt.exe available in neosys nl1 download folder) only the ssl utility is needed.&lt;br /&gt;
&lt;br /&gt;
http://www.microsoft.com/downloads/details.aspx?FamilyID=56fc92ee-a71a-4c73-b628-ade629c89499&amp;amp;displaylang=en&lt;br /&gt;
&lt;br /&gt;
However please note that the command is different from the usual one:&lt;br /&gt;
&lt;br /&gt;
[[image:sslwin2008-1.jpg]]&lt;br /&gt;
&lt;br /&gt;
 C:\Program Files\IIS Resources\SelfSSL&amp;gt;selfssl.exe /N:CN=NEOSYS-SERVER /K:1024 /V:9999&lt;br /&gt;
 Microsoft (R) SelfSSL Version 1.0&lt;br /&gt;
 Copyright (C) 2003 Microsoft Corporation. All rights reserved.&lt;br /&gt;
 &lt;br /&gt;
 Do you want to replace the SSL settings for site 1 (Y/N)?y&lt;br /&gt;
 Error opening metabase: 0x80040154&lt;br /&gt;
 C:\Program Files\IIS Resources\SelfSSL&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Ignore the error.&lt;br /&gt;
&lt;br /&gt;
Next go to the IIS Manager and make sure the certificate was created and stored. Note that creating a certificate does not make it automatically bind to the website. &lt;br /&gt;
&lt;br /&gt;
[[image:sslwin2008-2.jpg]]&lt;br /&gt;
&lt;br /&gt;
Once you make sure it is created, then click on Sites &amp;gt; Default Website and in the right pane select Bindings:&lt;br /&gt;
&lt;br /&gt;
[[image:sslwin2008-3.jpg]]&lt;br /&gt;
&lt;br /&gt;
In the Bindings section - click on Add and select https, All Unassigned IP addresses, port 4430 and select the certificate from the drop down and press click on OK:&lt;br /&gt;
&lt;br /&gt;
[[image:sslwin2008-4.jpg]]&lt;br /&gt;
&lt;br /&gt;
Then test the site from explorer to make sure it works.&lt;br /&gt;
&lt;br /&gt;
== Creating a single HTTPS web site on Windows 2003 ==&lt;br /&gt;
&lt;br /&gt;
Install selfssl.exe from Microsoft site (iis60rkt.exe available in neosys nl1 download folder) only the ssl utility is needed.&lt;br /&gt;
&lt;br /&gt;
http://www.microsoft.com/downloads/details.aspx?FamilyID=56fc92ee-a71a-4c73-b628-ade629c89499&amp;amp;displaylang=en&lt;br /&gt;
&lt;br /&gt;
then&lt;br /&gt;
&lt;br /&gt;
[[Image:SelfSSL.png]]&lt;br /&gt;
&lt;br /&gt;
 C:\Program Files\IIS Resources\SelfSSL&amp;gt;selfssl /v:9999 /s:&#039;&#039;&#039;&#039;&#039;866651215&#039;&#039;&#039;&#039;&#039; /p:4430 /n:CN=&#039;&#039;&#039;&#039;&#039;hostname&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
 Microsoft (R) SelfSSL Version 1.0&lt;br /&gt;
 Copyright (C) 2003 Microsoft Corporation. All rights reserved.&lt;br /&gt;
 Do you want to replace the SSL settings for site 866651215 (Y/N)?y&lt;br /&gt;
 The self signed certificate was successfully assigned to site 866651215.&lt;br /&gt;
&lt;br /&gt;
 /v:9999 means valid for 9999 days&lt;br /&gt;
 /s:&#039;&#039;&#039;&#039;&#039;866651215&#039;&#039;&#039;&#039;&#039; is the site number in this case   (site number is shown in IIS management screen)&lt;br /&gt;
 /p:4430 is the non-standard port number neosys uses by convention for ssl/https instead of the standard 443&lt;br /&gt;
 /n:CN=&#039;&#039;&#039;&#039;&#039;hostname&#039;&#039;&#039;&#039;&#039; indicates the full domain name of the site and depends on what you want to use (eg. clientname.hosts.neosys.com if the site is hosted on nl1/nl1b or clientname.support.neosys.com (if fixed IP) / clientname.redirectme.net (if dynamic IP) IF the site is hosted on the client server.&lt;br /&gt;
&lt;br /&gt;
You probably made a mistake in the site number if you get the following message.&lt;br /&gt;
&lt;br /&gt;
 Error opening site metabase key: 0x80070003&lt;br /&gt;
&lt;br /&gt;
== Creating a single HTTPS web site on nl1/nl1b ==&lt;br /&gt;
&lt;br /&gt;
=== Creating a site in IIS ===&lt;br /&gt;
&lt;br /&gt;
Each client hosted on nl1/nl1b uses the same IP address, but unique https port numbers starting from 4431 onwards. Similarly tcp/https also needs to be configured with unique port numbers starting from 8123 onwards. An updated list of the port numbers in use is updated in the GDocs file &amp;quot;nl1/nl1b port numbers&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
==== Creating a site in IIS in Windows 2003 (nl1) ====&lt;br /&gt;
&lt;br /&gt;
The https options are only available after running selfssl (see below).&lt;br /&gt;
&lt;br /&gt;
[[Image:httpadvancedwebsitesetup.png]]&lt;br /&gt;
&lt;br /&gt;
==== Creating a site in IIS in Windows 2008 (nl1b) ====&lt;br /&gt;
&lt;br /&gt;
Follow the procedures as explained in &amp;quot;Creating a single HTTPS web site on Windows 2008&amp;quot;&lt;br /&gt;
&lt;br /&gt;
=== Testing access to the new https web site. ===&lt;br /&gt;
&lt;br /&gt;
Make a subdomain &#039;&#039;&#039;clientname&#039;&#039;&#039;.hosts.neosys.com&lt;br /&gt;
&lt;br /&gt;
https://&#039;&#039;&#039;clientname&#039;&#039;&#039;.hosts.neosys.com:4430/neosys&lt;br /&gt;
&lt;br /&gt;
If you get certificate error:&lt;br /&gt;
&lt;br /&gt;
#check that the selfsll /n:CN=&#039;&#039;&#039;clientname&#039;&#039;&#039;.hosts.neosys.com matches the domain name used in IE&lt;br /&gt;
#install the certificate into the client computer (double click the padlock, view certificates etc)&lt;br /&gt;
&lt;br /&gt;
closing all internet explorer versions and restarting is necessary for installed certificates to become effective.&lt;br /&gt;
&lt;br /&gt;
== Creating multiple HTTPS web sites ==&lt;br /&gt;
&lt;br /&gt;
=== Bugs ===&lt;br /&gt;
&lt;br /&gt;
SelfSSL allows only one website to have SSL at a time in Windows 2003. However to avoid any issues in the future the solutions below have been provided for both Windows 2003 and 2008.&lt;br /&gt;
&lt;br /&gt;
IIS Diagnostics Toolkit which has fixed SelfSSL but doesnt allow full control&lt;br /&gt;
http://www.microsoft.com/windowsserver2003/iis/diagnostictools/default.mspx&lt;br /&gt;
&lt;br /&gt;
=== Solution for Windows 2003 ===&lt;br /&gt;
&lt;br /&gt;
Use selfssl as follows: &lt;br /&gt;
&lt;br /&gt;
&amp;quot;Wizard&amp;quot; in the following means IIS, Web Sites, (website), properties, directory security, server certificate, next, Renew/Remove/Export/Import&lt;br /&gt;
&lt;br /&gt;
Certificates must be saved in d:\hosts\certificates preferably by name for easy reference otherwise by site number. If this is not done then if certificates need to be regenerated then you have the pain of supporting re-import of certificates by all users. In some cases this isn&#039;t easy e.g. Vista.&lt;br /&gt;
&lt;br /&gt;
#delete any existing certificate &lt;br /&gt;
#create certificate for a site in SELFSSL following the normal procedure&lt;br /&gt;
#export the certificate to a pfx file (Wizard) USE PASSWORD FOUND IN CERTIFICATES FOLDER&lt;br /&gt;
#remove the certificate (Wizard)&lt;br /&gt;
#import pfx certificate back (Wizard) USE PASSWORD FOUND IN CERTIFICATES FOLDER&lt;br /&gt;
&lt;br /&gt;
Continue adding sites this way and they should work perfectly fine. Just follow the sequence here for each site being added.&lt;br /&gt;
&lt;br /&gt;
NOTE: The EXPORT/REMOVE/IMPORT stage is necessary where there are multiple https sites on one server since any subsequent SELFCERT seems to destroy all other sites done with SELFCERT that have not been exported/REMOVED/imported.&lt;br /&gt;
&lt;br /&gt;
=== Re-installing Certificates ===&lt;br /&gt;
&lt;br /&gt;
Sometimes due to an unknown issue, site/s stop working and hence there is a need to re-install the site certificate.&lt;br /&gt;
&lt;br /&gt;
==== Re-installing Certificates from saved PFX files ====&lt;br /&gt;
&lt;br /&gt;
Just do the first and last steps of the normal installation procedure.&lt;br /&gt;
&lt;br /&gt;
#delete the existing certificate (IIS-&amp;gt;Site-&amp;gt;directory security-&amp;gt;server certificate wizard)&lt;br /&gt;
#import pfx certificate (IIS-&amp;gt;Site-&amp;gt;directory security-&amp;gt;server certificate wizard)&lt;br /&gt;
&lt;br /&gt;
==== Re-installing Certificates from selfssl ====&lt;br /&gt;
&lt;br /&gt;
Repeat the usual installation method above without missing the delete stage&lt;br /&gt;
&lt;br /&gt;
If users have installed certificates in their browsers then they will have to reinstall them again to avoid the usual &amp;quot;certificate not trusted/matching&amp;quot; type problems.&lt;br /&gt;
&lt;br /&gt;
=== Solution for Windows 2008 ===&lt;br /&gt;
&lt;br /&gt;
The solution involves generating the certificate and thereafter saving it. Certificates must be saved in d:\hosts\certificates preferably by name for easy reference otherwise by site number. If this is not done then if certificates need to be regenerated then you have the pain of supporting re-import of certificates by all users. &lt;br /&gt;
&lt;br /&gt;
#Create certificate for a site in SELFSSL following the normal procedure of Windows 2008&lt;br /&gt;
#Export the certificate to a pfx file from IIS Manager &amp;gt; Click on Certificate &amp;gt; Export (use the location stated above - password to be set will be in a txt file in the same folder)&lt;br /&gt;
#Remove the certificate from IIS Manager&lt;br /&gt;
#Import pfx certificate back from IIS Manager (USE PASSWORD FOUND IN CERTIFICATES FOLDER)&lt;br /&gt;
&lt;br /&gt;
Note: Importing and Exporting certificates in Windows 2008 is just one part of the step to add certificates to sites and you need to follow the usual instructions to &amp;quot;bind&amp;quot; the certificate to a particular site.&lt;br /&gt;
&lt;br /&gt;
=== Re-installing Certificates ===&lt;br /&gt;
&lt;br /&gt;
Sometimes due to an unknown issue, site/s stop working and hence there is a need to re-install the site certificate.&lt;br /&gt;
&lt;br /&gt;
==== Re-installing Certificates from saved PFX files ====&lt;br /&gt;
&lt;br /&gt;
#Unbind the certificate from the site&lt;br /&gt;
#Remove the certificate from IIS Manager&lt;br /&gt;
#Import pfx certificate back from IIS Manager (USE PASSWORD FOUND IN CERTIFICATES FOLDER)&lt;br /&gt;
#Rebind the certificate&lt;/div&gt;</summary>
		<author><name>Ashwin</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Setting_up_HTTPS&amp;diff=789</id>
		<title>Setting up HTTPS</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=Setting_up_HTTPS&amp;diff=789"/>
		<updated>2011-11-16T06:31:41Z</updated>

		<summary type="html">&lt;p&gt;Ashwin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Creating a single HTTPS web site on Windows 2008 ==&lt;br /&gt;
&lt;br /&gt;
Install selfssl.exe from Microsoft site (iis60rkt.exe available in neosys nl1 download folder) only the ssl utility is needed.&lt;br /&gt;
&lt;br /&gt;
http://www.microsoft.com/downloads/details.aspx?FamilyID=56fc92ee-a71a-4c73-b628-ade629c89499&amp;amp;displaylang=en&lt;br /&gt;
&lt;br /&gt;
However please note that the command is different from the usual one:&lt;br /&gt;
&lt;br /&gt;
[[image:sslwin2008-1.jpg]]&lt;br /&gt;
&lt;br /&gt;
 C:\Program Files\IIS Resources\SelfSSL&amp;gt;selfssl.exe /N:CN=NEOSYS-SERVER /K:1024 /V:9999&lt;br /&gt;
 Microsoft (R) SelfSSL Version 1.0&lt;br /&gt;
 Copyright (C) 2003 Microsoft Corporation. All rights reserved.&lt;br /&gt;
 &lt;br /&gt;
 Do you want to replace the SSL settings for site 1 (Y/N)?y&lt;br /&gt;
 Error opening metabase: 0x80040154&lt;br /&gt;
 C:\Program Files\IIS Resources\SelfSSL&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Ignore the error.&lt;br /&gt;
&lt;br /&gt;
Next go to the IIS Manager and make sure the certificate was created and stored. Note that creating a certificate does not make it automatically bind to the website. &lt;br /&gt;
&lt;br /&gt;
[[image:sslwin2008-2.jpg]]&lt;br /&gt;
&lt;br /&gt;
Once you make sure it is created, then click on Sites &amp;gt; Default Website and in the right pane select Bindings:&lt;br /&gt;
&lt;br /&gt;
[[image:sslwin2008-3.jpg]]&lt;br /&gt;
&lt;br /&gt;
In the Bindings section - click on Add and select https, All Unassigned IP addresses, port 4430 and select the certificate from the drop down and press click on OK:&lt;br /&gt;
&lt;br /&gt;
[[image:sslwin2008-4.jpg]]&lt;br /&gt;
&lt;br /&gt;
Then test the site from explorer to make sure it works.&lt;br /&gt;
&lt;br /&gt;
== Creating a single HTTPS web site on Windows 2003 ==&lt;br /&gt;
&lt;br /&gt;
Install selfssl.exe from Microsoft site (iis60rkt.exe available in neosys nl1 download folder) only the ssl utility is needed.&lt;br /&gt;
&lt;br /&gt;
http://www.microsoft.com/downloads/details.aspx?FamilyID=56fc92ee-a71a-4c73-b628-ade629c89499&amp;amp;displaylang=en&lt;br /&gt;
&lt;br /&gt;
then&lt;br /&gt;
&lt;br /&gt;
[[Image:SelfSSL.png]]&lt;br /&gt;
&lt;br /&gt;
 C:\Program Files\IIS Resources\SelfSSL&amp;gt;selfssl /v:9999 /s:&#039;&#039;&#039;&#039;&#039;866651215&#039;&#039;&#039;&#039;&#039; /p:4430 /n:CN=&#039;&#039;&#039;&#039;&#039;hostname&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
 Microsoft (R) SelfSSL Version 1.0&lt;br /&gt;
 Copyright (C) 2003 Microsoft Corporation. All rights reserved.&lt;br /&gt;
 Do you want to replace the SSL settings for site 866651215 (Y/N)?y&lt;br /&gt;
 The self signed certificate was successfully assigned to site 866651215.&lt;br /&gt;
&lt;br /&gt;
 /v:9999 means valid for 9999 days&lt;br /&gt;
 /s:&#039;&#039;&#039;&#039;&#039;866651215&#039;&#039;&#039;&#039;&#039; is the site number in this case   (site number is shown in IIS management screen)&lt;br /&gt;
 /p:4430 is the non-standard port number neosys uses by convention for ssl/https instead of the standard 443&lt;br /&gt;
 /n:CN=&#039;&#039;&#039;&#039;&#039;hostname&#039;&#039;&#039;&#039;&#039; indicates the full domain name of the site and depends on what you want to use (eg. clientname.hosts.neosys.com if the site is hosted on nl1/nl1b or clientname.support.neosys.com (if fixed IP) / clientname.redirectme.net (if dynamic IP) IF the site is hosted on the client server.&lt;br /&gt;
&lt;br /&gt;
You probably made a mistake in the site number if you get the following message.&lt;br /&gt;
&lt;br /&gt;
 Error opening site metabase key: 0x80070003&lt;br /&gt;
&lt;br /&gt;
== Creating a single HTTPS web site on nl1/nl1b ==&lt;br /&gt;
&lt;br /&gt;
=== Creating a site in IIS ===&lt;br /&gt;
&lt;br /&gt;
Each client hosted on nl1/nl1b uses the same IP address, but unique https port numbers starting from 4431 onwards. Similarly tcp/https also needs to be configured with unique port numbers starting from 8123 onwards. An updated list of the port numbers in use is updated in the GDocs file &amp;quot;nl1/nl1b port numbers&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
==== Creating a site in IIS in Windows 2003 (nl1) ====&lt;br /&gt;
&lt;br /&gt;
The https options are only available after running selfssl (see below).&lt;br /&gt;
&lt;br /&gt;
[[Image:httpadvancedwebsitesetup.png]]&lt;br /&gt;
&lt;br /&gt;
==== Creating a site in IIS in Windows 2008 (nl1b) ====&lt;br /&gt;
&lt;br /&gt;
Follow the procedures as explained in &amp;quot;Creating a single HTTPS web site on Windows 2008&amp;quot;&lt;br /&gt;
&lt;br /&gt;
=== Testing access to the new https web site. ===&lt;br /&gt;
&lt;br /&gt;
Make a subdomain &#039;&#039;&#039;clientname&#039;&#039;&#039;.hosts.neosys.com&lt;br /&gt;
&lt;br /&gt;
https://&#039;&#039;&#039;clientname&#039;&#039;&#039;.hosts.neosys.com:4430/neosys&lt;br /&gt;
&lt;br /&gt;
If you get certificate error:&lt;br /&gt;
&lt;br /&gt;
#check that the selfsll /n:CN=&#039;&#039;&#039;clientname&#039;&#039;&#039;.hosts.neosys.com matches the domain name used in IE&lt;br /&gt;
#install the certificate into the client computer (double click the padlock, view certificates etc)&lt;br /&gt;
&lt;br /&gt;
closing all internet explorer versions and restarting is necessary for installed certificates to become effective.&lt;br /&gt;
&lt;br /&gt;
== Creating multiple HTTPS web sites ==&lt;br /&gt;
&lt;br /&gt;
=== Bugs ===&lt;br /&gt;
&lt;br /&gt;
SelfSSL allows only one website to have SSL at a time&lt;br /&gt;
&lt;br /&gt;
IIS Diagnostics Toolkit which has fixed SelfSSL but doesnt allow full control&lt;br /&gt;
http://www.microsoft.com/windowsserver2003/iis/diagnostictools/default.mspx&lt;br /&gt;
&lt;br /&gt;
=== Solution ===&lt;br /&gt;
&lt;br /&gt;
Use selfssl as follows:&lt;br /&gt;
&lt;br /&gt;
&amp;quot;Wizard&amp;quot; in the following means IIS, Web Sites, (website), properties, directory security, server certificate, next, Renew/Remove/Export/Import&lt;br /&gt;
&lt;br /&gt;
Certificates must be saved in d:\hosts\certificates preferably by name for easy reference otherwise by site number. If this is not done then if certificates need to be regenerated then you have the pain of supporting re-import of certificates by all users. In some cases this isn&#039;t easy e.g. Vista.&lt;br /&gt;
&lt;br /&gt;
#delete any existing certificate &lt;br /&gt;
#create certificate for a site in SELFSSL following the normal procedure&lt;br /&gt;
#export the certificate to a pfx file (Wizard) USE PASSWORD FOUND IN CERTIFICATES FOLDER&lt;br /&gt;
#remove the certificate (Wizard)&lt;br /&gt;
#import pfx certificate back (Wizard) USE PASSWORD FOUND IN CERTIFICATES FOLDER&lt;br /&gt;
&lt;br /&gt;
Continue adding sites this way and they should work perfectly fine. Just follow the sequence here for each site being added.&lt;br /&gt;
&lt;br /&gt;
NOTE: The EXPORT/REMOVE/IMPORT stage is necessary where there are multiple https sites on one server since any subsequent SELFCERT seems to destroy all other sites done with SELFCERT that have not been exported/REMOVED/imported.&lt;br /&gt;
&lt;br /&gt;
=== Re-installing Certificates ===&lt;br /&gt;
&lt;br /&gt;
Sometimes due to an unknown issue, site/s stop working and hence there is a need to re-install the site certificate.&lt;br /&gt;
&lt;br /&gt;
==== Re-installing Certificates from saved PFX files ====&lt;br /&gt;
&lt;br /&gt;
Just do the first and last steps of the normal installation procedure.&lt;br /&gt;
&lt;br /&gt;
#delete the existing certificate (IIS-&amp;gt;Site-&amp;gt;directory security-&amp;gt;server certificate wizard)&lt;br /&gt;
#import pfx certificate (IIS-&amp;gt;Site-&amp;gt;directory security-&amp;gt;server certificate wizard)&lt;br /&gt;
&lt;br /&gt;
==== Re-installing Certificates from selfssl ====&lt;br /&gt;
&lt;br /&gt;
Repeat the usual installation method above without missing the delete stage&lt;br /&gt;
&lt;br /&gt;
If users have installed certificates in their browsers then they will have to reinstall them again to avoid the usual &amp;quot;certificate not trusted/matching&amp;quot; type problems.&lt;/div&gt;</summary>
		<author><name>Ashwin</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Setting_up_HTTPS&amp;diff=788</id>
		<title>Setting up HTTPS</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=Setting_up_HTTPS&amp;diff=788"/>
		<updated>2011-11-16T06:28:25Z</updated>

		<summary type="html">&lt;p&gt;Ashwin: /* Creating a single HTTPS web site on nl1 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Creating a single HTTPS web site on Windows 2008 ==&lt;br /&gt;
&lt;br /&gt;
Install selfssl.exe from Microsoft site (iis60rkt.exe available in neosys nl1 download folder) only the ssl utility is needed.&lt;br /&gt;
&lt;br /&gt;
http://www.microsoft.com/downloads/details.aspx?FamilyID=56fc92ee-a71a-4c73-b628-ade629c89499&amp;amp;displaylang=en&lt;br /&gt;
&lt;br /&gt;
However please note that the command is different from the usual one:&lt;br /&gt;
&lt;br /&gt;
[[image:sslwin2008-1.jpg]]&lt;br /&gt;
&lt;br /&gt;
 C:\Program Files\IIS Resources\SelfSSL&amp;gt;selfssl.exe /N:CN=NEOSYS-SERVER /K:1024 /V:9999&lt;br /&gt;
 Microsoft (R) SelfSSL Version 1.0&lt;br /&gt;
 Copyright (C) 2003 Microsoft Corporation. All rights reserved.&lt;br /&gt;
 &lt;br /&gt;
 Do you want to replace the SSL settings for site 1 (Y/N)?y&lt;br /&gt;
 Error opening metabase: 0x80040154&lt;br /&gt;
 C:\Program Files\IIS Resources\SelfSSL&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Ignore the error.&lt;br /&gt;
&lt;br /&gt;
Next go to the IIS Manager and make sure the certificate was created and stored. Note that creating a certificate does not make it automatically bind to the website. &lt;br /&gt;
&lt;br /&gt;
[[image:sslwin2008-2.jpg]]&lt;br /&gt;
&lt;br /&gt;
Once you make sure it is created, then click on Sites &amp;gt; Default Website and in the right pane select Bindings:&lt;br /&gt;
&lt;br /&gt;
[[image:sslwin2008-3.jpg]]&lt;br /&gt;
&lt;br /&gt;
In the Bindings section - click on Add and select https, All Unassigned IP addresses, port 4430 and select the certificate from the drop down and press click on OK:&lt;br /&gt;
&lt;br /&gt;
[[image:sslwin2008-4.jpg]]&lt;br /&gt;
&lt;br /&gt;
Then test the site from explorer to make sure it works.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Creating a single HTTPS web site on nl1/nl1b ==&lt;br /&gt;
&lt;br /&gt;
=== Creating a site in IIS ===&lt;br /&gt;
&lt;br /&gt;
Each client hosted on nl1/nl1b uses the same IP address, but unique https port numbers starting from 4431 onwards. Similarly tcp/https also needs to be configured with unique port numbers starting from 8123 onwards. An updated list of the port numbers in use is updated in the GDocs file &amp;quot;nl1/nl1b port numbers&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
==== Creating a site in IIS in Windows 2003 (nl1) ====&lt;br /&gt;
&lt;br /&gt;
The https options are only available after running selfssl (see below).&lt;br /&gt;
&lt;br /&gt;
[[Image:httpadvancedwebsitesetup.png]]&lt;br /&gt;
&lt;br /&gt;
==== Creating a site in IIS in Windows 2008 (nl1b) ====&lt;br /&gt;
&lt;br /&gt;
Follow the procedures as explained in &amp;quot;Creating a single HTTPS web site on Windows 2008&amp;quot;&lt;br /&gt;
&lt;br /&gt;
=== Testing access to the new https web site. ===&lt;br /&gt;
&lt;br /&gt;
Make a subdomain &#039;&#039;&#039;clientname&#039;&#039;&#039;.hosts.neosys.com&lt;br /&gt;
&lt;br /&gt;
https://&#039;&#039;&#039;clientname&#039;&#039;&#039;.hosts.neosys.com:4430/neosys&lt;br /&gt;
&lt;br /&gt;
If you get certificate error:&lt;br /&gt;
&lt;br /&gt;
#check that the selfsll /n:CN=&#039;&#039;&#039;clientname&#039;&#039;&#039;.hosts.neosys.com matches the domain name used in IE&lt;br /&gt;
#install the certificate into the client computer (double click the padlock, view certificates etc)&lt;br /&gt;
&lt;br /&gt;
closing all internet explorer versions and restarting is necessary for installed certificates to become effective.&lt;br /&gt;
&lt;br /&gt;
== Creating multiple HTTPS web sites ==&lt;br /&gt;
&lt;br /&gt;
=== Bugs ===&lt;br /&gt;
&lt;br /&gt;
SelfSSL allows only one website to have SSL at a time&lt;br /&gt;
&lt;br /&gt;
IIS Diagnostics Toolkit which has fixed SelfSSL but doesnt allow full control&lt;br /&gt;
http://www.microsoft.com/windowsserver2003/iis/diagnostictools/default.mspx&lt;br /&gt;
&lt;br /&gt;
=== Solution ===&lt;br /&gt;
&lt;br /&gt;
Use selfssl as follows:&lt;br /&gt;
&lt;br /&gt;
&amp;quot;Wizard&amp;quot; in the following means IIS, Web Sites, (website), properties, directory security, server certificate, next, Renew/Remove/Export/Import&lt;br /&gt;
&lt;br /&gt;
Certificates must be saved in d:\hosts\certificates preferably by name for easy reference otherwise by site number. If this is not done then if certificates need to be regenerated then you have the pain of supporting re-import of certificates by all users. In some cases this isn&#039;t easy e.g. Vista.&lt;br /&gt;
&lt;br /&gt;
#delete any existing certificate &lt;br /&gt;
#create certificate for a site in SELFSSL following the normal procedure&lt;br /&gt;
#export the certificate to a pfx file (Wizard) USE PASSWORD FOUND IN CERTIFICATES FOLDER&lt;br /&gt;
#remove the certificate (Wizard)&lt;br /&gt;
#import pfx certificate back (Wizard) USE PASSWORD FOUND IN CERTIFICATES FOLDER&lt;br /&gt;
&lt;br /&gt;
Continue adding sites this way and they should work perfectly fine. Just follow the sequence here for each site being added.&lt;br /&gt;
&lt;br /&gt;
NOTE: The EXPORT/REMOVE/IMPORT stage is necessary where there are multiple https sites on one server since any subsequent SELFCERT seems to destroy all other sites done with SELFCERT that have not been exported/REMOVED/imported.&lt;br /&gt;
&lt;br /&gt;
=== Re-installing Certificates ===&lt;br /&gt;
&lt;br /&gt;
Sometimes due to an unknown issue, site/s stop working and hence there is a need to re-install the site certificate.&lt;br /&gt;
&lt;br /&gt;
==== Re-installing Certificates from saved PFX files ====&lt;br /&gt;
&lt;br /&gt;
Just do the first and last steps of the normal installation procedure.&lt;br /&gt;
&lt;br /&gt;
#delete the existing certificate (IIS-&amp;gt;Site-&amp;gt;directory security-&amp;gt;server certificate wizard)&lt;br /&gt;
#import pfx certificate (IIS-&amp;gt;Site-&amp;gt;directory security-&amp;gt;server certificate wizard)&lt;br /&gt;
&lt;br /&gt;
==== Re-installing Certificates from selfssl ====&lt;br /&gt;
&lt;br /&gt;
Repeat the usual installation method above without missing the delete stage&lt;br /&gt;
&lt;br /&gt;
If users have installed certificates in their browsers then they will have to reinstall them again to avoid the usual &amp;quot;certificate not trusted/matching&amp;quot; type problems.&lt;/div&gt;</summary>
		<author><name>Ashwin</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=File:Httpadvancedwebsitesetup.png&amp;diff=787</id>
		<title>File:Httpadvancedwebsitesetup.png</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=File:Httpadvancedwebsitesetup.png&amp;diff=787"/>
		<updated>2011-11-16T06:22:38Z</updated>

		<summary type="html">&lt;p&gt;Ashwin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Ashwin</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Procedures&amp;diff=774</id>
		<title>Procedures</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=Procedures&amp;diff=774"/>
		<updated>2011-11-02T05:54:59Z</updated>

		<summary type="html">&lt;p&gt;Ashwin: /* NEOSYS Support Policies */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Here are procedures to be followed by Support Staff in respect to various technical matters in day to day operations of client issues.&lt;br /&gt;
&lt;br /&gt;
== NEOSYS Support Policies ==&lt;br /&gt;
In order to maintain good payment speed by clients NEOSYS needs to restrict support to clients that dont pay their bills on time, however the degree of restriction needs to depend on an intimate knowledge of the client which cannot be expected from all NEOSYS support staff. Therefore we will use a simple escalation policy as follows:&lt;br /&gt;
&lt;br /&gt;
NEOSYS SUPPORT MANAGERS WILL maintain an overdue/stop list on a whiteboard visible to all support staff. Generally clients will go on the list when their invoice is seven days overdue and come off only after satisfactory commitment to pay have been obtained.&lt;br /&gt;
&lt;br /&gt;
NEOSYS SUPPORT STAFF WILL discretely refer any calls for support from client on the overdue/stop list to support managers for handling.&lt;br /&gt;
&lt;br /&gt;
This policy excludes dealing with backup failures and measures required to be taken to fix these failures.&lt;br /&gt;
&lt;br /&gt;
== Client Password Policy ==&lt;br /&gt;
All client user passwords, including their initial one, are to be obtained via the user&#039;s email address using the password reminder/reset button on the login screen.&lt;br /&gt;
&lt;br /&gt;
NEOSYS staff should never know users passwords therefore NEOSYS will not obtain and grant user passwords.&lt;br /&gt;
&lt;br /&gt;
=== Support requests from ordinary client users ===&lt;br /&gt;
Any support requests concerning inability to obtain passwords will be forwarded to known skilled users on the client staff since this is the most efficient (not fastest) way to handle such issues.&lt;br /&gt;
&lt;br /&gt;
=== Support requests from senior client management ===&lt;br /&gt;
Any support requests concerning inability to obtain passwords by senior client management users shall be handled directly by NEOSYS support staff in any way convenient to resolve the issue in the quickest possible time rather than the most efficient.&lt;br /&gt;
&lt;br /&gt;
Bearing in mind that NEOSYS staff should never know user&#039;s passwords this will probably involve NEOSYS staff using the Password Reminder/Reset button to send a new password to the user.&lt;br /&gt;
&lt;br /&gt;
=== User Defined Passwords ===&lt;br /&gt;
NEOSYS will provide user defined passwords in very special cases which must be pre-approved case by case by NEOSYS management. For many reasons, NEOSYS will not approve.&lt;br /&gt;
&lt;br /&gt;
Currently this permission has only been granted to one NEOSYS client with several hundred of databases.&lt;br /&gt;
&lt;br /&gt;
== Handling client issues ==&lt;br /&gt;
=== Handling error messages ===&lt;br /&gt;
#The very first step is understanding client problem.&lt;br /&gt;
#Ask the client what error does he gets on the screen.&lt;br /&gt;
#If error seems to be familiar then resolve it over the phone.&lt;br /&gt;
#If error is unknown then ask user to send a screenshot of the error displayed along with the options used (basically you need to know HOW to replicate the error)&lt;br /&gt;
#Upon receipt of the error, check in all the wikis for a solution.&lt;br /&gt;
#If the issue is unknown or you don’t understand it clearly ask the user then use remote support to gain access to the users desktop to view how to replicate the error. &lt;br /&gt;
&lt;br /&gt;
If it is new issue then report by escalation the same issue to your manager with a brief explanation.&lt;br /&gt;
&lt;br /&gt;
=== Handling problems with report totals ===&lt;br /&gt;
Questions with regards to report totals should not be escalated to the programmers without following this procedure. If the total can be be broken down into items (as they nearly always can be in NEOSYS) then only a problem where the items dont add up to a total should be escalated, since that would be a system error.&lt;br /&gt;
&lt;br /&gt;
== Using Support Tools ==&lt;br /&gt;
&lt;br /&gt;
=== NEOSYS Software ===&lt;br /&gt;
&lt;br /&gt;
The NEOSYS Software is currently supported on the following Operating Systems (OS) and browsers:&lt;br /&gt;
&lt;br /&gt;
* For Media &amp;amp; Finance modules, Internet Explorer 6+ on Windows&lt;br /&gt;
* For Jobs &amp;amp; Timesheets modules, Internet Explorer 6+ on Windows or Safari 5+ on Mac&lt;br /&gt;
&lt;br /&gt;
Users are to ensure that pop-up blockers and any 3rd party toolbars are deactivated/switched off or else certain pages and alert messages while using NEOSYS do not appear as a result of blocking from either the pop-up blocker or toolbars with built-in pop-up blockers.&lt;br /&gt;
&lt;br /&gt;
NEOSYS Support personnel should additionally ensure that under Internet Explorer &amp;gt; Tools &amp;gt; Internet Options &amp;gt; Advanced &amp;gt; Browsing - the items Disable script debugging (Internet Explorer) and Disable script debugging (Other) are UNTICKED. This is because if NEOSYS generates any javascript error message, the same would disappear in the bottom left corner of a window, which in turn helps the programmer fix the error.&lt;br /&gt;
&lt;br /&gt;
=== Website Live Support ===&lt;br /&gt;
&lt;br /&gt;
www.neosys.com is equipped with a Live Support software and clients can visit the website, click on this link and chat with any of our support staff, without the need for any installation. The client has to fill in their name and email address to connect to an available support personnel. During non-working hours, the Live Support icon on the website automatically displays &amp;quot;offline&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
NEOSYS Support personnel who are authorised to provide such support, need to download a software called Kayako Live Support from http://hotfix.kayako.com/latest.php?product=lr&amp;amp;platform=win32&amp;amp;buildtype=stable&lt;br /&gt;
&lt;br /&gt;
Once downloaded the account needs to be setup as follows:&lt;br /&gt;
&lt;br /&gt;
* Account Name: (as provided by NEOSYS IT)&lt;br /&gt;
* SupportSuite URL: http://support.neosys.com/&lt;br /&gt;
* User Name: (as provided by NEOSYS IT and usually same as Account Name)&lt;br /&gt;
* Password: (as provided by NEOSYS IT)&lt;br /&gt;
&lt;br /&gt;
The first time the account is setup, you need to close Kayako Live Support completely and restart for it to login and work properly.&lt;br /&gt;
&lt;br /&gt;
== Handling Nagios Client Monitoring system ==&lt;br /&gt;
&lt;br /&gt;
Nagios is configured to display information pertaining to all NEOSYS client&#039;s server statuses which include multiple services such as:&lt;br /&gt;
# HTTPS: Most of NEOSYS clients are configured to have external web access via secure HTTP protocol (port 4430) from outside office. Nagios is configured to check port 4430 on a regular interval of 10 minutes and display any issues in accessing the same.&lt;br /&gt;
# SSH: As part of the support contract, NEOSYS should have external secure access to the client server usually over port 19580. Nagios is configured to check this port on a regular interval of 10 minutes and display any issues in accessing the same.&lt;br /&gt;
# Ping: Nagios is also configured to ping the client router as a measure to check if router responds incase the NEOSYS server is down.&lt;br /&gt;
# NEOSYS: This service works in a reverse direction, and the NEOSYS installation on the client server sends information such as databases running, current backup status, internal and internet IP addressess etc to Nagios on a regular interval of 10 minutes.&lt;br /&gt;
&lt;br /&gt;
Some key information about Nagios is as follows:&lt;br /&gt;
* Nagios is also configured to display information related to internal servers. &lt;br /&gt;
* Clients hosted on a NEOSYS cloud server might not have services such as SSH or PING as this is monitored as part of the internal server service.&lt;br /&gt;
* Nagios sends out email alerts to support2@neosys.com (which is forwarded to support@neosys.com) from 8 am to 12 midnight on all Dubai working days (Sun-Thu). No alerts are sent out on Fri and Sat, unless they are for NEOSYS internal servers.&lt;br /&gt;
&lt;br /&gt;
NEOSYS support staff on duty has to follow the below outlined procedures in case of any Nagios items showing a critical or warning message for any service: &lt;br /&gt;
# Nagios is required to be checked first thing in the morning and any critical or warning messages need to be dealth with to resolve the same at the earliest. &lt;br /&gt;
# Some of the messages could be related to backup failures and the usual procedure as stated in #Backup Procedures needs to be followed. In case the backup issue isn&#039;t resolved by 9:30 am, the Nagios service needs to be scheduled with downtime for a minimum of 2 hours and maximum until 1 am next day if the issue cannot be solved. &lt;br /&gt;
# In case any HTTPS, SSH or PING service is down, immediate action is required and the relevant IT people at the client side needs to be contacted to get this resolved. A downtime of 2 hours is required to be scheduled with further intervals of 2 hours incase this is not resolved. Support staff shouldn&#039;t schedule downtime till 1 am next day, just to get rid of the alerts for the day. Proactive follow up with the client is required to get this resolved before the business day - more so, if there is a weekend ahead. &lt;br /&gt;
# In case the HTTPS, SSH or PING service goes down during the day, a grace period of 20 minutes is given before the issue is reported to the client IT. This helps incase there is any temporary internet connection issue at the client or along the internet route. &lt;br /&gt;
# In case of &amp;quot;Backup not changed&amp;quot; warning status which occurs if the client has not interchanged the USB before 12 noon on that day, no action is required from the support staff and a downtime until 1 am next day needs to be scheduled.&lt;br /&gt;
 &lt;br /&gt;
**&#039;&#039;&#039;PLEASE NOTE&#039;&#039;&#039;: Failure to schedule appropriate downtime will lead to REDUNDANT ALERTS from NAGIOS every hour.&lt;br /&gt;
&lt;br /&gt;
== What happens if there is no remote access to NEOSYS server based in client’s premises ? ==&lt;br /&gt;
&lt;br /&gt;
If access to the NEOSYS server is lost then we must determine the root cause by: &lt;br /&gt;
&lt;br /&gt;
# Checking if the server is UP and running&lt;br /&gt;
# If yes, please check internet connectivity on the server&lt;br /&gt;
# If there is connectivity, please check the router for connectivity issues&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Sample Response:&#039;&#039;&#039;&lt;br /&gt;
Please note that we have currently lost access to the NEOSYS server. The server seems to be down at the moment and it seems that neosys processes are not running on the server.&lt;br /&gt;
Kindly check if the server is UP and running. If yes, please check internet connectivity on the server.&lt;br /&gt;
Do keep us posted on the server status so we can test connectivity from our side as well.0&lt;br /&gt;
&lt;br /&gt;
== New Router (Port Forwarding) ==&lt;br /&gt;
&lt;br /&gt;
If you have changed your router then you may notice that external access to NEOSYS is unavailable. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Solution:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Setup a permanent access for NEOSYS by reconfiguring the Router / Firewall for Port Forwarding from Router to the NEOSYS Server as follows: &lt;br /&gt;
# Port 19580 &amp;gt; 19580 for SSH &lt;br /&gt;
# Port 4430 &amp;gt; 4430 for HTTPS&lt;br /&gt;
&lt;br /&gt;
You can click [http://portforward.com/ Set Up Port Forwarding] to learn how to configure your Router.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Sample Response:&#039;&#039;&#039;&lt;br /&gt;
You are requested to kindly setup a permanent access for NEOSYS by reconfiguring the Router / Firewall for Port Forwarding from Router to the NEOSYS Server,i.e.  port 19580 for SSH and port 4430 for HTTPS.&lt;br /&gt;
&lt;br /&gt;
Once this is complete, kindly send me an email to confirm the same so that we could test connectivity from our end as well.&lt;br /&gt;
&lt;br /&gt;
== Backup Procedures ==&lt;br /&gt;
=== Preparing daily backup report ===&lt;br /&gt;
# Note the success, failure and other error of the clients backup mail in an excel sheet and forward the same to your manager.&lt;br /&gt;
# If there is a backup failure or backup is not available, check wiki to take necessary steps.&lt;br /&gt;
# If there is any unknown error, forward the same to your manager.&lt;br /&gt;
&lt;br /&gt;
=== Updating Nagios incase of failures ===&lt;br /&gt;
# If the backup failure is unsolved, schedule downtime Neosys service in Nagios till 01 am.&lt;br /&gt;
# If the backup did not happen because of server down. Call the IT person; ask him to re-boot the server and check wiki to do necessary step ahead and schedule downtime to Nagios for 2hours.&lt;br /&gt;
# If there is an error &amp;quot;Backup-&amp;gt;Impossible&amp;quot; on Nagios check wiki and schedule downtime to Nagios for 2hours.&lt;br /&gt;
&lt;br /&gt;
=== Interchange backup USB mail reminder ===&lt;br /&gt;
# Basically all the clients have different days to change their backup USB. All the notification can be seen on Nagios at 12.00 pm every day.&lt;br /&gt;
# When you see the change backup notification on Nagios at 12.00 pm, send a mail to the IT person or the person who changes the USB. As you send the mail schedule downtime for Neosys services for two hours.&lt;br /&gt;
# Check the Nagios at 2.00 pm if the backup USB is changed, don&#039;t send another mail and stop there. But if backup is still not yet changed, send a another mail and this time cc the mail to your manager. After sending the mail, schedule downtime for Neosys service for more two hours.&lt;br /&gt;
# Now at 4.00 pm if you still find the backup USB not changed. Call the IT person and ask him to change the USB ASAP and schedule downtime for Neosys services for one hour.&lt;br /&gt;
# Now at 5.00 pm check Nagios and see if the backup USB is changed and if not changed. Send the mail to everyone from the backup mail.&lt;br /&gt;
# If the backup is still not changed, escalate the issue to your manager.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; &lt;br /&gt;
If the USB is not interchanged on the scheduled day i.e. then The NEOSYS Automated backup will fail.&lt;br /&gt;
Traditionally, each USB holds backup of 7 days and using 3 different USBs we can store backups for the last 21 days enabling us to restore the system unto a time period beginning 21 days prior.&lt;br /&gt;
If the USB is not changed then the first backup on the current USB is replaced with the new or latest backup leading to inconsistencies within the backups. Hence we &#039;&#039;&#039;must&#039;&#039;&#039; interchange the USB on schedule to avoid a backup failure the next morning.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Sample Response:&#039;&#039;&#039;&lt;br /&gt;
The NEOSYS backup has failed today as the USB was not interchanged on the scheduled day.&lt;br /&gt;
Please interchange the USB immediately today to avoid a backup failure tomorrow morning.&lt;br /&gt;
Also note that your scheduled day to interchange the USB next week and hence forth remains unchanged to &#039;&#039;&#039;(Scheduled Day)&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
=== Finding out which USB is inserted into the server ===&lt;br /&gt;
As we ask the client to have 3 USB&#039;s and interchange them weekly, we also need to sometimes track which one of these 3 USB&#039;s are inserted into the server. USB&#039;s can be tracked using their volume serial number in most cases. To find this out either go to the command prompt and type VOL or in the nightly backup message check for the 2nd line (which looks like this - 14/12/2009 2:45pm Media: 705B-5B5F). However serial numbers can be the same even for different USB&#039;s.&lt;br /&gt;
&lt;br /&gt;
== Client relocating operations to a new premises == &lt;br /&gt;
&lt;br /&gt;
Ensure that the following procedure is followed by the clients IT staff prior to relocation:&lt;br /&gt;
&lt;br /&gt;
# Login to the NEOSYS server and shut down all the processes by hitting the ESC button on each of the window three times or until they close&lt;br /&gt;
# Take a backup of the D drive on another system or network / external drive&lt;br /&gt;
# Remove the USB plugged in and secure the same along with the other two USB’s in a safe location&lt;br /&gt;
# The NEOSYS server may now be shutdown and moved to the new premises&lt;br /&gt;
&lt;br /&gt;
Post relocation, the clients IT staff must ensure the following immediately:&lt;br /&gt;
&lt;br /&gt;
# Connect the server to the local network and complete all setup required for users to be able to access the system internally&lt;br /&gt;
# Configure the firewall and/or port settings to enable NEOSYS support staff to connect to the server externally &lt;br /&gt;
# Provide NEOSYS support with the new fixed IP address so that the connection can be tested.&lt;br /&gt;
&lt;br /&gt;
== Creating and Handling passwords ==&lt;br /&gt;
Passwords made out of a pass phrase should be at least 10 characters since using initials results in a lot of i&#039;s and a&#039;s etc which reduces the effectiveness of the password and allows hacking via brute force guessing especially since windows doesnt slow down logins even if it sees thousands of password attempts.&lt;br /&gt;
&lt;br /&gt;
=== Creating a password ===&lt;br /&gt;
Passwords are generated from a pass phrase and it is important to create a very difficult to guess pass phrase.&lt;br /&gt;
&lt;br /&gt;
For example, a good pass phrase would be: &#039;&#039;&#039;Today is a good day and it is the best time to go for a holiday&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The password for this would be &#039;&#039;&#039;Tiagdaiitbt2g4ah&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The important instructions for the above are:&lt;br /&gt;
#You have to take the first letter of each word and that makes your password (i.e. by using initials)&lt;br /&gt;
#Wherever any word starts with a capital, then you have to take first letter as a capital (eg. For Today you will take T)&lt;br /&gt;
#Replace &#039;&#039;&#039;and&#039;&#039;&#039; with &#039;&#039;&#039;&amp;amp;&#039;&#039;&#039;&lt;br /&gt;
#Replace &#039;&#039;&#039;to&#039;&#039;&#039; with &#039;&#039;&#039;2&#039;&#039;&#039;&lt;br /&gt;
#Replace &#039;&#039;&#039;for&#039;&#039;&#039; with &#039;&#039;&#039;4&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Handling passwords ===&lt;br /&gt;
#Never send the actual password - always send the pass phrase&lt;br /&gt;
#Make sure that the password created out of the pass phrase is at least 10 characters long since using initials results in a lot of i&#039;s and a&#039;s etc which reduces the effectiveness of the password and allows hacking via brute force guessing especially since windows doesnt slow down logins even if it sees thousands of password attempts&lt;br /&gt;
#Pass phrases are never to be sent by email, whatever the case maybe.&lt;br /&gt;
#Pass phrases can be sent by chat - however they have to be broken down in two parts and sent separately over two different messengers or if you are using Gtalk then use the &#039;off the record&#039; mode.&lt;br /&gt;
#Using SMS to send pass phrases is the best known way as of now.&lt;br /&gt;
#If you save the passwords on your system as a file, make sure the file is encrypted with a master password.&lt;br /&gt;
&lt;br /&gt;
== NEOSYS Maintenance Window ==&lt;br /&gt;
&lt;br /&gt;
The NEOSYS server is functional from 6am – 1am. There is a 5hr window gap for the system to perform updates &amp;amp; backups.&lt;br /&gt;
&lt;br /&gt;
The 5hr maintenance window:-&lt;br /&gt;
&lt;br /&gt;
1. At 1am – The server performs a data backup on a USB (for the respective clients) &amp;amp; once the backup has been completed, the system automatically generates an email addressed to the neosys staff &amp;amp; the respective clients.&lt;br /&gt;
&lt;br /&gt;
2. At 2:45am – The main data over writes the test data on the server.&lt;br /&gt;
&lt;br /&gt;
3. At 3:00am – The server by itself performs an update for Windows.&lt;br /&gt;
&lt;br /&gt;
4. At 4:00am – The server performs a backup to the headquarters for clients, and then automatically generates an email addressed to the NEOSYS staff &amp;amp; the respective clients. This process is followed by only two clients i.e. Adline &amp;amp; Farouk.&lt;br /&gt;
&lt;br /&gt;
5. At 6:00am – The server starts up NEOSYS.&lt;br /&gt;
&lt;br /&gt;
==Switching to a backup server==&lt;br /&gt;
&lt;br /&gt;
As NEOSYS provides clients with option of backing up their data to a remote NEOSYS server in case of emergencies or server problems, it is crucial you understand the below procedure on how to switch to a backup server in the event of such a situation. Extreme care must be taken when switching over to using a backup server otherwise unnecessary data loss is very likely.&lt;br /&gt;
&lt;br /&gt;
Backup servers are normally switched off and should not be started automatically otherwise there is a serious risk of the client’s staff working on two systems. It is not possible to merge two databases into one database. Before the backup server is enabled the main server must be disabled, and before the main server is re-enabled, the backup  server must be disabled again. This can be managed technically without requiring any decision from senior non-technical staff.&lt;br /&gt;
&lt;br /&gt;
However, there are also some potentially hard decisions about unavoidable loss of data versus continued system availability. *** Backup servers should therefore only be started with the written approval of the clients senior staff. A suitable email requesting approval follows.&lt;br /&gt;
&lt;br /&gt;
The following case assumes that the main server has gone down sometime during the working day and that therefore the data on the backup server is out of date. Allowing them to use the backup server therefore implies some loss of data. They may wish to lose the data. They may wish to work on the backup server data and then try to redo the work on the main server once it is restored. There are a variety of options depending on the situation.&lt;br /&gt;
&lt;br /&gt;
If the main server is still functioning AND you are reasonably sure that the database is not damaged (which is perhaps an unlikely situation if you need to use the backup server!), it may be sensible to trigger an additional “backup/sync” process to bring the backup server database up to date with the main server. Before you do this, it is advisable that you take a backup copy of the backup system on the backup  server. In this case there would be no data loss in using the backup.&lt;br /&gt;
&lt;br /&gt;
An additional option of providing usage of the backup server in read-only mode so that people can at least access some data is being developed. The backup server could be available continuously at any time in read-only mode. This article would then be related to switching a backup server into main operational mode.&lt;br /&gt;
&lt;br /&gt;
 Dear {senior staff} cc {IT staff}&lt;br /&gt;
 &lt;br /&gt;
 Please note that we can enable the backup server if you wish.&lt;br /&gt;
 &lt;br /&gt;
 However the data on the backup server is out of date since it is a copy of your main database as at 11/22/33 99:99.&lt;br /&gt;
 &lt;br /&gt;
 If you wish to allow work to be done on the backup server then any data entered on your main server since the above date will be lost if we &lt;br /&gt;
 subsequently copy the data on the backup server to the main server.&lt;br /&gt;
 &lt;br /&gt;
 If, after using the backup server, we do NOT copy the data on the back server to the main server then any data you have entered on the backup &lt;br /&gt;
 server/database will be lost.&lt;br /&gt;
 &lt;br /&gt;
 Please confirm a) you want to work on HOSTS2 database and that we should therefore enable it and b) you have disconnected your main server &lt;br /&gt;
 for the duration.&lt;br /&gt;
 &lt;br /&gt;
 Best Regards,&lt;br /&gt;
 xxxxxx xxxxxxx&lt;br /&gt;
 NEOSYS Support&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Description of Backup Procedure for the NEOSYS Client Hosting Server ==&lt;br /&gt;
&lt;br /&gt;
NEOSYS backup is a two phase process. It is mandatory that both phases are complete for the process to be considered a backup.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
#On the main NEOSYS server host(Schuberg Philis in Amsterdam as of Dec 2010)&amp;lt;br&amp;gt;Every night, the NEOSYS process for selected databases stops serving users at around 1:00 AM to 5:00 AM (local time of the client&#039;s main office) and performs the following procedure: &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; - All the database files are checked for physical corruption.&amp;lt;br&amp;gt; - All the database files are zipped into a file who&#039;s path would be something like C:\DATA.BAK\CLIENTX\MONDAY\BACKUP.ZIP file.&amp;lt;br&amp;gt; - The file having the same name as that of the corresponding day of the week as last week is overwritten.A &amp;quot;backup alert&amp;quot; email indicating success or failure is sent to senior managers at the client, the client’s IT manager and backups@neosys.com.&amp;lt;br&amp;gt; - An internal log (accessible on each database&#039;s Support Menu) is maintained as a record and in case the emails cannot be sent out for some reason.&amp;lt;br&amp;gt; - NEOSYS support staff in Dubai check the emails every morning Sunday through Thursday.&amp;lt;br&amp;gt; - In the case of failure, NEOSYS support staff in Dubai take appropriate action and send an email (to the same people who receive the automated backup alert emails) indicating what action has been taken.&amp;lt;br&amp;gt; - The above does not by itself constitute a proper backup because the backup is stored on the same server and physical disk as the actual data.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
#On the NEOSYS backup server host (in NEOSYS Dubai Office as of Dec 2010 but could be changed without notice to EvoSwitch in Amsterdam).&amp;lt;br&amp;gt; - At around 02:00-02:30 AM GMT daily, NEOSYS&#039;s backup server copies (replicates) all the BACKUP.ZIP files from the main NEOSYS server host to itself.&amp;lt;br&amp;gt; - An email indicating success or failure is sent to NEOSYS support staff (only) who deal with it in a similar way to phase 1, except that only NEOSYS management are updated.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Cutting and Pasting NEOSYS Maintenance Mode Messages into Wiki ==&lt;br /&gt;
&lt;br /&gt;
Error messages expressed as images are not searchable.&lt;br /&gt;
&lt;br /&gt;
Therefore SELECT THE TEXT OF MAINTENANCE MODE WINDOWS using right click on window heading, Edit, Mark, Copy .. not graphical copy.&lt;br /&gt;
 &lt;br /&gt;
Then paste the text into wiki and surround with &amp;quot;&amp;lt; pre&amp;gt;&amp;quot; and &amp;quot;&amp;lt; /pre&amp;gt;&amp;quot; tags (without the space) as follows:&lt;br /&gt;
&lt;br /&gt;
[[image:loginmessage.jpg]]&lt;br /&gt;
&lt;br /&gt;
the result is searchable text as follows ...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
╔════════════════════════════╗&lt;br /&gt;
║      NEOSYS SECURITY       ║&lt;br /&gt;
║    What is your name ?     ║&lt;br /&gt;
║                            ║&lt;br /&gt;
║   [                    ]   ║&lt;br /&gt;
║                            ║&lt;br /&gt;
║  Please enter your name,   ║&lt;br /&gt;
║   or press Esc to exit.    ║&lt;br /&gt;
╚════════════════════════════╝&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ashwin</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Procedures&amp;diff=773</id>
		<title>Procedures</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=Procedures&amp;diff=773"/>
		<updated>2011-11-01T11:34:53Z</updated>

		<summary type="html">&lt;p&gt;Ashwin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Here are procedures to be followed by Support Staff in respect to various technical matters in day to day operations of client issues.&lt;br /&gt;
&lt;br /&gt;
== NEOSYS Support Policies ==&lt;br /&gt;
In order to maintain good payment speed by clients NEOSYS needs to restrict support to clients that dont pay their bills on time, however the degree of restriction needs to depend on an intimate knowledge of the client which cannot be expected from all NEOSYS support staff. Therefore we will use a simple escalation policy as follows:&lt;br /&gt;
&lt;br /&gt;
NEOSYS SUPPORT MANAGERS WILL maintain an overdue/stop list on a whiteboard visible to all support staff. Generally clients will go on the list when their invoice is seven days overdue and come off only after satisfactory commitment to pay have been obtained.&lt;br /&gt;
&lt;br /&gt;
NEOSYS SUPPORT STAFF WILL discretely refer any calls for support from client on the overdue/stop list to support managers for handling.&lt;br /&gt;
&lt;br /&gt;
This policy excludes:&lt;br /&gt;
# Contacting the client to change the USB disk on the scheduled day, in case they haven&#039;t done so by 12 pm&lt;br /&gt;
# Contacting the client or if the client contacts support staff regarding backup failures and to take measures to fix these failures&lt;br /&gt;
&lt;br /&gt;
== Client Password Policy ==&lt;br /&gt;
All client user passwords, including their initial one, are to be obtained via the user&#039;s email address using the password reminder/reset button on the login screen.&lt;br /&gt;
&lt;br /&gt;
NEOSYS staff should never know users passwords therefore NEOSYS will not obtain and grant user passwords.&lt;br /&gt;
&lt;br /&gt;
=== Support requests from ordinary client users ===&lt;br /&gt;
Any support requests concerning inability to obtain passwords will be forwarded to known skilled users on the client staff since this is the most efficient (not fastest) way to handle such issues.&lt;br /&gt;
&lt;br /&gt;
=== Support requests from senior client management ===&lt;br /&gt;
Any support requests concerning inability to obtain passwords by senior client management users shall be handled directly by NEOSYS support staff in any way convenient to resolve the issue in the quickest possible time rather than the most efficient.&lt;br /&gt;
&lt;br /&gt;
Bearing in mind that NEOSYS staff should never know user&#039;s passwords this will probably involve NEOSYS staff using the Password Reminder/Reset button to send a new password to the user.&lt;br /&gt;
&lt;br /&gt;
=== User Defined Passwords ===&lt;br /&gt;
NEOSYS will provide user defined passwords in very special cases which must be pre-approved case by case by NEOSYS management. For many reasons, NEOSYS will not approve.&lt;br /&gt;
&lt;br /&gt;
Currently this permission has only been granted to one NEOSYS client with several hundred of databases.&lt;br /&gt;
&lt;br /&gt;
== Handling client issues ==&lt;br /&gt;
=== Handling error messages ===&lt;br /&gt;
#The very first step is understanding client problem.&lt;br /&gt;
#Ask the client what error does he gets on the screen.&lt;br /&gt;
#If error seems to be familiar then resolve it over the phone.&lt;br /&gt;
#If error is unknown then ask user to send a screenshot of the error displayed along with the options used (basically you need to know HOW to replicate the error)&lt;br /&gt;
#Upon receipt of the error, check in all the wikis for a solution.&lt;br /&gt;
#If the issue is unknown or you don’t understand it clearly ask the user then use remote support to gain access to the users desktop to view how to replicate the error. &lt;br /&gt;
&lt;br /&gt;
If it is new issue then report by escalation the same issue to your manager with a brief explanation.&lt;br /&gt;
&lt;br /&gt;
=== Handling problems with report totals ===&lt;br /&gt;
Questions with regards to report totals should not be escalated to the programmers without following this procedure. If the total can be be broken down into items (as they nearly always can be in NEOSYS) then only a problem where the items dont add up to a total should be escalated, since that would be a system error.&lt;br /&gt;
&lt;br /&gt;
== Using Support Tools ==&lt;br /&gt;
&lt;br /&gt;
=== NEOSYS Software ===&lt;br /&gt;
&lt;br /&gt;
The NEOSYS Software is currently supported on the following Operating Systems (OS) and browsers:&lt;br /&gt;
&lt;br /&gt;
* For Media &amp;amp; Finance modules, Internet Explorer 6+ on Windows&lt;br /&gt;
* For Jobs &amp;amp; Timesheets modules, Internet Explorer 6+ on Windows or Safari 5+ on Mac&lt;br /&gt;
&lt;br /&gt;
Users are to ensure that pop-up blockers and any 3rd party toolbars are deactivated/switched off or else certain pages and alert messages while using NEOSYS do not appear as a result of blocking from either the pop-up blocker or toolbars with built-in pop-up blockers.&lt;br /&gt;
&lt;br /&gt;
NEOSYS Support personnel should additionally ensure that under Internet Explorer &amp;gt; Tools &amp;gt; Internet Options &amp;gt; Advanced &amp;gt; Browsing - the items Disable script debugging (Internet Explorer) and Disable script debugging (Other) are UNTICKED. This is because if NEOSYS generates any javascript error message, the same would disappear in the bottom left corner of a window, which in turn helps the programmer fix the error.&lt;br /&gt;
&lt;br /&gt;
=== Website Live Support ===&lt;br /&gt;
&lt;br /&gt;
www.neosys.com is equipped with a Live Support software and clients can visit the website, click on this link and chat with any of our support staff, without the need for any installation. The client has to fill in their name and email address to connect to an available support personnel. During non-working hours, the Live Support icon on the website automatically displays &amp;quot;offline&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
NEOSYS Support personnel who are authorised to provide such support, need to download a software called Kayako Live Support from http://hotfix.kayako.com/latest.php?product=lr&amp;amp;platform=win32&amp;amp;buildtype=stable&lt;br /&gt;
&lt;br /&gt;
Once downloaded the account needs to be setup as follows:&lt;br /&gt;
&lt;br /&gt;
* Account Name: (as provided by NEOSYS IT)&lt;br /&gt;
* SupportSuite URL: http://support.neosys.com/&lt;br /&gt;
* User Name: (as provided by NEOSYS IT and usually same as Account Name)&lt;br /&gt;
* Password: (as provided by NEOSYS IT)&lt;br /&gt;
&lt;br /&gt;
The first time the account is setup, you need to close Kayako Live Support completely and restart for it to login and work properly.&lt;br /&gt;
&lt;br /&gt;
== Handling Nagios Client Monitoring system ==&lt;br /&gt;
&lt;br /&gt;
Nagios is configured to display information pertaining to all NEOSYS client&#039;s server statuses which include multiple services such as:&lt;br /&gt;
# HTTPS: Most of NEOSYS clients are configured to have external web access via secure HTTP protocol (port 4430) from outside office. Nagios is configured to check port 4430 on a regular interval of 10 minutes and display any issues in accessing the same.&lt;br /&gt;
# SSH: As part of the support contract, NEOSYS should have external secure access to the client server usually over port 19580. Nagios is configured to check this port on a regular interval of 10 minutes and display any issues in accessing the same.&lt;br /&gt;
# Ping: Nagios is also configured to ping the client router as a measure to check if router responds incase the NEOSYS server is down.&lt;br /&gt;
# NEOSYS: This service works in a reverse direction, and the NEOSYS installation on the client server sends information such as databases running, current backup status, internal and internet IP addressess etc to Nagios on a regular interval of 10 minutes.&lt;br /&gt;
&lt;br /&gt;
Some key information about Nagios is as follows:&lt;br /&gt;
* Nagios is also configured to display information related to internal servers. &lt;br /&gt;
* Clients hosted on a NEOSYS cloud server might not have services such as SSH or PING as this is monitored as part of the internal server service.&lt;br /&gt;
* Nagios sends out email alerts to support2@neosys.com (which is forwarded to support@neosys.com) from 8 am to 12 midnight on all Dubai working days (Sun-Thu). No alerts are sent out on Fri and Sat, unless they are for NEOSYS internal servers.&lt;br /&gt;
&lt;br /&gt;
NEOSYS support staff on duty has to follow the below outlined procedures in case of any Nagios items showing a critical or warning message for any service: &lt;br /&gt;
# Nagios is required to be checked first thing in the morning and any critical or warning messages need to be dealth with to resolve the same at the earliest. &lt;br /&gt;
# Some of the messages could be related to backup failures and the usual procedure as stated in #Backup Procedures needs to be followed. In case the backup issue isn&#039;t resolved by 9:30 am, the Nagios service needs to be scheduled with downtime for a minimum of 2 hours and maximum until 1 am next day if the issue cannot be solved. &lt;br /&gt;
# In case any HTTPS, SSH or PING service is down, immediate action is required and the relevant IT people at the client side needs to be contacted to get this resolved. A downtime of 2 hours is required to be scheduled with further intervals of 2 hours incase this is not resolved. Support staff shouldn&#039;t schedule downtime till 1 am next day, just to get rid of the alerts for the day. Proactive follow up with the client is required to get this resolved before the business day - more so, if there is a weekend ahead. &lt;br /&gt;
# In case the HTTPS, SSH or PING service goes down during the day, a grace period of 20 minutes is given before the issue is reported to the client IT. This helps incase there is any temporary internet connection issue at the client or along the internet route. &lt;br /&gt;
# In case of &amp;quot;Backup not changed&amp;quot; warning status which occurs if the client has not interchanged the USB before 12 noon on that day, no action is required from the support staff and a downtime until 1 am next day needs to be scheduled.&lt;br /&gt;
 &lt;br /&gt;
**&#039;&#039;&#039;PLEASE NOTE&#039;&#039;&#039;: Failure to schedule appropriate downtime will lead to REDUNDANT ALERTS from NAGIOS every hour.&lt;br /&gt;
&lt;br /&gt;
== What happens if there is no remote access to NEOSYS server based in client’s premises ? ==&lt;br /&gt;
&lt;br /&gt;
If access to the NEOSYS server is lost then we must determine the root cause by: &lt;br /&gt;
&lt;br /&gt;
# Checking if the server is UP and running&lt;br /&gt;
# If yes, please check internet connectivity on the server&lt;br /&gt;
# If there is connectivity, please check the router for connectivity issues&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Sample Response:&#039;&#039;&#039;&lt;br /&gt;
Please note that we have currently lost access to the NEOSYS server. The server seems to be down at the moment and it seems that neosys processes are not running on the server.&lt;br /&gt;
Kindly check if the server is UP and running. If yes, please check internet connectivity on the server.&lt;br /&gt;
Do keep us posted on the server status so we can test connectivity from our side as well.0&lt;br /&gt;
&lt;br /&gt;
== New Router (Port Forwarding) ==&lt;br /&gt;
&lt;br /&gt;
If you have changed your router then you may notice that external access to NEOSYS is unavailable. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Solution:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Setup a permanent access for NEOSYS by reconfiguring the Router / Firewall for Port Forwarding from Router to the NEOSYS Server as follows: &lt;br /&gt;
# Port 19580 &amp;gt; 19580 for SSH &lt;br /&gt;
# Port 4430 &amp;gt; 4430 for HTTPS&lt;br /&gt;
&lt;br /&gt;
You can click [http://portforward.com/ Set Up Port Forwarding] to learn how to configure your Router.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Sample Response:&#039;&#039;&#039;&lt;br /&gt;
You are requested to kindly setup a permanent access for NEOSYS by reconfiguring the Router / Firewall for Port Forwarding from Router to the NEOSYS Server,i.e.  port 19580 for SSH and port 4430 for HTTPS.&lt;br /&gt;
&lt;br /&gt;
Once this is complete, kindly send me an email to confirm the same so that we could test connectivity from our end as well.&lt;br /&gt;
&lt;br /&gt;
== Backup Procedures ==&lt;br /&gt;
=== Preparing daily backup report ===&lt;br /&gt;
# Note the success, failure and other error of the clients backup mail in an excel sheet and forward the same to your manager.&lt;br /&gt;
# If there is a backup failure or backup is not available, check wiki to take necessary steps.&lt;br /&gt;
# If there is any unknown error, forward the same to your manager.&lt;br /&gt;
&lt;br /&gt;
=== Updating Nagios incase of failures ===&lt;br /&gt;
# If the backup failure is unsolved, schedule downtime Neosys service in Nagios till 01 am.&lt;br /&gt;
# If the backup did not happen because of server down. Call the IT person; ask him to re-boot the server and check wiki to do necessary step ahead and schedule downtime to Nagios for 2hours.&lt;br /&gt;
# If there is an error &amp;quot;Backup-&amp;gt;Impossible&amp;quot; on Nagios check wiki and schedule downtime to Nagios for 2hours.&lt;br /&gt;
&lt;br /&gt;
=== Interchange backup USB mail reminder ===&lt;br /&gt;
# Basically all the clients have different days to change their backup USB. All the notification can be seen on Nagios at 12.00 pm every day.&lt;br /&gt;
# When you see the change backup notification on Nagios at 12.00 pm, send a mail to the IT person or the person who changes the USB. As you send the mail schedule downtime for Neosys services for two hours.&lt;br /&gt;
# Check the Nagios at 2.00 pm if the backup USB is changed, don&#039;t send another mail and stop there. But if backup is still not yet changed, send a another mail and this time cc the mail to your manager. After sending the mail, schedule downtime for Neosys service for more two hours.&lt;br /&gt;
# Now at 4.00 pm if you still find the backup USB not changed. Call the IT person and ask him to change the USB ASAP and schedule downtime for Neosys services for one hour.&lt;br /&gt;
# Now at 5.00 pm check Nagios and see if the backup USB is changed and if not changed. Send the mail to everyone from the backup mail.&lt;br /&gt;
# If the backup is still not changed, escalate the issue to your manager.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; &lt;br /&gt;
If the USB is not interchanged on the scheduled day i.e. then The NEOSYS Automated backup will fail.&lt;br /&gt;
Traditionally, each USB holds backup of 7 days and using 3 different USBs we can store backups for the last 21 days enabling us to restore the system unto a time period beginning 21 days prior.&lt;br /&gt;
If the USB is not changed then the first backup on the current USB is replaced with the new or latest backup leading to inconsistencies within the backups. Hence we &#039;&#039;&#039;must&#039;&#039;&#039; interchange the USB on schedule to avoid a backup failure the next morning.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Sample Response:&#039;&#039;&#039;&lt;br /&gt;
The NEOSYS backup has failed today as the USB was not interchanged on the scheduled day.&lt;br /&gt;
Please interchange the USB immediately today to avoid a backup failure tomorrow morning.&lt;br /&gt;
Also note that your scheduled day to interchange the USB next week and hence forth remains unchanged to &#039;&#039;&#039;(Scheduled Day)&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
=== Finding out which USB is inserted into the server ===&lt;br /&gt;
As we ask the client to have 3 USB&#039;s and interchange them weekly, we also need to sometimes track which one of these 3 USB&#039;s are inserted into the server. USB&#039;s can be tracked using their volume serial number in most cases. To find this out either go to the command prompt and type VOL or in the nightly backup message check for the 2nd line (which looks like this - 14/12/2009 2:45pm Media: 705B-5B5F). However serial numbers can be the same even for different USB&#039;s.&lt;br /&gt;
&lt;br /&gt;
== Client relocating operations to a new premises == &lt;br /&gt;
&lt;br /&gt;
Ensure that the following procedure is followed by the clients IT staff prior to relocation:&lt;br /&gt;
&lt;br /&gt;
# Login to the NEOSYS server and shut down all the processes by hitting the ESC button on each of the window three times or until they close&lt;br /&gt;
# Take a backup of the D drive on another system or network / external drive&lt;br /&gt;
# Remove the USB plugged in and secure the same along with the other two USB’s in a safe location&lt;br /&gt;
# The NEOSYS server may now be shutdown and moved to the new premises&lt;br /&gt;
&lt;br /&gt;
Post relocation, the clients IT staff must ensure the following immediately:&lt;br /&gt;
&lt;br /&gt;
# Connect the server to the local network and complete all setup required for users to be able to access the system internally&lt;br /&gt;
# Configure the firewall and/or port settings to enable NEOSYS support staff to connect to the server externally &lt;br /&gt;
# Provide NEOSYS support with the new fixed IP address so that the connection can be tested.&lt;br /&gt;
&lt;br /&gt;
== Creating and Handling passwords ==&lt;br /&gt;
Passwords made out of a pass phrase should be at least 10 characters since using initials results in a lot of i&#039;s and a&#039;s etc which reduces the effectiveness of the password and allows hacking via brute force guessing especially since windows doesnt slow down logins even if it sees thousands of password attempts.&lt;br /&gt;
&lt;br /&gt;
=== Creating a password ===&lt;br /&gt;
Passwords are generated from a pass phrase and it is important to create a very difficult to guess pass phrase.&lt;br /&gt;
&lt;br /&gt;
For example, a good pass phrase would be: &#039;&#039;&#039;Today is a good day and it is the best time to go for a holiday&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The password for this would be &#039;&#039;&#039;Tiagdaiitbt2g4ah&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The important instructions for the above are:&lt;br /&gt;
#You have to take the first letter of each word and that makes your password (i.e. by using initials)&lt;br /&gt;
#Wherever any word starts with a capital, then you have to take first letter as a capital (eg. For Today you will take T)&lt;br /&gt;
#Replace &#039;&#039;&#039;and&#039;&#039;&#039; with &#039;&#039;&#039;&amp;amp;&#039;&#039;&#039;&lt;br /&gt;
#Replace &#039;&#039;&#039;to&#039;&#039;&#039; with &#039;&#039;&#039;2&#039;&#039;&#039;&lt;br /&gt;
#Replace &#039;&#039;&#039;for&#039;&#039;&#039; with &#039;&#039;&#039;4&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Handling passwords ===&lt;br /&gt;
#Never send the actual password - always send the pass phrase&lt;br /&gt;
#Make sure that the password created out of the pass phrase is at least 10 characters long since using initials results in a lot of i&#039;s and a&#039;s etc which reduces the effectiveness of the password and allows hacking via brute force guessing especially since windows doesnt slow down logins even if it sees thousands of password attempts&lt;br /&gt;
#Pass phrases are never to be sent by email, whatever the case maybe.&lt;br /&gt;
#Pass phrases can be sent by chat - however they have to be broken down in two parts and sent separately over two different messengers or if you are using Gtalk then use the &#039;off the record&#039; mode.&lt;br /&gt;
#Using SMS to send pass phrases is the best known way as of now.&lt;br /&gt;
#If you save the passwords on your system as a file, make sure the file is encrypted with a master password.&lt;br /&gt;
&lt;br /&gt;
== NEOSYS Maintenance Window ==&lt;br /&gt;
&lt;br /&gt;
The NEOSYS server is functional from 6am – 1am. There is a 5hr window gap for the system to perform updates &amp;amp; backups.&lt;br /&gt;
&lt;br /&gt;
The 5hr maintenance window:-&lt;br /&gt;
&lt;br /&gt;
1. At 1am – The server performs a data backup on a USB (for the respective clients) &amp;amp; once the backup has been completed, the system automatically generates an email addressed to the neosys staff &amp;amp; the respective clients.&lt;br /&gt;
&lt;br /&gt;
2. At 2:45am – The main data over writes the test data on the server.&lt;br /&gt;
&lt;br /&gt;
3. At 3:00am – The server by itself performs an update for Windows.&lt;br /&gt;
&lt;br /&gt;
4. At 4:00am – The server performs a backup to the headquarters for clients, and then automatically generates an email addressed to the NEOSYS staff &amp;amp; the respective clients. This process is followed by only two clients i.e. Adline &amp;amp; Farouk.&lt;br /&gt;
&lt;br /&gt;
5. At 6:00am – The server starts up NEOSYS.&lt;br /&gt;
&lt;br /&gt;
==Switching to a backup server==&lt;br /&gt;
&lt;br /&gt;
As NEOSYS provides clients with option of backing up their data to a remote NEOSYS server in case of emergencies or server problems, it is crucial you understand the below procedure on how to switch to a backup server in the event of such a situation. Extreme care must be taken when switching over to using a backup server otherwise unnecessary data loss is very likely.&lt;br /&gt;
&lt;br /&gt;
Backup servers are normally switched off and should not be started automatically otherwise there is a serious risk of the client’s staff working on two systems. It is not possible to merge two databases into one database. Before the backup server is enabled the main server must be disabled, and before the main server is re-enabled, the backup  server must be disabled again. This can be managed technically without requiring any decision from senior non-technical staff.&lt;br /&gt;
&lt;br /&gt;
However, there are also some potentially hard decisions about unavoidable loss of data versus continued system availability. *** Backup servers should therefore only be started with the written approval of the clients senior staff. A suitable email requesting approval follows.&lt;br /&gt;
&lt;br /&gt;
The following case assumes that the main server has gone down sometime during the working day and that therefore the data on the backup server is out of date. Allowing them to use the backup server therefore implies some loss of data. They may wish to lose the data. They may wish to work on the backup server data and then try to redo the work on the main server once it is restored. There are a variety of options depending on the situation.&lt;br /&gt;
&lt;br /&gt;
If the main server is still functioning AND you are reasonably sure that the database is not damaged (which is perhaps an unlikely situation if you need to use the backup server!), it may be sensible to trigger an additional “backup/sync” process to bring the backup server database up to date with the main server. Before you do this, it is advisable that you take a backup copy of the backup system on the backup  server. In this case there would be no data loss in using the backup.&lt;br /&gt;
&lt;br /&gt;
An additional option of providing usage of the backup server in read-only mode so that people can at least access some data is being developed. The backup server could be available continuously at any time in read-only mode. This article would then be related to switching a backup server into main operational mode.&lt;br /&gt;
&lt;br /&gt;
 Dear {senior staff} cc {IT staff}&lt;br /&gt;
 &lt;br /&gt;
 Please note that we can enable the backup server if you wish.&lt;br /&gt;
 &lt;br /&gt;
 However the data on the backup server is out of date since it is a copy of your main database as at 11/22/33 99:99.&lt;br /&gt;
 &lt;br /&gt;
 If you wish to allow work to be done on the backup server then any data entered on your main server since the above date will be lost if we &lt;br /&gt;
 subsequently copy the data on the backup server to the main server.&lt;br /&gt;
 &lt;br /&gt;
 If, after using the backup server, we do NOT copy the data on the back server to the main server then any data you have entered on the backup &lt;br /&gt;
 server/database will be lost.&lt;br /&gt;
 &lt;br /&gt;
 Please confirm a) you want to work on HOSTS2 database and that we should therefore enable it and b) you have disconnected your main server &lt;br /&gt;
 for the duration.&lt;br /&gt;
 &lt;br /&gt;
 Best Regards,&lt;br /&gt;
 xxxxxx xxxxxxx&lt;br /&gt;
 NEOSYS Support&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Description of Backup Procedure for the NEOSYS Client Hosting Server ==&lt;br /&gt;
&lt;br /&gt;
NEOSYS backup is a two phase process. It is mandatory that both phases are complete for the process to be considered a backup.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
#On the main NEOSYS server host(Schuberg Philis in Amsterdam as of Dec 2010)&amp;lt;br&amp;gt;Every night, the NEOSYS process for selected databases stops serving users at around 1:00 AM to 5:00 AM (local time of the client&#039;s main office) and performs the following procedure: &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; - All the database files are checked for physical corruption.&amp;lt;br&amp;gt; - All the database files are zipped into a file who&#039;s path would be something like C:\DATA.BAK\CLIENTX\MONDAY\BACKUP.ZIP file.&amp;lt;br&amp;gt; - The file having the same name as that of the corresponding day of the week as last week is overwritten.A &amp;quot;backup alert&amp;quot; email indicating success or failure is sent to senior managers at the client, the client’s IT manager and backups@neosys.com.&amp;lt;br&amp;gt; - An internal log (accessible on each database&#039;s Support Menu) is maintained as a record and in case the emails cannot be sent out for some reason.&amp;lt;br&amp;gt; - NEOSYS support staff in Dubai check the emails every morning Sunday through Thursday.&amp;lt;br&amp;gt; - In the case of failure, NEOSYS support staff in Dubai take appropriate action and send an email (to the same people who receive the automated backup alert emails) indicating what action has been taken.&amp;lt;br&amp;gt; - The above does not by itself constitute a proper backup because the backup is stored on the same server and physical disk as the actual data.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
#On the NEOSYS backup server host (in NEOSYS Dubai Office as of Dec 2010 but could be changed without notice to EvoSwitch in Amsterdam).&amp;lt;br&amp;gt; - At around 02:00-02:30 AM GMT daily, NEOSYS&#039;s backup server copies (replicates) all the BACKUP.ZIP files from the main NEOSYS server host to itself.&amp;lt;br&amp;gt; - An email indicating success or failure is sent to NEOSYS support staff (only) who deal with it in a similar way to phase 1, except that only NEOSYS management are updated.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Cutting and Pasting NEOSYS Maintenance Mode Messages into Wiki ==&lt;br /&gt;
&lt;br /&gt;
Error messages expressed as images are not searchable.&lt;br /&gt;
&lt;br /&gt;
Therefore SELECT THE TEXT OF MAINTENANCE MODE WINDOWS using right click on window heading, Edit, Mark, Copy .. not graphical copy.&lt;br /&gt;
 &lt;br /&gt;
Then paste the text into wiki and surround with &amp;quot;&amp;lt; pre&amp;gt;&amp;quot; and &amp;quot;&amp;lt; /pre&amp;gt;&amp;quot; tags (without the space) as follows:&lt;br /&gt;
&lt;br /&gt;
[[image:loginmessage.jpg]]&lt;br /&gt;
&lt;br /&gt;
the result is searchable text as follows ...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
╔════════════════════════════╗&lt;br /&gt;
║      NEOSYS SECURITY       ║&lt;br /&gt;
║    What is your name ?     ║&lt;br /&gt;
║                            ║&lt;br /&gt;
║   [                    ]   ║&lt;br /&gt;
║                            ║&lt;br /&gt;
║  Please enter your name,   ║&lt;br /&gt;
║   or press Esc to exit.    ║&lt;br /&gt;
╚════════════════════════════╝&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ashwin</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Troubleshooting_NEOSYS_Generally&amp;diff=769</id>
		<title>Troubleshooting NEOSYS Generally</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=Troubleshooting_NEOSYS_Generally&amp;diff=769"/>
		<updated>2011-10-31T07:54:49Z</updated>

		<summary type="html">&lt;p&gt;Ashwin: /* NEOSYS not updating Nagios */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Solving failure to start a NEOSYS server due to disk failure message ==&lt;br /&gt;
&lt;br /&gt;
=== Problem ===&lt;br /&gt;
During a reboot process (which maybe due to a Windows update or even done by a support personnel) the NEOSYS server gets hung on the startup and shows a message &amp;quot;Boot Failure - Abort, Retry&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
=== Temporary solution ===&lt;br /&gt;
This typically happens due to the USB being plugged into the server and the boot sequence being wrong - i.e. the server trying to boot from the USB first and fails. The immediate solution would be to unplug the USB and ask the client to reboot the server again and upon successfully rebooting the system, plug the USB back again.&lt;br /&gt;
&lt;br /&gt;
=== Permanent solution ===&lt;br /&gt;
The above problem will occur every time the computer is rebooted, so you need to immediately talk to the IT Administrator of the client and ask them to rectify the boot sequence to make it boot first from the CD ROM, then the HDD and last the USB.&lt;br /&gt;
&lt;br /&gt;
== Solving &amp;quot;Read error in the operating system file&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
=== Problem ===&lt;br /&gt;
&lt;br /&gt;
Nagios reports a hung process and on the server a process has the following message popup.&lt;br /&gt;
&lt;br /&gt;
 Read error in the operating system file &amp;quot;..\DATA\PT0833\ACCOUNTS\REV20049&lt;br /&gt;
 The file does not exist or the filename is&lt;br /&gt;
 not valid for the operating system.&lt;br /&gt;
&lt;br /&gt;
[[Image:readerrorintheoperatingsystemfile.png]]&lt;br /&gt;
&lt;br /&gt;
=== Cause ===&lt;br /&gt;
&lt;br /&gt;
Some non-NEOSYS program is directly accessing the NEOSYS database files while NEOSYS processes are running and using the files as well.&lt;br /&gt;
&lt;br /&gt;
*Client IT staff using a backup program to perform backup without ensuring that NEOSYS processes are shutdown.&lt;br /&gt;
*A NEOSYS rsync process taking longer than expected due to new USB.&lt;br /&gt;
&lt;br /&gt;
=== Solution ===&lt;br /&gt;
&lt;br /&gt;
Kill the NEOSYS process eg with the X button. It is advisable NOT to let it run further while it cannot properly access one of its files.&lt;br /&gt;
&lt;br /&gt;
=== Prevention ===&lt;br /&gt;
&lt;br /&gt;
Remove the third party program or arrange for it to operate only while NEOSYS processes are shutdown eg from 3am-6am.&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting the &amp;quot;Database not available&amp;quot; error message == &lt;br /&gt;
&lt;br /&gt;
=== Problem explained ===&lt;br /&gt;
&lt;br /&gt;
This error appears when you try to login to NEOSYS after you enter your username and password and click the Login button.&lt;br /&gt;
&lt;br /&gt;
[[image:database_unavailable.jpg]]&lt;br /&gt;
&lt;br /&gt;
Error message : &lt;br /&gt;
&lt;br /&gt;
 Cannot login because : &lt;br /&gt;
 Error :  The (database code) database is not available right now.&lt;br /&gt;
&lt;br /&gt;
=== Solution explained ===&lt;br /&gt;
&lt;br /&gt;
# Determine if the processes are running. If they are running and you still get the same message that means that the proccesses have hung. Close them by hitting the X button on the window.&lt;br /&gt;
# If the processes are not visible, it is possible that they are running in the background and have hung for some reason. Check the windows task manager to see if any ‘ntvdm’ process is running. If so, use the End Process method to force close it.&lt;br /&gt;
# If there is no trace of any process running, that means the process probably did not start at the scheduled time. Refer to the &#039;Hung Process Reports&#039; to verify this claim. &lt;br /&gt;
# If the process had not hung, then the server might have restarted due to a power failure or a windows update and the administrator user had not logged in post the scheduled startup time of 6AM. To determine this cause, investigate in the Windows Event Viewer Log file.&lt;br /&gt;
# You can now start up the process by clicking on the respective desktop icons.&lt;br /&gt;
# Also check if the backup took place successfully or not. If not take a manual backup.&lt;br /&gt;
&lt;br /&gt;
== Handling damaged files ==&lt;br /&gt;
&lt;br /&gt;
[[Handling damaged files]]&lt;br /&gt;
&lt;br /&gt;
== Checking for corrupt database files ==&lt;br /&gt;
&lt;br /&gt;
Login to NEOSYS Maintenance&lt;br /&gt;
&lt;br /&gt;
Press F5&lt;br /&gt;
&lt;br /&gt;
 CHK.FILES&lt;br /&gt;
&lt;br /&gt;
or &lt;br /&gt;
&lt;br /&gt;
 CHK.FILES filename&lt;br /&gt;
&lt;br /&gt;
== Assessing Database Size per File ==&lt;br /&gt;
 &lt;br /&gt;
In NEOSYS maintenance mode&lt;br /&gt;
 &lt;br /&gt;
 LIST FILES BY BY-DSND SIZE VOLUME.NAME SIZE&lt;br /&gt;
 &lt;br /&gt;
This will include all files not just those in the actual dataset in DATA\* folders.&lt;br /&gt;
&lt;br /&gt;
== Resolving slow speed ==&lt;br /&gt;
&lt;br /&gt;
[[Benchmarking NEOSYS]]&lt;br /&gt;
&lt;br /&gt;
== Handling failure and warning on nightly backup alerts ==&lt;br /&gt;
&lt;br /&gt;
[[Handling failure and warning messages on nightly backup alerts]]&lt;br /&gt;
&lt;br /&gt;
== Resolving permissions errors while logging in ==&lt;br /&gt;
 &lt;br /&gt;
=== Problem ===&lt;br /&gt;
 &lt;br /&gt;
While logging in, you get the following error message:&lt;br /&gt;
[[Image:login_error_message.jpg]]&lt;br /&gt;
 &lt;br /&gt;
=== Solution ===&lt;br /&gt;
 &lt;br /&gt;
Add the internet guest account to the security list of the data folder with the default permission of list/read/write&lt;br /&gt;
 &lt;br /&gt;
Make sure the read&amp;amp;execute permission is removed&lt;br /&gt;
[[Image:permissions_on_data.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Resolving the &#039;HTTP Error 500.0 - Internal Server Error&#039; while logging in on IE on a Windows Vista system ==&lt;br /&gt;
&lt;br /&gt;
=== Problem ===&lt;br /&gt;
After configuring IIS on Windows Vista you will get this error message while trying to login into NEOSYS from Internet Explorer:&lt;br /&gt;
&lt;br /&gt;
 HTTP Error 500.0 - Internal Server Error&lt;br /&gt;
 Description: This application is running in an application pool that uses the Integrated .NET  &lt;br /&gt;
 mode. This is the preferred mode for running ASP.NET applications on the current and future &lt;br /&gt;
 version of IIS.&lt;br /&gt;
 &lt;br /&gt;
 In this mode, the application using client impersonation configured with &amp;lt;identity &lt;br /&gt;
 impersonate=&amp;quot;true&amp;quot; /&amp;gt; may not behave correctly. Client impersonation is not available in early &lt;br /&gt;
 ASP.NET request processing stages and may lead modules in those stages to execute with process &lt;br /&gt;
 identity instead.&lt;br /&gt;
&lt;br /&gt;
=== Solution ===&lt;br /&gt;
&lt;br /&gt;
You can move the application to an application pool that uses the Classic .NET mode by using the following from a command line window (the window must be running as Administrator) &lt;br /&gt;
&lt;br /&gt;
 %systemroot%\system32\inetsrv\APPCMD.EXE set app &amp;quot;Default Web Site/neosys&amp;quot; /applicationPool:&amp;quot;Classic .NET AppPool&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Alternatively, you can use any other application pool on your system that is running in the Classic .NET mode. You can also use the IIS Administration tool to move this application to another application pool.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Resolving the &#039;Class Not Registered&#039; error message while logging in ==&lt;br /&gt;
&lt;br /&gt;
=== Problem ===&lt;br /&gt;
While logging into NEOSYS, you will get a popup window giving an error message saying &#039;Class Not Registered - Server Error&#039;. Typically, you will encounter this error with XP Pro IIS 5.1. As usual, there&#039;s way to solve it, however the root cause of this is still unknown.&lt;br /&gt;
&lt;br /&gt;
Anyway, you will get the proper message in the event log:&lt;br /&gt;
&lt;br /&gt;
 Event Type: Warning&lt;br /&gt;
 Event Source: W3SVC&lt;br /&gt;
 Event Category: None&lt;br /&gt;
 Event ID: 36&lt;br /&gt;
 Description: The server failed to load application &#039;/LM/W3SVC/1/ROOT/NEOSYS.&lt;br /&gt;
 The error was &#039;Class not registered&#039;. &lt;br /&gt;
&lt;br /&gt;
=== Solution ===&lt;br /&gt;
So, what do you do ? This problem is related to Component Services, and when you open Component Services MMC, you will most probably  get  Error Code 8004E00F COM + was unable to talk to Microsoft Distributed Transaction Coordinator. So, fix the COM+ services first by using the following KB from Microsoft (PRB: Cannot Expand &amp;quot;My Computer&amp;quot; in Component Services MMC Snap-In http://support.microsoft.com/?id=301919):&lt;br /&gt;
&lt;br /&gt;
To resolve this problem, reinstall Component Services as follows: WARNING: &lt;br /&gt;
# Open registry editor, locate HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\COM3, and then delete this key.  &lt;br /&gt;
# From the Start menu, point to Settings, click Control Panel, and then click Add/Remove Programs.  &lt;br /&gt;
# Click Add/Remove Windows Components. &lt;br /&gt;
# Proceed through the wizard, and accept all of the defaults (including IIS)&lt;br /&gt;
# Restart the computer.&lt;br /&gt;
&lt;br /&gt;
If the above didn&#039;t solve it, and you still receive the &#039;Class not registered&#039; error message, then you need to recreate the IIS packages in COM+, try&lt;br /&gt;
&lt;br /&gt;
# Delete IIS related package in Component Services MMC&lt;br /&gt;
# IIS In-Process Applications &lt;br /&gt;
# IIS Out-of-Process Pooled Applications &lt;br /&gt;
# IIS Utilities&lt;br /&gt;
&lt;br /&gt;
Next, if you still get the message, try following before re-install IIS if you can&#039;t find Distributed Transaction Coordinator in your Services console.&lt;br /&gt;
&lt;br /&gt;
Launch command prompt and run the following command.&lt;br /&gt;
# msdtc -install&lt;br /&gt;
# net start msdtc&lt;br /&gt;
&lt;br /&gt;
Then try re-install IIS.&lt;br /&gt;
&lt;br /&gt;
This should solve the problem&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Enabling File Security option on Win XP Professional ==&lt;br /&gt;
&lt;br /&gt;
=== Problem ===&lt;br /&gt;
&lt;br /&gt;
In the Properties of any folders, the Security option does not show, hence you cannot modify the Read, Write options.&lt;br /&gt;
&lt;br /&gt;
=== Solution ===&lt;br /&gt;
&lt;br /&gt;
The solution would be to untick the &#039;Simple File Sharing&#039; option from  Tools &amp;gt; Folder Options &amp;gt; View:&lt;br /&gt;
[[Image:simplefilesharingoff.jpg]]&lt;br /&gt;
&lt;br /&gt;
== B10 &amp;amp; B12 Errors ==&lt;br /&gt;
&lt;br /&gt;
These errors are in the software and should be immediately escalated to the programmer.&lt;br /&gt;
&lt;br /&gt;
== B703 Errors ==&lt;br /&gt;
&lt;br /&gt;
The B703 error is usually always related to something too big for NEOSYS to handle. &lt;br /&gt;
&lt;br /&gt;
These are the only B errors that NEOSYS cant always permanently prevent by fixing the software.&lt;br /&gt;
&lt;br /&gt;
== Internet Explorer Menu, View, Text Size doesnt change font size as expected ==&lt;br /&gt;
&lt;br /&gt;
Cause: This is because the font size is now user definable in NEOSYS and View, Text Size does not override predefined font sizes.&lt;br /&gt;
&lt;br /&gt;
Solution: If you are using Internet Explorer 7 you can scale the screen (including the font size  using ctrl + and ctrl - keyboard shortcuts or the font size button on the bottom right hand side of the window. &lt;br /&gt;
&lt;br /&gt;
You can adjust the font size on the User Details form when you login although this permanently applies to all forms not just the one that you are on.&lt;br /&gt;
&lt;br /&gt;
== Error on process window &amp;quot;Not enough string space - Out of Memory&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
=== Message ===&lt;br /&gt;
&lt;br /&gt;
‘RTP27’ Line 1. [B29] Not enough string space – Out of Memory.&lt;br /&gt;
&lt;br /&gt;
Not enough memory to execute Debugger; current program aborted.&lt;br /&gt;
Press any key to continue&lt;br /&gt;
&lt;br /&gt;
[[Image:out_of_memory.jpg]]&lt;br /&gt;
&lt;br /&gt;
=== Cause ===&lt;br /&gt;
Unknown perhaps related to some large document or report&lt;br /&gt;
&lt;br /&gt;
=== Solution ===&lt;br /&gt;
Ask users for any hanging transactions.&lt;br /&gt;
None other than closing and starting another process&lt;br /&gt;
&lt;br /&gt;
== Uploaded jpg files fail to display in internet explorer ==&lt;br /&gt;
&lt;br /&gt;
Some large jpg files &amp;gt; 2Mb cannot be viewed in internet explorer despite being viewable in image preview, ms paint and other viewers/editors. It is not an issue caused by uploading or downloading the files.&lt;br /&gt;
&lt;br /&gt;
These file appear to have been created on Photoshop CS Macintosh and may be a special type of uncompressed jpg used for production quality files.&lt;br /&gt;
&lt;br /&gt;
=== Partial solution ===&lt;br /&gt;
Before uploading the files, open them in some editor like MS Paint (right click, edit) and save them. However this results in a loss of quality. Perhaps there is some program that can convert these files to a format understandable by Internet explorer without any loss of quality.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== &amp;quot;You have attempted to write to a read-only file&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
=== Message ===&lt;br /&gt;
&lt;br /&gt;
Error while writing data.&lt;br /&gt;
You have attempted to write to a read-only file.&lt;br /&gt;
- or -&lt;br /&gt;
access to the file has been denied by the operating system.&lt;br /&gt;
(operating system file name: &amp;quot;..\DATA\ADLINEC\ADAGENCY\REV76467.OV00012618&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
=== Cause ===&lt;br /&gt;
&lt;br /&gt;
It is almost certainly due to some third party backup or other maintenance software opening the NEOSYS database files when it shouldn&#039;t e.g. badly configured third party backup scheduled to backup NEOSYS while NEOSYS is still running. Note that the exact filename varies each time.&lt;br /&gt;
&lt;br /&gt;
=== Solution ===&lt;br /&gt;
&lt;br /&gt;
This can be a serious error that causes damaged files in NEOSYS especially if the filename ends in .OV. Use the usual methods of checking for damaged files e.g. do a backup which also looks for damaged files BUT DO NOT OVERWRITE THE LATEST BACKUP SINCE IT MAY BE REQUIRED for restoration. Then fix the damaged files using the usual methods e.g. by rebuilding/using&lt;br /&gt;
FIXFILE or restoring databases.&lt;br /&gt;
&lt;br /&gt;
=== Prevention ===&lt;br /&gt;
&lt;br /&gt;
Remove the third party backup or other maintenance software or reschedule it to run at a time that NEOSYS is shutdown. Removal of software may require hunting through the windows process list for unexpected programs running.&lt;br /&gt;
&lt;br /&gt;
== Resolving &amp;quot;Cannot backup/restore because PROCESS1 PROCESS2 (etc) is/are online&amp;quot; message ==&lt;br /&gt;
 &lt;br /&gt;
This can happen for a variety of reasons if all the NEOSYS processes fail to close down at backup time&lt;br /&gt;
 &lt;br /&gt;
# NEOSYS maintenance windows are left open.&lt;br /&gt;
# NEOSYS processes hang due to software error.&lt;br /&gt;
 &lt;br /&gt;
== How to kill hung NEOSYS processes ==&lt;br /&gt;
 &lt;br /&gt;
NOTE WELL: If you kill actively working NEOSYS processes (those which are &amp;quot;listening&amp;quot; and not hung/crashed) there is a reasonable chance that the database will be damaged and might need a restore losing possibly large amounts of work.&lt;br /&gt;
 &lt;br /&gt;
==== If NEOSYS processes are visible on the server desktop ====&lt;br /&gt;
 &lt;br /&gt;
Look for processes which don&#039;t have &amp;quot;Listening ...&amp;quot; on the last but one line. The times on the left hand side are frozen as at the time of the hang.&lt;br /&gt;
 &lt;br /&gt;
You can then click the X to kill the process and confirm that this is OK.&lt;br /&gt;
 &lt;br /&gt;
Example of a NEOSYS process that has hung due to a software error resulting in a failure to handle a complex query with a lot of brand codes.&lt;br /&gt;
&lt;br /&gt;
[[Image:hungprocess.jpg]]&lt;br /&gt;
 &lt;br /&gt;
==== If NEOSYS processes are not visible on the server desktop ====&lt;br /&gt;
&lt;br /&gt;
NEOSYS processes are most of the time visible on the desktop (i.e. the black dos windows) in Windows 2003 OS, except in the case that the process has been scheduled to start on computer restart and no one has logged into the server. In this case it would be running in the background. Secondly in the case of Windows 2008, the processes always are hidden. &lt;br /&gt;
&lt;br /&gt;
You can check if there are any hung processes from the NEOSYS Support Menu, List of Database Processes. &lt;br /&gt;
[[Image:databaseprocesseslist.jpg]]&lt;br /&gt;
&lt;br /&gt;
In this case you should follow the below instructions - however all of them need to be done within 30 seconds of starting the first instruction to avoid inconvenience to the users. It is recommend that you keep relevant windows open before proceeding with the same:&lt;br /&gt;
&lt;br /&gt;
#Shutdown NEOSYS by TEMPORARILY putting a file called GLOBAL.END in the parent directory of NEOSYS (if there is already a GLOBAL.END.TEMP file then rename it to GLOBAL.END). Leaving the file there would prevent NEOSYS from starting up again. Shutting down NEOSYS from the Support menu will not work because of the hung processes.&lt;br /&gt;
#Use Windows Task Manager to kill all the NTVDM processes - assuming that you have closed all the visible NEOSYS processes, then the NTVDM processes in the task manager would be the hung one.&lt;br /&gt;
#Delete GLOBAL.END or rename it to GLOBAL.END.TEMP&lt;br /&gt;
#Restart the processes back again. If there are many datasets then you need to restart them all well within the 30 seconds period.&lt;br /&gt;
&lt;br /&gt;
In case of Patsalides, where we have a thousand datasets which start &amp;quot;on demand&amp;quot; i.e. usually on login; all you need to do is start one dataset which will restart all the other datasets &amp;quot;on demand&amp;quot;. If there is no response within 30 seconds then one of the running datasets will start it up so there appears to be a 30 second delay when you login to one of the thousand datasets the first time on any one day.&lt;br /&gt;
&lt;br /&gt;
=== Temporary workarounds for hung NEOSYS processes ===&lt;br /&gt;
Until the error in the software is fixed users can often get their results by simplifying their requirements. For example select individual clients instead of selecting all the brands for a particular client. If the user has repeated his request (in forlorn hope that it would work finally) then the number of NEOSYS working NEOSYS processes will drop causing severe slowdown for other users and complete stop if all the NEOSYS processes hang.&lt;br /&gt;
&lt;br /&gt;
== How to fix a NEOSYS process which opens up in a notepad instead of Microsoft Windows Based Script Host (i.e. DOS window)==&lt;br /&gt;
&lt;br /&gt;
The NEOSYS process (cmd file) might open up in a notepad, instead of the usual black colour DOS window. This can be fixed by the following:&lt;br /&gt;
&lt;br /&gt;
# Download and install the Windows Script 5.6/5.7 from the Microsoft Website&lt;br /&gt;
# Go to any folder, click on Tools &amp;gt; Folder Options &amp;gt; File Types and find the .JS and .JSE and change the default program to wscript.exe (from windows&amp;gt;system32)&lt;br /&gt;
&lt;br /&gt;
== Resolving a &#039;Could not start&#039; error on Scheduled Tasks in Windows Server 2000 SP4 ==&lt;br /&gt;
&lt;br /&gt;
This error occurs because of a change that is made to the data that is stored in the credentials database when you install Windows 2000 SP4. Hence installing SP4 causes the the data that is stored in the credentials database to get converted to an SP4-compatible format. A registry key is configured to indicate that the data has been converted to the SP4 format.&lt;br /&gt;
&lt;br /&gt;
Hence the Scheduled Tasks do not work sometimes. However the Scheduled Tasks works fine sometimes, but when you uninstall SP4, it does not work.&lt;br /&gt;
&lt;br /&gt;
The best solution is to:&lt;br /&gt;
&lt;br /&gt;
# Incase Scheduled Tasks do not work after installing SP4, then uninstall SP4 and it should be fine.&lt;br /&gt;
# Incase Scheduled Tasks works after installing SP4, and later after uninstalling SP4, it does not work, then install SP4 and it should be fine.&lt;br /&gt;
&lt;br /&gt;
== Checking for server or NEOSYS crashes ==&lt;br /&gt;
 &lt;br /&gt;
#NEOSYS Maintenance Mode&lt;br /&gt;
#General Menu, Setup, Processes&lt;br /&gt;
#Select the dates and the option Detailed&lt;br /&gt;
 &lt;br /&gt;
This report shows a list of dates and times that NEOSYS logged in but did not log out properly.&lt;br /&gt;
 &lt;br /&gt;
Ignore the very latest entries since they represent the current NEOSYS processes. For example, if you have four NEOSYS processes running at the time that you get the report (including any in maintenance mode) then you can ignore the last four entries.&lt;br /&gt;
 &lt;br /&gt;
The date and time shows for each process that has failed to shutdown correctly when the process logged in. Versions of NEOSYS from January 2008 will also show the date and time that each crashed NEOSYS process was last active (heartbeat) so that the time of failure can be known.&lt;br /&gt;
 &lt;br /&gt;
If you see a bunch of NEOSYS processes all started up at around the same time but all failed to shutdown correctly then the cause will be a server failure - usually power failure.&lt;br /&gt;
 &lt;br /&gt;
Isolated one-off failures will be related to individual NEOSYS process crashes - most commonly caused by one of the following:&lt;br /&gt;
 &lt;br /&gt;
#NEOSYS hanging to due to software failure&lt;br /&gt;
#Manually exiting a NEOSYS process on the server either by pressing Ctrl+Alt+Del or clicking the &amp;quot;X&amp;quot; close icon/box and ignoring the warning&lt;br /&gt;
#Random server failures eg memory, disk etc&lt;br /&gt;
 &lt;br /&gt;
Example:&lt;br /&gt;
 &lt;br /&gt;
 LOGIN 22/12/2007 06:02 NEOSYS SERVER ADAGENCY         Current workstation &lt;br /&gt;
 LOGIN 23/12/2007 06:00 NEOSYS SERVER ADAGENCY         Current workstation  &lt;br /&gt;
 LOGIN 23/12/2007 06:01 NEOSYS SERVER ADAGENCY         Current workstation  &lt;br /&gt;
 LOGIN 23/12/2007 06:02 NEOSYS SERVER ADAGENCY         Current workstation  &lt;br /&gt;
 LOGIN 23/12/2007 08:52 NEOSYS SERVER ADAGENCY         Current workstation  &lt;br /&gt;
 LOGIN 23/12/2007 08:52 NEOSYS SERVER ADAGENCY         Current workstation  &lt;br /&gt;
 LOGIN 23/12/2007 08:53 NEOSYS SERVER ADAGENCY         Current workstation  &lt;br /&gt;
 LOGIN 8/1/2008 06:00 NEOSYS SERVER ADAGENCY         Current workstation  &lt;br /&gt;
 LOGIN 8/1/2008 06:01 NEOSYS SERVER ADAGENCY         Current workstation  &lt;br /&gt;
 LOGIN 8/1/2008 06:02 NEOSYS SERVER ADAGENCY         Current workstation  &lt;br /&gt;
 LOGIN 8/1/2008 13:51 NEOSYS SERVER NEOSYS         Current user session  &lt;br /&gt;
&lt;br /&gt;
Interpretation:&lt;br /&gt;
 &lt;br /&gt;
The first four entries indicate that all four NEOSYS processes started at 06am were suddenly killed probably by power failure&lt;br /&gt;
 &lt;br /&gt;
The next four entries indicate that NEOSYS was restarted at around 08:52 and all these processes were AGAIN killed probably by power failure&lt;br /&gt;
 &lt;br /&gt;
The last four entries can be ignored because there were four NEOSYS processes running at the time that the report was generated&lt;br /&gt;
&lt;br /&gt;
== Searching for word/number in the database files using maintenance mode ==&lt;br /&gt;
&lt;br /&gt;
You can search for any word/number in the database files of NEOSYS, using the following command line:&lt;br /&gt;
&lt;br /&gt;
 F5&lt;br /&gt;
 FIND FILENAME WORDWITHOUTANYSPACES&lt;br /&gt;
 &lt;br /&gt;
 For eg:&lt;br /&gt;
 FIND CURRENCIES 1.1&lt;br /&gt;
 (here you are searching for the number 1.1 in the currencies file) You CANNOT search for a phrase ie include spaces like this.&lt;br /&gt;
 &lt;br /&gt;
 Or you can also type:&lt;br /&gt;
 FIND FILENAME &amp;lt;enter&amp;gt;&lt;br /&gt;
 and it will ask you what you want do to search. You can enter an exact phrase with spaces.&lt;br /&gt;
&lt;br /&gt;
Incase you do not know the filenames, you can enter the following command to see all the filenames in the system:&lt;br /&gt;
&lt;br /&gt;
 F5&lt;br /&gt;
 LF&lt;br /&gt;
&lt;br /&gt;
== NO LOCK RECORD error when working on NEOSYS ==&lt;br /&gt;
&lt;br /&gt;
=== Error Message ===&lt;br /&gt;
&lt;br /&gt;
The following error message appears:&lt;br /&gt;
&lt;br /&gt;
 Cannot save &amp;quot;DOCUMENT NAME&amp;quot; because:&lt;br /&gt;
 Somebody has updated this record.&lt;br /&gt;
 Your update cannot be applied.&lt;br /&gt;
 This session id does not agree &amp;quot;NO LOCK PERIOD&amp;quot;&lt;br /&gt;
&lt;br /&gt;
=== Possible Causes and Solutions ===&lt;br /&gt;
 &lt;br /&gt;
1. There is some other error in NEOSYS software while saving the record.&lt;br /&gt;
Probably another error message would come before this one and that message should be sent to NEOSYS in order to solve the actual problem.&lt;br /&gt;
 &lt;br /&gt;
2. There has been a temporary loss of connection to the server for some period of time.&lt;br /&gt;
The NEOSYS web page needs to periodically &amp;quot;refresh&amp;quot; the exclusive lock on the document being edited. If NEOSYS cannot perform the refresh it may lose the rights to save the document.&lt;br /&gt;
 &lt;br /&gt;
Loss of connection could be for a huge variety of reasons including server, network, and workstation failures.&lt;br /&gt;
 &lt;br /&gt;
3. Bad Internet Explorer Configuration&lt;br /&gt;
Loss of cookies etc due to third party software (internet toolbars/spyware etc)&lt;br /&gt;
 &lt;br /&gt;
Reset Internet Explorer to factory settings.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting the NTVDM Hard error when opening up NEOSYS processes ==&lt;br /&gt;
&lt;br /&gt;
=== Error Message ===&lt;br /&gt;
&lt;br /&gt;
The following error message appears:&lt;br /&gt;
&lt;br /&gt;
[[Image:ntvdm.jpg]]&lt;br /&gt;
&lt;br /&gt;
 NTVDM encountered a hard error&lt;br /&gt;
&lt;br /&gt;
=== Solution  ===&lt;br /&gt;
 &lt;br /&gt;
This error is caused by missing or corrupt Windows system files (i.e. command.com, autoexec.nt and config.nt). The solution is to run a program called XP FIX which will reinstall these missing files. You can download it form http://www.visualtour.com/downloads/xp_fix.exe&lt;br /&gt;
&lt;br /&gt;
Sometimes even after running the XP FIX program the error still appears. Then you need to copy all the files under C:/windows/repair to C:/windows/system32 and in the autoexec.nt and config.nt put REM before any lines there which don&#039;t have it.&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting a Service Unavailable message on Internet Explorer when opening up NEOSYS ==&lt;br /&gt;
&lt;br /&gt;
=== Error Message ===&lt;br /&gt;
&lt;br /&gt;
The following error message appears in Internet Explorer when you try to open up NEOSYS:&lt;br /&gt;
&lt;br /&gt;
 Service Unavailable&lt;br /&gt;
&lt;br /&gt;
=== Solution  ===&lt;br /&gt;
 &lt;br /&gt;
Open the IIS Manager, right click Web Sites and select properties:&lt;br /&gt;
[[Image:serviceunavailable1.jpg]]&lt;br /&gt;
&lt;br /&gt;
Switch to the Service Tab and tick the &amp;quot;Run WWW Service in IIS 5.0 Isolation Mode&amp;quot;.&lt;br /&gt;
[[Image:serviceunavailable2.jpg]]&lt;br /&gt;
&lt;br /&gt;
You will be asked for Restart of IIS. Click yes to restart IIS. If you are not asked just restart IIS.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Inspecting IIS log files ==&lt;br /&gt;
&lt;br /&gt;
At a windows command prompt:&lt;br /&gt;
&lt;br /&gt;
 c:&lt;br /&gt;
 cd \Windows\system32\LogFiles\W3SVC1&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
 %SystemDrive%&lt;br /&gt;
 cd %SystemRoot%&lt;br /&gt;
 cd system32\LogFiles\W3SVC1&lt;br /&gt;
&lt;br /&gt;
then (substituting the ip number you are interested in)&lt;br /&gt;
&lt;br /&gt;
 find &amp;quot;192.168.1.55&amp;quot; *|sort&amp;gt;temp.log&lt;br /&gt;
&lt;br /&gt;
Open temp.log in Excel and use Tools, Data, Text to Columns to split into columns using options &amp;quot;Delimited&amp;quot; and check split on Space.&lt;br /&gt;
&lt;br /&gt;
Autowidth all columns by clicking on the top left box just outside the data to the left of column A and above column 1 then double click the column separator to the right of column &amp;quot;A&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Note that times and dates are in UTC/GMT so you have to add/subtract your timezone offset to get local times.&lt;br /&gt;
&lt;br /&gt;
== Fixing NEOSYS processes that do not auto start / Recovering from incorrect advanced date or time ==&lt;br /&gt;
&lt;br /&gt;
=== Problem explained ===&lt;br /&gt;
After starting up the 1st process, the rest of the processes don&#039;t start up.&lt;br /&gt;
&lt;br /&gt;
=== Solution ===&lt;br /&gt;
&lt;br /&gt;
The possible cause for this could be that the system date/time might have been changed - either manually or by the auto synchronization. Do the following checks in the sequence of order:&lt;br /&gt;
&lt;br /&gt;
# Check for any .$* files (* is a number, the highest being the latest one). If it shows OK, then proceed ahead.&lt;br /&gt;
# Check for any .end files and delete it to rename to .end.temp&lt;br /&gt;
# Check the System Event Viewer log for any 520 or 577 error message (refer http://128.175.24.251/forensics/timechange.htm). Also check for any out of sequence / ahead of today date or time.&lt;br /&gt;
# In case of no 520 or 577 error message, go to Administrative Tools &amp;gt; Local Security Policy &amp;gt; Local Policies &amp;gt; Audit Policy &amp;gt; Audit Privilege use - make sure that Success and Failure are selected under this (this will ensure that future changes to the date/time are recorded in the System Log).&lt;br /&gt;
# In NEOSYS maintenance mode - F5 ED PROCESSES %UPDATE% - and see what it says, incase of any text there, that means that for sure the system date has been changed.&lt;br /&gt;
# Now to fix this, in maintenance mode again enter - F5 DELETE PROCESSES &amp;quot;%UPDATE%&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Recognising and Solving Low Memory Problems ==&lt;br /&gt;
&lt;br /&gt;
Quick Note: Installing a server class operating system on a workstation class computer with the intention of NEOSYS serving a heavy load is likely to cause problems with low memory.&lt;br /&gt;
&lt;br /&gt;
Quick Fix: Disable *ALL* non-essential features in the power-on setup menu.&lt;br /&gt;
&lt;br /&gt;
=== Effects ===&lt;br /&gt;
&lt;br /&gt;
It is speculated but not proven that low memory may cause NEOSYS to fail by hanging, causing damaged files etc.&lt;br /&gt;
&lt;br /&gt;
=== Checking ===&lt;br /&gt;
&lt;br /&gt;
 F5&lt;br /&gt;
 MEMORY&lt;br /&gt;
&lt;br /&gt;
On server class machines it should say somewhere around 350Kb to 370Kb Free&lt;br /&gt;
&lt;br /&gt;
Some server class machines have around 330Kb and sometimes even less with no reported problems&lt;br /&gt;
&lt;br /&gt;
The actual effect of low memory is supposed to make NEOSYS slower and perhaps cause hanging and damaged files however this has not been proven in an specific case so far.&lt;br /&gt;
&lt;br /&gt;
On workstation class machines it may often say around 280Kb to 300Kb.&lt;br /&gt;
&lt;br /&gt;
=== Cause ===&lt;br /&gt;
&lt;br /&gt;
Although there is plenty of real memory in virtually all computers now, NEOSYS runs in the legacy 16 bit virtual memory space of a windows mode called NTVDM. This is limited to 1Mb plus 4Mb of EMS memory.&lt;br /&gt;
&lt;br /&gt;
The 1Mb memory space is shared with:&lt;br /&gt;
&lt;br /&gt;
#Various non-essential windows drivers which NEOSYS automatically disables them in autoexec.nt&lt;br /&gt;
#Various plug and play hardware device drivers for the various adapters in the computer like video, network adapters and various other items that NEOSYS is unable to disable.&lt;br /&gt;
&lt;br /&gt;
In a server class computer the hardware device drivers are usually minimally present in the 1Mb base memory and do not therefore DOESNT a low memory situation for NEOSYS.&lt;br /&gt;
&lt;br /&gt;
In workstation class computers there are often many hardware device drivers present in the 1Mb base memory and this DOES causes a low memory situation for NEOSYS.&lt;br /&gt;
&lt;br /&gt;
When NEOSYS is installed on workstation class computers with XP there is usually not a heavy load expectation and therefore the low memory does not cause a problem.&lt;br /&gt;
&lt;br /&gt;
If Windows Server OS is installed on a workstation class computer NEOSYS may well be expected to serve a heavy load with limited amounts of memory.&lt;br /&gt;
&lt;br /&gt;
Workstation class computers: hardware drivers present and EMS is installed in low memory (0000-9FFF) causing low memory for NEOSYS and possible inability to &lt;br /&gt;
&lt;br /&gt;
Server class computers: Usually few hardware drivers are present in high part (A000-FFFF) of the 1Mb base memory and EMS is able to occupy the high memory leaving the low part (0000-9FFFF) of the 1Mb memory free for NEOSYS. You can find out how much memory is available to NEOSYS and whether EMS is occuping high or low memory using the following sections.&lt;br /&gt;
&lt;br /&gt;
=== Fixing Low Memory ===&lt;br /&gt;
&lt;br /&gt;
Start, Run, notepad c:\windows\system32\autoexec.nt&lt;br /&gt;
&lt;br /&gt;
Every time NEOSYS starts it tries to make some changes as follow:&lt;br /&gt;
&lt;br /&gt;
#replaces all lines in C:/WINDOWS/SYSTEM32/AUTOEXEC.NT starting with &#039;lh &#039; to start with &#039;rem NEOSYS LH &#039; instead.&lt;br /&gt;
#changes the line in C:/WINDOWS/SYSTEM32/CONFIG.NT &amp;quot;files=...&amp;quot; to &amp;quot;FILES=200&amp;quot;&lt;br /&gt;
&lt;br /&gt;
The replacement is case sensitive triggered on &#039;lh&#039; and &#039;files&#039; so if you manually edit the files and remove the rem or change the number of files and leave the LH and FILES in uppercase then NEOSYS will NOT make further changes. This allows you to do manual amendments to the files without NEOSYS overwriting them.&lt;br /&gt;
&lt;br /&gt;
Check that NEOSYS has successfully disabled all the drivers in the lines starting with LH.&lt;br /&gt;
&lt;br /&gt;
They should be commented out (prefixed) with REM or REM NEOSYS as follows.&lt;br /&gt;
&lt;br /&gt;
After making changes reopen NEOSYS in maintenance mode to use the MEMORY and WHO commands again.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
REM Install CD ROM extensions&lt;br /&gt;
REM NEOSYS LH %SystemRoot%\system32\mscdexnt.exe&lt;br /&gt;
&lt;br /&gt;
REM Install network redirector (load before dosx.exe)&lt;br /&gt;
REM NEOSYS LH %SystemRoot%\system32\redir&lt;br /&gt;
&lt;br /&gt;
REM Install DPMI support&lt;br /&gt;
REM NEOSYS LH %SYSTEMROOT%\SYSTEM32\DOSX&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Allowing DOS programs that require DOSX to run on the same computer as NEOSYS ===&lt;br /&gt;
&lt;br /&gt;
The automatic commenting out DOSX by NEOSYS will prevent some other DOS-like programs from running. If NEOSYS is on dedicated server then there should be no other such programs to fail. However, if you must allow DOS-like programs to work as well as NEOSYS you can do the following configuration:&lt;br /&gt;
&lt;br /&gt;
#leave or restore the original AUTOEXEC.NT and CONFIG.NT files where they are&lt;br /&gt;
#copy them to another folder eg neosys folder&lt;br /&gt;
#make the necessary REM changes there by hand&lt;br /&gt;
#right click the NEOSYS\NEOSYS\AREV.PIF and select properties&lt;br /&gt;
#change the location of the AUTOEXEC.NT and CONFIG.NT files in the following location&lt;br /&gt;
&lt;br /&gt;
[[image:pifsettings.jpg]]&lt;br /&gt;
&lt;br /&gt;
=== Checking EMS Memory Configuration ===&lt;br /&gt;
&lt;br /&gt;
==== Inspection ====&lt;br /&gt;
&lt;br /&gt;
 F5&lt;br /&gt;
 WHO&lt;br /&gt;
&lt;br /&gt;
 press the up arrow to get to the last part/page&lt;br /&gt;
&lt;br /&gt;
===== Example of Typical Server EMS Memory =====&lt;br /&gt;
[[image:serveremm.jpg]]&lt;br /&gt;
&lt;br /&gt;
===== Example of Typical Workstation EMS Memory =====&lt;br /&gt;
[[image:workstationemm.jpg]]&lt;br /&gt;
&lt;br /&gt;
====Correction====&lt;br /&gt;
&lt;br /&gt;
No easy way&lt;br /&gt;
&lt;br /&gt;
Removal of hardware adapters designed for workstations instead of servers eg graphics cards and network cards.&lt;br /&gt;
&lt;br /&gt;
Many of the devices may be located on the motherboard and not relocatable except possibly by BIOS configuration or special manufacturer information.&lt;br /&gt;
&lt;br /&gt;
Use windows device manager, View: Resources by Connection, Open the Memory item and look for items between 000A0000 up to 000FFFFF that might give you a clue as to what hardware could be removed or reconfigured. Actually only 000C0000 to 000FFFFF is candidate for EMS memory since 000A000-000BFFFF is mandatory video memory in all systems.&lt;br /&gt;
&lt;br /&gt;
[[image:devicemanager.jpg]]&lt;br /&gt;
&lt;br /&gt;
== Resolving issue where NEOSYS processes do not start-up at all or start-up and close immediately ==&lt;br /&gt;
&lt;br /&gt;
# Find if a file with the name global.end exists in the root directory of the NEOSYS installation. Eg D:\global.end . If you find such a file, rename it to global.end.temp - for more information on global.end and what it does refer to http://techwiki.neosys.com/index.php/Closing_NEOSYS_services&lt;br /&gt;
# If the above didn&#039;t fix the problem and NEOSYS still does not start, do a windows search for the entire NEOSYS folder for *.end (i.e. any file ending with .end extension). You may find a (databasecode).end file in D:\neosys\neosys folder which is created by the NEOSYS program during backup at 1 am and later on removed automatically. In this case NEOSYS program might have crashed during the backup and left this file behind. (databasecode).end files prevent other other NEOSYS processes starting up on the database while exclusive processes (like backup) are being done.&lt;br /&gt;
&lt;br /&gt;
In case the above didn&#039;t fix the problem then escalate to the programmer immediately.&lt;br /&gt;
&lt;br /&gt;
== Handling Change Backup message if the client does not use a USB backup device ==&lt;br /&gt;
DO *NOT* FOLLOW THIS PROCEDURE SINCE IS IT IS TOTALLY UNACCEPTABLE FOR NEOSYS TO SEND OUT A &amp;quot;BACKUP SUCCESS&amp;quot; MESSAGE WHEN THE BACKUP IS NOT BEING DONE PROPERLY. IN GENERAL, TAKING SHORT CUTS THAT MAKE THINGS APPEAR SATISFACTORY WHEN THEY ARE NOT IS VERY POOR POLICY.&lt;br /&gt;
&lt;br /&gt;
IF THE CLIENT IS BACKING UP TO A NON-REMOVABLE DESTINATION THEN EITHER 1. LIVE WITH THE FAILURE MESSAGE OR 2. SUPPRESS THE BACKUP ENTIRELY IN WHICH CASE NO BACKUPS ARE BEING DONE AND PROBABLY THIS WILL SHOW ON NEOSYS PROACTIVE WARNING SYSTEMS LIKE NAGIOS.&lt;br /&gt;
&lt;br /&gt;
# Basically most of the client use USB for Neosys server but there are some clients who do not use USB but save their backups in hard drive. &lt;br /&gt;
# As we know that backup take place in Data.bak folder but it do a backup only for a week in a single USB. Over here client do not use USB but save their backup in hard drive in Data.bak folder, once the week is over  it will again give Change backup message.  &lt;br /&gt;
# In this case rename the Data.bak folder to Data1.bak this is done because system read only Data.bak folder as it is configured in the system. When you rename Data.bak to Data1.bak it automatically create a new folder Data.bak in Backup drive.&lt;br /&gt;
# This process is done so that the backup should not fail then next day morning and backups are done in Data.bak folder.&lt;br /&gt;
# In the third week we will again see the same message Chang backup USB message so you need to rename Data.bak folder to Data2.bak&lt;br /&gt;
# But in fourth week you rename the Data1.bak to Data.bak and change the Data2.bak to Data1.bak and Data.bak to Data2.bak &lt;br /&gt;
# Keep only three folders and Data.bak, Data1.bak, Data2.bak and keep on renaming these folders every week as shown above.&lt;br /&gt;
&lt;br /&gt;
== Closing processes that are not visible on the desktop or hidden ==&lt;br /&gt;
&lt;br /&gt;
NEOSYS processes are most of the time visible on the desktop (i.e. the black dos windows) in Windows 2003 OS, except in the case that the process has been scheduled to start on restart and no one has logged into the server. In this case it would be hidden. Secondly in the case of Windows 2008, the processes always are hidden.&lt;br /&gt;
&lt;br /&gt;
In these cases whenever there is a hung NEOSYS process - due to many reasons for eg low memory. In this case you should close all processes using the global.end method and then from the task manager kill any NTVDM processes and then restart NEOSYS. This should be done within 30 seconds from using the global.end method to avoid any inconvenience to the users. If there are many datasets then you need to restart them all well within the 30 seconds period.&lt;br /&gt;
&lt;br /&gt;
In case of Patsalides, where we have a thousand datasets which start &amp;quot;on demand&amp;quot; i.e. usually on login; all you need to do is start one dataset which will restart all the other datasets &amp;quot;on demand&amp;quot;. If there is no response within 30 seconds then one of the running datasets will start it up so there appears to be a 30 second delay when you login to one of the thousand datasets the first time on any one day.&lt;br /&gt;
&lt;br /&gt;
== NEOSYS not updating Nagios ==&lt;br /&gt;
&lt;br /&gt;
You find something like the following message in UPDATE.$WG in the neosys\neosys.folder&lt;br /&gt;
&lt;br /&gt;
Note: The UPDATE.$WG file has to be opened in either Notepad or Wordpad to be viewed&lt;br /&gt;
&lt;br /&gt;
 Connecting to 192.168.100.145:8080 failed: No such file or directory.&lt;br /&gt;
&lt;br /&gt;
Where the above appears to be some non-functional http proxy server ip/port number and is not the expected nagios server ip number.&lt;br /&gt;
&lt;br /&gt;
The windows command proxycfg shows the same ip and port&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
D:\NEOSYS\NEOSYS&amp;gt;proxycfg&lt;br /&gt;
Microsoft (R) WinHTTP Default Proxy Configuration Tool&lt;br /&gt;
Copyright (c) Microsoft Corporation. All rights reserved.&lt;br /&gt;
&lt;br /&gt;
Current WinHTTP proxy settings under:&lt;br /&gt;
  HKEY_LOCAL_MACHINE\&lt;br /&gt;
    SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Connections\&lt;br /&gt;
      WinHttpSettings :&lt;br /&gt;
&lt;br /&gt;
    Proxy Server(s) :  192.168.100.145:8080&lt;br /&gt;
    Bypass List     :  192.168.*.*;localhost;&amp;lt;local&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Solution 1 - Remove the above setting to create a direct connection ===&lt;br /&gt;
&lt;br /&gt;
To remove the registry entries that ProxyCfg.exe creates,&lt;br /&gt;
you must delete the WinHttpSettings value from the following registry key.&lt;br /&gt;
&lt;br /&gt;
 HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Connections\WinHttpSettings&lt;br /&gt;
&lt;br /&gt;
After you do the above, confirm that the proxy details are deleted by running the proxycfg command.&lt;br /&gt;
&lt;br /&gt;
Next, restart the NEOSYS processes for the changes to be affected.&lt;br /&gt;
&lt;br /&gt;
=== Solution 2 – Configure a functioning proxy ip/port number ===&lt;br /&gt;
&lt;br /&gt;
Use the proxycfg command to enter a working proxy ip/port number/exclusion list&lt;br /&gt;
&lt;br /&gt;
http://msdn.microsoft.com/en-us/library/aa384069%28VS.85%29.aspx&lt;br /&gt;
&lt;br /&gt;
After you do the above, confirm that the new proxy details are working by running the proxycfg command again.&lt;br /&gt;
&lt;br /&gt;
Next, restart the NEOSYS processes for the changes to be affected.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;B&amp;gt; Note: Please refer to the link before you restart NEOSYS processes http://techwiki.neosys.com/index.php/Troubleshooting_NEOSYS_Generally#Closing_processes_that_are_not_visible_on_the_desktop_or_hidden &amp;lt;/B&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Solving “page not found” when downloading some file types after uploading them successfully ==&lt;br /&gt;
=== One by One ===&lt;br /&gt;
&lt;br /&gt;
Windows web server will not download file types that it is unaware of. You can enable the download of new file types one by one as follows.&lt;br /&gt;
&lt;br /&gt;
This process is tedious and error-prone if you have to add many type.&lt;br /&gt;
&lt;br /&gt;
#Computer Management&lt;br /&gt;
#Services and Applications&lt;br /&gt;
#IIS properties&lt;br /&gt;
#Mime Types&lt;br /&gt;
#Add&lt;br /&gt;
&lt;br /&gt;
=== Many ===&lt;br /&gt;
&lt;br /&gt;
Window Server 2003 is unaware of all the Office 2007+ file types. To add all Office 2007+ file types at once do the following:&lt;br /&gt;
&lt;br /&gt;
Stop IIS&lt;br /&gt;
&lt;br /&gt;
 iisreset /stop&lt;br /&gt;
&lt;br /&gt;
Open the list of mime types&lt;br /&gt;
&lt;br /&gt;
*Start, Run, notepad C:\WINDOWS\system32\inetsrv\MetaBase.xml&lt;br /&gt;
&lt;br /&gt;
Search the file for “xlsx” and quit the editor if already inserted.&lt;br /&gt;
&lt;br /&gt;
Otherwise, find the following line,&lt;br /&gt;
&lt;br /&gt;
  .xml,text/xml&lt;br /&gt;
&lt;br /&gt;
and insert after that line the following lines. They do not need to be indented.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
.docm,application/vnd.ms-word.document.macroEnabled.12&lt;br /&gt;
.docx,application/vnd.openxmlformats-officedocument.wordprocessingml.document&lt;br /&gt;
.dotm,application/vnd.ms-word.template.macroEnabled.12&lt;br /&gt;
.dotx,application/vnd.openxmlformats-officedocument.wordprocessingml.template&lt;br /&gt;
.potm,application/vnd.ms-powerpoint.template.macroEnabled.12&lt;br /&gt;
.potx,application/vnd.openxmlformats-officedocument.presentationml.template&lt;br /&gt;
.ppam,application/vnd.ms-powerpoint.addin.macroEnabled.12&lt;br /&gt;
.ppsm,application/vnd.ms-powerpoint.slideshow.macroEnabled.12&lt;br /&gt;
.ppsx,application/vnd.openxmlformats-officedocument.presentationml.slideshow&lt;br /&gt;
.pptm,application/vnd.ms-powerpoint.presentation.macroEnabled.12&lt;br /&gt;
.pptx,application/vnd.openxmlformats-officedocument.presentationml.presentation&lt;br /&gt;
.xlam,application/vnd.ms-excel.addin.macroEnabled.12&lt;br /&gt;
.xlsb,application/vnd.ms-excel.sheet.binary.macroEnabled.12&lt;br /&gt;
.xlsm,application/vnd.ms-excel.sheet.macroEnabled.12&lt;br /&gt;
.xlsx,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet&lt;br /&gt;
.xltm,application/vnd.ms-excel.template.macroEnabled.12&lt;br /&gt;
.xltx,application/vnd.openxmlformats-officedocument.spreadsheetml.template&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save the file with File and Exit&lt;br /&gt;
&lt;br /&gt;
Restart IIS&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Handling Neosys Automatic Upgrade Error Messages ==&lt;br /&gt;
&lt;br /&gt;
=== Error Message ===&lt;br /&gt;
We will receive an email from the NEOSYS client installation with the following message:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&amp;quot;UPGRADEN.EXE&amp;quot; does not have expected exe MZ signature&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Solution ===&lt;br /&gt;
This message is a note that the NEOSYS automatic update procedure failed to download an upgrade file correctly.&lt;br /&gt;
This happens sometimes due to network issues but can be ignored because the file will be probably be correctly downloaded on the next automatic update check.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; This message is only informative to help with any problem with the automatic upgrade procedure and may be removed in a later version of neosys (currently Oct 2012)&lt;/div&gt;</summary>
		<author><name>Ashwin</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=File:Emsscreenmaint.jpg&amp;diff=761</id>
		<title>File:Emsscreenmaint.jpg</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=File:Emsscreenmaint.jpg&amp;diff=761"/>
		<updated>2011-10-27T13:37:45Z</updated>

		<summary type="html">&lt;p&gt;Ashwin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Ashwin</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Installing_EMS_Magic&amp;diff=760</id>
		<title>Installing EMS Magic</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=Installing_EMS_Magic&amp;diff=760"/>
		<updated>2011-10-27T13:37:29Z</updated>

		<summary type="html">&lt;p&gt;Ashwin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The EMS (Emulate Expanded) memory support is not available in Windows 2008. Please read the notes at http://techwiki.neosys.com/index.php/Troubleshooting_NEOSYS_Generally#Recognising_and_Solving_Low_Memory_Problems to understand more about EMS related problems. AS NEOSYS requires this important legacy feature it is required to an EMS emulator called EMSMAGIC&lt;br /&gt;
&lt;br /&gt;
The steps are:&lt;br /&gt;
&lt;br /&gt;
# Download http://www.neosys.com/support/EMSMAGIC.EXE and place it in C:\Windows folder&lt;br /&gt;
# Edit c:\windows\system32\autoexec.nt file in Notepad to include the following at the bottom:&lt;br /&gt;
[[image:autoexecnt.jpg]]&lt;br /&gt;
&lt;br /&gt;
Once you are done with the above, test that the EMS memory shows in the maintenance mode by typing WHO in the command line (instructions at http://techwiki.neosys.com/index.php/Troubleshooting_NEOSYS_Generally#Checking_EMS_Memory_Configuration)&lt;br /&gt;
&lt;br /&gt;
Another quick way to test that EMS Magic is functioning is to notice this screen as soon as you open up a maintenance or process window:&lt;br /&gt;
&lt;br /&gt;
[[image:emsscreenmaint.jpg]]&lt;/div&gt;</summary>
		<author><name>Ashwin</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Handling_damaged_files&amp;diff=751</id>
		<title>Handling damaged files</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=Handling_damaged_files&amp;diff=751"/>
		<updated>2011-10-20T06:12:31Z</updated>

		<summary type="html">&lt;p&gt;Ashwin: /* Fixing damaged files that have no process for recreating them */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Symptoms ==&lt;br /&gt;
&lt;br /&gt;
 &amp;quot;A Damaged file has been found..... ((the rest of this message to be completed)) &lt;br /&gt;
 Group format Error:&lt;br /&gt;
 OS File : BOOKING.TEXTS&lt;br /&gt;
 Group# : 00000932&lt;br /&gt;
 Record length incorrect or frame linkage error.&lt;br /&gt;
&lt;br /&gt;
== Cause ==&lt;br /&gt;
Rare but nasty problem on server 99% caused by power failure, killing NEOSYS or server hardware or operating system failure.&lt;br /&gt;
&lt;br /&gt;
*Did somebody kill NEOSYS processes to reboot the server or any other reason?&lt;br /&gt;
*Was there a power cut?&lt;br /&gt;
*Any expected or unexpected reboots in the server log? (see Event Viewer &amp;gt; System Log)&lt;br /&gt;
*Enough disk free space especially on servers not dedicated to NEOSYS?&lt;br /&gt;
*Third party software running on NEOSYS server?&lt;br /&gt;
*RAID installed on the server?&lt;br /&gt;
*Did windows update happen?&lt;br /&gt;
&lt;br /&gt;
== Solution==&lt;br /&gt;
&lt;br /&gt;
Damaged files, when detected, cause an immediate termination of the currently executing program/user request and a restart of the process is involved. Some damaged files are automatically fixed during restart. Although the process &amp;quot;restarts&amp;quot; it may be internally corrupted in some way and it is advisable to close it completely and start or allow another process to start automatically.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
However, the solution always depends on the cause and usually often requires aggressive interrogation to discover the cause.&lt;br /&gt;
&lt;br /&gt;
== Recovery==&lt;br /&gt;
&lt;br /&gt;
It is URGENT to stop using NEOSYS and fix the damaged file because it will cause NEOSYS to crash everytime it happens to update that part of the file. NEOSYS crashing while updating often produces unrecoverable inconsistencies in the database that can only be fixed by programmers sitting for hours trying to edit the database .... or by restoring from a backup causing loss of work.&lt;br /&gt;
&lt;br /&gt;
See the following sections how to patch the damaged files.&lt;br /&gt;
&lt;br /&gt;
== Files that are automatically fixed ==&lt;br /&gt;
&lt;br /&gt;
*LISTS&lt;br /&gt;
*LOCKS&lt;br /&gt;
*!INDEXING&lt;br /&gt;
&lt;br /&gt;
The above files are automatically checked for corruption (and initialised to empty if so) when you &lt;br /&gt;
startup a NEOSYS process and do not require any manual intervention apart from locating and eliminating the initial cause of the damage.&lt;br /&gt;
&lt;br /&gt;
If the !INDEXING file was damaged then you should also do REINDEXALL to reinstate any possibly missing index entries, but since this will take a long time&lt;br /&gt;
you should do this when everybody is off the system in the evening probably. A few missing index entries may only mean some records missing from some reports which may or may not be seriously inconvenient. It is a temporary file that should not hold any records for longer than it takes to update the various indexes immediately when the user saves any document.&lt;br /&gt;
&lt;br /&gt;
Each process has its own LISTS file, so damage is limited to one process for the LISTS file. The process number can be seen in the error message. for example:&lt;br /&gt;
&lt;br /&gt;
 Process=7&lt;br /&gt;
&lt;br /&gt;
You can also see the process number on the server screen. For example here is a process 2.&lt;br /&gt;
&lt;br /&gt;
 13:17:31 TESTDB NEOS0002 0 Listening 7 hours, 49 mins ...&lt;br /&gt;
&lt;br /&gt;
The LISTS file is a temporary file for sorting records into order for reports, popups etc. Therefore any damage usually causes no real inconvenience apart from the failed report or popup on which the user might receive the &amp;quot;damaged LISTS file&amp;quot; message.&lt;br /&gt;
&lt;br /&gt;
The error message would appear as follows :&lt;br /&gt;
&lt;br /&gt;
 SYSTEM ERROR:&lt;br /&gt;
 An internal file LISTS was found&lt;br /&gt;
 to be damaged and has been patched.&lt;br /&gt;
 INFORM YOUR TECHNICAL SUPPORT&amp;lt;br&amp;gt;&lt;br /&gt;
 SOME DATA HAS PROBABLY BEEN LOST&lt;br /&gt;
 AND THE NEOSYS SYSTEM MAY MALFUNCTION&amp;lt;br&amp;gt;&lt;br /&gt;
 Server=NEOSYS-SERVER&lt;br /&gt;
 Install=D:\NEOSYS\NEOSYS\&lt;br /&gt;
 Version=17:16:04  23 JAN 2011&lt;br /&gt;
 Database=1D68EE63 ADLINED&lt;br /&gt;
 Process=2&lt;br /&gt;
&lt;br /&gt;
The error could also appear as follows :&lt;br /&gt;
&lt;br /&gt;
 A DAMAGED FILE HAS BEEN FOUND.&lt;br /&gt;
 YOU MUST GIVE THE FOLLOWING MESSAGE TO TECHNICAL SUPPORT NOW.&lt;br /&gt;
 DO NOT CONTINUE USING THE SYSTEM!&amp;lt;br&amp;gt;&lt;br /&gt;
 Group Format Error:&lt;br /&gt;
 File    : LISTS&lt;br /&gt;
 Group # : 00000014&lt;br /&gt;
 Record length incorrect or frame linkage error.&lt;br /&gt;
 Server=NEOSYS-SERVER&lt;br /&gt;
 Install=D:\NEOSYS\NEOSYS\&lt;br /&gt;
 Version=17:16:04  23 JAN 2011&lt;br /&gt;
 Database=1D68EE63 ADLINED&lt;br /&gt;
 Process=2&lt;br /&gt;
&lt;br /&gt;
Please note that both the above messages mean the same.&lt;br /&gt;
&lt;br /&gt;
== Fixing damaged file that have a process to recreate them ==&lt;br /&gt;
&lt;br /&gt;
Below files can be recreated from the maintenance mode.&lt;br /&gt;
&lt;br /&gt;
ADS file can be recreated with F5 CREATEADS&lt;br /&gt;
&lt;br /&gt;
ANALYSIS file can be recreated with F5 CREATEANALYSIS&lt;br /&gt;
&lt;br /&gt;
BRANDS files can be recreated with F5 CREATEBRANDS&lt;br /&gt;
&lt;br /&gt;
If the file is actually damaged it might be necessary to initialise it first using CLEARFILE filename.&lt;br /&gt;
&lt;br /&gt;
The following is an example of the error in the ADS File at the time of backup.&lt;br /&gt;
&lt;br /&gt;
  Group Format Error:&lt;br /&gt;
  OS File : ADS&lt;br /&gt;
  Group # : 00009543&lt;br /&gt;
  Record length incorrect or frame linkage error.&lt;br /&gt;
  217 files checked.&lt;br /&gt;
  Failed with 1 errors&lt;br /&gt;
  !!! DANGER !!!&lt;br /&gt;
  !!! DAMAGED FILES HAVE BEEN FOUND IN THE NEOSYS SYSTEM !!!&lt;br /&gt;
  !!! BACKUP NOT DONE !!!&lt;br /&gt;
&lt;br /&gt;
  Error while writing data.&lt;br /&gt;
  You have attempted to write to a read-only file.&lt;br /&gt;
                      - or -&lt;br /&gt;
  access to the file has been denied by the operating system.&lt;br /&gt;
  (operating system file name: &amp;quot;ADS&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
Explanation: The last four lines are very rare and can be seen with the above error messages in the backup email.  The above message indicates that some external application is trying to access the backup files at the time of backup.&lt;br /&gt;
&lt;br /&gt;
Before doing the solution below, please check the number of damaged files on the database by running CHK.FILES in maintenance mode. [CHK.FILES can be done when users are online]&lt;br /&gt;
&lt;br /&gt;
Solution&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NOTE:&#039;&#039;&#039; Stop all the processes before doing the below procedure.&lt;br /&gt;
&lt;br /&gt;
Procedure to run CREATEADS is as under &lt;br /&gt;
&lt;br /&gt;
Login to maintenance&lt;br /&gt;
&lt;br /&gt;
 F5&lt;br /&gt;
 CREATEXXXX&lt;br /&gt;
&lt;br /&gt;
(XXXX = ADS, ANALYSIS OR BRANDS)&lt;br /&gt;
&lt;br /&gt;
Select the option appropriate option and start the procedure and hit ENTER&lt;br /&gt;
&lt;br /&gt;
To verify if the above is done successfully and check if the damage files is fixed in the database run CHK.FILES or CHK.FILES FILENAME(Recommended)from this link: http://techwiki.neosys.com/index.php/Troubleshooting_NEOSYS_Generally#Checking_for_corrupt_database_files&lt;br /&gt;
&lt;br /&gt;
== Fixing damaged index files (names starting with !) ==&lt;br /&gt;
&lt;br /&gt;
Whilst backing up or using NEOSYS the following error message might appear:&lt;br /&gt;
 &lt;br /&gt;
 &amp;quot;A Damaged file has been found.....&lt;br /&gt;
 Group format Error:&lt;br /&gt;
 OS File : !ADS&lt;br /&gt;
 Group# : 00000932&lt;br /&gt;
 Record length incorrect or frame linkage error.&lt;br /&gt;
&lt;br /&gt;
#Ensure that no-one is using NEOSYS&lt;br /&gt;
#Log into NEOSYS on the server&lt;br /&gt;
#Press F5 to get a TCL command box&lt;br /&gt;
#Type REINDEXADS and press enter.&lt;br /&gt;
#Wait until it finishes and you get back to the command box&lt;br /&gt;
#Type OFF in the command box and you will quit NEOSYS.&lt;br /&gt;
&lt;br /&gt;
Other reindex commands are:&lt;br /&gt;
&lt;br /&gt;
*REINDEXACCOUNTS	recreates !ACCOUNTS, !BATCHES and !VOUCHERS&lt;br /&gt;
*REINDEXADDRESSES &lt;br /&gt;
*REINDEXADS&lt;br /&gt;
*REINDEXBOOKINGS	recreates !BOOKING.ORDERS&lt;br /&gt;
*REINDEXBRANDS&lt;br /&gt;
*REINDEXCLIENTS&lt;br /&gt;
*REINDEXINVS		recreates !INVOICES&lt;br /&gt;
*REINDEXJOBS&lt;br /&gt;
*REINDEXMATERIALS&lt;br /&gt;
*REINDEXPLANS&lt;br /&gt;
*REINDEXPRODINVS	recreates !PRODUCTION.INVOICES&lt;br /&gt;
*REINDEXPRODORDERS	recreates !PRODUCTION.ORDERS&lt;br /&gt;
*REINDEXRATECARDS&lt;br /&gt;
*REINDEXSCHEDULES&lt;br /&gt;
*REINDEXSUPPLIERS&lt;br /&gt;
*REINDEXTIMESHEETS&lt;br /&gt;
*REINDEXVEHICLES&lt;br /&gt;
&lt;br /&gt;
REINDEXMEDIA does all the following&lt;br /&gt;
*REINDEXPLANS&lt;br /&gt;
*REINDEXSCHEDULES&lt;br /&gt;
*REINDEXADS&lt;br /&gt;
*REINDEXMATERIALS&lt;br /&gt;
*REINDEXBOOKINGS&lt;br /&gt;
&lt;br /&gt;
REINDEXFILES does all the following&lt;br /&gt;
*REINDEXCLIENTS&lt;br /&gt;
*REINDEXBRANDS&lt;br /&gt;
*REINDEXSUPPLIERS&lt;br /&gt;
*REINDEXVEHICLES&lt;br /&gt;
*REINDEXRATECARDS&lt;br /&gt;
&lt;br /&gt;
REINDEXPRODUCTION does all the following&lt;br /&gt;
*REINDEXJOBS&lt;br /&gt;
*REINDEXPRODORDERS&lt;br /&gt;
*REINDEXPRODINVS&lt;br /&gt;
*REINDEXTIMESHEETS&lt;br /&gt;
&lt;br /&gt;
REINDEXALL does all the following&lt;br /&gt;
*REINDEXMEDIA&lt;br /&gt;
*REINDEXPRODUCTION&lt;br /&gt;
*REINDEXFILES&lt;br /&gt;
*REINDEXINVS&lt;br /&gt;
*REINDEXACCOUNTS&lt;br /&gt;
*REINDEXADDRESSES&lt;br /&gt;
&lt;br /&gt;
== Fixing damaged files that have no process for recreating them ==&lt;br /&gt;
&lt;br /&gt;
Some damaged files can be rebuilt using NEOSYS utilities especially index files with filenames starting with !. Other damaged files like &#039;&#039;LOG20xx&#039;&#039; can be “fixed” to prevent NEOSYS crashes as follows &amp;lt;i&amp;gt;but some records will most probably be lost&amp;lt;/i&amp;gt;. Depending on the file loss of a few records may not be too bad compared to restoring a database but the client should be informed and make the decision. Depending on the file it is usually best to lose the records. We can make a list of files that one can afford to lose records and those files that can be rebuilt programmatically from other files. Booking order texts they can lose records but inform them and especially the numbers mentioned in FIXFILE&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;SHADOW&#039;&#039; is a type of log file that can lose some records without serious impact and can therefore can also be fixed with FIXFILE.&lt;br /&gt;
&lt;br /&gt;
FIXFILE will not run if there are neosys services still running so before doing the FIXFILE command, shut down services from the Support menu or with the Global command:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NOTE:&#039;&#039;&#039; If there are multiple datasets running on the server. Shut down the particular dataset which has got the problem:&lt;br /&gt;
&lt;br /&gt;
F5&lt;br /&gt;
&lt;br /&gt;
 FIXFILE filename&lt;br /&gt;
&lt;br /&gt;
(Select option 1 to update the file)&lt;br /&gt;
&lt;br /&gt;
In case you get any Overwrite messages – type YES, as these are the actual files being updated.&lt;br /&gt;
&lt;br /&gt;
The only alternative is restore from a previous backup in this case losing a days work. Nasty, and even worse, it will be impossible to reproduce the days work and especially the exact serial numbers of critical documents like orders, invoices, receipts and payments advices.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Using FIXFILE to repair corrupted files ===&lt;br /&gt;
&lt;br /&gt;
BEWARE: FIXFILE causes loss of data. If the data is critical then use of FIXFILE can be totally catastrophic without any warning.&lt;br /&gt;
 &lt;br /&gt;
Using FIXFILE on some files is a guaranteed way to cause complete chaos for the users without them being aware of it until too late to do anything about it.&lt;br /&gt;
&lt;br /&gt;
Corrupt files will cause programs to abort every time they try to update that section of the file. Aborting programs causes possibly horrendous inconsistency in the database so it is important to stop all user activity and fix the corrupt file immediately.&lt;br /&gt;
&lt;br /&gt;
You can freely use FIXFILE on any file but it works by deleting any problematic data so cannot realistically be used on some files at all.&lt;br /&gt;
&lt;br /&gt;
FIXFILE cannot and does not recover any corrupted records therefore, for those files that have specific programs to rebuild them, FIXFILE is not the correct option.&lt;br /&gt;
&lt;br /&gt;
Why use FIXFILE at all since it causes loss of data?&lt;br /&gt;
&lt;br /&gt;
Many files do not have programs to rebuild them and for some of those files, using FIXFILE is a quick way to get the system back in operation BUT with missing records. Missing records causes various degrees of failure ranging from the odd document missing, totally misleading information like wrong account balances, or any kind of system failure.&lt;br /&gt;
&lt;br /&gt;
FIXFILE does not fix the consistency of information in the database. When the database is is being updated with a transaction, usually a series of files are updated for the one transaction. A damaged file causes the update program to abort in the middle of the series of updates. Therefore some of the updates are done and the remaining updates are not done. This means that the data in the database (even after fixing the corrupt file) is inconsistent.&lt;br /&gt;
 &lt;br /&gt;
FIXFILE merely fixes the technical structure of the file so that any further program accesses to that portion of the file do not cause immediate program termination and consequent likely catastrophic database inconsistency.&lt;br /&gt;
 &lt;br /&gt;
You must prevent anyone from accessing NEOSYS while FIXFILE is running.&lt;br /&gt;
&lt;br /&gt;
=== Fixing Damaged DEFINITIONS file ===&lt;br /&gt;
 &lt;br /&gt;
==== Non-Solution ====&lt;br /&gt;
 &lt;br /&gt;
You will probably not be able to login if the DEFINITIONS FILE is damaged. You can press Alt+S and type EXECUTE to get a TCL command box but this still doesnt help because you cannot use FIXFILE on DEFINITIONS.&lt;br /&gt;
 &lt;br /&gt;
CAUTION: DO NOT USE FIXFILE TO TRY AND FIX THE DEFINITIONS FILE.&lt;br /&gt;
 &lt;br /&gt;
DOUBLE CAUTION: IN CASE YOU DECIDE TO IGNORE THIS EXPECT ALL KINDS OF HORRIBLE PROBLEMS IN THE DATABASE REQUIRING A COMPLETE RESTORE FROM A GOOD BACKUP AFTER A FEW DAYS OF PAIN BECAUSE RANDOM OLD DATABASE UPGRADE/CONVERSIONS WILL BE PERFORMED *AGAIN* WITHOUT YOU KNOWING IT.&lt;br /&gt;
 &lt;br /&gt;
==== Partial Restore ====&lt;br /&gt;
 &lt;br /&gt;
You can copy recent DEFINITIONS.LK and DEFINITIONS.OV files from the DATA\datasetcode\GENERAL folder.&lt;br /&gt;
 &lt;br /&gt;
CAUTION: All changes done in the Configuration File, Authorisation File, Users File and various other changes will be reverted to the date of the DEFINITIONS files being restored. If you are restoring from last nights backup or testdata then this will not be much but could cause serious confusion to people who have changed their passwords etc.&lt;br /&gt;
&lt;br /&gt;
==== Full Restore ====&lt;br /&gt;
&lt;br /&gt;
Restore from your latest backup losing all work done since that time and date.&lt;br /&gt;
&lt;br /&gt;
=== Preventing users from accessing NEOSYS in order to do maintenance or repairs ===&lt;br /&gt;
 &lt;br /&gt;
On most systems you can simply stop the NEOSYS processes. On other systems where NEOSYS processes are automatically started in response to requests from the web, you need to disable the autostart by one of the following methods&lt;br /&gt;
 &lt;br /&gt;
# Stop the autostart program/script&lt;br /&gt;
# Put a file called NET.CFG with a single line saying AUTOSTART=NO in the neosys\neosys folder&lt;br /&gt;
# Stop the IIS server&lt;br /&gt;
# Stop/Pause the particular web in question&lt;br /&gt;
&lt;br /&gt;
== Dealing with damaged files that cannot be fixed ==&lt;br /&gt;
&lt;br /&gt;
If programmers are unable to fix the damage in a reasonably period of time and the damage is caused due to matters beyond NEOSYS control such as non-dedicated servers and power failures then data must be restored and client advised why they are going to suffer loss of data.&lt;br /&gt;
 &lt;br /&gt;
THIS DOES NOT RELEASE NEOSYS SUPPORT STAFF FROM THE OBLIGATION TO PROACTIVELY INFORM THE CLIENT OF MEASURES TO PREVENT THE RECURRENCE OF THE EVENT.&lt;br /&gt;
&lt;br /&gt;
The following are the steps to follow:&lt;br /&gt;
&lt;br /&gt;
# Ascertain the cause of the damage to the database by looking at the internal logs&lt;br /&gt;
# Create a new database from the damaged one as it will contain the up to date but damaged database.&lt;br /&gt;
# Restore the database from the backup media so that the database is in the last good known state. &lt;br /&gt;
# The client can see what work was done over the past couple of days from the damaged database and it will assist them to redo the work in the currently restored out of date main database.&lt;br /&gt;
# Next discuss with the client about the cause of the damage and (a) what to do to prevent the damage occurring again (b) to agree a procedure to perform a manual backup in case the automatic one is not performed for any reason overnight.&lt;/div&gt;</summary>
		<author><name>Ashwin</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=User_talk:Priyanka&amp;diff=740</id>
		<title>User talk:Priyanka</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=User_talk:Priyanka&amp;diff=740"/>
		<updated>2011-10-18T14:04:31Z</updated>

		<summary type="html">&lt;p&gt;Ashwin: Welcome!&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Welcome to &#039;&#039;NEOSYS Technical Support Wiki&#039;&#039;!&#039;&#039;&#039;&lt;br /&gt;
We hope you will contribute much and well.&lt;br /&gt;
You will probably want to read the [[Help:Contents|help pages]].&lt;br /&gt;
Again, welcome and have fun! [[User:Ashwin|ashwin]] 14:04, 18 October 2011 (UTC)&lt;/div&gt;</summary>
		<author><name>Ashwin</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=User:Priyanka&amp;diff=739</id>
		<title>User:Priyanka</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=User:Priyanka&amp;diff=739"/>
		<updated>2011-10-18T14:04:30Z</updated>

		<summary type="html">&lt;p&gt;Ashwin: Creating user page with biography of new user.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Priyanka Mathew , Software Support Executive, Priyanka Mathew , Software Support Executive, Priyanka Mathew , Software Support Executive, Priyanka Mathew , Software Support Executive, Priyanka Mathew , Software Support Executive, Priyanka Mathew , Software Support Executive, Priyanka Mathew , Software Support Executive, Priyanka Mathew , Software Support Executive, Priyanka Mathew , Software Support Executive, Priyanka Mathew , Software Support Executive, Priyanka Mathew , Software Support Executive, Priyanka Mathew , Software Support Executive, Priyanka Mathew , Software Support Executive, Priyanka Mathew , Software Support Executive, Priyanka Mathew , Software Support Executive, Priyanka Mathew , Software Support Executive, Priyanka Mathew , Software Support Executive,&lt;/div&gt;</summary>
		<author><name>Ashwin</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=User_talk:Vineet&amp;diff=737</id>
		<title>User talk:Vineet</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=User_talk:Vineet&amp;diff=737"/>
		<updated>2011-10-18T13:58:38Z</updated>

		<summary type="html">&lt;p&gt;Ashwin: Welcome!&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Welcome to &#039;&#039;NEOSYS Technical Support Wiki&#039;&#039;!&#039;&#039;&#039;&lt;br /&gt;
We hope you will contribute much and well.&lt;br /&gt;
You will probably want to read the [[Help:Contents|help pages]].&lt;br /&gt;
Again, welcome and have fun! [[User:Ashwin|ashwin]] 13:58, 18 October 2011 (UTC)&lt;/div&gt;</summary>
		<author><name>Ashwin</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Setting_up_and_using_remote_support&amp;diff=735</id>
		<title>Setting up and using remote support</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=Setting_up_and_using_remote_support&amp;diff=735"/>
		<updated>2011-10-06T07:41:42Z</updated>

		<summary type="html">&lt;p&gt;Ashwin: /* Installing Cygwin with OPENSSH */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Getting agreement of client IT staff to provide remote support ==&lt;br /&gt;
&lt;br /&gt;
[[Letter to obtain agreement of client IT staff to provide remote support]]&lt;br /&gt;
&lt;br /&gt;
== Installing and configuring the server ==&lt;br /&gt;
&lt;br /&gt;
=== Initial Connection to the server before setting up permanent remote connection ===&lt;br /&gt;
&lt;br /&gt;
In case of a remote installation you need to get an initial connection to the server before you can setup Cygwin for a permanent remote connection. For this purpose you can either use your customised reverse connect UltraVNC SC file or the one-time run Teamviewer utility.&lt;br /&gt;
&lt;br /&gt;
Do not use Microsoft Remote Desktop Client (RDP/RDC) on port 3389 at anytime to access the server from the internet since IT suppliers not aware of the situation often setup the initial administrator password to something obvious like &amp;quot;password&amp;quot; or even blank and in this case there is a good chance internet worms will discover the &amp;quot;open door&amp;quot; and install themselves before you get the chance to put a strong password.&lt;br /&gt;
&lt;br /&gt;
=== Installing and configuring SSH ===&lt;br /&gt;
&lt;br /&gt;
==== Installing Cygwin with OPENSSH ====&lt;br /&gt;
&lt;br /&gt;
Watch out for non-intuitive steps like clicking &amp;quot;skip&amp;quot; to install something.&lt;br /&gt;
&lt;br /&gt;
# Read [[Avoiding Corrupt Cygwin Installations]]&lt;br /&gt;
# ENSURE that you are logged in as the local (NOT DOMAIN) administrator&lt;br /&gt;
# Run http://www.cygwin.com/setup.exe&lt;br /&gt;
# Install from Internet&lt;br /&gt;
# Root Directory: &#039;&#039;&#039;c:\cygwin&#039;&#039;&#039;&lt;br /&gt;
# Local Package Directory: &#039;&#039;&#039;c:\cygwin.lib&#039;&#039;&#039;&lt;br /&gt;
# Direct Connection&lt;br /&gt;
# Download Site: &#039;&#039;&#039;http://mirror.steadfast.net&#039;&#039;&#039; (near the bottom) -- http://mirrors.kernal.org is no longer available&lt;br /&gt;
# You will now receive a Setup Alert. Click &#039;&#039;&#039;OK&#039;&#039;&#039;&lt;br /&gt;
# Select Packages: Maximise window then click &#039;&#039;&#039;View&#039;&#039;&#039; once to get &#039;&#039;&#039;Full&#039;&#039;&#039;&lt;br /&gt;
# Next to the package &#039;&#039;&#039;OPENSSH&#039;&#039;&#039;, click the word &#039;&#039;&#039;Skip&#039;&#039;&#039; (once!) to get version 4.4p1-1 or later&lt;br /&gt;
# Next to the package &#039;&#039;&#039;NANO&#039;&#039;&#039;, click the word &#039;&#039;&#039;Skip&#039;&#039;&#039; (once!) to get the latest version available&lt;br /&gt;
# Next to the package &#039;&#039;&#039;WGET&#039;&#039;&#039;, click the word &#039;&#039;&#039;Skip&#039;&#039;&#039; (once!) to get the latest version available&lt;br /&gt;
# Next to the package &#039;&#039;&#039;RSYNC&#039;&#039;&#039;, click the word &#039;&#039;&#039;Skip&#039;&#039;&#039; (once!) to get the latest version available&lt;br /&gt;
# Next to the package &#039;&#039;&#039;EMAIL&#039;&#039;&#039;, click the word &#039;&#039;&#039;Skip&#039;&#039;&#039; (once!) to get the latest version available&lt;br /&gt;
# Next to the package &#039;&#039;&#039;WHOIS&#039;&#039;&#039;, click the word &#039;&#039;&#039;Skip&#039;&#039;&#039; (once!) to get the latest version available&lt;br /&gt;
# Check the NEOSYS INSTALLATION CHECKLIST for any other packages to install like the above.&lt;br /&gt;
# Click Next and complete the installation&lt;br /&gt;
&lt;br /&gt;
==== Configuring and starting SSHD ====&lt;br /&gt;
&lt;br /&gt;
Open the Cygwin icon to get a linux/bash command line and type:&lt;br /&gt;
&lt;br /&gt;
Run the following commands:&lt;br /&gt;
&lt;br /&gt;
 chmod +r /etc/passwd&lt;br /&gt;
 chmod +r /etc/group&lt;br /&gt;
 chmod 777 /var&lt;br /&gt;
&lt;br /&gt;
Thereafter start with the ssh configuration:&lt;br /&gt;
&lt;br /&gt;
 ssh-host-config&lt;br /&gt;
&lt;br /&gt;
Then on the following options type:&lt;br /&gt;
&lt;br /&gt;
 Privilege                   –   YES&lt;br /&gt;
 New local sshd account      -   YES&lt;br /&gt;
 Install SSHD as a service   -   YES&lt;br /&gt;
 Enter value of daemon       -   ntsec&lt;br /&gt;
 Different name              -   NO&lt;br /&gt;
 Create new privileged user  -   YES&lt;br /&gt;
 Enter a password now        -   Set any random password and should not be the same as the neosys server (8 characters min)&lt;br /&gt;
&lt;br /&gt;
At the command prompt type&lt;br /&gt;
&lt;br /&gt;
 net start sshd&lt;br /&gt;
&lt;br /&gt;
==== Configuring SSHD to use a non-standard port number ====&lt;br /&gt;
&lt;br /&gt;
This is necessary if the router cannot forward port 19580 --&amp;gt; 22 and we don’t want to open port 22 directly.&lt;br /&gt;
&lt;br /&gt;
Capitalization is signification in cygwin/linux commands&lt;br /&gt;
&lt;br /&gt;
open cygwin command prompt&lt;br /&gt;
 cd /etc&lt;br /&gt;
 chown administrator sshd_config&lt;br /&gt;
 nano sshd_config (assuming that you have installed the NANO editor)&lt;br /&gt;
 notepad sshd_config (incase you havent installed the NANO editor)&lt;br /&gt;
Move your cursor to &#039;&#039;&#039;Port 22&#039;&#039;&#039; and change 22 to 19580. ctrl+x to save. On the confirmation type Y and on the next prompt hit enter.&lt;br /&gt;
 chown system sshd_config&lt;br /&gt;
 net stop sshd&lt;br /&gt;
 net start sshd&lt;br /&gt;
&lt;br /&gt;
To check that the connection to port 19580 is successful you can run the following test:&lt;br /&gt;
 ssh -p 19580 administrator@localhost&lt;br /&gt;
&lt;br /&gt;
You will be prompted to confirm the connection (say yes)&lt;br /&gt;
&lt;br /&gt;
Now enter the system password to complete the procedure.&lt;br /&gt;
&lt;br /&gt;
==== Error while changing Cygwin port 22 to 19580 ====&lt;br /&gt;
&lt;br /&gt;
Error Message:&lt;br /&gt;
Could not open file for writring: permission denied&lt;br /&gt;
&lt;br /&gt;
Occurence:&lt;br /&gt;
Sometimes When you edit the sshd_config file through NANO.&lt;br /&gt;
&lt;br /&gt;
Solution:&lt;br /&gt;
In SSH shell, follow these commands:&lt;br /&gt;
&lt;br /&gt;
 cp sshd_config ashwin_temp (copies sshd_config to a new file ashwin_temp)&lt;br /&gt;
 rm sshd_config (deletes sshd_config)&lt;br /&gt;
 cp ashwin_temp sshd_config  (copies ashwin_temp to sshd_config)&lt;br /&gt;
&lt;br /&gt;
Incase it does not copy sshd_config to ashwin_temp, than check whether an ashwin_temp filename exists and delete it using the rm command.&lt;br /&gt;
&lt;br /&gt;
==== Opening up ssh connections to additional source ip nos ====&lt;br /&gt;
&lt;br /&gt;
Starting a NEOSYS process will automatically restrict cygwin ssh to accept connections from known NEOSYS company static ip numbers.&lt;br /&gt;
&lt;br /&gt;
In the cygwin command line, insert a line in the list of allowable hosts&lt;br /&gt;
&lt;br /&gt;
DO NOT ALLOW ALL OR GENERAL SSH ACCESS TO NEOSYS CLIENTS SERVERS WITHOUT GETTING PERMISSION *AND* INSTALLING EMAIL ALERTS FOR LOGINS AS DESCRIBED BELOW&lt;br /&gt;
&lt;br /&gt;
 nano /etc/hosts.allow&lt;br /&gt;
&lt;br /&gt;
 sshd: ALL&lt;br /&gt;
&lt;br /&gt;
or a ip numbers or CIDR format&lt;br /&gt;
&lt;br /&gt;
 sshd 12.34.56.78&lt;br /&gt;
 sshd 12.34.0.0/16&lt;br /&gt;
&lt;br /&gt;
==== Setting up email alerts for cygwin ssh logins  ====&lt;br /&gt;
&lt;br /&gt;
Use http://www.cygwin.com/setup.exe to install &amp;quot;email&amp;quot; and &amp;quot;whois&amp;quot; packages&lt;br /&gt;
&lt;br /&gt;
Insert the following script using cygwin command prompt.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;NOTE! it@neosys.com to whatever you want.&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 cd /etc&lt;br /&gt;
 nano sshrc&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
#&lt;br /&gt;
#you configure this&lt;br /&gt;
&lt;br /&gt;
ALERTEMAILADDRESS=it@neosys.com&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
#get the ip number without the ipv6 prefix&lt;br /&gt;
FROMIPNO=`echo $SSH_CLIENT|cut -f 1 -d &amp;quot; &amp;quot;|sed &#039;s/::ffff://&#039;`&lt;br /&gt;
#&lt;br /&gt;
#quit with no message if from a known host&lt;br /&gt;
&lt;br /&gt;
if grep -x $FROMIPNO /etc/trustedipnos&lt;br /&gt;
then exit&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
#get the host name by reverse lookup&lt;br /&gt;
&lt;br /&gt;
FROMHOST=`nslookup $FROMIPNO|grep &amp;quot;name =&amp;quot;`&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
#get whois info about the login ip number&lt;br /&gt;
&lt;br /&gt;
#and pipe it into the mail program&lt;br /&gt;
#&amp;quot;&amp;amp;&amp;quot; on the end creates a new process in order not to delay login&lt;br /&gt;
&lt;br /&gt;
whois $FROMIPNO|\&lt;br /&gt;
email -q -f nl1@neosys.com -s &amp;quot;login $USER $FROMIPNO $FROMHOST&amp;quot; -r \&lt;br /&gt;
mailout.neosys.com -p 2500 $ALERTEMAILADDRESS&amp;amp;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Make sure that you configure the file permissions&lt;br /&gt;
&lt;br /&gt;
 chmod a+x sshrc&lt;br /&gt;
&lt;br /&gt;
Inserted trusted ip nos.&lt;br /&gt;
&lt;br /&gt;
 cd /etc&lt;br /&gt;
 nano trustedipnos&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#sorry, ip ranges and cidr etc not accepted yet&lt;br /&gt;
&lt;br /&gt;
#vm1.neosys.com for remote checking&lt;br /&gt;
85.17.154.105&lt;br /&gt;
&lt;br /&gt;
#nl1.neosys.com&lt;br /&gt;
83.149.104.167&lt;br /&gt;
&lt;br /&gt;
#nl2.neosys.com&lt;br /&gt;
85.17.154.66&lt;br /&gt;
&lt;br /&gt;
#uk.neosys.com&lt;br /&gt;
78.143.212.191&lt;br /&gt;
&lt;br /&gt;
#nl3.neosys.com&lt;br /&gt;
94.75.233.2&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Make sure that you configure the file permissions&lt;br /&gt;
&lt;br /&gt;
 chmod a+x sshrc&lt;br /&gt;
&lt;br /&gt;
==== Troubleshooting SSH: If SSH connects and then disconnects immediately without exchanging keys ====&lt;br /&gt;
 &lt;br /&gt;
The first time that NEOSYS runs, it automatically adds source ip number restrictions to the sshd remote support configuration in /etc/hosts.allow and /etc/hosts.deny. This is an important security procedure to allow connection to clients systems from NEOSYS ip numbers only. This process allows only local and known NEOSYS ip numbers to connect using SSH. Upgrading NEOSYS will add and/or remove allowable ip numbers as NEOSYS configuration changes.&lt;br /&gt;
&lt;br /&gt;
It is possible that in some client network configurations incoming ssh connections will appear to be from the clients internal routers with an ip unknown to NEOSYS due to NAT configurations. Therefore ssh connections will be blocked unless specifically allow the local ip number or it is added into an upgraded version of NEOSYS.&lt;br /&gt;
&lt;br /&gt;
NOTE: Therefore you must check that remote support via ssh works AFTER you have run NEOSYS once (maintenance mode). &lt;br /&gt;
 &lt;br /&gt;
#Look in the Windows, Computer Management, System Tools, Event Viewer, Application&lt;br /&gt;
#Search for entries from source &amp;quot;sshd&amp;quot;, double click and look in the Event Properties, Description for ip numbers&lt;br /&gt;
#Information type sshd entries will give the ip number of successful sshd connections.&lt;br /&gt;
#Warning type sshd entries will give the ip number of failed sshd connections.&lt;br /&gt;
#Find the ip number of failed connections.&lt;br /&gt;
&lt;br /&gt;
===== Possible Problem 1 - Port mapping in router is using NAT =====&lt;br /&gt;
&lt;br /&gt;
If the ip number of failed connections is some local ip number (of the router for example) then possibly the inbound port forwarding has been done with NAT and the source ip number has been lost. Therefore the NEOSYS ip restrictions are blocking ssh connections because they appear to be coming from an unknown ip number (ie that of the router)&lt;br /&gt;
&lt;br /&gt;
===== Solution 1A =====&lt;br /&gt;
&lt;br /&gt;
Change the router configuration to not use NAT and leave the genuine original source IP number&lt;br /&gt;
&lt;br /&gt;
===== Solution 1B =====&lt;br /&gt;
&lt;br /&gt;
DO NOT USE THIS PROCEDURE TO BREAK NEOSYS SECURITY&lt;br /&gt;
 &lt;br /&gt;
DO NOT GRANT ACCESS TO ANY IP OTHER THAN CLIENTS ROUTER IPS&lt;br /&gt;
&lt;br /&gt;
Add the routers IP number to the list of authorised ip numbers in the cygwin hosts.allow file as follows:&lt;br /&gt;
&lt;br /&gt;
 nano /etc/hosts.allow&lt;br /&gt;
&lt;br /&gt;
and add the line as follows ... but put the ip number of your router&lt;br /&gt;
&lt;br /&gt;
 sshd: allow 192.168.0.99&lt;br /&gt;
&lt;br /&gt;
#router - sadly using NAT instead of plain old port forwarding&lt;br /&gt;
#if the router ip changes then neosys remote support will fail until this line is changed&lt;br /&gt;
#NB do not grant access to 192.168.* etc since this allows local LAN viruses to attack&lt;br /&gt;
&lt;br /&gt;
==== Troubleshooting sshd ====&lt;br /&gt;
&lt;br /&gt;
You can run the sshd service interactively to see all messages instead of having to search logs/events etc.&lt;br /&gt;
&lt;br /&gt;
Unfortunately this will not work the same as the normal windows sshd service unless you assume the identity of the sshd_server user. To assume the identity of the sshd_server user you will have to reset its password to something new (since we dont take a record of it during sshd-host-setup) AND ALSO place the new password in the logon properties of the sshd windows service.&lt;br /&gt;
&lt;br /&gt;
 su sshd_server&lt;br /&gt;
 /usr/sbin/sshd -D -p 19580&lt;br /&gt;
&lt;br /&gt;
==== Reinstalling SSHD if service fails to startup ====&lt;br /&gt;
&lt;br /&gt;
#Look in &#039;&#039;&#039;/var/log/sshd.log&#039;&#039;&#039; for errors&lt;br /&gt;
#Delete the following users: &#039;&#039;&#039;sshd&#039;&#039;&#039; and &#039;&#039;&#039;sshd_server&#039;&#039;&#039;&lt;br /&gt;
#Remove the sshd service at the cygwin prompt type &#039;&#039;&#039;cygrunsrv –R sshd&#039;&#039;&#039;&lt;br /&gt;
#Do the above Configuration and starting SSHD step again&lt;br /&gt;
&lt;br /&gt;
Note that you don&#039;t have to reinstall cygwin entirely, just sshd with the above steps.&lt;br /&gt;
&lt;br /&gt;
==== Upgrading SSHD / Cygwin ====&lt;br /&gt;
&lt;br /&gt;
#Read [[Avoiding Corrupt Cygwin Installations]]&lt;br /&gt;
#Connect normally using ssh/remote desktop etc.&lt;br /&gt;
#Establish another non-ssh vnc reverse connection&lt;br /&gt;
#Schedule an hourly reverse connect of vnc in case you lose the connection. Add the following to scheduled tasks - &amp;quot;C:\Program Files\UltraVNC\winvnc.exe&amp;quot; -connect address.ofneosys.supportstaff::port&lt;br /&gt;
#Make sure you have disconnected the ssh/remote desktop connection at this stage after you have established a reverse connection (i.e. if using Tunnelier, make sure that ssh connection using Tunnelier is not still open and not minimised in the notification area of the taskbar)&lt;br /&gt;
#net stop sshd&lt;br /&gt;
#Delete any bash/rsync and other cygwin related processes in task manager. You can type ps -ef in a cygwin bash console to find out their names.&lt;br /&gt;
#Ensure that you can rename c:\cygwin\bin\cygwin1.dll to xxx and rename back to ensure that no cygwin processes are running. Unfortunately not a perfect guarantee.&lt;br /&gt;
#Upgrade cygwin using the same general steps as a normal cygwin install. If any files cannot be upgraded do your best to kill the offending process and retry. Otherwise you may end up having to uninstall/reinstall cygwin from scratch.&lt;br /&gt;
#net start sshd&lt;br /&gt;
&lt;br /&gt;
==== How to uninstall/reinstall cygwin ====&lt;br /&gt;
&lt;br /&gt;
With setup.exe (the installer file of cygwin) you can uninstall individual packages but not Cygwin.&lt;br /&gt;
&lt;br /&gt;
Before you do this, make sure you have stopped the cygwin service (NET STOP SSHD), removed the sshd server (cygrunsrv -R sshd), deleted the users (sshd &amp;amp; sshd_server).&lt;br /&gt;
&lt;br /&gt;
To uninstall Cygwin you have to run the following in DOS prompt:&lt;br /&gt;
&lt;br /&gt;
 rmdir /s /q C:\cygwin&lt;br /&gt;
&lt;br /&gt;
You cannot delete the cygwin folder from Windows explorer due to a Access Denied error and this is the best way to uninstall cygwin.&lt;br /&gt;
&lt;br /&gt;
==== Getting Ownership and Permissions Correct ====&lt;br /&gt;
&lt;br /&gt;
Installation of cygrin under domain administrator account needs to be fixed as follows:&lt;br /&gt;
&lt;br /&gt;
#c:\cygin Properties, Security, Advanced&lt;br /&gt;
#Change owner to: Administrators&lt;br /&gt;
#Tick: Replace owner on subcontainers&lt;br /&gt;
&lt;br /&gt;
After changing ownership of all cygwin folders to Administrators all ssh login will be blocked and you will get a windows application event log message. &amp;quot;root&amp;quot; actually means sshd&#039;s user which is sshd_server by default or can be found in the cygwin ssh windows services properties under log on&lt;br /&gt;
&lt;br /&gt;
 fatal: /var/empty must be owned by root and not group or world-writable.&lt;br /&gt;
&lt;br /&gt;
Fix this in cygwin console as follows:&lt;br /&gt;
&lt;br /&gt;
 chown sshd_server /var/empty&lt;br /&gt;
&lt;br /&gt;
==== Configuring Firewall/Router ====&lt;br /&gt;
&lt;br /&gt;
You will have to port forward 19580 on the router to port 19580 on the neosys server. Some routers call port forwarding “port mapping” or “virtual servers”&lt;br /&gt;
&lt;br /&gt;
It is BAD idea to simply open port 22 since an open port 22 attracts scanners/hackers like flies.&lt;br /&gt;
&lt;br /&gt;
Also configure port forwarding of port 4430 to port 4430. This is for remote access via https if desired at a later date.&lt;br /&gt;
&lt;br /&gt;
==== Configuring Specific Client Routers ====&lt;br /&gt;
&lt;br /&gt;
[[Adline Dubai - CISCO PIX Firewall]]&lt;br /&gt;
&lt;br /&gt;
[[Sonicwall Firewall Configuration]]&lt;br /&gt;
&lt;br /&gt;
==== How to install ssh on port 19580 over vnc on port 19580 ====&lt;br /&gt;
&lt;br /&gt;
Install vnc on port 19580&lt;br /&gt;
 &lt;br /&gt;
connect on vnc&lt;br /&gt;
 &lt;br /&gt;
setup cygwin sshd on port 22&lt;br /&gt;
 &lt;br /&gt;
test you can login on port 22&lt;br /&gt;
&lt;br /&gt;
 ssh neosys@127.0.0.1&lt;br /&gt;
 &lt;br /&gt;
change sshd port to 19580 (but it wont start)&lt;br /&gt;
 &lt;br /&gt;
schedule a windows system reboot in 10 mins at windows command prompt&lt;br /&gt;
 &lt;br /&gt;
 shutdown -t 600&lt;br /&gt;
 &lt;br /&gt;
change vnc port to 5900 (if will disconnect you)&lt;br /&gt;
 &lt;br /&gt;
wait for 10 mins and try to ssh login on port 19580&lt;br /&gt;
&lt;br /&gt;
==== Changing user on Cygwin ====&lt;br /&gt;
&lt;br /&gt;
On SSH command line:&lt;br /&gt;
&lt;br /&gt;
 ssh neosys@127.0.0.1 (where &#039;neosys&#039; is the username)&lt;br /&gt;
&lt;br /&gt;
=== Installing and configuring UltraVNC ===&lt;br /&gt;
&lt;br /&gt;
Download UltraVNC from http://www.ultravnc.com&lt;br /&gt;
&lt;br /&gt;
Run installation – all default options EXCEPT choose INSTALL AS A SERVICE, and START SERVICE.&lt;br /&gt;
&lt;br /&gt;
((screenshot required))&lt;br /&gt;
&lt;br /&gt;
Run ‘Service Helper’ under UltraVNC Server in case you don’t see vnc tray icon on the notification area.&lt;br /&gt;
&lt;br /&gt;
Admin options should make the following changes:&lt;br /&gt;
[[Image:Vncadmin.png]]&lt;br /&gt;
# Deselect – Enable Java (to increase security)&lt;br /&gt;
# Select – Allow loopback connection (essential for connection via ssh)&lt;br /&gt;
# Select - Loopback only (to increase security)&lt;br /&gt;
&lt;br /&gt;
[[Image:vncserveraddnewclient55000.png]]&lt;br /&gt;
&lt;br /&gt;
==== Installing and configuring the client ====&lt;br /&gt;
&lt;br /&gt;
It is advisabke to use http over ssh rather than remote access IE inside vnc because the user interface is much faster alhough it might not be so bad using vnc to hosts in the same country&lt;br /&gt;
&lt;br /&gt;
==== Installing Putty ====&lt;br /&gt;
&lt;br /&gt;
http://the.earth.li/~sgtatham/putty/latest/x86/putty.exe&lt;br /&gt;
&lt;br /&gt;
Download putty.exe &amp;gt; run&lt;br /&gt;
&lt;br /&gt;
===== Configuring Putty =====&lt;br /&gt;
&lt;br /&gt;
ssh tunneling local:127.0.0.1:1235--&amp;gt;remote:127.0.0.1:80 so you can do http://127.0.0.1:1235/neosys on your own computer&lt;br /&gt;
&lt;br /&gt;
there are a few computers where it doesnt seem to like the above usually where the target server is on a none-standard port or not listening on 127.0.0.1&lt;br /&gt;
&lt;br /&gt;
so sometimes you have to map local 127.0.0.1:8080 to remote 10.0.0.255:8080 or whatever the listening ip and port is&lt;br /&gt;
&lt;br /&gt;
[[Image:puttysession.png|Fill in the host name of the server computer and the port number.]]&lt;br /&gt;
&lt;br /&gt;
[[Image:puttyssh.png]]&lt;br /&gt;
&lt;br /&gt;
[[Image:puttytunnel.png]]&lt;br /&gt;
 &lt;br /&gt;
Source: 1234 Destination: 127.0.0.1:5900 then click Add&lt;br /&gt;
&lt;br /&gt;
Source: 1235 Destination: 127.0.0.1:80 then click Add&lt;br /&gt;
&lt;br /&gt;
Once tunnels are setup then return to Session tab in putty and save the options then click open to connect to the server. Login as administrator with the servers password.&lt;br /&gt;
&lt;br /&gt;
Ultra VNC Viewer:&lt;br /&gt;
&lt;br /&gt;
As the port mapping is complete, enter 127.0.0.1:1234 to login into the computer screen remotely:&lt;br /&gt;
&lt;br /&gt;
==== Configuring Ultra VNC Viewer Listen mode to use a non-standard port ====&lt;br /&gt;
&lt;br /&gt;
[[Image:vncviewerlisten55000.png]]&lt;br /&gt;
&lt;br /&gt;
==== Troubleshooting Client ====&lt;br /&gt;
&lt;br /&gt;
===== Cygwin login on servers connected to any domain controller =====&lt;br /&gt;
&lt;br /&gt;
If NEOSYS is loaded on a server which is connected to any domain controller, it may require the local administrator password reset.&lt;br /&gt;
&lt;br /&gt;
==== Resolving VNC Password lockout ====&lt;br /&gt;
&lt;br /&gt;
If you connect to a client server through CYGWIN and enter the VNC password 3 times wrong in a row, VNC will block you. &lt;br /&gt;
&lt;br /&gt;
As you have already entered the server through CYGWIN, you can reactivate the blocked VNC by using the following commands on the prompt:&lt;br /&gt;
&lt;br /&gt;
 net stop winvnc&lt;br /&gt;
&lt;br /&gt;
 net start winvnc&lt;br /&gt;
&lt;br /&gt;
== Remote Desktop Connection ==&lt;br /&gt;
&lt;br /&gt;
Servers are normally not exposed to the internet so IT staff and suppliers are often not careful to use strong passwords and use things like &amp;quot;password&amp;quot; or blank.&lt;br /&gt;
&lt;br /&gt;
Given the above, it is NEOSYS policy NOT to use remote desktop via direct access from the internet at all and especially not long term. This is to prevent worms from instantly discovering possible entry points - typically before NEOSYS can even begin to enforce strong administrator password.&lt;br /&gt;
&lt;br /&gt;
If it is otherwise IMPOSSIBLE (difficult or inconvenient does NOT count as impossible!) to avoid using remote desktop protocol to the public internet then a simple and effective way of significantly increasing security is to change the remote desktop port from 3389 to something else e.g. 33890 as per NEOSYS convention.&lt;br /&gt;
&lt;br /&gt;
=== Changing RDC port from standard to nonstandard ===&lt;br /&gt;
&lt;br /&gt;
# Start Registry Editor.&lt;br /&gt;
# Locate and then click the following registry subkey:&lt;br /&gt;
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TerminalServer\WinStations\RDP-Tcp\PortNumber&lt;br /&gt;
# On the Edit menu, click Modify, and then click Decimal.&lt;br /&gt;
# Type the new port number, and then click OK.&lt;br /&gt;
# Quit Registry Editor.&lt;/div&gt;</summary>
		<author><name>Ashwin</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Setting_up_Host_Name&amp;diff=734</id>
		<title>Setting up Host Name</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=Setting_up_Host_Name&amp;diff=734"/>
		<updated>2011-10-06T07:22:46Z</updated>

		<summary type="html">&lt;p&gt;Ashwin: /* www.zoneedit.com */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Clients which do not have business grade internet connections often have dynamic IP&#039;s and we need to install a dynamic dns (DDNS) client on their servers to update the host name (eg. clientname.redirectme.net) with the latest IP every time it changes.&lt;br /&gt;
&lt;br /&gt;
==No-IP.com==&lt;br /&gt;
No-IP.com service should be installed at all clients who have a dynamic ip address as this solution is known to work in restrictive firewall environments. Procedure to setup No-IP.com service is as follows:&lt;br /&gt;
&lt;br /&gt;
#Login to www.no-ip.com with username noip@neosys.com and the password.&lt;br /&gt;
#Create a host with the client name (eg. for client MEDIAONE create a hostname mediaone.redirectme.net) with the option DNS Host (A) and the existing public ip. Do not assign to any group at this stage.&lt;br /&gt;
#Create a group with the client name (eg for client MEDIAONE create a group MEDIAONE) and select the host you created earlier.&lt;br /&gt;
#Assign a password for the group (give a random complicated password eg - ahsfi492840asfoapfo2qikoas%2 - make sure you paste this password on your notepad as you will need it later on)&lt;br /&gt;
#On the client server, go to www.no-ip.com and download the older Windows DUC 2.2.1 client (Do not use the latest one as it has an issue in starting up after a reboot and No-IP is working on a fix)&lt;br /&gt;
#Run the No-IP client and put in the username as groupname:noip@neosys.com (eg mediaone:noip@neosys.com) and paste the password from your notepad.&lt;br /&gt;
#After you login you will see it shows you the host name with an orange smiley and a tick box - click on this tick box and the smiley turns to a blushing happy yellow one which means the IP has been updated. Make sure to read the comments in the log box below.&lt;br /&gt;
#Click on Options and in the Standard Tab tick Run as system service. Then in the Connection &amp;gt; Standard tab make sure the tick is on 5 minutes update rather than 30 minutes.&lt;br /&gt;
&lt;br /&gt;
==www.zoneedit.com==&lt;br /&gt;
A static DNS service like zoneedit should be used for clients who have static ips and hosts are to be created as hostname.support.neosys.com&lt;br /&gt;
&lt;br /&gt;
After you add/edit/remove any host on Zoneedit, you need to make sure that the changes are published under &amp;quot;Current Zones&amp;quot; list.&lt;/div&gt;</summary>
		<author><name>Ashwin</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Moving_NEOSYS&amp;diff=733</id>
		<title>Moving NEOSYS</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=Moving_NEOSYS&amp;diff=733"/>
		<updated>2011-09-21T08:30:32Z</updated>

		<summary type="html">&lt;p&gt;Ashwin: /* Moving NEOSYS server to a new/another client office location */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== Moving NEOSYS to new servers ===&lt;br /&gt;
&lt;br /&gt;
Make sure you disable old systems BEFORE you enable new systems.&lt;br /&gt;
&lt;br /&gt;
You cannot count on users to pay attention to WHICH system they are using so its up to you to prevent access to the old system PRIOR to opening a new system for them.&lt;br /&gt;
&lt;br /&gt;
Failure to follow this procedure OFTEN results in chaos in the clients procedures. Missing invoices, etc etc etc.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Changing drive letter to match old drive letter ====&lt;br /&gt;
&lt;br /&gt;
[[Image:changepartitiondriveletter.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Backup and restore of IIS configuration ====&lt;br /&gt;
&lt;br /&gt;
[[Image:backupiis.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== How to deauthorisation a NEOSYS installation ====&lt;br /&gt;
 &lt;br /&gt;
Deauthorisation removes the authorisation and gives a pair of &amp;quot;authorisation numbers&amp;quot; that can be run through a check to prove that deauthorisation has been done.&lt;br /&gt;
 &lt;br /&gt;
After deauthorisation you cannot use NEOSYS. If you try then it will ask for authorisation again and you cannot use the original authorisation number to reauthorise it.&lt;br /&gt;
 &lt;br /&gt;
In NEOSYS Maintenance mode press F5 then type&lt;br /&gt;
 &lt;br /&gt;
 DEAUTHORISE&lt;br /&gt;
 &lt;br /&gt;
... and answer all the questions properly.&lt;br /&gt;
 &lt;br /&gt;
At the final stage it will give you the &amp;quot;deauthorisation numbers&amp;quot; which consist of the original computer number plus another number. These numbers should not be lost and should be given to NEOSYS who will verify they are correct.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Reinstating live system from backup system and shifting back ===&lt;br /&gt;
&lt;br /&gt;
This process should be done only when all the users are offline.&lt;br /&gt;
&lt;br /&gt;
To move the data from live to backup server and to restore it back, follow the steps mentioned below:&lt;br /&gt;
&lt;br /&gt;
(Note: the following procedure is an example of what was done for Adline Dubai)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Before restoring the data from live server to backup server and viceversa, do a manual backup (this will not be required if you are doing this procedure after the nightly backup has taken place; and before the users have logged in) and run the &#039;&#039;&#039;backup.adlined&#039;&#039;&#039; task on backup server.&lt;br /&gt;
&lt;br /&gt;
====Steps to stop adline dubai process to start:====&lt;br /&gt;
&lt;br /&gt;
# Un-tick automatic backup from the configuration file at adline dubai server.&lt;br /&gt;
# Rename Global.end.temp to Global.end&lt;br /&gt;
# Disable schedule task (Copy adline2adltest &amp;amp; start adlined)&lt;br /&gt;
# Disable backup.adlined task at ADLINED2 server to avoid backup of adlined &amp;gt; adlined2&lt;br /&gt;
# After doing this start adlined processes at ADLINED2 server and tick the automatic backup option in the configure file. &lt;br /&gt;
# Email client giving the new URL to access NEOSYS.&lt;br /&gt;
# Ask the IT guy to plug-in the backup USB to the server &lt;br /&gt;
# Configure the drive letter on the configuration file in neosys. &lt;br /&gt;
&lt;br /&gt;
====Steps to restore adlined dataset back to adlined server (Live server)====&lt;br /&gt;
&lt;br /&gt;
ATTENTION: Send a mail to the client staff, saying neosys will be down from XXXX hours and they should logout from neosys before the mentioned time and save their work.&lt;br /&gt;
 &lt;br /&gt;
If possible co-ordinate with IT guy (or the person responsible) to follow up and make sure that users logout by the decided time. Once all the users are offline, Block all users from accessing neosys.&lt;br /&gt;
&lt;br /&gt;
# Take a manual backup of the dataset you want to move to a removable drive (Flash/USB drive)&lt;br /&gt;
# Once the backup is complete, go to the configuration file and un-tick the automatic backup from there.&lt;br /&gt;
# Now request the IT guy to unplug the USB from the backup server and plug it into the main server.&lt;br /&gt;
# Before doing a restore read the &#039;&#039;&#039;NOTE&#039;&#039;&#039; that follows very carefully.&lt;br /&gt;
# Now log in to maintenance process and go to &#039;&#039;&#039;General &amp;gt; Backup &amp;amp; Data Management&#039;&#039;&#039;, select &#039;&#039;&#039;Restore from disk or diskette&#039;&#039;&#039; (i.e. option 4), select the backup drive and follow the prompts that follow.&lt;br /&gt;
# Now enable all the tasks that were disabled earlier on the adlined server and then enable the backup.adlined schedule task on adlined2 server.&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&#039;&#039;&#039;NOTE:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
REMEMBER THAT RESTORE = first DELETE! and then RESTORE&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Chat for reference:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
DELETE MEANS YOU SHOULD BE FRIGHTENED &amp;gt;&amp;gt; AND THEREFORE TAKE A COPY&lt;br /&gt;
&lt;br /&gt;
In this case you KNOW you have a good working copy of the data on the backup server so DELETING+RESTORE on the main server is not very frightening .. but STILL .. play SAFE .. take a COPY OF WHAT YOU DELETE DURING RESTORE&lt;br /&gt;
&lt;br /&gt;
=== Moving NEOSYS server to a new/another client office location ===&lt;br /&gt;
&lt;br /&gt;
This is done by the client IT responsible and we just have to provide this checklist for them to follow. Typically this needs to be emailed out to them.&lt;br /&gt;
&lt;br /&gt;
 Please ensure the following procedures are followed on the day of the move:&lt;br /&gt;
 &lt;br /&gt;
 # Login to the NEOSYS server and shut down all the processes by hitting the ESC button on each of the window three times or until they close&lt;br /&gt;
 # Take a backup of the D drive on another system or network / external drive&lt;br /&gt;
 # Remove the USB plugged in and secure the same along with the other two USB’s in a safe location&lt;br /&gt;
 # You can shut down the server now and move it to your new office&lt;br /&gt;
 &lt;br /&gt;
 After the move is completed, please ensure the following immediately:&lt;br /&gt;
 &lt;br /&gt;
 # Connect the server to your local network and complete all setup required for users to be able to access the system internally&lt;br /&gt;
 # Configure the firewall and/or port settings to enable us to connect to the server externally (i.e. 19580 external to 19580 internal)&lt;br /&gt;
 # Configure the firewall and/or port settings to your staff for external access (i.e. 4430 external to 4430 internal)&lt;br /&gt;
 # Provide us with the new fixed IP address so that we can test the connection&lt;/div&gt;</summary>
		<author><name>Ashwin</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Moving_NEOSYS&amp;diff=732</id>
		<title>Moving NEOSYS</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=Moving_NEOSYS&amp;diff=732"/>
		<updated>2011-09-21T08:28:51Z</updated>

		<summary type="html">&lt;p&gt;Ashwin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== Moving NEOSYS to new servers ===&lt;br /&gt;
&lt;br /&gt;
Make sure you disable old systems BEFORE you enable new systems.&lt;br /&gt;
&lt;br /&gt;
You cannot count on users to pay attention to WHICH system they are using so its up to you to prevent access to the old system PRIOR to opening a new system for them.&lt;br /&gt;
&lt;br /&gt;
Failure to follow this procedure OFTEN results in chaos in the clients procedures. Missing invoices, etc etc etc.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Changing drive letter to match old drive letter ====&lt;br /&gt;
&lt;br /&gt;
[[Image:changepartitiondriveletter.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Backup and restore of IIS configuration ====&lt;br /&gt;
&lt;br /&gt;
[[Image:backupiis.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== How to deauthorisation a NEOSYS installation ====&lt;br /&gt;
 &lt;br /&gt;
Deauthorisation removes the authorisation and gives a pair of &amp;quot;authorisation numbers&amp;quot; that can be run through a check to prove that deauthorisation has been done.&lt;br /&gt;
 &lt;br /&gt;
After deauthorisation you cannot use NEOSYS. If you try then it will ask for authorisation again and you cannot use the original authorisation number to reauthorise it.&lt;br /&gt;
 &lt;br /&gt;
In NEOSYS Maintenance mode press F5 then type&lt;br /&gt;
 &lt;br /&gt;
 DEAUTHORISE&lt;br /&gt;
 &lt;br /&gt;
... and answer all the questions properly.&lt;br /&gt;
 &lt;br /&gt;
At the final stage it will give you the &amp;quot;deauthorisation numbers&amp;quot; which consist of the original computer number plus another number. These numbers should not be lost and should be given to NEOSYS who will verify they are correct.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Reinstating live system from backup system and shifting back ===&lt;br /&gt;
&lt;br /&gt;
This process should be done only when all the users are offline.&lt;br /&gt;
&lt;br /&gt;
To move the data from live to backup server and to restore it back, follow the steps mentioned below:&lt;br /&gt;
&lt;br /&gt;
(Note: the following procedure is an example of what was done for Adline Dubai)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Before restoring the data from live server to backup server and viceversa, do a manual backup (this will not be required if you are doing this procedure after the nightly backup has taken place; and before the users have logged in) and run the &#039;&#039;&#039;backup.adlined&#039;&#039;&#039; task on backup server.&lt;br /&gt;
&lt;br /&gt;
====Steps to stop adline dubai process to start:====&lt;br /&gt;
&lt;br /&gt;
# Un-tick automatic backup from the configuration file at adline dubai server.&lt;br /&gt;
# Rename Global.end.temp to Global.end&lt;br /&gt;
# Disable schedule task (Copy adline2adltest &amp;amp; start adlined)&lt;br /&gt;
# Disable backup.adlined task at ADLINED2 server to avoid backup of adlined &amp;gt; adlined2&lt;br /&gt;
# After doing this start adlined processes at ADLINED2 server and tick the automatic backup option in the configure file. &lt;br /&gt;
# Email client giving the new URL to access NEOSYS.&lt;br /&gt;
# Ask the IT guy to plug-in the backup USB to the server &lt;br /&gt;
# Configure the drive letter on the configuration file in neosys. &lt;br /&gt;
&lt;br /&gt;
====Steps to restore adlined dataset back to adlined server (Live server)====&lt;br /&gt;
&lt;br /&gt;
ATTENTION: Send a mail to the client staff, saying neosys will be down from XXXX hours and they should logout from neosys before the mentioned time and save their work.&lt;br /&gt;
 &lt;br /&gt;
If possible co-ordinate with IT guy (or the person responsible) to follow up and make sure that users logout by the decided time. Once all the users are offline, Block all users from accessing neosys.&lt;br /&gt;
&lt;br /&gt;
# Take a manual backup of the dataset you want to move to a removable drive (Flash/USB drive)&lt;br /&gt;
# Once the backup is complete, go to the configuration file and un-tick the automatic backup from there.&lt;br /&gt;
# Now request the IT guy to unplug the USB from the backup server and plug it into the main server.&lt;br /&gt;
# Before doing a restore read the &#039;&#039;&#039;NOTE&#039;&#039;&#039; that follows very carefully.&lt;br /&gt;
# Now log in to maintenance process and go to &#039;&#039;&#039;General &amp;gt; Backup &amp;amp; Data Management&#039;&#039;&#039;, select &#039;&#039;&#039;Restore from disk or diskette&#039;&#039;&#039; (i.e. option 4), select the backup drive and follow the prompts that follow.&lt;br /&gt;
# Now enable all the tasks that were disabled earlier on the adlined server and then enable the backup.adlined schedule task on adlined2 server.&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&#039;&#039;&#039;NOTE:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
REMEMBER THAT RESTORE = first DELETE! and then RESTORE&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Chat for reference:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
DELETE MEANS YOU SHOULD BE FRIGHTENED &amp;gt;&amp;gt; AND THEREFORE TAKE A COPY&lt;br /&gt;
&lt;br /&gt;
In this case you KNOW you have a good working copy of the data on the backup server so DELETING+RESTORE on the main server is not very frightening .. but STILL .. play SAFE .. take a COPY OF WHAT YOU DELETE DURING RESTORE&lt;br /&gt;
&lt;br /&gt;
=== Moving NEOSYS server to a new/another client office location ===&lt;br /&gt;
&lt;br /&gt;
This is done by the client IT responsible and we just have to provide this checklist for them to follow. Typically this needs to be emailed out to them.&lt;br /&gt;
&lt;br /&gt;
 Please ensure the following procedures are followed on the day of the move:&lt;br /&gt;
&lt;br /&gt;
 # Login to the NEOSYS server and shut down all the processes by hitting the ESC button on each of the window three times or until they close&lt;br /&gt;
 # Take a backup of the D drive on another system or network / external drive&lt;br /&gt;
 # Remove the USB plugged in and secure the same along with the other two USB’s in a safe location&lt;br /&gt;
 # You can shut down the server now and move it to your new office&lt;br /&gt;
 &lt;br /&gt;
 After the move is completed, please ensure the following immediately:&lt;br /&gt;
 &lt;br /&gt;
 # Connect the server to your local network and complete all setup required for users to be able to access the system internally&lt;br /&gt;
 # Configure the firewall and/or port settings to enable us to connect to the server externally (i.e. 19580 external to 19580 internal)&lt;br /&gt;
 # Configure the firewall and/or port settings to your staff for external access (i.e. 4430 external to 4430 internal)&lt;br /&gt;
 # Provide us with the new fixed IP address so that we can test the connection&lt;/div&gt;</summary>
		<author><name>Ashwin</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Configuring_NEOSYS_Generally&amp;diff=728</id>
		<title>Configuring NEOSYS Generally</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=Configuring_NEOSYS_Generally&amp;diff=728"/>
		<updated>2011-08-11T07:45:16Z</updated>

		<summary type="html">&lt;p&gt;Ashwin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Clearing files in database (done when you want to clean an old database) ==&lt;br /&gt;
&lt;br /&gt;
This is to be done incase you want to clean an old database or clean a training database so that a client can enter fresh data. These commands DO NOT clear down the whole database and hence for new installations you need to download a fresh BACKUP.ZIP file from the NEOSYS website.&lt;br /&gt;
&lt;br /&gt;
Clear data		F5 	CLEAROP (only clears transactions not reference files)&lt;br /&gt;
&lt;br /&gt;
Clear suppliers		F5	CLEARFILE SUPPLIERS&lt;br /&gt;
&lt;br /&gt;
Clear Vehicles		F5	CLEARFILE VEHICLES&lt;br /&gt;
&lt;br /&gt;
Flush Index		F5	FLUSH.INDEX&lt;br /&gt;
&lt;br /&gt;
Clear all		F5	CLEARALL (rather nasty command because clears all reference files as well)&lt;br /&gt;
&lt;br /&gt;
Clear Payment Instruction F5    CLEARFIELD CLIENTS PAYMENT_INSTRUCTIONS (only clears the payment instruction from the client and brand file)&lt;br /&gt;
&lt;br /&gt;
== Configuring backup procedures ==&lt;br /&gt;
&lt;br /&gt;
See the System Configuration File on the NEOSYS Support Menu. More explanation is at [[Configuring_NEOSYS_automated_backup]]&lt;br /&gt;
&lt;br /&gt;
=== Non-Liability for Backup ===&lt;br /&gt;
&lt;br /&gt;
{{Non-Liability For Backup}}&lt;br /&gt;
&lt;br /&gt;
=== Backing up the Images folder ===&lt;br /&gt;
&lt;br /&gt;
The Images folder under the NEOSYS installation is used to upload images/artworks/files from the Job File section and hence needs to be backed up. NEOSYS will automatically backup this Images folder to the USB drive or other location (specified for the usual data backup) once a week. To configure this backup, RSYNC needs to have been installed during the initial installation.&lt;br /&gt;
&lt;br /&gt;
In case we need to configure the Images folder backup at another location other than the usual daily backup location than we need to edit:&lt;br /&gt;
&lt;br /&gt;
 line 12 - and specify the Drive of the location to be backed up to. eg. E or F&lt;br /&gt;
&lt;br /&gt;
== Backup to other media (i.e. not to USB)==&lt;br /&gt;
&lt;br /&gt;
If the backup is going to &#039;&#039;&#039;non-removable media&#039;&#039;&#039; (even if it is a shared folder on another computer) then the NEOSYS user/client/licensee (NOT the NEOSYS support team) can, at their own responsibility, arrange to &#039;&#039;&#039;move&#039;&#039;&#039; (NOT COPY) the NEOSYS backup files from that location to a backup location of their choice and avoid the WARNING message : &amp;quot;Backup media not changed. Overwriting last weeks backup&amp;quot;&lt;br /&gt;
&lt;br /&gt;
=== Sample alternative response to client requests for additional backups ===&lt;br /&gt;
&lt;br /&gt;
The existing NEOSYS backup must continue to take place for safety because it is the only well understood standard, controlled and checked procedure in use for all NEOSYS clients.&lt;br /&gt;
&lt;br /&gt;
You are free to setup and operate any additional backup procedure you like but NEOSYS cannot take any responsibility in setting up, monitoring or approving your additional backup procedure because it is beyond our sphere of control, expertise and trust.&lt;br /&gt;
&lt;br /&gt;
What you can backup is the NEOSYS backups on the USB drive. These are readily available online at all times on the NEOSYS server for you to access and copy as you choose. &lt;br /&gt;
&lt;br /&gt;
You can backup the usb anytime using anything you like, but you must not backup anything on any hard disk eg: C or D at any time.&lt;br /&gt;
&lt;br /&gt;
== Copying a single record from one database to another ==&lt;br /&gt;
 &lt;br /&gt;
You need to know the file name and record key of the record to be copied.&lt;br /&gt;
 &lt;br /&gt;
In this case the file is DEFINITIONS and the key is AGENCY.PARAMS&lt;br /&gt;
 &lt;br /&gt;
You can invent any old style 8.3 filename instead of C:\AGP.DAT in the following example&lt;br /&gt;
 &lt;br /&gt;
On the source computer:&lt;br /&gt;
 &lt;br /&gt;
 F5&lt;br /&gt;
 COPY DEFINITIONS AGENCY.PARAMS TO: (DOS C:\AGP.DAT)&lt;br /&gt;
&lt;br /&gt;
On the target computer:&lt;br /&gt;
 &lt;br /&gt;
 F5&lt;br /&gt;
 COPY DOS C:\AGP.DAT (ON) TO: (DEFINITIONS AGENCY.PARAMS)&lt;br /&gt;
&lt;br /&gt;
The (O) option is required to force overwrite of the existing &lt;br /&gt;
 &lt;br /&gt;
The (N) option means only copy if the target already exists. It is advisable to use it when you know that the target already exists to avoid misspellings in the command. It must be omitted if the target doesnt exist.&lt;br /&gt;
&lt;br /&gt;
== Allowing users temporary login as NEOSYS in maintenance mode ==&lt;br /&gt;
 &lt;br /&gt;
#Get them to login with any name even NEOSYS&lt;br /&gt;
#Get the to enter &amp;quot;?&amp;quot; for the pass without the quotes&lt;br /&gt;
#NEOSYS will give them a lock like &amp;quot;NEOSYS 123456&amp;quot; which they must give you. You should not log out until the next step is completed&lt;br /&gt;
#Follow the NEOSYS lock/key procedure using the full contents of the lock including the user name&lt;br /&gt;
(to allow access EXCEPT access to authorisation screen use a special number (not documented here) as the last number of the initial command)&lt;br /&gt;
#Give them the key and get them to enter and proceed&lt;br /&gt;
&lt;br /&gt;
== Configuring upload of photoshop &amp;quot;cs2&amp;quot; jpg files ==&lt;br /&gt;
&lt;br /&gt;
Photoshop version &amp;quot;cs2&amp;quot; produces jpg files that cannot be viewed in Internet Explorer.&lt;br /&gt;
&lt;br /&gt;
A solution is to rename the files extension from .jpg to .psjpg before uploading.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;psjpg&amp;quot; files are an invention of NEOSYS and IIS must be configured to handle .psjpg files as follows:&lt;br /&gt;
&lt;br /&gt;
Windows Server 2003 (doesnt work on XP)&lt;br /&gt;
&lt;br /&gt;
#Computer Management, Internet Information Server, Properties&lt;br /&gt;
#Click MIME Types&lt;br /&gt;
#Click New&lt;br /&gt;
#Extension: psjpg&lt;br /&gt;
#MIME Type: application/photoshop&lt;br /&gt;
#Click OK,OK,OK&lt;br /&gt;
#Restart IIS (Right click, All Tasks, Restart)&lt;br /&gt;
&lt;br /&gt;
== Enabling backup servers to access backed-up servers ==&lt;br /&gt;
&lt;br /&gt;
This relates to a common procedure used by NEOSYS to provide automatic nightly synchronisation/backups between servers for multi-office configurations. For more information see&lt;br /&gt;
http://itwiki.neosys.com/index.php/Setting_up_remote_backup&lt;br /&gt;
&lt;br /&gt;
Αccording to this procedure, backup processes are actually initiated and run on a &amp;quot;backup server&amp;quot; using a &amp;quot;pull&amp;quot; concept. The &amp;quot;backed-up server&amp;quot; serves the data (usually using an rsync service) to the backup server on request. They do not use a &amp;quot;push&amp;quot; concept.&lt;br /&gt;
&lt;br /&gt;
This means that backup servers need to be able to automatically login to the backed-up servers. On most backup servers a NEOSYS cygwin script called autologin.sh has been installed. This helps you configure the backup server and backed-up server.&lt;br /&gt;
&lt;br /&gt;
Normally you only need to run autologin.sh once per pair of backup and backed-up servers but sometimes the configuration is lost (particularly when NEOSYS is upgraded) and it must be repeated.&lt;br /&gt;
&lt;br /&gt;
=== Using autologin.sh ===&lt;br /&gt;
&lt;br /&gt;
#Asks you for the username and hostname&lt;br /&gt;
#Copies an identity file from the backup server to the backed up server.&amp;lt;br&amp;gt;&amp;lt;b&amp;gt;This requires you to enter the administrator or root password.&amp;lt;/b&amp;gt;&lt;br /&gt;
#Logs you in to the backed up server&#039;s cygwin/bash command line.&amp;lt;br&amp;gt;&amp;lt;b&amp;gt;This requires you to enter the password again.&amp;lt;/b&amp;gt;&lt;br /&gt;
#YOU then type a series of commands to install the identity file and finally exit the command console.&amp;lt;br&amp;gt;The series of commands that you must type are shown on screen by autologin.sh&lt;br /&gt;
#Logs you in to the backed up server&#039;s cygwin/bash command line.&amp;lt;br&amp;gt;&amp;lt;b&amp;gt;This time, you should NOT be required to enter a password.&amp;lt;/b&amp;gt;&lt;br /&gt;
#YOU type &amp;quot;exit&amp;quot; to quit the backed up server&#039;s command line.&lt;br /&gt;
&lt;br /&gt;
=== Running ./autologin.sh ===&lt;br /&gt;
&lt;br /&gt;
In cygwin on the backup server, type&lt;br /&gt;
&lt;br /&gt;
 ./autologin.sh&lt;br /&gt;
&lt;br /&gt;
... and follow instructions on screen. The system will ask you once the password to the target server to transfer an identity file and once again to access the command line of the target server from where you must follow a set of instructions in order to load the identity file properly.&lt;br /&gt;
&lt;br /&gt;
The username is usually administrator for windows server targets.&lt;br /&gt;
&lt;br /&gt;
The hostname can be found in backup email logs or in the CONFIG.CMD file in the backup server.&lt;br /&gt;
&lt;br /&gt;
There are often two alternative hostnames. Try the first one first. If you succeed with the first then there is no need to try the second.&lt;br /&gt;
&lt;br /&gt;
Sometimes one of the host names is based on alternative network access methods like hamachi which uses ip addresses starting with &amp;quot;5.&amp;quot; and requires hamachi service to be running in both servers and this sometimes is dependent on being logged in and correct setup of hamachi. You can ping the host names to discover the ip numbers of course.&lt;br /&gt;
&lt;br /&gt;
Follow the instructions on the screen VERY carefully.&lt;br /&gt;
&lt;br /&gt;
=== The edit step ===&lt;br /&gt;
&lt;br /&gt;
The last step will enter the nano editor where you should do the following:&lt;br /&gt;
&lt;br /&gt;
If present, delete the word neosys near the end of the last line of the file. The last bit of the last line will refer to some user and host that you are enabling access FROM&lt;br /&gt;
&lt;br /&gt;
BE CAREFUL NOT TO TRIGGER THE AUTOMATIC LINE BREAKING IN NANO because line breaking into two or more lines is automatically triggered when you add characters to long lines. it is not triggered if you just delete characters. If you do cause a line break then quit the editor WITHOUT saving and try again or then use the editor to rejoin the two lines. Note that pressing Alt+L will turn long line breaking off and on which avoids the problem in the first place.&lt;br /&gt;
&lt;br /&gt;
Press Ctrl+X to exit the editor&lt;/div&gt;</summary>
		<author><name>Ashwin</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Procedures&amp;diff=727</id>
		<title>Procedures</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=Procedures&amp;diff=727"/>
		<updated>2011-08-11T06:58:54Z</updated>

		<summary type="html">&lt;p&gt;Ashwin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Here are procedures to be followed by Support Staff in respect to various technical matters in day to day operations of client issues.&lt;br /&gt;
&lt;br /&gt;
== NEOSYS Support Policies ==&lt;br /&gt;
In order to maintain good payment speed by clients NEOSYS needs to restrict support to clients that dont pay their bills on time, however the degree of restriction needs to depend on an intimate knowledge of the client which cannot be expected from all NEOSYS support staff. Therefore we will use a simple escalation policy as follows:&lt;br /&gt;
&lt;br /&gt;
NEOSYS SUPPORT MANAGERS WILL maintain an overdue/stop list on a whiteboard visible to all support staff. Generally clients will go on the list when their invoice is seven days overdue and come off only after satisfactory commitment to pay have been obtained.&lt;br /&gt;
&lt;br /&gt;
NEOSYS SUPPORT STAFF WILL discretely refer any calls for support from client on the overdue/stop list to support managers for handling.&lt;br /&gt;
&lt;br /&gt;
This policy excludes:&lt;br /&gt;
# Contacting the client to change the USB disk on the scheduled day, in case they haven&#039;t done so by 12 pm&lt;br /&gt;
# Contacting the client or if the client contacts support staff regarding backup failures and to take measures to fix these failures&lt;br /&gt;
&lt;br /&gt;
== Client Password Policy ==&lt;br /&gt;
All client user passwords, including their initial one, are to be obtained via the user&#039;s email address using the password reminder/reset button on the login screen.&lt;br /&gt;
&lt;br /&gt;
NEOSYS staff should never know users passwords therefore NEOSYS will not obtain and grant user passwords.&lt;br /&gt;
&lt;br /&gt;
=== Support requests from ordinary client users ===&lt;br /&gt;
Any support requests concerning inability to obtain passwords will be forwarded to known skilled users on the client staff since this is the most efficient (not fastest) way to handle such issues.&lt;br /&gt;
&lt;br /&gt;
=== Support requests from senior client management ===&lt;br /&gt;
Any support requests concerning inability to obtain passwords by senior client management users shall be handled directly by NEOSYS support staff in any way convenient to resolve the issue in the quickest possible time rather than the most efficient.&lt;br /&gt;
&lt;br /&gt;
Bearing in mind that NEOSYS staff should never know user&#039;s passwords this will probably involve NEOSYS staff using the Password Reminder/Reset button to send a new password to the user.&lt;br /&gt;
&lt;br /&gt;
=== User Defined Passwords ===&lt;br /&gt;
NEOSYS will provide user defined passwords in very special cases which must be pre-approved case by case by NEOSYS management. For many reasons, NEOSYS will not approve.&lt;br /&gt;
&lt;br /&gt;
Currently this permission has only been granted to one NEOSYS client with several hundred of databases.&lt;br /&gt;
&lt;br /&gt;
== Handling client issues ==&lt;br /&gt;
=== Handling error messages ===&lt;br /&gt;
#The very first step is understanding client problem.&lt;br /&gt;
#Ask the client what error does he gets on the screen.&lt;br /&gt;
#If error seems to be familiar then resolve it over the phone.&lt;br /&gt;
#If error is unknown then ask user to send a screenshot of the error displayed along with the options used (basically you need to know HOW to replicate the error)&lt;br /&gt;
#Upon receipt of the error, check in all the wikis for a solution.&lt;br /&gt;
#If the issue is unknown or you don’t understand it clearly ask the user then use remote support to gain access to the users desktop to view how to replicate the error. &lt;br /&gt;
&lt;br /&gt;
If it is new issue then report by escalation the same issue to your manager with a brief explanation.&lt;br /&gt;
&lt;br /&gt;
=== Handling problems with report totals ===&lt;br /&gt;
Questions with regards to report totals should not be escalated to the programmers without following this procedure. If the total can be be broken down into items (as they nearly always can be in NEOSYS) then only a problem where the items dont add up to a total should be escalated, since that would be a system error.&lt;br /&gt;
&lt;br /&gt;
== Handling Nagios Client Monitoring system ==&lt;br /&gt;
&lt;br /&gt;
Nagios is configured to display information pertaining to all NEOSYS client&#039;s server statuses which include multiple services such as:&lt;br /&gt;
# HTTPS: Most of NEOSYS clients are configured to have external web access via secure HTTP protocol (port 4430) from outside office. Nagios is configured to check port 4430 on a regular interval of 10 minutes and display any issues in accessing the same.&lt;br /&gt;
# SSH: As part of the support contract, NEOSYS should have external secure access to the client server usually over port 19580. Nagios is configured to check this port on a regular interval of 10 minutes and display any issues in accessing the same.&lt;br /&gt;
# Ping: Nagios is also configured to ping the client router as a measure to check if router responds incase the NEOSYS server is down.&lt;br /&gt;
# NEOSYS: This service works in a reverse direction, and the NEOSYS installation on the client server sends information such as databases running, current backup status, internal and internet IP addressess etc to Nagios on a regular interval of 10 minutes.&lt;br /&gt;
&lt;br /&gt;
Some key information about Nagios is as follows:&lt;br /&gt;
* Nagios is also configured to display information related to internal servers. &lt;br /&gt;
* Clients hosted on a NEOSYS cloud server might not have services such as SSH or PING as this is monitored as part of the internal server service.&lt;br /&gt;
* Nagios sends out email alerts to support2@neosys.com (which is forwarded to support@neosys.com) from 8 am to 12 midnight on all Dubai working days (Sun-Thu). No alerts are sent out on Fri and Sat, unless they are for NEOSYS internal servers.&lt;br /&gt;
&lt;br /&gt;
NEOSYS support staff on duty has to follow the below outlined procedures in case of any Nagios items showing a critical or warning message for any service:&lt;br /&gt;
&lt;br /&gt;
# Nagios is required to be checked first thing in the morning and any critical or warning messages need to be dealth with to resolve the same at the earliest. &lt;br /&gt;
# Some of the messages could be related to backup failures and the usual procedure as stated in #Backup Procedures needs to be followed. In case the backup issue isn&#039;t resolved by 9:30 am, the Nagios service needs to be scheduled with downtime for a minimum of 2 hours and maximum until 1 am next day if the issue cannot be solved.&lt;br /&gt;
# In case any HTTPS, SSH or PING service is down, immediate action is required and the relevant IT people at the client side needs to be contacted to get this resolved. A downtime of 2 hours is required to be scheduled with further intervals of 2 hours incase this is not resolved. Support staff shouldn&#039;t schedule downtime till 1 am next day, just to get rid of the alerts for the day. Proactive follow up with the client is required to get this resolved before the business day - more so, if there is a weekend ahead.&lt;br /&gt;
# In case the HTTPS, SSH or PING service goes down during the day, a grace period of 20 minutes is given before the issue is reported to the client IT. This helps incase there is any temporary internet connection issue at the client or along the internet route.&lt;br /&gt;
# In case of &amp;quot;Backup not changed&amp;quot; warning status which occurs if the client has not interchanged the USB before 12 noon on that day, no action is required from the support staff and a downtime until 1 am next day needs to be scheduled.&lt;br /&gt;
&lt;br /&gt;
== Backup Procedures ==&lt;br /&gt;
=== Preparing daily backup report ===&lt;br /&gt;
# Note the success, failure and other error of the clients backup mail in an excel sheet and forward the same to your manager.&lt;br /&gt;
# If there is a backup failure or backup is not available, check wiki to take necessary steps.&lt;br /&gt;
# If there is any unknown error, forward the same to your manager.&lt;br /&gt;
&lt;br /&gt;
=== Updating Nagios incase of failures ===&lt;br /&gt;
# If the backup failure is unsolved, schedule downtime Neosys service in Nagios till 01 am.&lt;br /&gt;
# If the backup did not happen because of server down. Call the IT person; ask him to re-boot the server and check wiki to do necessary step ahead and schedule downtime to Nagios for 2hours.&lt;br /&gt;
# If there is an error &amp;quot;Backup-&amp;gt;Impossible&amp;quot; on Nagios check wiki and schedule downtime to Nagios for 2hours.&lt;br /&gt;
&lt;br /&gt;
=== Interchange backup USB mail reminder ===&lt;br /&gt;
# Basically all the clients have different days to change their backup USB. All the notification can be seen on Nagios at 12.00 pm every day.&lt;br /&gt;
# When you see the change backup notification on Nagios at 12.00 pm, send a mail to the IT person or the person who changes the USB. As you send the mail schedule downtime for Neosys services for two hours.&lt;br /&gt;
# Check the Nagios at 2.00 pm if the backup USB is changed, don&#039;t send another mail and stop there. But if backup is still not yet changed, send a another mail and this time cc the mail to your manager. After sending the mail, schedule downtime for Neosys service for more two hours.&lt;br /&gt;
# Now at 4.00 pm if you still find the backup USB not changed. Call the IT person and ask him to change the USB ASAP and schedule downtime for Neosys services for one hour.&lt;br /&gt;
# Now at 5.00 pm check Nagios and see if the backup USB is changed and if not changed. Send the mail to everyone from the backup mail.&lt;br /&gt;
# If the backup is still not changed, escalate the issue to your manager.&lt;br /&gt;
&lt;br /&gt;
=== Finding out which USB is inserted into the server ===&lt;br /&gt;
As we ask the client to have 3 USB&#039;s and interchange them weekly, we also need to sometimes track which one of these 3 USB&#039;s are inserted into the server. USB&#039;s can be tracked using their volume serial number in most cases. To find this out either go to the command prompt and type VOL or in the nightly backup message check for the 2nd line (which looks like this - 14/12/2009 2:45pm Media: 705B-5B5F). However serial numbers can be the same even for different USB&#039;s.&lt;br /&gt;
&lt;br /&gt;
== Client relocating operations to a new premises == &lt;br /&gt;
&lt;br /&gt;
Ensure that the following procedure is followed by the clients IT staff prior to relocation:&lt;br /&gt;
&lt;br /&gt;
# Login to the NEOSYS server and shut down all the processes by hitting the ESC button on each of the window three times or until they close&lt;br /&gt;
# Take a backup of the D drive on another system or network / external drive&lt;br /&gt;
# Remove the USB plugged in and secure the same along with the other two USB’s in a safe location&lt;br /&gt;
# The NEOSYS server may now be shutdown and moved to the new premises&lt;br /&gt;
&lt;br /&gt;
Post relocation, the clients IT staff must ensure the following immediately:&lt;br /&gt;
&lt;br /&gt;
# Connect the server to the local network and complete all setup required for users to be able to access the system internally&lt;br /&gt;
# Configure the firewall and/or port settings to enable NEOSYS support staff to connect to the server externally &lt;br /&gt;
# Provide NEOSYS support with the new fixed IP address so that the connection can be tested.&lt;br /&gt;
&lt;br /&gt;
== Creating and Handling passwords ==&lt;br /&gt;
Passwords made out of a pass phrase should be at least 10 characters since using initials results in a lot of i&#039;s and a&#039;s etc which reduces the effectiveness of the password and allows hacking via brute force guessing especially since windows doesnt slow down logins even if it sees thousands of password attempts.&lt;br /&gt;
&lt;br /&gt;
=== Creating a password ===&lt;br /&gt;
Passwords are generated from a pass phrase and it is important to create a very difficult to guess pass phrase.&lt;br /&gt;
&lt;br /&gt;
For example, a good pass phrase would be: &#039;&#039;&#039;Today is a good day and it is the best time to go for a holiday&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The password for this would be &#039;&#039;&#039;Tiagdaiitbt2g4ah&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The important instructions for the above are:&lt;br /&gt;
#You have to take the first letter of each word and that makes your password (i.e. by using initials)&lt;br /&gt;
#Wherever any word starts with a capital, then you have to take first letter as a capital (eg. For Today you will take T)&lt;br /&gt;
#Replace &#039;&#039;&#039;and&#039;&#039;&#039; with &#039;&#039;&#039;&amp;amp;&#039;&#039;&#039;&lt;br /&gt;
#Replace &#039;&#039;&#039;to&#039;&#039;&#039; with &#039;&#039;&#039;2&#039;&#039;&#039;&lt;br /&gt;
#Replace &#039;&#039;&#039;for&#039;&#039;&#039; with &#039;&#039;&#039;4&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Handling passwords ===&lt;br /&gt;
#Never send the actual password - always send the pass phrase&lt;br /&gt;
#Make sure that the password created out of the pass phrase is at least 10 characters long since using initials results in a lot of i&#039;s and a&#039;s etc which reduces the effectiveness of the password and allows hacking via brute force guessing especially since windows doesnt slow down logins even if it sees thousands of password attempts&lt;br /&gt;
#Pass phrases are never to be sent by email, whatever the case maybe.&lt;br /&gt;
#Pass phrases can be sent by chat - however they have to be broken down in two parts and sent separately over two different messengers or if you are using Gtalk then use the &#039;off the record&#039; mode.&lt;br /&gt;
#Using SMS to send pass phrases is the best known way as of now.&lt;br /&gt;
#If you save the passwords on your system as a file, make sure the file is encrypted with a master password.&lt;br /&gt;
&lt;br /&gt;
==[[NEOSYS Maintenance Window]]==&lt;br /&gt;
&lt;br /&gt;
==Switching to a backup server==&lt;br /&gt;
&lt;br /&gt;
As NEOSYS provides clients with option of backing up their data to a remote NEOSYS server in case of emergencies or server problems, it is crucial you understand the below procedure on how to switch to a backup server in the event of such a situation. Extreme care must be taken when switching over to using a backup server otherwise unnecessary data loss is very likely.&lt;br /&gt;
&lt;br /&gt;
Backup servers are normally switched off and should not be started automatically otherwise there is a serious risk of the client’s staff working on two systems. It is not possible to merge two databases into one database. Before the backup server is enabled the main server must be disabled, and before the main server is re-enabled, the backup  server must be disabled again. This can be managed technically without requiring any decision from senior non-technical staff.&lt;br /&gt;
&lt;br /&gt;
However, there are also some potentially hard decisions about unavoidable loss of data versus continued system availability. *** Backup servers should therefore only be started with the written approval of the clients senior staff. A suitable email requesting approval follows.&lt;br /&gt;
&lt;br /&gt;
The following case assumes that the main server has gone down sometime during the working day and that therefore the data on the backup server is out of date. Allowing them to use the backup server therefore implies some loss of data. They may wish to lose the data. They may wish to work on the backup server data and then try to redo the work on the main server once it is restored. There are a variety of options depending on the situation.&lt;br /&gt;
&lt;br /&gt;
If the main server is still functioning AND you are reasonably sure that the database is not damaged (which is perhaps an unlikely situation if you need to use the backup server!), it may be sensible to trigger an additional “backup/sync” process to bring the backup server database up to date with the main server. Before you do this, it is advisable that you take a backup copy of the backup system on the backup  server. In this case there would be no data loss in using the backup.&lt;br /&gt;
&lt;br /&gt;
An additional option of providing usage of the backup server in read-only mode so that people can at least access some data is being developed. The backup server could be available continuously at any time in read-only mode. This article would then be related to switching a backup server into main operational mode.&lt;br /&gt;
&lt;br /&gt;
 Dear {senior staff} cc {IT staff}&lt;br /&gt;
 &lt;br /&gt;
 Please note that we can enable the backup server if you wish.&lt;br /&gt;
 &lt;br /&gt;
 However the data on the backup server is out of date since it is a copy of your main database as at 11/22/33 99:99.&lt;br /&gt;
 &lt;br /&gt;
 If you wish to allow work to be done on the backup server then any data entered on your main server since the above date will be lost if we &lt;br /&gt;
 subsequently copy the data on the backup server to the main server.&lt;br /&gt;
 &lt;br /&gt;
 If, after using the backup server, we do NOT copy the data on the back server to the main server then any data you have entered on the backup &lt;br /&gt;
 server/database will be lost.&lt;br /&gt;
 &lt;br /&gt;
 Please confirm a) you want to work on HOSTS2 database and that we should therefore enable it and b) you have disconnected your main server &lt;br /&gt;
 for the duration.&lt;br /&gt;
 &lt;br /&gt;
 Best Regards,&lt;br /&gt;
 xxxxxx xxxxxxx&lt;br /&gt;
 NEOSYS Support&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Description of Backup Procedure for the NEOSYS Client Hosting Server ==&lt;br /&gt;
&lt;br /&gt;
NEOSYS backup is a two phase process. It is mandatory that both phases are complete for the process to be considered a backup.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
#On the main NEOSYS server host(Schuberg Philis in Amsterdam as of Dec 2010)&amp;lt;br&amp;gt;Every night, the NEOSYS process for selected databases stops serving users at around 1:00 AM to 5:00 AM (local time of the client&#039;s main office) and performs the following procedure: &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; - All the database files are checked for physical corruption.&amp;lt;br&amp;gt; - All the database files are zipped into a file who&#039;s path would be something like C:\DATA.BAK\CLIENTX\MONDAY\BACKUP.ZIP file.&amp;lt;br&amp;gt; - The file having the same name as that of the corresponding day of the week as last week is overwritten.A &amp;quot;backup alert&amp;quot; email indicating success or failure is sent to senior managers at the client, the client’s IT manager and backups@neosys.com.&amp;lt;br&amp;gt; - An internal log (accessible on each database&#039;s Support Menu) is maintained as a record and in case the emails cannot be sent out for some reason.&amp;lt;br&amp;gt; - NEOSYS support staff in Dubai check the emails every morning Sunday through Thursday.&amp;lt;br&amp;gt; - In the case of failure, NEOSYS support staff in Dubai take appropriate action and send an email (to the same people who receive the automated backup alert emails) indicating what action has been taken.&amp;lt;br&amp;gt; - The above does not by itself constitute a proper backup because the backup is stored on the same server and physical disk as the actual data.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
#On the NEOSYS backup server host (in NEOSYS Dubai Office as of Dec 2010 but could be changed without notice to EvoSwitch in Amsterdam).&amp;lt;br&amp;gt; - At around 02:00-02:30 AM GMT daily, NEOSYS&#039;s backup server copies (replicates) all the BACKUP.ZIP files from the main NEOSYS server host to itself.&amp;lt;br&amp;gt; - An email indicating success or failure is sent to NEOSYS support staff (only) who deal with it in a similar way to phase 1, except that only NEOSYS management are updated.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Cutting and Pasting NEOSYS Maintenance Mode Messages into Wiki ==&lt;br /&gt;
&lt;br /&gt;
Error messages expressed as images are not searchable.&lt;br /&gt;
&lt;br /&gt;
Therefore SELECT THE TEXT OF MAINTENANCE MODE WINDOWS using right click on window heading, Edit, Mark, Copy .. not graphical copy.&lt;br /&gt;
 &lt;br /&gt;
Then paste the text into wiki and surround with &amp;quot;&amp;lt; pre&amp;gt;&amp;quot; and &amp;quot;&amp;lt; /pre&amp;gt;&amp;quot; tags (without the space) as follows:&lt;br /&gt;
&lt;br /&gt;
[[image:loginmessage.jpg]]&lt;br /&gt;
&lt;br /&gt;
the result is searchable text as follows ...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
╔════════════════════════════╗&lt;br /&gt;
║      NEOSYS SECURITY       ║&lt;br /&gt;
║    What is your name ?     ║&lt;br /&gt;
║                            ║&lt;br /&gt;
║   [                    ]   ║&lt;br /&gt;
║                            ║&lt;br /&gt;
║  Please enter your name,   ║&lt;br /&gt;
║   or press Esc to exit.    ║&lt;br /&gt;
╚════════════════════════════╝&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ashwin</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Procedures&amp;diff=726</id>
		<title>Procedures</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=Procedures&amp;diff=726"/>
		<updated>2011-08-11T06:57:59Z</updated>

		<summary type="html">&lt;p&gt;Ashwin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Here are procedures to be followed by Support Staff in respect to various technical matters in day to day operations of client issues.&lt;br /&gt;
&lt;br /&gt;
== NEOSYS Support Policies ==&lt;br /&gt;
In order to maintain good payment speed by clients NEOSYS needs to restrict support to clients that dont pay their bills on time, however the degree of restriction needs to depend on an intimate knowledge of the client which cannot be expected from all NEOSYS support staff. Therefore we will use a simple escalation policy as follows:&lt;br /&gt;
&lt;br /&gt;
NEOSYS SUPPORT MANAGERS WILL maintain an overdue/stop list on a whiteboard visible to all support staff. Generally clients will go on the list when their invoice is seven days overdue and come off only after satisfactory commitment to pay have been obtained.&lt;br /&gt;
&lt;br /&gt;
NEOSYS SUPPORT STAFF WILL discretely refer any calls for support from client on the overdue/stop list to support managers for handling.&lt;br /&gt;
&lt;br /&gt;
This policy excludes:&lt;br /&gt;
# Contacting the client to change the USB disk on the scheduled day, in case they haven&#039;t done so by 12 pm&lt;br /&gt;
# Contacting the client or if the client contacts support staff regarding backup failures and to take measures to fix these failures&lt;br /&gt;
&lt;br /&gt;
== Client Password Policy ==&lt;br /&gt;
All client user passwords, including their initial one, are to be obtained via the user&#039;s email address using the password reminder/reset button on the login screen.&lt;br /&gt;
&lt;br /&gt;
NEOSYS staff should never know users passwords therefore NEOSYS will not obtain and grant user passwords.&lt;br /&gt;
&lt;br /&gt;
=== Support requests from ordinary client users ===&lt;br /&gt;
Any support requests concerning inability to obtain passwords will be forwarded to known skilled users on the client staff since this is the most efficient (not fastest) way to handle such issues.&lt;br /&gt;
&lt;br /&gt;
=== Support requests from senior client management ===&lt;br /&gt;
Any support requests concerning inability to obtain passwords by senior client management users shall be handled directly by NEOSYS support staff in any way convenient to resolve the issue in the quickest possible time rather than the most efficient.&lt;br /&gt;
&lt;br /&gt;
Bearing in mind that NEOSYS staff should never know user&#039;s passwords this will probably involve NEOSYS staff using the Password Reminder/Reset button to send a new password to the user.&lt;br /&gt;
&lt;br /&gt;
=== User Defined Passwords ===&lt;br /&gt;
NEOSYS will provide user defined passwords in very special cases which must be pre-approved case by case by NEOSYS management. For many reasons, NEOSYS will not approve.&lt;br /&gt;
&lt;br /&gt;
Currently this permission has only been granted to one NEOSYS client with several hundred of databases.&lt;br /&gt;
&lt;br /&gt;
== Handling client issues ==&lt;br /&gt;
=== Handling error messages ===&lt;br /&gt;
#The very first step is understanding client problem.&lt;br /&gt;
#Ask the client what error does he gets on the screen.&lt;br /&gt;
#If error seems to be familiar then resolve it over the phone.&lt;br /&gt;
#If error is unknown then ask user to send a screenshot of the error displayed along with the options used (basically you need to know HOW to replicate the error)&lt;br /&gt;
#Upon receipt of the error, check in all the wikis for a solution.&lt;br /&gt;
#If the issue is unknown or you don’t understand it clearly ask the user then use remote support to gain access to the users desktop to view how to replicate the error. &lt;br /&gt;
&lt;br /&gt;
If it is new issue then report by escalation the same issue to your manager with a brief explanation.&lt;br /&gt;
&lt;br /&gt;
=== Handling problems with report totals ===&lt;br /&gt;
Questions with regards to report totals should not be escalated to the programmers without following this procedure. If the total can be be broken down into items (as they nearly always can be in NEOSYS) then only a problem where the items dont add up to a total should be escalated, since that would be a system error.&lt;br /&gt;
&lt;br /&gt;
== Handling Nagios Client Monitoring system ==&lt;br /&gt;
&lt;br /&gt;
Nagios is configured to display information pertaining to all NEOSYS client&#039;s server statuses which include multiple services such as:&lt;br /&gt;
# HTTPS: Most of NEOSYS clients are configured to have external web access via secure HTTP protocol (port 4430) from outside office. Nagios is configured to check port 4430 on a regular interval of 10 minutes and display any issues in accessing the same.&lt;br /&gt;
# SSH: As part of the support contract, NEOSYS should have external secure access to the client server usually over port 19580. Nagios is configured to check this port on a regular interval of 10 minutes and display any issues in accessing the same.&lt;br /&gt;
# Ping: Nagios is also configured to ping the client router as a measure to check if router responds incase the NEOSYS server is down.&lt;br /&gt;
# NEOSYS: This service works in a reverse direction, and the NEOSYS installation on the client server sends information such as databases running, current backup status, internal and internet IP addressess etc to Nagios on a regular interval of 10 minutes.&lt;br /&gt;
&lt;br /&gt;
Some key information about Nagios is as follows:&lt;br /&gt;
* Nagios is also configured to display information related to internal servers. &lt;br /&gt;
* Clients hosted on a NEOSYS cloud server might not have services such as SSH or PING as this is monitored as part of the internal server service.&lt;br /&gt;
* Nagios sends out email alerts to support2@neosys.com (which is forwarded to support@neosys.com) from 8 am to 12 midnight on all Dubai working days (Sun-Thu). No alerts are sent out on Fri and Sat, unless they are for NEOSYS internal servers.&lt;br /&gt;
&lt;br /&gt;
NEOSYS support staff on duty has to follow the below outlined procedures in case of any Nagios items showing a critical or warning message for any service:&lt;br /&gt;
&lt;br /&gt;
# Nagios is required to be checked first thing in the morning and any critical or warning messages need to be dealth with to resolve the same at the earliest. &lt;br /&gt;
# Some of the messages could be related to backup failures and the usual procedure as stated in [[Backup Procedures]] needs to be followed. In case the backup issue isn&#039;t resolved by 9:30 am, the Nagios service needs to be scheduled with downtime for a minimum of 2 hours and maximum until 1 am next day if the issue cannot be solved.&lt;br /&gt;
# In case any HTTPS, SSH or PING service is down, immediate action is required and the relevant IT people at the client side needs to be contacted to get this resolved. A downtime of 2 hours is required to be scheduled with further intervals of 2 hours incase this is not resolved. Support staff shouldn&#039;t schedule downtime till 1 am next day, just to get rid of the alerts for the day. Proactive follow up with the client is required to get this resolved before the business day - more so, if there is a weekend ahead.&lt;br /&gt;
# In case the HTTPS, SSH or PING service goes down during the day, a grace period of 20 minutes is given before the issue is reported to the client IT. This helps incase there is any temporary internet connection issue at the client or along the internet route.&lt;br /&gt;
# In case of &amp;quot;Backup not changed&amp;quot; warning status which occurs if the client has not interchanged the USB before 12 noon on that day, no action is required from the support staff and a downtime until 1 am next day needs to be scheduled.&lt;br /&gt;
&lt;br /&gt;
== Backup Procedures ==&lt;br /&gt;
=== Preparing daily backup report ===&lt;br /&gt;
# Note the success, failure and other error of the clients backup mail in an excel sheet and forward the same to your manager.&lt;br /&gt;
# If there is a backup failure or backup is not available, check wiki to take necessary steps.&lt;br /&gt;
# If there is any unknown error, forward the same to your manager.&lt;br /&gt;
&lt;br /&gt;
=== Updating Nagios incase of failures ===&lt;br /&gt;
# If the backup failure is unsolved, schedule downtime Neosys service in Nagios till 01 am.&lt;br /&gt;
# If the backup did not happen because of server down. Call the IT person; ask him to re-boot the server and check wiki to do necessary step ahead and schedule downtime to Nagios for 2hours.&lt;br /&gt;
# If there is an error &amp;quot;Backup-&amp;gt;Impossible&amp;quot; on Nagios check wiki and schedule downtime to Nagios for 2hours.&lt;br /&gt;
&lt;br /&gt;
=== Interchange backup USB mail reminder ===&lt;br /&gt;
# Basically all the clients have different days to change their backup USB. All the notification can be seen on Nagios at 12.00 pm every day.&lt;br /&gt;
# When you see the change backup notification on Nagios at 12.00 pm, send a mail to the IT person or the person who changes the USB. As you send the mail schedule downtime for Neosys services for two hours.&lt;br /&gt;
# Check the Nagios at 2.00 pm if the backup USB is changed, don&#039;t send another mail and stop there. But if backup is still not yet changed, send a another mail and this time cc the mail to your manager. After sending the mail, schedule downtime for Neosys service for more two hours.&lt;br /&gt;
# Now at 4.00 pm if you still find the backup USB not changed. Call the IT person and ask him to change the USB ASAP and schedule downtime for Neosys services for one hour.&lt;br /&gt;
# Now at 5.00 pm check Nagios and see if the backup USB is changed and if not changed. Send the mail to everyone from the backup mail.&lt;br /&gt;
# If the backup is still not changed, escalate the issue to your manager.&lt;br /&gt;
&lt;br /&gt;
=== Finding out which USB is inserted into the server ===&lt;br /&gt;
As we ask the client to have 3 USB&#039;s and interchange them weekly, we also need to sometimes track which one of these 3 USB&#039;s are inserted into the server. USB&#039;s can be tracked using their volume serial number in most cases. To find this out either go to the command prompt and type VOL or in the nightly backup message check for the 2nd line (which looks like this - 14/12/2009 2:45pm Media: 705B-5B5F). However serial numbers can be the same even for different USB&#039;s.&lt;br /&gt;
&lt;br /&gt;
== Client relocating operations to a new premises == &lt;br /&gt;
&lt;br /&gt;
Ensure that the following procedure is followed by the clients IT staff prior to relocation:&lt;br /&gt;
&lt;br /&gt;
# Login to the NEOSYS server and shut down all the processes by hitting the ESC button on each of the window three times or until they close&lt;br /&gt;
# Take a backup of the D drive on another system or network / external drive&lt;br /&gt;
# Remove the USB plugged in and secure the same along with the other two USB’s in a safe location&lt;br /&gt;
# The NEOSYS server may now be shutdown and moved to the new premises&lt;br /&gt;
&lt;br /&gt;
Post relocation, the clients IT staff must ensure the following immediately:&lt;br /&gt;
&lt;br /&gt;
# Connect the server to the local network and complete all setup required for users to be able to access the system internally&lt;br /&gt;
# Configure the firewall and/or port settings to enable NEOSYS support staff to connect to the server externally &lt;br /&gt;
# Provide NEOSYS support with the new fixed IP address so that the connection can be tested.&lt;br /&gt;
&lt;br /&gt;
== Creating and Handling passwords ==&lt;br /&gt;
Passwords made out of a pass phrase should be at least 10 characters since using initials results in a lot of i&#039;s and a&#039;s etc which reduces the effectiveness of the password and allows hacking via brute force guessing especially since windows doesnt slow down logins even if it sees thousands of password attempts.&lt;br /&gt;
&lt;br /&gt;
=== Creating a password ===&lt;br /&gt;
Passwords are generated from a pass phrase and it is important to create a very difficult to guess pass phrase.&lt;br /&gt;
&lt;br /&gt;
For example, a good pass phrase would be: &#039;&#039;&#039;Today is a good day and it is the best time to go for a holiday&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The password for this would be &#039;&#039;&#039;Tiagdaiitbt2g4ah&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The important instructions for the above are:&lt;br /&gt;
#You have to take the first letter of each word and that makes your password (i.e. by using initials)&lt;br /&gt;
#Wherever any word starts with a capital, then you have to take first letter as a capital (eg. For Today you will take T)&lt;br /&gt;
#Replace &#039;&#039;&#039;and&#039;&#039;&#039; with &#039;&#039;&#039;&amp;amp;&#039;&#039;&#039;&lt;br /&gt;
#Replace &#039;&#039;&#039;to&#039;&#039;&#039; with &#039;&#039;&#039;2&#039;&#039;&#039;&lt;br /&gt;
#Replace &#039;&#039;&#039;for&#039;&#039;&#039; with &#039;&#039;&#039;4&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Handling passwords ===&lt;br /&gt;
#Never send the actual password - always send the pass phrase&lt;br /&gt;
#Make sure that the password created out of the pass phrase is at least 10 characters long since using initials results in a lot of i&#039;s and a&#039;s etc which reduces the effectiveness of the password and allows hacking via brute force guessing especially since windows doesnt slow down logins even if it sees thousands of password attempts&lt;br /&gt;
#Pass phrases are never to be sent by email, whatever the case maybe.&lt;br /&gt;
#Pass phrases can be sent by chat - however they have to be broken down in two parts and sent separately over two different messengers or if you are using Gtalk then use the &#039;off the record&#039; mode.&lt;br /&gt;
#Using SMS to send pass phrases is the best known way as of now.&lt;br /&gt;
#If you save the passwords on your system as a file, make sure the file is encrypted with a master password.&lt;br /&gt;
&lt;br /&gt;
==[[NEOSYS Maintenance Window]]==&lt;br /&gt;
&lt;br /&gt;
==Switching to a backup server==&lt;br /&gt;
&lt;br /&gt;
As NEOSYS provides clients with option of backing up their data to a remote NEOSYS server in case of emergencies or server problems, it is crucial you understand the below procedure on how to switch to a backup server in the event of such a situation. Extreme care must be taken when switching over to using a backup server otherwise unnecessary data loss is very likely.&lt;br /&gt;
&lt;br /&gt;
Backup servers are normally switched off and should not be started automatically otherwise there is a serious risk of the client’s staff working on two systems. It is not possible to merge two databases into one database. Before the backup server is enabled the main server must be disabled, and before the main server is re-enabled, the backup  server must be disabled again. This can be managed technically without requiring any decision from senior non-technical staff.&lt;br /&gt;
&lt;br /&gt;
However, there are also some potentially hard decisions about unavoidable loss of data versus continued system availability. *** Backup servers should therefore only be started with the written approval of the clients senior staff. A suitable email requesting approval follows.&lt;br /&gt;
&lt;br /&gt;
The following case assumes that the main server has gone down sometime during the working day and that therefore the data on the backup server is out of date. Allowing them to use the backup server therefore implies some loss of data. They may wish to lose the data. They may wish to work on the backup server data and then try to redo the work on the main server once it is restored. There are a variety of options depending on the situation.&lt;br /&gt;
&lt;br /&gt;
If the main server is still functioning AND you are reasonably sure that the database is not damaged (which is perhaps an unlikely situation if you need to use the backup server!), it may be sensible to trigger an additional “backup/sync” process to bring the backup server database up to date with the main server. Before you do this, it is advisable that you take a backup copy of the backup system on the backup  server. In this case there would be no data loss in using the backup.&lt;br /&gt;
&lt;br /&gt;
An additional option of providing usage of the backup server in read-only mode so that people can at least access some data is being developed. The backup server could be available continuously at any time in read-only mode. This article would then be related to switching a backup server into main operational mode.&lt;br /&gt;
&lt;br /&gt;
 Dear {senior staff} cc {IT staff}&lt;br /&gt;
 &lt;br /&gt;
 Please note that we can enable the backup server if you wish.&lt;br /&gt;
 &lt;br /&gt;
 However the data on the backup server is out of date since it is a copy of your main database as at 11/22/33 99:99.&lt;br /&gt;
 &lt;br /&gt;
 If you wish to allow work to be done on the backup server then any data entered on your main server since the above date will be lost if we &lt;br /&gt;
 subsequently copy the data on the backup server to the main server.&lt;br /&gt;
 &lt;br /&gt;
 If, after using the backup server, we do NOT copy the data on the back server to the main server then any data you have entered on the backup &lt;br /&gt;
 server/database will be lost.&lt;br /&gt;
 &lt;br /&gt;
 Please confirm a) you want to work on HOSTS2 database and that we should therefore enable it and b) you have disconnected your main server &lt;br /&gt;
 for the duration.&lt;br /&gt;
 &lt;br /&gt;
 Best Regards,&lt;br /&gt;
 xxxxxx xxxxxxx&lt;br /&gt;
 NEOSYS Support&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Description of Backup Procedure for the NEOSYS Client Hosting Server ==&lt;br /&gt;
&lt;br /&gt;
NEOSYS backup is a two phase process. It is mandatory that both phases are complete for the process to be considered a backup.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
#On the main NEOSYS server host(Schuberg Philis in Amsterdam as of Dec 2010)&amp;lt;br&amp;gt;Every night, the NEOSYS process for selected databases stops serving users at around 1:00 AM to 5:00 AM (local time of the client&#039;s main office) and performs the following procedure: &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; - All the database files are checked for physical corruption.&amp;lt;br&amp;gt; - All the database files are zipped into a file who&#039;s path would be something like C:\DATA.BAK\CLIENTX\MONDAY\BACKUP.ZIP file.&amp;lt;br&amp;gt; - The file having the same name as that of the corresponding day of the week as last week is overwritten.A &amp;quot;backup alert&amp;quot; email indicating success or failure is sent to senior managers at the client, the client’s IT manager and backups@neosys.com.&amp;lt;br&amp;gt; - An internal log (accessible on each database&#039;s Support Menu) is maintained as a record and in case the emails cannot be sent out for some reason.&amp;lt;br&amp;gt; - NEOSYS support staff in Dubai check the emails every morning Sunday through Thursday.&amp;lt;br&amp;gt; - In the case of failure, NEOSYS support staff in Dubai take appropriate action and send an email (to the same people who receive the automated backup alert emails) indicating what action has been taken.&amp;lt;br&amp;gt; - The above does not by itself constitute a proper backup because the backup is stored on the same server and physical disk as the actual data.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
#On the NEOSYS backup server host (in NEOSYS Dubai Office as of Dec 2010 but could be changed without notice to EvoSwitch in Amsterdam).&amp;lt;br&amp;gt; - At around 02:00-02:30 AM GMT daily, NEOSYS&#039;s backup server copies (replicates) all the BACKUP.ZIP files from the main NEOSYS server host to itself.&amp;lt;br&amp;gt; - An email indicating success or failure is sent to NEOSYS support staff (only) who deal with it in a similar way to phase 1, except that only NEOSYS management are updated.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Cutting and Pasting NEOSYS Maintenance Mode Messages into Wiki ==&lt;br /&gt;
&lt;br /&gt;
Error messages expressed as images are not searchable.&lt;br /&gt;
&lt;br /&gt;
Therefore SELECT THE TEXT OF MAINTENANCE MODE WINDOWS using right click on window heading, Edit, Mark, Copy .. not graphical copy.&lt;br /&gt;
 &lt;br /&gt;
Then paste the text into wiki and surround with &amp;quot;&amp;lt; pre&amp;gt;&amp;quot; and &amp;quot;&amp;lt; /pre&amp;gt;&amp;quot; tags (without the space) as follows:&lt;br /&gt;
&lt;br /&gt;
[[image:loginmessage.jpg]]&lt;br /&gt;
&lt;br /&gt;
the result is searchable text as follows ...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
╔════════════════════════════╗&lt;br /&gt;
║      NEOSYS SECURITY       ║&lt;br /&gt;
║    What is your name ?     ║&lt;br /&gt;
║                            ║&lt;br /&gt;
║   [                    ]   ║&lt;br /&gt;
║                            ║&lt;br /&gt;
║  Please enter your name,   ║&lt;br /&gt;
║   or press Esc to exit.    ║&lt;br /&gt;
╚════════════════════════════╝&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ashwin</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Technical_/_Hardware_requirements&amp;diff=630</id>
		<title>Technical / Hardware requirements</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=Technical_/_Hardware_requirements&amp;diff=630"/>
		<updated>2010-12-13T05:25:34Z</updated>

		<summary type="html">&lt;p&gt;Ashwin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== Hardware requirements ===&lt;br /&gt;
# Entry level server computer &lt;br /&gt;
# 1 GB RAM &lt;br /&gt;
# 80 GB HDD &lt;br /&gt;
# No RAID&lt;br /&gt;
&lt;br /&gt;
=== Software requirements ===&lt;br /&gt;
# Windows 2003 or 2008 Standard Edition 32bit (not 64bit)&lt;br /&gt;
# Configured with two partitions on the hard disk (C &amp;amp; D)&lt;br /&gt;
# Configured as a workgroup and not as part of a domain&lt;br /&gt;
# No roles assigned for the server (eg DNS or DHCP or FILE SERVER)&lt;br /&gt;
# All service packs and updates applied (except no IE7 &amp;amp; IE8 incase of Windows 2003)&lt;br /&gt;
# No Anti-Virus or any other program loaded&lt;br /&gt;
# Copy the Windows CD or I386 folder to the C Drive&lt;br /&gt;
# Configured with an internal static IP (ie dynamic ip delivered by dhcp is not allowed)&lt;br /&gt;
&lt;br /&gt;
For single user installations:&lt;br /&gt;
&lt;br /&gt;
#Windows XP Professional 32bit&lt;br /&gt;
#Windows 7 Ultimate 32bit&lt;br /&gt;
#Windows 7 Professional 32bit&lt;br /&gt;
&lt;br /&gt;
=== Backup requirements ===&lt;br /&gt;
# 3 x 4 GB USB drives for backup&lt;br /&gt;
&lt;br /&gt;
=== Router requirements ===&lt;br /&gt;
# Username and password for the router / or someone who can configure port forwarding / virtual server configuration&lt;/div&gt;</summary>
		<author><name>Ashwin</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Administering_NEOSYS_Server&amp;diff=601</id>
		<title>Administering NEOSYS Server</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=Administering_NEOSYS_Server&amp;diff=601"/>
		<updated>2010-10-27T10:35:12Z</updated>

		<summary type="html">&lt;p&gt;Ashwin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Closing NEOSYS services]]&lt;br /&gt;
&lt;br /&gt;
[[Clearing File Locks]]&lt;br /&gt;
&lt;br /&gt;
[[Scheduling a reboot of the server]]&lt;br /&gt;
&lt;br /&gt;
[[Renaming a database name or code]]&lt;/div&gt;</summary>
		<author><name>Ashwin</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Administering_NEOSYS_Server&amp;diff=600</id>
		<title>Administering NEOSYS Server</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=Administering_NEOSYS_Server&amp;diff=600"/>
		<updated>2010-10-27T10:08:33Z</updated>

		<summary type="html">&lt;p&gt;Ashwin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Closing NEOSYS services]]&lt;br /&gt;
&lt;br /&gt;
[[Clearing File Locks]]&lt;br /&gt;
&lt;br /&gt;
[[Scheduling a reboot of the server]]&lt;br /&gt;
&lt;br /&gt;
[[Renaming a database code]]&lt;/div&gt;</summary>
		<author><name>Ashwin</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Administering_NEOSYS_Server&amp;diff=599</id>
		<title>Administering NEOSYS Server</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=Administering_NEOSYS_Server&amp;diff=599"/>
		<updated>2010-10-27T10:08:21Z</updated>

		<summary type="html">&lt;p&gt;Ashwin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Closing NEOSYS services]]&lt;br /&gt;
&lt;br /&gt;
[[Clearing File Locks]]&lt;br /&gt;
&lt;br /&gt;
[[Scheduling a reboot of the server]]&lt;br /&gt;
&lt;br /&gt;
[[Changing the database code]]&lt;/div&gt;</summary>
		<author><name>Ashwin</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Troubleshooting_NEOSYS_Generally&amp;diff=597</id>
		<title>Troubleshooting NEOSYS Generally</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=Troubleshooting_NEOSYS_Generally&amp;diff=597"/>
		<updated>2010-10-24T13:15:32Z</updated>

		<summary type="html">&lt;p&gt;Ashwin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Solving failure to start a NEOSYS server due to disk failure message ==&lt;br /&gt;
&lt;br /&gt;
=== Problem ===&lt;br /&gt;
During a reboot process (which maybe due to a Windows update or even done by a support personnel) the NEOSYS server gets hung on the startup and shows a message &amp;quot;Boot Failure - Abort, Retry&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
=== Temporary solution ===&lt;br /&gt;
This typically happens due to the USB being plugged into the server and the boot sequence being wrong - i.e. the server trying to boot from the USB first and fails. The immediate solution would be to unplug the USB and ask the client to reboot the server again and upon successfully rebooting the system, plug the USB back again.&lt;br /&gt;
&lt;br /&gt;
=== Permanent solution ===&lt;br /&gt;
The above problem will occur every time the computer is rebooted, so you need to immediately talk to the IT Administrator of the client and ask them to rectify the boot sequence to make it boot first from the CD ROM, then the HDD and last the USB.&lt;br /&gt;
&lt;br /&gt;
== Solving &amp;quot;Read error in the operating system file&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
=== Problem ===&lt;br /&gt;
&lt;br /&gt;
Nagios reports a hung process and on the server a process has the following message popup.&lt;br /&gt;
&lt;br /&gt;
 Read error in the operating system file &amp;quot;..\DATA\PT0833\ACCOUNTS\REV20049&lt;br /&gt;
 The file does not exist or the filename is&lt;br /&gt;
 not valid for the operating system.&lt;br /&gt;
&lt;br /&gt;
[[Image:readerrorintheoperatingsystemfile.png]]&lt;br /&gt;
&lt;br /&gt;
=== Cause ===&lt;br /&gt;
&lt;br /&gt;
Some non-NEOSYS program is directly accessing the NEOSYS database files while NEOSYS processes are running and using the files as well.&lt;br /&gt;
&lt;br /&gt;
*Client IT staff using a backup program to perform backup without ensuring that NEOSYS processes are shutdown.&lt;br /&gt;
*A NEOSYS rsync process taking longer than expected due to new USB.&lt;br /&gt;
&lt;br /&gt;
=== Solution ===&lt;br /&gt;
&lt;br /&gt;
Kill the NEOSYS process eg with the X button. It is advisable NOT to let it run further while it cannot properly access one of its files.&lt;br /&gt;
&lt;br /&gt;
=== Prevention ===&lt;br /&gt;
&lt;br /&gt;
Remove the third party program or arrange for it to operate only while NEOSYS processes are shutdown eg from 3am-6am.&lt;br /&gt;
&lt;br /&gt;
== Handling damaged files ==&lt;br /&gt;
&lt;br /&gt;
[[Handling damaged files]]&lt;br /&gt;
&lt;br /&gt;
== Checking for corrupt database files ==&lt;br /&gt;
&lt;br /&gt;
Login to NEOSYS Maintenance&lt;br /&gt;
&lt;br /&gt;
Press F5&lt;br /&gt;
&lt;br /&gt;
 CHK.FILES&lt;br /&gt;
&lt;br /&gt;
or &lt;br /&gt;
&lt;br /&gt;
 CHK.FILES filename&lt;br /&gt;
&lt;br /&gt;
== Assessing Database Size per File ==&lt;br /&gt;
 &lt;br /&gt;
In NEOSYS maintenance mode&lt;br /&gt;
 &lt;br /&gt;
 LIST FILES BY BY-DSND SIZE VOLUME.NAME SIZE&lt;br /&gt;
 &lt;br /&gt;
This will include all files not just those in the actual dataset in DATA\* folders.&lt;br /&gt;
&lt;br /&gt;
== Resolving slow speed ==&lt;br /&gt;
&lt;br /&gt;
[[Benchmarking NEOSYS]]&lt;br /&gt;
&lt;br /&gt;
== Handling failure and warning on nightly backup alerts ==&lt;br /&gt;
&lt;br /&gt;
[[Handling failure and warning messages on nightly backup alerts]]&lt;br /&gt;
&lt;br /&gt;
== Resolving permissions errors while logging in ==&lt;br /&gt;
 &lt;br /&gt;
=== Problem ===&lt;br /&gt;
 &lt;br /&gt;
While logging in, you get the following error message:&lt;br /&gt;
[[Image:login_error_message.jpg]]&lt;br /&gt;
 &lt;br /&gt;
=== Solution ===&lt;br /&gt;
 &lt;br /&gt;
Add the internet guest account to the security list of the data folder with the default permission of list/read/write&lt;br /&gt;
 &lt;br /&gt;
Make sure the read&amp;amp;execute permission is removed&lt;br /&gt;
[[Image:permissions_on_data.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Resolving the &#039;HTTP Error 500.0 - Internal Server Error&#039; while logging in on IE on a Windows Vista system ==&lt;br /&gt;
&lt;br /&gt;
=== Problem ===&lt;br /&gt;
After configuring IIS on Windows Vista you will get this error message while trying to login into NEOSYS from Internet Explorer:&lt;br /&gt;
&lt;br /&gt;
 HTTP Error 500.0 - Internal Server Error&lt;br /&gt;
 Description: This application is running in an application pool that uses the Integrated .NET  &lt;br /&gt;
 mode. This is the preferred mode for running ASP.NET applications on the current and future &lt;br /&gt;
 version of IIS.&lt;br /&gt;
 &lt;br /&gt;
 In this mode, the application using client impersonation configured with &amp;lt;identity &lt;br /&gt;
 impersonate=&amp;quot;true&amp;quot; /&amp;gt; may not behave correctly. Client impersonation is not available in early &lt;br /&gt;
 ASP.NET request processing stages and may lead modules in those stages to execute with process &lt;br /&gt;
 identity instead.&lt;br /&gt;
&lt;br /&gt;
=== Solution ===&lt;br /&gt;
&lt;br /&gt;
You can move the application to an application pool that uses the Classic .NET mode by using the following from a command line window (the window must be running as Administrator) &lt;br /&gt;
&lt;br /&gt;
 %systemroot%\system32\inetsrv\APPCMD.EXE set app &amp;quot;Default Web Site/neosys&amp;quot; /applicationPool:&amp;quot;Classic .NET AppPool&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Alternatively, you can use any other application pool on your system that is running in the Classic .NET mode. You can also use the IIS Administration tool to move this application to another application pool.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Resolving the &#039;Class Not Registered&#039; error message while logging in ==&lt;br /&gt;
&lt;br /&gt;
=== Problem ===&lt;br /&gt;
While logging into NEOSYS, you will get a popup window giving an error message saying &#039;Class Not Registered - Server Error&#039;. Typically, you will encounter this error with XP Pro IIS 5.1. As usual, there&#039;s way to solve it, however the root cause of this is still unknown.&lt;br /&gt;
&lt;br /&gt;
Anyway, you will get the proper message in the event log:&lt;br /&gt;
&lt;br /&gt;
 Event Type: Warning&lt;br /&gt;
 Event Source: W3SVC&lt;br /&gt;
 Event Category: None&lt;br /&gt;
 Event ID: 36&lt;br /&gt;
 Description: The server failed to load application &#039;/LM/W3SVC/1/ROOT/NEOSYS.&lt;br /&gt;
 The error was &#039;Class not registered&#039;. &lt;br /&gt;
&lt;br /&gt;
=== Solution ===&lt;br /&gt;
So, what do you do ? This problem is related to Component Services, and when you open Component Services MMC, you will most probably  get  Error Code 8004E00F COM + was unable to talk to Microsoft Distributed Transaction Coordinator. So, fix the COM+ services first by using the following KB from Microsoft (PRB: Cannot Expand &amp;quot;My Computer&amp;quot; in Component Services MMC Snap-In http://support.microsoft.com/?id=301919):&lt;br /&gt;
&lt;br /&gt;
To resolve this problem, reinstall Component Services as follows: WARNING: &lt;br /&gt;
# Open registry editor, locate HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\COM3, and then delete this key.  &lt;br /&gt;
# From the Start menu, point to Settings, click Control Panel, and then click Add/Remove Programs.  &lt;br /&gt;
# Click Add/Remove Windows Components. &lt;br /&gt;
# Proceed through the wizard, and accept all of the defaults (including IIS)&lt;br /&gt;
# Restart the computer.&lt;br /&gt;
&lt;br /&gt;
If the above didn&#039;t solve it, and you still receive the &#039;Class not registered&#039; error message, then you need to recreate the IIS packages in COM+, try&lt;br /&gt;
&lt;br /&gt;
# Delete IIS related package in Component Services MMC&lt;br /&gt;
# IIS In-Process Applications &lt;br /&gt;
# IIS Out-of-Process Pooled Applications &lt;br /&gt;
# IIS Utilities&lt;br /&gt;
&lt;br /&gt;
Next, if you still get the message, try following before re-install IIS if you can&#039;t find Distributed Transaction Coordinator in your Services console.&lt;br /&gt;
&lt;br /&gt;
Launch command prompt and run the following command.&lt;br /&gt;
# msdtc -install&lt;br /&gt;
# net start msdtc&lt;br /&gt;
&lt;br /&gt;
Then try re-install IIS.&lt;br /&gt;
&lt;br /&gt;
This should solve the problem&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Enabling File Security option on Win XP Professional ==&lt;br /&gt;
&lt;br /&gt;
=== Problem ===&lt;br /&gt;
&lt;br /&gt;
In the Properties of any folders, the Security option does not show, hence you cannot modify the Read, Write options.&lt;br /&gt;
&lt;br /&gt;
=== Solution ===&lt;br /&gt;
&lt;br /&gt;
The solution would be to untick the &#039;Simple File Sharing&#039; option from  Tools &amp;gt; Folder Options &amp;gt; View:&lt;br /&gt;
[[Image:simplefilesharingoff.jpg]]&lt;br /&gt;
&lt;br /&gt;
== B10 &amp;amp; B12 Errors ==&lt;br /&gt;
&lt;br /&gt;
These errors are in the software and should be immediately escalated to the programmer.&lt;br /&gt;
&lt;br /&gt;
== Internet Explorer Menu, View, Text Size doesnt change font size as expected ==&lt;br /&gt;
&lt;br /&gt;
Cause: This is because the font size is now user definable in NEOSYS and View, Text Size does not override predefined font sizes.&lt;br /&gt;
&lt;br /&gt;
Solution: If you are using Internet Explorer 7 you can scale the screen (including the font size  using ctrl + and ctrl - keyboard shortcuts or the font size button on the bottom right hand side of the window. &lt;br /&gt;
&lt;br /&gt;
You can adjust the font size on the User Details form when you login although this permanently applies to all forms not just the one that you are on.&lt;br /&gt;
&lt;br /&gt;
== Error on process window &amp;quot;Not enough string space - Out of Memory&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
=== Message ===&lt;br /&gt;
&lt;br /&gt;
‘RTP27’ Line 1. [B29] Not enough string space – Out of Memory.&lt;br /&gt;
&lt;br /&gt;
Not enough memory to execute Debugger; current program aborted.&lt;br /&gt;
Press any key to continue&lt;br /&gt;
&lt;br /&gt;
[[Image:out_of_memory.jpg]]&lt;br /&gt;
&lt;br /&gt;
=== Cause ===&lt;br /&gt;
Unknown perhaps related to some large document or report&lt;br /&gt;
&lt;br /&gt;
=== Solution ===&lt;br /&gt;
Ask users for any hanging transactions.&lt;br /&gt;
None other than closing and starting another process&lt;br /&gt;
&lt;br /&gt;
== Uploaded jpg files fail to display in internet explorer ==&lt;br /&gt;
&lt;br /&gt;
Some large jpg files &amp;gt; 2Mb cannot be viewed in internet explorer despite being viewable in image preview, ms paint and other viewers/editors. It is not an issue caused by uploading or downloading the files.&lt;br /&gt;
&lt;br /&gt;
These file appear to have been created on Photoshop CS Macintosh and may be a special type of uncompressed jpg used for production quality files.&lt;br /&gt;
&lt;br /&gt;
=== Partial solution ===&lt;br /&gt;
Before uploading the files, open them in some editor like MS Paint (right click, edit) and save them. However this results in a loss of quality. Perhaps there is some program that can convert these files to a format understandable by Internet explorer without any loss of quality.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== &amp;quot;You have attempted to write to a read-only file&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
=== Message ===&lt;br /&gt;
&lt;br /&gt;
Error while writing data.&lt;br /&gt;
You have attempted to write to a read-only file.&lt;br /&gt;
- or -&lt;br /&gt;
access to the file has been denied by the operating system.&lt;br /&gt;
(operating system file name: &amp;quot;..\DATA\ADLINEC\ADAGENCY\REV76467.OV00012618&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
=== Cause ===&lt;br /&gt;
&lt;br /&gt;
It is almost certainly due to some third party backup or other maintenance software opening the NEOSYS database files when it shouldn&#039;t e.g. badly configured third party backup scheduled to backup NEOSYS while NEOSYS is still running. Note that the exact filename varies each time.&lt;br /&gt;
&lt;br /&gt;
=== Solution ===&lt;br /&gt;
&lt;br /&gt;
This can be a serious error that causes damaged files in NEOSYS especially if the filename ends in .OV. Use the usual methods of checking for damaged files e.g. do a backup which also looks for damaged files BUT DO NOT OVERWRITE THE LATEST BACKUP SINCE IT MAY BE REQUIRED for restoration. Then fix the damaged files using the usual methods e.g. by rebuilding/using&lt;br /&gt;
FIXFILE or restoring databases.&lt;br /&gt;
&lt;br /&gt;
=== Prevention ===&lt;br /&gt;
&lt;br /&gt;
Remove the third party backup or other maintenance software or reschedule it to run at a time that NEOSYS is shutdown. Removal of software may require hunting through the windows process list for unexpected programs running.&lt;br /&gt;
&lt;br /&gt;
== Resolving &amp;quot;Cannot backup/restore because PROCESS1 PROCESS2 (etc) is/are online&amp;quot; message ==&lt;br /&gt;
 &lt;br /&gt;
This can happen for a variety of reasons if all the NEOSYS processes fail to close down at backup time&lt;br /&gt;
 &lt;br /&gt;
# NEOSYS maintenance windows are left open.&lt;br /&gt;
# NEOSYS processes hang due to software error.&lt;br /&gt;
 &lt;br /&gt;
== How to kill hung NEOSYS processes ==&lt;br /&gt;
 &lt;br /&gt;
NOTE WELL: If you kill actively working NEOSYS processes (those which are &amp;quot;listening&amp;quot; and not hung/crashed) there is a reasonable chance that the database will be damaged and might need a restore losing possibly large amounts of work.&lt;br /&gt;
 &lt;br /&gt;
==== If NEOSYS processes are visible on the server desktop ====&lt;br /&gt;
 &lt;br /&gt;
Look for processes which don&#039;t have &amp;quot;Listening ...&amp;quot; on the last but one line. The times on the left hand side are frozen as at the time of the hang.&lt;br /&gt;
 &lt;br /&gt;
You can then click the X to kill the process and confirm that this is OK.&lt;br /&gt;
 &lt;br /&gt;
Example of a NEOSYS process that has hung due to a software error resulting in a failure to handle a complex query with a lot of brand codes.&lt;br /&gt;
&lt;br /&gt;
[[Image:hungprocess.jpg]]&lt;br /&gt;
 &lt;br /&gt;
==== If NEOSYS processes are not visible on the server desktop ====&lt;br /&gt;
&lt;br /&gt;
NEOSYS processes are most of the time visible on the desktop (i.e. the black dos windows) in Windows 2003 OS, except in the case that the process has been scheduled to start on computer restart and no one has logged into the server. In this case it would be running in the background. Secondly in the case of Windows 2008, the processes always are hidden. &lt;br /&gt;
&lt;br /&gt;
You can check if there are any hung processes from the NEOSYS Support Menu, List of Database Processes. &lt;br /&gt;
[[Image:databaseprocesseslist.jpg]]&lt;br /&gt;
&lt;br /&gt;
In this case you should follow the below instructions - however all of them need to be done within 30 seconds of starting the first instruction to avoid inconvenience to the users. It is recommend that you keep relevant windows open before proceeding with the same:&lt;br /&gt;
&lt;br /&gt;
#Shutdown NEOSYS by TEMPORARILY putting a file called GLOBAL.END in the parent directory of NEOSYS (if there is already a GLOBAL.END.TEMP file then rename it to GLOBAL.END). Leaving the file there would prevent NEOSYS from starting up again. Shutting down NEOSYS from the Support menu will not work because of the hung processes.&lt;br /&gt;
#Use Windows Task Manager to kill all the NTVDM processes - assuming that you have closed all the visible NEOSYS processes, then the NTVDM processes in the task manager would be the hung one.&lt;br /&gt;
#Delete GLOBAL.END or rename it to GLOBAL.END.TEMP&lt;br /&gt;
#Restart the processes back again. If there are many datasets then you need to restart them all well within the 30 seconds period.&lt;br /&gt;
&lt;br /&gt;
In case of Patsalides, where we have a thousand datasets which start &amp;quot;on demand&amp;quot; i.e. usually on login; all you need to do is start one dataset which will restart all the other datasets &amp;quot;on demand&amp;quot;. If there is no response within 30 seconds then one of the running datasets will start it up so there appears to be a 30 second delay when you login to one of the thousand datasets the first time on any one day.&lt;br /&gt;
&lt;br /&gt;
=== Temporary workarounds for hung NEOSYS processes ===&lt;br /&gt;
Until the error in the software is fixed users can often get their results by simplifying their requirements. For example select individual clients instead of selecting all the brands for a particular client. If the user has repeated his request (in forlorn hope that it would work finally) then the number of NEOSYS working NEOSYS processes will drop causing severe slowdown for other users and complete stop if all the NEOSYS processes hang.&lt;br /&gt;
&lt;br /&gt;
== How to fix a NEOSYS process which opens up in a notepad instead of Microsoft Windows Based Script Host (i.e. DOS window)==&lt;br /&gt;
&lt;br /&gt;
The NEOSYS process (cmd file) might open up in a notepad, instead of the usual black colour DOS window. This can be fixed by the following:&lt;br /&gt;
&lt;br /&gt;
# Download and install the Windows Script 5.6/5.7 from the Microsoft Website&lt;br /&gt;
# Go to any folder, click on Tools &amp;gt; Folder Options &amp;gt; File Types and find the .JS and .JSE and change the default program to wscript.exe (from windows&amp;gt;system32)&lt;br /&gt;
&lt;br /&gt;
== Resolving a &#039;Could not start&#039; error on Scheduled Tasks in Windows Server 2000 SP4 ==&lt;br /&gt;
&lt;br /&gt;
This error occurs because of a change that is made to the data that is stored in the credentials database when you install Windows 2000 SP4. Hence installing SP4 causes the the data that is stored in the credentials database to get converted to an SP4-compatible format. A registry key is configured to indicate that the data has been converted to the SP4 format.&lt;br /&gt;
&lt;br /&gt;
Hence the Scheduled Tasks do not work sometimes. However the Scheduled Tasks works fine sometimes, but when you uninstall SP4, it does not work.&lt;br /&gt;
&lt;br /&gt;
The best solution is to:&lt;br /&gt;
&lt;br /&gt;
# Incase Scheduled Tasks do not work after installing SP4, then uninstall SP4 and it should be fine.&lt;br /&gt;
# Incase Scheduled Tasks works after installing SP4, and later after uninstalling SP4, it does not work, then install SP4 and it should be fine.&lt;br /&gt;
&lt;br /&gt;
== Checking for server or NEOSYS crashes ==&lt;br /&gt;
 &lt;br /&gt;
#NEOSYS Maintenance Mode&lt;br /&gt;
#General Menu, Setup, Processes&lt;br /&gt;
#Select the dates and the option Detailed&lt;br /&gt;
 &lt;br /&gt;
This report shows a list of dates and times that NEOSYS logged in but did not log out properly.&lt;br /&gt;
 &lt;br /&gt;
Ignore the very latest entries since they represent the current NEOSYS processes. For example, if you have four NEOSYS processes running at the time that you get the report (including any in maintenance mode) then you can ignore the last four entries.&lt;br /&gt;
 &lt;br /&gt;
The date and time shows for each process that has failed to shutdown correctly when the process logged in. Versions of NEOSYS from January 2008 will also show the date and time that each crashed NEOSYS process was last active (heartbeat) so that the time of failure can be known.&lt;br /&gt;
 &lt;br /&gt;
If you see a bunch of NEOSYS processes all started up at around the same time but all failed to shutdown correctly then the cause will be a server failure - usually power failure.&lt;br /&gt;
 &lt;br /&gt;
Isolated one-off failures will be related to individual NEOSYS process crashes - most commonly caused by one of the following:&lt;br /&gt;
 &lt;br /&gt;
#NEOSYS hanging to due to software failure&lt;br /&gt;
#Manually exiting a NEOSYS process on the server either by pressing Ctrl+Alt+Del or clicking the &amp;quot;X&amp;quot; close icon/box and ignoring the warning&lt;br /&gt;
#Random server failures eg memory, disk etc&lt;br /&gt;
 &lt;br /&gt;
Example:&lt;br /&gt;
 &lt;br /&gt;
 LOGIN 22/12/2007 06:02 NEOSYS SERVER ADAGENCY         Current workstation &lt;br /&gt;
 LOGIN 23/12/2007 06:00 NEOSYS SERVER ADAGENCY         Current workstation  &lt;br /&gt;
 LOGIN 23/12/2007 06:01 NEOSYS SERVER ADAGENCY         Current workstation  &lt;br /&gt;
 LOGIN 23/12/2007 06:02 NEOSYS SERVER ADAGENCY         Current workstation  &lt;br /&gt;
 LOGIN 23/12/2007 08:52 NEOSYS SERVER ADAGENCY         Current workstation  &lt;br /&gt;
 LOGIN 23/12/2007 08:52 NEOSYS SERVER ADAGENCY         Current workstation  &lt;br /&gt;
 LOGIN 23/12/2007 08:53 NEOSYS SERVER ADAGENCY         Current workstation  &lt;br /&gt;
 LOGIN 8/1/2008 06:00 NEOSYS SERVER ADAGENCY         Current workstation  &lt;br /&gt;
 LOGIN 8/1/2008 06:01 NEOSYS SERVER ADAGENCY         Current workstation  &lt;br /&gt;
 LOGIN 8/1/2008 06:02 NEOSYS SERVER ADAGENCY         Current workstation  &lt;br /&gt;
 LOGIN 8/1/2008 13:51 NEOSYS SERVER NEOSYS         Current user session  &lt;br /&gt;
&lt;br /&gt;
Interpretation:&lt;br /&gt;
 &lt;br /&gt;
The first four entries indicate that all four NEOSYS processes started at 06am were suddenly killed probably by power failure&lt;br /&gt;
 &lt;br /&gt;
The next four entries indicate that NEOSYS was restarted at around 08:52 and all these processes were AGAIN killed probably by power failure&lt;br /&gt;
 &lt;br /&gt;
The last four entries can be ignored because there were four NEOSYS processes running at the time that the report was generated&lt;br /&gt;
&lt;br /&gt;
== Searching for word/number in the database files using maintenance mode ==&lt;br /&gt;
&lt;br /&gt;
You can search for any word/number in the database files of NEOSYS, using the following command line:&lt;br /&gt;
&lt;br /&gt;
 F5&lt;br /&gt;
 FIND FILENAME WORDWITHOUTANYSPACES&lt;br /&gt;
 &lt;br /&gt;
 For eg:&lt;br /&gt;
 FIND CURRENCIES 1.1&lt;br /&gt;
 (here you are searching for the number 1.1 in the currencies file) You CANNOT search for a phrase ie include spaces like this.&lt;br /&gt;
 &lt;br /&gt;
 Or you can also type:&lt;br /&gt;
 FIND FILENAME &amp;lt;enter&amp;gt;&lt;br /&gt;
 and it will ask you what you want do to search. You can enter an exact phrase with spaces.&lt;br /&gt;
&lt;br /&gt;
Incase you do not know the filenames, you can enter the following command to see all the filenames in the system:&lt;br /&gt;
&lt;br /&gt;
 F5&lt;br /&gt;
 LF&lt;br /&gt;
&lt;br /&gt;
== NO LOCK RECORD error when working on NEOSYS ==&lt;br /&gt;
&lt;br /&gt;
=== Error Message ===&lt;br /&gt;
&lt;br /&gt;
The following error message appears:&lt;br /&gt;
&lt;br /&gt;
 Cannot save &amp;quot;DOCUMENT NAME&amp;quot; because:&lt;br /&gt;
 Somebody has updated this record.&lt;br /&gt;
 Your update cannot be applied.&lt;br /&gt;
 This session id does not agree &amp;quot;NO LOCK PERIOD&amp;quot;&lt;br /&gt;
&lt;br /&gt;
=== Possible Causes and Solutions ===&lt;br /&gt;
 &lt;br /&gt;
1. There is some other error in NEOSYS software while saving the record.&lt;br /&gt;
Probably another error message would come before this one and that message should be sent to NEOSYS in order to solve the actual problem.&lt;br /&gt;
 &lt;br /&gt;
2. There has been a temporary loss of connection to the server for some period of time.&lt;br /&gt;
The NEOSYS web page needs to periodically &amp;quot;refresh&amp;quot; the exclusive lock on the document being edited. If NEOSYS cannot perform the refresh it may lose the rights to save the document.&lt;br /&gt;
 &lt;br /&gt;
Loss of connection could be for a huge variety of reasons including server, network, and workstation failures.&lt;br /&gt;
 &lt;br /&gt;
3. Bad Internet Explorer Configuration&lt;br /&gt;
Loss of cookies etc due to third party software (internet toolbars/spyware etc)&lt;br /&gt;
 &lt;br /&gt;
Reset Internet Explorer to factory settings.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting the NTVDM Hard error when opening up NEOSYS processes ==&lt;br /&gt;
&lt;br /&gt;
=== Error Message ===&lt;br /&gt;
&lt;br /&gt;
The following error message appears:&lt;br /&gt;
&lt;br /&gt;
[[Image:ntvdm.jpg]]&lt;br /&gt;
&lt;br /&gt;
 NTVDM encountered a hard error&lt;br /&gt;
&lt;br /&gt;
=== Solution  ===&lt;br /&gt;
 &lt;br /&gt;
This error is caused by missing or corrupt Windows system files (i.e. command.com, autoexec.nt and config.nt). The solution is to run a program called XP FIX which will reinstall these missing files. You can download it form http://www.visualtour.com/downloads/xp_fix.exe&lt;br /&gt;
&lt;br /&gt;
Sometimes even after running the XP FIX program the error still appears. Then you need to copy all the files under C:/windows/repair to C:/windows/system32 and in the autoexec.nt and config.nt put REM before any lines there which don&#039;t have it.&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting a Service Unavailable message on Internet Explorer when opening up NEOSYS ==&lt;br /&gt;
&lt;br /&gt;
=== Error Message ===&lt;br /&gt;
&lt;br /&gt;
The following error message appears in Internet Explorer when you try to open up NEOSYS:&lt;br /&gt;
&lt;br /&gt;
 Service Unavailable&lt;br /&gt;
&lt;br /&gt;
=== Solution  ===&lt;br /&gt;
 &lt;br /&gt;
Open the IIS Manager, right click Web Sites and select properties:&lt;br /&gt;
[[Image:serviceunavailable1.jpg]]&lt;br /&gt;
&lt;br /&gt;
Switch to the Service Tab and tick the &amp;quot;Run WWW Service in IIS 5.0 Isolation Mode&amp;quot;.&lt;br /&gt;
[[Image:serviceunavailable2.jpg]]&lt;br /&gt;
&lt;br /&gt;
You will be asked for Restart of IIS. Click yes to restart IIS. If you are not asked just restart IIS.&lt;br /&gt;
&lt;br /&gt;
== Inspecting IIS log files ==&lt;br /&gt;
&lt;br /&gt;
At a windows command prompt:&lt;br /&gt;
&lt;br /&gt;
 c:&lt;br /&gt;
 cd \Windows\system32\LogFiles\W3SVC1&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
 %SystemDrive%&lt;br /&gt;
 cd %SystemRoot%&lt;br /&gt;
 cd system32\LogFiles\W3SVC1&lt;br /&gt;
&lt;br /&gt;
then (substituting the ip number you are interested in)&lt;br /&gt;
&lt;br /&gt;
 find &amp;quot;192.168.1.55&amp;quot; *|sort&amp;gt;temp.log&lt;br /&gt;
&lt;br /&gt;
Open temp.log in Excel and use Tools, Data, Text to Columns to split into columns using options &amp;quot;Delimited&amp;quot; and check split on Space.&lt;br /&gt;
&lt;br /&gt;
Autowidth all columns by clicking on the top left box just outside the data to the left of column A and above column 1 then double click the column separator to the right of column &amp;quot;A&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Note that times and dates are in UTC/GMT so you have to add/subtract your timezone offset to get local times.&lt;br /&gt;
&lt;br /&gt;
== Fixing NEOSYS processes that do not auto start / Recovering from incorrect advanced date or time ==&lt;br /&gt;
&lt;br /&gt;
=== Problem explained ===&lt;br /&gt;
After starting up the 1st process, the rest of the processes don&#039;t start up.&lt;br /&gt;
&lt;br /&gt;
=== Solution ===&lt;br /&gt;
&lt;br /&gt;
The possible cause for this could be that the system date/time might have been changed - either manually or by the auto synchronization. Do the following checks in the sequence of order:&lt;br /&gt;
&lt;br /&gt;
# Check for any .$* files (* is a number, the highest being the latest one). If it shows OK, then proceed ahead.&lt;br /&gt;
# Check for any .end files and delete it to rename to .end.temp&lt;br /&gt;
# Check the System Event Viewer log for any 520 or 577 error message (refer http://128.175.24.251/forensics/timechange.htm). Also check for any out of sequence / ahead of today date or time.&lt;br /&gt;
# In case of no 520 or 577 error message, go to Administrative Tools &amp;gt; Local Security Policy &amp;gt; Local Policies &amp;gt; Audit Policy &amp;gt; Audit Privilege use - make sure that Success and Failure are selected under this (this will ensure that future changes to the date/time are recorded in the System Log).&lt;br /&gt;
# In NEOSYS maintenance mode - F5 ED PROCESSES %UPDATE% - and see what it says, incase of any text there, that means that for sure the system date has been changed.&lt;br /&gt;
# Now to fix this, in maintenance mode again enter - F5 DELETE PROCESSES &amp;quot;%UPDATE%&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Recognising and Solving Low Memory Problems ==&lt;br /&gt;
&lt;br /&gt;
Quick Note: Installing a server class operating system on a workstation class computer with the intention of NEOSYS serving a heavy load is likely to cause problems with low memory.&lt;br /&gt;
&lt;br /&gt;
Quick Fix: Disable *ALL* non-essential features in the power-on setup menu.&lt;br /&gt;
&lt;br /&gt;
=== Effects ===&lt;br /&gt;
&lt;br /&gt;
It is speculated but not proven that low memory may cause NEOSYS to fail by hanging, causing damaged files etc.&lt;br /&gt;
&lt;br /&gt;
=== Checking ===&lt;br /&gt;
&lt;br /&gt;
 F5&lt;br /&gt;
 MEMORY&lt;br /&gt;
&lt;br /&gt;
On server class machines it should say somewhere around 350Kb to 370Kb Free&lt;br /&gt;
&lt;br /&gt;
Some server class machines have around 330Kb and sometimes even less with no reported problems&lt;br /&gt;
&lt;br /&gt;
The actual effect of low memory is supposed to make NEOSYS slower and perhaps cause hanging and damaged files however this has not been proven in an specific case so far.&lt;br /&gt;
&lt;br /&gt;
On workstation class machines it may often say around 280Kb to 300Kb.&lt;br /&gt;
&lt;br /&gt;
=== Cause ===&lt;br /&gt;
&lt;br /&gt;
Although there is plenty of real memory in virtually all computers now, NEOSYS runs in the legacy 16 bit virtual memory space of a windows mode called NTVDM. This is limited to 1Mb plus 4Mb of EMS memory.&lt;br /&gt;
&lt;br /&gt;
The 1Mb memory space is shared with:&lt;br /&gt;
&lt;br /&gt;
#Various non-essential windows drivers which NEOSYS automatically disables them in autoexec.nt&lt;br /&gt;
#Various plug and play hardware device drivers for the various adapters in the computer like video, network adapters and various other items that NEOSYS is unable to disable.&lt;br /&gt;
&lt;br /&gt;
In a server class computer the hardware device drivers are usually minimally present in the 1Mb base memory and do not therefore DOESNT a low memory situation for NEOSYS.&lt;br /&gt;
&lt;br /&gt;
In workstation class computers there are often many hardware device drivers present in the 1Mb base memory and this DOES causes a low memory situation for NEOSYS.&lt;br /&gt;
&lt;br /&gt;
When NEOSYS is installed on workstation class computers with XP there is usually not a heavy load expectation and therefore the low memory does not cause a problem.&lt;br /&gt;
&lt;br /&gt;
If Windows Server OS is installed on a workstation class computer NEOSYS may well be expected to serve a heavy load with limited amounts of memory.&lt;br /&gt;
&lt;br /&gt;
Workstation class computers: hardware drivers present and EMS is installed in low memory (0000-9FFF) causing low memory for NEOSYS and possible inability to &lt;br /&gt;
&lt;br /&gt;
Server class computers: Usually few hardware drivers are present in high part (A000-FFFF) of the 1Mb base memory and EMS is able to occupy the high memory leaving the low part (0000-9FFFF) of the 1Mb memory free for NEOSYS. You can find out how much memory is available to NEOSYS and whether EMS is occuping high or low memory using the following sections.&lt;br /&gt;
&lt;br /&gt;
=== Fixing Low Memory ===&lt;br /&gt;
&lt;br /&gt;
Start, Run, notepad c:\windows\system32\autoexec.nt&lt;br /&gt;
&lt;br /&gt;
Every time NEOSYS starts it tries to make some changes as follow:&lt;br /&gt;
&lt;br /&gt;
#replaces all lines in C:/WINDOWS/SYSTEM32/AUTOEXEC.NT starting with &#039;lh &#039; to start with &#039;rem NEOSYS LH &#039; instead.&lt;br /&gt;
#changes the line in C:/WINDOWS/SYSTEM32/CONFIG.NT &amp;quot;files=...&amp;quot; to &amp;quot;FILES=200&amp;quot;&lt;br /&gt;
&lt;br /&gt;
The replacement is case sensitive triggered on &#039;lh&#039; and &#039;files&#039; so if you manually edit the files and remove the rem or change the number of files and leave the LH and FILES in uppercase then NEOSYS will NOT make further changes. This allows you to do manual amendments to the files without NEOSYS overwriting them.&lt;br /&gt;
&lt;br /&gt;
Check that NEOSYS has successfully disabled all the drivers in the lines starting with LH.&lt;br /&gt;
&lt;br /&gt;
They should be commented out (prefixed) with REM or REM NEOSYS as follows.&lt;br /&gt;
&lt;br /&gt;
After making changes reopen NEOSYS in maintenance mode to use the MEMORY and WHO commands again.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
REM Install CD ROM extensions&lt;br /&gt;
REM NEOSYS LH %SystemRoot%\system32\mscdexnt.exe&lt;br /&gt;
&lt;br /&gt;
REM Install network redirector (load before dosx.exe)&lt;br /&gt;
REM NEOSYS LH %SystemRoot%\system32\redir&lt;br /&gt;
&lt;br /&gt;
REM Install DPMI support&lt;br /&gt;
REM NEOSYS LH %SYSTEMROOT%\SYSTEM32\DOSX&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Allowing DOS programs that require DOSX to run on the same computer as NEOSYS ===&lt;br /&gt;
&lt;br /&gt;
The automatic commenting out DOSX by NEOSYS will prevent some other DOS-like programs from running. If NEOSYS is on dedicated server then there should be no other such programs to fail. However, if you must allow DOS-like programs to work as well as NEOSYS you can do the following configuration:&lt;br /&gt;
&lt;br /&gt;
#leave or restore the original AUTOEXEC.NT and CONFIG.NT files where they are&lt;br /&gt;
#copy them to another folder eg neosys folder&lt;br /&gt;
#make the necessary REM changes there by hand&lt;br /&gt;
#right click the NEOSYS\NEOSYS\AREV.PIF and select properties&lt;br /&gt;
#change the location of the AUTOEXEC.NT and CONFIG.NT files in the following location&lt;br /&gt;
&lt;br /&gt;
[[image:pifsettings.jpg]]&lt;br /&gt;
&lt;br /&gt;
=== Checking EMS Memory Configuration ===&lt;br /&gt;
&lt;br /&gt;
==== Inspection ====&lt;br /&gt;
&lt;br /&gt;
 F5&lt;br /&gt;
 WHO&lt;br /&gt;
&lt;br /&gt;
 press the up arrow to get to the last part/page&lt;br /&gt;
&lt;br /&gt;
===== Example of Typical Server EMS Memory =====&lt;br /&gt;
[[image:serveremm.jpg]]&lt;br /&gt;
&lt;br /&gt;
===== Example of Typical Workstation EMS Memory =====&lt;br /&gt;
[[image:workstationemm.jpg]]&lt;br /&gt;
&lt;br /&gt;
====Correction====&lt;br /&gt;
&lt;br /&gt;
No easy way&lt;br /&gt;
&lt;br /&gt;
Removal of hardware adapters designed for workstations instead of servers eg graphics cards and network cards.&lt;br /&gt;
&lt;br /&gt;
Many of the devices may be located on the motherboard and not relocatable except possibly by BIOS configuration or special manufacturer information.&lt;br /&gt;
&lt;br /&gt;
Use windows device manager, View: Resources by Connection, Open the Memory item and look for items between 000A0000 up to 000FFFFF that might give you a clue as to what hardware could be removed or reconfigured. Actually only 000C0000 to 000FFFFF is candidate for EMS memory since 000A000-000BFFFF is mandatory video memory in all systems.&lt;br /&gt;
&lt;br /&gt;
[[image:devicemanager.jpg]]&lt;br /&gt;
&lt;br /&gt;
== Resolving issue where NEOSYS processes do not start-up at all or start-up and close immediately ==&lt;br /&gt;
&lt;br /&gt;
# Find if a file with the name global.end exists in the root directory of the NEOSYS installation. Eg D:\global.end . If you find such a file, rename it to global.end.temp - for more information on global.end and what it does refer to http://techwiki.neosys.com/index.php/Closing_NEOSYS_services&lt;br /&gt;
# If the above didn&#039;t fix the problem and NEOSYS still does not start, do a windows search for the entire NEOSYS folder for *.end (i.e. any file ending with .end extension). You may find a (databasecode).end file in D:\neosys\neosys folder which is created by the NEOSYS program during backup at 1 am and later on removed automatically. In this case NEOSYS program might have crashed during the backup and left this file behind. (databasecode).end files prevent other other NEOSYS processes starting up on the database while exclusive processes (like backup) are being done.&lt;br /&gt;
&lt;br /&gt;
In case the above didn&#039;t fix the problem then escalate to the programmer immediately.&lt;br /&gt;
&lt;br /&gt;
== Handling Change Backup message if the client does not use a USB backup device ==&lt;br /&gt;
DO *NOT* FOLLOW THIS PROCEDURE SINCE IS IT IS TOTALLY UNACCEPTABLE FOR NEOSYS TO SEND OUT A &amp;quot;BACKUP SUCCESS&amp;quot; MESSAGE WHEN THE BACKUP IS NOT BEING DONE PROPERLY. IN GENERAL, TAKING SHORT CUTS THAT MAKE THINGS APPEAR SATISFACTORY WHEN THEY ARE NOT IS VERY POOR POLICY.&lt;br /&gt;
&lt;br /&gt;
IF THE CLIENT IS BACKING UP TO A NON-REMOVABLE DESTINATION THEN EITHER 1. LIVE WITH THE FAILURE MESSAGE OR 2. SUPPRESS THE BACKUP ENTIRELY IN WHICH CASE NO BACKUPS ARE BEING DONE AND PROBABLY THIS WILL SHOW ON NEOSYS PROACTIVE WARNING SYSTEMS LIKE NAGIOS.&lt;br /&gt;
&lt;br /&gt;
# Basically most of the client use USB for Neosys server but there are some clients who do not use USB but save their backups in hard drive. &lt;br /&gt;
# As we know that backup take place in Data.bak folder but it do a backup only for a week in a single USB. Over here client do not use USB but save their backup in hard drive in Data.bak folder, once the week is over  it will again give Change backup message.  &lt;br /&gt;
# In this case rename the Data.bak folder to Data1.bak this is done because system read only Data.bak folder as it is configured in the system. When you rename Data.bak to Data1.bak it automatically create a new folder Data.bak in Backup drive.&lt;br /&gt;
# This process is done so that the backup should not fail then next day morning and backups are done in Data.bak folder.&lt;br /&gt;
# In the third week we will again see the same message Chang backup USB message so you need to rename Data.bak folder to Data2.bak&lt;br /&gt;
# But in fourth week you rename the Data1.bak to Data.bak and change the Data2.bak to Data1.bak and Data.bak to Data2.bak &lt;br /&gt;
# Keep only three folders and Data.bak, Data1.bak, Data2.bak and keep on renaming these folders every week as shown above.&lt;br /&gt;
&lt;br /&gt;
== Closing processes that are not visible on the desktop or hidden ==&lt;br /&gt;
&lt;br /&gt;
NEOSYS processes are most of the time visible on the desktop (i.e. the black dos windows) in Windows 2003 OS, except in the case that the process has been scheduled to start on restart and no one has logged into the server. In this case it would be hidden. Secondly in the case of Windows 2008, the processes always are hidden.&lt;br /&gt;
&lt;br /&gt;
In these cases whenever there is a hung NEOSYS process - due to many reasons for eg low memory. In this case you should close all processes using the global.end method and then from the task manager kill any NTVDM processes and then restart NEOSYS. This should be done within 30 seconds from using the global.end method to avoid any inconvenience to the users. If there are many datasets then you need to restart them all well within the 30 seconds period.&lt;br /&gt;
&lt;br /&gt;
In case of Patsalides, where we have a thousand datasets which start &amp;quot;on demand&amp;quot; i.e. usually on login; all you need to do is start one dataset which will restart all the other datasets &amp;quot;on demand&amp;quot;. If there is no response within 30 seconds then one of the running datasets will start it up so there appears to be a 30 second delay when you login to one of the thousand datasets the first time on any one day.&lt;br /&gt;
&lt;br /&gt;
== NEOSYS not updating Nagios ==&lt;br /&gt;
&lt;br /&gt;
You find something like the following message in UPDATE.$WG in the neosys\neosys.folder&lt;br /&gt;
&lt;br /&gt;
 Connecting to 192.168.100.145:8080 failed: No such file or directory.&lt;br /&gt;
&lt;br /&gt;
Where the above appears to be some non-functional http proxy server ip/port number and is not the expected nagios server ip number.&lt;br /&gt;
&lt;br /&gt;
The windows command proxycfg shows the same ip and port&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
D:\NEOSYS\NEOSYS&amp;gt;proxycfg&lt;br /&gt;
Microsoft (R) WinHTTP Default Proxy Configuration Tool&lt;br /&gt;
Copyright (c) Microsoft Corporation. All rights reserved.&lt;br /&gt;
&lt;br /&gt;
Current WinHTTP proxy settings under:&lt;br /&gt;
  HKEY_LOCAL_MACHINE\&lt;br /&gt;
    SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Connections\&lt;br /&gt;
      WinHttpSettings :&lt;br /&gt;
&lt;br /&gt;
    Proxy Server(s) :  192.168.100.145:8080&lt;br /&gt;
    Bypass List     :  192.168.*.*;localhost;&amp;lt;local&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Solution 1 - Remove the above setting to create a direct connection ===&lt;br /&gt;
&lt;br /&gt;
To remove the registry entries that ProxyCfg.exe creates,&lt;br /&gt;
you must delete the WinHttpSettings value from the following registry key.&lt;br /&gt;
&lt;br /&gt;
 HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Connections\WinHttpSettings&lt;br /&gt;
&lt;br /&gt;
After you do the above, confirm that the proxy details are deleted by running the proxycfg command.&lt;br /&gt;
&lt;br /&gt;
Next, restart the NEOSYS processes for the changes to be affected.&lt;br /&gt;
&lt;br /&gt;
=== Solution 2 – Configure a functioning proxy ip/port number ===&lt;br /&gt;
&lt;br /&gt;
Use the proxycfg command to enter a working proxy ip/port number/exclusion list&lt;br /&gt;
&lt;br /&gt;
http://msdn.microsoft.com/en-us/library/aa384069%28VS.85%29.aspx&lt;br /&gt;
&lt;br /&gt;
After you do the above, confirm that the new proxy details are working by running the proxycfg command again.&lt;br /&gt;
&lt;br /&gt;
Next, restart the NEOSYS processes for the changes to be affected.&lt;/div&gt;</summary>
		<author><name>Ashwin</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Configuring_NEOSYS_for_various_language_character_sets&amp;diff=596</id>
		<title>Configuring NEOSYS for various language character sets</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=Configuring_NEOSYS_for_various_language_character_sets&amp;diff=596"/>
		<updated>2010-10-21T14:29:45Z</updated>

		<summary type="html">&lt;p&gt;Ashwin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== Configuring the NEOSYS server for various language character sets ===&lt;br /&gt;
&lt;br /&gt;
NEOSYS currently allows only one of the following character set to be operational in a server at one time.&lt;br /&gt;
&lt;br /&gt;
Although the user interface appears to allow entry of all and any character sets, when the user attempt to save the document they will get a error message if any of the characters are not in the currently configured server character set. This error would say &amp;quot;UNACCEPTABLE CHARACTERS&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
*1250 (Central Europe) http://msdn.microsoft.com/en-us/goglobal/cc305143.aspx&lt;br /&gt;
*1251 (Cyrillic) http://msdn.microsoft.com/en-us/goglobal/cc305144.aspx&lt;br /&gt;
*1252 (Western Europe (Latin I) http://msdn.microsoft.com/en-us/goglobal/cc305145.aspx&lt;br /&gt;
*1253 (Greek)  http://msdn.microsoft.com/en-us/goglobal/cc305146.aspx&lt;br /&gt;
*1254 (Turkish) http://msdn.microsoft.com/en-us/goglobal/cc305147.aspx&lt;br /&gt;
*1255 (Hebrew) http://msdn.microsoft.com/en-us/goglobal/cc305148.aspx&lt;br /&gt;
*1256 (Arabic) http://msdn.microsoft.com/en-us/goglobal/cc305149.aspx&lt;br /&gt;
*1257 (Baltic) http://msdn.microsoft.com/en-us/goglobal/bb964654.aspx&lt;br /&gt;
*1258 (Vietnam) http://msdn.microsoft.com/en-us/goglobal/cc305151.aspx&lt;br /&gt;
*874 (Thai) http://msdn.microsoft.com/en-us/goglobal/cc305142.aspx&lt;br /&gt;
&lt;br /&gt;
You must configure the character set by choosing the language in Windows as described below.&lt;br /&gt;
&lt;br /&gt;
The new language will work in addition to English and you need to restart the machine after you install the new language. &lt;br /&gt;
&lt;br /&gt;
If they are not in agreement then sorting and indexing will be wrong.  Running REINDEXALL after changing the character set will resolve some issues.&lt;br /&gt;
&lt;br /&gt;
==== Windows 2008 ====&lt;br /&gt;
&lt;br /&gt;
[[image:languageset.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Windows 2003 ====&lt;br /&gt;
&lt;br /&gt;
[[image:languageset2003a.jpg]] [[image:languageset2003.jpg]]&lt;/div&gt;</summary>
		<author><name>Ashwin</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Procedures&amp;diff=587</id>
		<title>Procedures</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=Procedures&amp;diff=587"/>
		<updated>2010-05-26T06:48:23Z</updated>

		<summary type="html">&lt;p&gt;Ashwin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Here are procedures to be followed by Support Staff in respect to various technical matters in day to day operations of client issues.&lt;br /&gt;
&lt;br /&gt;
== NEOSYS Support Policies ==&lt;br /&gt;
In order to maintain good payment speed by clients NEOSYS needs to restrict support to clients that dont pay their bills on time, however the degree of restriction needs to depend on an intimate knowledge of the client which cannot be expected from all NEOSYS support staff. Therefore we will use a simple escalation policy as follows:&lt;br /&gt;
&lt;br /&gt;
NEOSYS SUPPORT MANAGERS WILL maintain an overdue/stop list on a whiteboard visible to all support staff. Generally clients will go on the list when their invoice is seven days overdue and come off only after satisfactory commitment to pay have been obtained.&lt;br /&gt;
&lt;br /&gt;
NEOSYS SUPPORT STAFF WILL discretely refer any calls for support from client on the overdue/stop list to support managers for handling.&lt;br /&gt;
&lt;br /&gt;
This policy excludes:&lt;br /&gt;
# Contacting the client to change the USB disk on the scheduled day, in case they haven&#039;t done so by 12 pm&lt;br /&gt;
# Contacting the client or if the client contacts support staff regarding backup failures and to take measures to fix these failures&lt;br /&gt;
&lt;br /&gt;
== Handling client issues ==&lt;br /&gt;
=== Handling error messages ===&lt;br /&gt;
#The very first step is understanding client problem.&lt;br /&gt;
#Ask the client what error does he gets on the screen.&lt;br /&gt;
#If error seems to be familiar then resolve it over the phone.&lt;br /&gt;
#If error is unknown then ask user to send a screenshot of the error displayed along with the options used (basically you need to know HOW to replicate the error)&lt;br /&gt;
#Upon receipt of the error, check in all the wikis for a solution.&lt;br /&gt;
#If the issue is unknown or you don’t understand it clearly ask the user then use remote support to gain access to the users desktop to view how to replicate the error. &lt;br /&gt;
&lt;br /&gt;
If it is new issue then report by escalation the same issue to your manager with a brief explanation.&lt;br /&gt;
&lt;br /&gt;
=== Handling problems with report totals ===&lt;br /&gt;
Questions with regards to report totals should not be escalated to the programmers without following this procedure. If the total can be be broken down into items (as they nearly always can be in NEOSYS) then only a problem where the items dont add up to a total should be escalated, since that would be a system error.&lt;br /&gt;
&lt;br /&gt;
== Backup Procedures ==&lt;br /&gt;
=== Preparing daily backup report ===&lt;br /&gt;
# Note the success, failure and other error of the clients backup mail in an excel sheet and forward the same to your manager.&lt;br /&gt;
# If there is a backup failure or backup is not available, check wiki to take necessary steps.&lt;br /&gt;
# If there is any unknown error, forward the same to your manager.&lt;br /&gt;
&lt;br /&gt;
=== Updating Nagios incase of failures ===&lt;br /&gt;
# If the backup failure is unsolved, schedule downtime Neosys service in Nagios till 01 am.&lt;br /&gt;
# If the backup did not happen because of server down. Call the IT person; ask him to re-boot the server and check wiki to do necessary step ahead and schedule downtime to Nagios for 2hours.&lt;br /&gt;
# If there is an error &amp;quot;Backup-&amp;gt;Impossible&amp;quot; on Nagios check wiki and schedule downtime to Nagios for 2hours.&lt;br /&gt;
&lt;br /&gt;
=== Interchange backup USB mail reminder ===&lt;br /&gt;
# Basically all the clients have different days to change their backup USB. All the notification can be seen on Nagios at 12.00 pm every day.&lt;br /&gt;
# When you see the change backup notification on Nagios at 12.00 pm, send a mail to the IT person or the person who changes the USB. As you send the mail schedule downtime for Neosys services for two hours.&lt;br /&gt;
# Check the Nagios at 2.00 pm if the backup USB is changed, don&#039;t send another mail and stop there. But if backup is still not yet changed, send a another mail and this time cc the mail to your manager. After sending the mail, schedule downtime for Neosys service for more two hours.&lt;br /&gt;
# Now at 4.00 pm if you still find the backup USB not changed. Call the IT person and ask him to change the USB ASAP and schedule downtime for Neosys services for one hour.&lt;br /&gt;
# Now at 5.00 pm check Nagios and see if the backup USB is changed and if not changed. Send the mail to everyone from the backup mail.&lt;br /&gt;
# If the backup is still not changed, escalate the issue to your manager.&lt;br /&gt;
&lt;br /&gt;
=== Finding out which USB is inserted into the server ===&lt;br /&gt;
As we ask the client to have 3 USB&#039;s and interchange them weekly, we also need to sometimes track which one of these 3 USB&#039;s are inserted into the server. USB&#039;s can be tracked using their volume serial number in most cases. To find this out either go to the command prompt and type VOL or in the nightly backup message check for the 2nd line (which looks like this - 14/12/2009 2:45pm Media: 705B-5B5F). However serial numbers can be the same even for different USB&#039;s.&lt;br /&gt;
&lt;br /&gt;
== Creating and Handling passwords ==&lt;br /&gt;
Passwords made out of a pass phrase should be at least 10 characters since using initials results in a lot of i&#039;s and a&#039;s etc which reduces the effectiveness of the password and allows hacking via brute force guessing especially since windows doesnt slow down logins even if it sees thousands of password attempts.&lt;br /&gt;
&lt;br /&gt;
=== Creating a password ===&lt;br /&gt;
Passwords are generated from a pass phrase and it is important to create a very difficult to guess pass phrase.&lt;br /&gt;
&lt;br /&gt;
For example, a good pass phrase would be: &#039;&#039;&#039;Today is a good day and it is the best time to go for a holiday&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The password for this would be &#039;&#039;&#039;Tiagdaiitbt2g4ah&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The important instructions for the above are:&lt;br /&gt;
#You have to take the first letter of each word and that makes your password (i.e. by using initials)&lt;br /&gt;
#Wherever any word starts with a capital, then you have to take first letter as a capital (eg. For Today you will take T)&lt;br /&gt;
#Replace &#039;&#039;&#039;and&#039;&#039;&#039; with &#039;&#039;&#039;&amp;amp;&#039;&#039;&#039;&lt;br /&gt;
#Replace &#039;&#039;&#039;to&#039;&#039;&#039; with &#039;&#039;&#039;2&#039;&#039;&#039;&lt;br /&gt;
#Replace &#039;&#039;&#039;for&#039;&#039;&#039; with &#039;&#039;&#039;4&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Handling passwords ===&lt;br /&gt;
#Never send the actual password - always send the pass phrase&lt;br /&gt;
#Make sure that the password created out of the pass phrase is at least 10 characters long since using initials results in a lot of i&#039;s and a&#039;s etc which reduces the effectiveness of the password and allows hacking via brute force guessing especially since windows doesnt slow down logins even if it sees thousands of password attempts&lt;br /&gt;
#Pass phrases are never to be sent by email, whatever the case maybe.&lt;br /&gt;
#Pass phrases can be sent by chat - however they have to be broken down in two parts and sent separately over two different messengers or if you are using Gtalk then use the &#039;off the record&#039; mode.&lt;br /&gt;
#Using SMS to send pass phrases is the best known way as of now.&lt;br /&gt;
#If you save the passwords on your system as a file, make sure the file is encrypted with a master password.&lt;br /&gt;
&lt;br /&gt;
==[[NEOSYS Maintenance Window]]==&lt;br /&gt;
&lt;br /&gt;
==Switching to a backup server==&lt;br /&gt;
&lt;br /&gt;
As NEOSYS provides clients with option of backing up their data to a remote NEOSYS server in case of emergencies or server problems, it is crucial you understand the below procedure on how to switch to a backup server in the event of such a situation. Extreme care must be taken when switching over to using a backup server otherwise unnecessary data loss is very likely.&lt;br /&gt;
&lt;br /&gt;
Backup servers are normally switched off and should not be started automatically otherwise there is a serious risk of the client’s staff working on two systems. It is not possible to merge two databases into one database. Before the backup server is enabled the main server must be disabled, and before the main server is re-enabled, the backup  server must be disabled again. This can be managed technically without requiring any decision from senior non-technical staff.&lt;br /&gt;
&lt;br /&gt;
However, there are also some potentially hard decisions about unavoidable loss of data versus continued system availability. *** Backup servers should therefore only be started with the written approval of the clients senior staff. A suitable email requesting approval follows.&lt;br /&gt;
&lt;br /&gt;
The following case assumes that the main server has gone down sometime during the working day and that therefore the data on the backup server is out of date. Allowing them to use the backup server therefore implies some loss of data. They may wish to lose the data. They may wish to work on the backup server data and then try to redo the work on the main server once it is restored. There are a variety of options depending on the situation.&lt;br /&gt;
&lt;br /&gt;
If the main server is still functioning AND you are reasonably sure that the database is not damaged (which is perhaps an unlikely situation if you need to use the backup server!), it may be sensible to trigger an additional “backup/sync” process to bring the backup server database up to date with the main server. Before you do this, it is advisable that you take a backup copy of the backup system on the backup  server. In this case there would be no data loss in using the backup.&lt;br /&gt;
&lt;br /&gt;
An additional option of providing usage of the backup server in read-only mode so that people can at least access some data is being developed. The backup server could be available continuously at any time in read-only mode. This article would then be related to switching a backup server into main operational mode.&lt;br /&gt;
&lt;br /&gt;
 Dear {senior staff} cc {IT staff}&lt;br /&gt;
 &lt;br /&gt;
 Please note that we can enable the backup server if you wish.&lt;br /&gt;
 &lt;br /&gt;
 However the data on the backup server is out of date since it is a copy of your main database as at 11/22/33 99:99.&lt;br /&gt;
 &lt;br /&gt;
 If you wish to allow work to be done on the backup server then any data entered on your main server since the above date will be lost if we &lt;br /&gt;
 subsequently copy the data on the backup server to the main server.&lt;br /&gt;
 &lt;br /&gt;
 If, after using the backup server, we do NOT copy the data on the back server to the main server then any data you have entered on the backup &lt;br /&gt;
 server/database will be lost.&lt;br /&gt;
 &lt;br /&gt;
 Please confirm a) you want to work on HOSTS2 database and that we should therefore enable it and b) you have disconnected your main server &lt;br /&gt;
 for the duration.&lt;br /&gt;
 &lt;br /&gt;
 Best Regards,&lt;br /&gt;
 xxxxxx xxxxxxx&lt;br /&gt;
 NEOSYS Support&lt;/div&gt;</summary>
		<author><name>Ashwin</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=File:Backup2.jpg&amp;diff=584</id>
		<title>File:Backup2.jpg</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=File:Backup2.jpg&amp;diff=584"/>
		<updated>2010-04-20T12:41:43Z</updated>

		<summary type="html">&lt;p&gt;Ashwin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Ashwin</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=File:Backup1.jpg&amp;diff=583</id>
		<title>File:Backup1.jpg</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=File:Backup1.jpg&amp;diff=583"/>
		<updated>2010-04-20T12:41:23Z</updated>

		<summary type="html">&lt;p&gt;Ashwin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Ashwin</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Installing_NEOSYS&amp;diff=581</id>
		<title>Installing NEOSYS</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=Installing_NEOSYS&amp;diff=581"/>
		<updated>2010-04-20T12:28:08Z</updated>

		<summary type="html">&lt;p&gt;Ashwin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Technical / Hardware requirements]]&lt;br /&gt;
&lt;br /&gt;
[[Preliminary Check-list and other Misc items]]&lt;br /&gt;
&lt;br /&gt;
[[Setting up TCP/IP filtering]]&lt;br /&gt;
&lt;br /&gt;
[[Setting up Windows Firewall]]&lt;br /&gt;
&lt;br /&gt;
[[Setting up and using remote support]]&lt;br /&gt;
&lt;br /&gt;
[[Installing NEOSYS Service]]&lt;br /&gt;
&lt;br /&gt;
[[Configuring Antivirus for NEOSYS]]&lt;br /&gt;
&lt;br /&gt;
[[Configuring IIS]]&lt;br /&gt;
&lt;br /&gt;
[[Setting up Dynsite / Dynamic IP update client]]&lt;br /&gt;
&lt;br /&gt;
[[Benchmarking NEOSYS]]&lt;br /&gt;
&lt;br /&gt;
[[Setting up HTTPS]]&lt;br /&gt;
&lt;br /&gt;
[[Installing IE7 &amp;amp; IE8 Download Blocker]] ** not required for Windows 2008&lt;br /&gt;
&lt;br /&gt;
[[Monitoring NEOSYS]]&lt;br /&gt;
&lt;br /&gt;
[[Configuring NEOSYS automated backup]]&lt;br /&gt;
&lt;br /&gt;
[[Installing EMS Magic on Windows 2008]]&lt;br /&gt;
&lt;br /&gt;
[[Establishing Emergency Support Procedures]]&lt;br /&gt;
&lt;br /&gt;
[[Setting up for non-latin characters]]&lt;br /&gt;
&lt;br /&gt;
[[Configuring and Administering Multi-site Installations]]&lt;br /&gt;
&lt;br /&gt;
[[Installing on Windows 7]]&lt;br /&gt;
&lt;br /&gt;
[[Restricting usage of NEOSYS to licence period]]&lt;br /&gt;
&lt;br /&gt;
[[Configuring NEOSYS for various language character sets]]&lt;/div&gt;</summary>
		<author><name>Ashwin</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Preliminary_Check-list_and_other_Misc_items&amp;diff=580</id>
		<title>Preliminary Check-list and other Misc items</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=Preliminary_Check-list_and_other_Misc_items&amp;diff=580"/>
		<updated>2010-04-20T12:27:18Z</updated>

		<summary type="html">&lt;p&gt;Ashwin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;For Windows 2003 and 2008 - &amp;lt;B&amp;gt;Refer to Installation Checklist to follow the order of doing it&amp;lt;/B&amp;gt;&lt;br /&gt;
# Make sure you have changed the default password to a strong one as per the guidelines&lt;br /&gt;
# Make sure that Windows is activated&lt;br /&gt;
# Make sure not connected to domain controller&lt;br /&gt;
# Away in a secure place and secure power cable&lt;br /&gt;
# No services like IIS and no server roles are installed&lt;br /&gt;
# Installed with more than one partition (C: D:)&lt;br /&gt;
# Make sure that the boot sequence is correct (CD,HDD,USB)&lt;br /&gt;
# Ensure the Windows CD/ I386 folder is copied to C Drive&lt;br /&gt;
# Make sure the system has a static internal IP address&lt;br /&gt;
# All high priority Windows updates from Microsoft are installed&lt;br /&gt;
# Automatic Windows update is configured for 3 AM&lt;br /&gt;
# Make all desktop icons visible (right click on desktop &amp;gt; Personalise &amp;gt; Change desktop icons and tick Computer, User Files, Network, Recycle Bin and Control Panel)&lt;br /&gt;
# Change the name of the server to NEOSYS&lt;br /&gt;
# In Tools &amp;gt; Folder Options &amp;gt; View – Tick Show hidden files and folders and Un-tick Hide extensions&lt;br /&gt;
# Check time zone and make sure it is set to the correct region of installation&lt;br /&gt;
# Disable Autorun (all drives) – Run &amp;gt; gpedit.msc &amp;gt; Computer Configuration &amp;gt; Administrative Templates &amp;gt; Windows Components &amp;gt; Auto Play Policies &amp;gt; Turn off Autoplay should be enabled for All Drives&lt;br /&gt;
# Enable Audit Privilege Use – Control Panel &amp;gt; Administrative Tools &amp;gt; Local Security Policy &amp;gt; Local Policy &amp;gt; Audit Policy &amp;gt; Audit Privilege Use – Tick both Success and Failure&lt;br /&gt;
# Rename D drive name to NEOSYS&lt;br /&gt;
# Create shortcuts for Computer Management, D drive, Scheduled Tasks and Command Prompt in the Quick Launch area&lt;br /&gt;
&lt;br /&gt;
For Windows 2008 (additional)&lt;br /&gt;
# Rename Administrator to administrator (A should be in small caps)&lt;br /&gt;
# Disable complex password settings under Local Security Policy (under Administrative Tools)&lt;/div&gt;</summary>
		<author><name>Ashwin</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Procedures&amp;diff=579</id>
		<title>Procedures</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=Procedures&amp;diff=579"/>
		<updated>2010-04-20T12:15:10Z</updated>

		<summary type="html">&lt;p&gt;Ashwin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Here are procedures to be followed by Support Staff in respect to various technical matters in day to day operations of client issues.&lt;br /&gt;
&lt;br /&gt;
== NEOSYS Support Policies ==&lt;br /&gt;
In order to maintain good payment speed by clients NEOSYS needs to restrict support to clients that dont pay their bills on time, however the degree of restriction needs to depend on an intimate knowledge of the client which cannot be expected from all NEOSYS support staff. Therefore we will use a simple escalation policy as follows:&lt;br /&gt;
&lt;br /&gt;
NEOSYS SUPPORT MANAGERS WILL maintain an overdue/stop list on a whiteboard visible to all support staff. Generally clients will go on the list when their invoice is seven days overdue and come off only after satisfactory commitment to pay have been obtained.&lt;br /&gt;
&lt;br /&gt;
NEOSYS SUPPORT STAFF WILL discretely refer any calls for support from client on the overdue/stop list to support managers for handling.&lt;br /&gt;
&lt;br /&gt;
This policy excludes:&lt;br /&gt;
# Contacting the client to change the USB disk on the scheduled day, in case they haven&#039;t done so by 12 pm&lt;br /&gt;
# Contacting the client or if the client contacts support staff regarding backup failures and to take measures to fix these failures&lt;br /&gt;
&lt;br /&gt;
== Handling client issues ==&lt;br /&gt;
=== Handling error messages ===&lt;br /&gt;
#The very first step is understanding client problem.&lt;br /&gt;
#Ask the client what error does he gets on the screen.&lt;br /&gt;
#If error seems to be familiar then resolve it over the phone.&lt;br /&gt;
#If error is unknown then ask user to send a screenshot of the error displayed along with the options used (basically you need to know HOW to replicate the error)&lt;br /&gt;
#Upon receipt of the error, check in all the wikis for a solution.&lt;br /&gt;
#If the issue is unknown or you don’t understand it clearly ask the user then use remote support to gain access to the users desktop to view how to replicate the error. &lt;br /&gt;
&lt;br /&gt;
If it is new issue then report by escalation the same issue to your manager with a brief explanation.&lt;br /&gt;
&lt;br /&gt;
=== Handling problems with report totals ===&lt;br /&gt;
Questions with regards to report totals should not be escalated to the programmers without following this procedure. If the total can be be broken down into items (as they nearly always can be in NEOSYS) then only a problem where the items dont add up to a total should be escalated, since that would be a system error.&lt;br /&gt;
&lt;br /&gt;
== Backup Procedures ==&lt;br /&gt;
&lt;br /&gt;
=== Preparing daily backup report ===&lt;br /&gt;
# Note the success, failure and other error of the clients backup mail in an excel sheet and forward the same to your manager.&lt;br /&gt;
# If there is a backup failure or backup is not available, check wiki to take necessary steps.&lt;br /&gt;
# If there is any unknown error, forward the same to your manager.&lt;br /&gt;
&lt;br /&gt;
=== Updating Nagios incase of failures ===&lt;br /&gt;
# If the backup failure is unsolved, schedule downtime Neosys service in Nagios till 01 am.&lt;br /&gt;
# If the backup did not happen because of server down. Call the IT person; ask him to re-boot the server and check wiki to do necessary step ahead and schedule downtime to Nagios for 2hours.&lt;br /&gt;
# If there is an error &amp;quot;Backup-&amp;gt;Impossible&amp;quot; on Nagios check wiki and schedule downtime to Nagios for 2hours.&lt;br /&gt;
&lt;br /&gt;
=== Interchange backup USB mail reminder ===&lt;br /&gt;
# Basically all the clients have different days to change their backup USB. All the notification can be seen on Nagios at 12.00 pm every day.&lt;br /&gt;
# When you see the change backup notification on Nagios at 12.00 pm, send a mail to the IT person or the person who changes the USB. As you send the mail schedule downtime for Neosys services for two hours.&lt;br /&gt;
# Check the Nagios at 2.00 pm if the backup USB is changed, don&#039;t send another mail and stop there. But if backup is still not yet changed, send a another mail and this time cc the mail to your manager. After sending the mail, schedule downtime for Neosys service for more two hours.&lt;br /&gt;
# Now at 4.00 pm if you still find the backup USB not changed. Call the IT person and ask him to change the USB ASAP and schedule downtime for Neosys services for one hour.&lt;br /&gt;
# Now at 5.00 pm check Nagios and see if the backup USB is changed and if not changed. Send the mail to everyone from the backup mail.&lt;br /&gt;
# If the backup is still not changed, escalate the issue to your manager.&lt;br /&gt;
&lt;br /&gt;
=== Finding out which USB is inserted into the server ===&lt;br /&gt;
As we ask the client to have 3 USB&#039;s and interchange them weekly, we also need to sometimes track which one of these 3 USB&#039;s are inserted into the server. USB&#039;s can be tracked using their volume serial number in most cases. To find this out either go to the command prompt and type VOL or in the nightly backup message check for the 2nd line (which looks like this - 14/12/2009 2:45pm Media: 705B-5B5F). However serial numbers can be the same even for different USB&#039;s.&lt;br /&gt;
&lt;br /&gt;
== Creating and Handling passwords ==&lt;br /&gt;
Passwords made out of a pass phrase should be at least 10 characters since using initials results in a lot of i&#039;s and a&#039;s etc which reduces the effectiveness of the password and allows hacking via brute force guessing especially since windows doesnt slow down logins even if it sees thousands of password attempts.&lt;br /&gt;
&lt;br /&gt;
=== Creating a password ===&lt;br /&gt;
Passwords are generated from a pass phrase and it is important to create a very difficult to guess pass phrase.&lt;br /&gt;
&lt;br /&gt;
For example, a good pass phrase would be: &#039;&#039;&#039;Today is a good day and it is the best time to go for a holiday&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The password for this would be &#039;&#039;&#039;Tiagdaiitbt2g4ah&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The important instructions for the above are:&lt;br /&gt;
#You have to take the first letter of each word and that makes your password (i.e. by using initials)&lt;br /&gt;
#Wherever any word starts with a capital, then you have to take first letter as a capital (eg. For Today you will take T)&lt;br /&gt;
#Replace &#039;&#039;&#039;and&#039;&#039;&#039; with &#039;&#039;&#039;&amp;amp;&#039;&#039;&#039;&lt;br /&gt;
#Replace &#039;&#039;&#039;to&#039;&#039;&#039; with &#039;&#039;&#039;2&#039;&#039;&#039;&lt;br /&gt;
#Replace &#039;&#039;&#039;for&#039;&#039;&#039; with &#039;&#039;&#039;4&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Handling passwords ===&lt;br /&gt;
#Never send the actual password - always send the pass phrase&lt;br /&gt;
#Make sure that the password created out of the pass phrase is at least 10 characters long since using initials results in a lot of i&#039;s and a&#039;s etc which reduces the effectiveness of the password and allows hacking via brute force guessing especially since windows doesnt slow down logins even if it sees thousands of password attempts&lt;br /&gt;
#Pass phrases are never to be sent by email, whatever the case maybe.&lt;br /&gt;
#Pass phrases can be sent by chat - however they have to be broken down in two parts and sent separately over two different messengers or if you are using Gtalk then use the &#039;off the record&#039; mode.&lt;br /&gt;
#Using SMS to send pass phrases is the best known way as of now.&lt;br /&gt;
#If you save the passwords on your system as a file, make sure the file is encrypted with a master password.&lt;br /&gt;
&lt;br /&gt;
==[[NEOSYS Maintenance Window]]==&lt;/div&gt;</summary>
		<author><name>Ashwin</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Procedures&amp;diff=578</id>
		<title>Procedures</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=Procedures&amp;diff=578"/>
		<updated>2010-04-20T12:14:46Z</updated>

		<summary type="html">&lt;p&gt;Ashwin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Here are procedures to be followed by Support Staff in respect to various technical matters in day to day operations of client issues.&lt;br /&gt;
&lt;br /&gt;
== NEOSYS Support Policies ==&lt;br /&gt;
In order to maintain good payment speed by clients NEOSYS needs to restrict support to clients that dont pay their bills on time, however the degree of restriction needs to depend on an intimate knowledge of the client which cannot be expected from all NEOSYS support staff. Therefore we will use a simple escalation policy as follows:&lt;br /&gt;
&lt;br /&gt;
NEOSYS SUPPORT MANAGERS WILL maintain an overdue/stop list on a whiteboard visible to all support staff. Generally clients will go on the list when their invoice is seven days overdue and come off only after satisfactory commitment to pay have been obtained.&lt;br /&gt;
&lt;br /&gt;
NEOSYS SUPPORT STAFF WILL discretely refer any calls for support from client on the overdue/stop list to support managers for handling.&lt;br /&gt;
&lt;br /&gt;
This policy excludes:&lt;br /&gt;
# Contacting the client to change the USB disk on the scheduled day, in case they haven&#039;t done so by 12 pm&lt;br /&gt;
# Contacting the client or if the client contacts support staff regarding backup failures and to take measures to fix these failures&lt;br /&gt;
&lt;br /&gt;
== Handling client issues ==&lt;br /&gt;
=== Handling error messages ===&lt;br /&gt;
#The very first step is understanding client problem.&lt;br /&gt;
#Ask the client what error does he gets on the screen.&lt;br /&gt;
#If error seems to be familiar then resolve it over the phone.&lt;br /&gt;
#If error is unknown then ask user to send a screenshot of the error displayed along with the options used (basically you need to know HOW to replicate the error)&lt;br /&gt;
#Upon receipt of the error, check in all the wikis for a solution.&lt;br /&gt;
#If the issue is unknown or you don’t understand it clearly ask the user then use remote support to gain access to the users desktop to view how to replicate the error. &lt;br /&gt;
&lt;br /&gt;
If it is new issue then report by escalation the same issue to your manager with a brief explanation.&lt;br /&gt;
&lt;br /&gt;
=== Handling problems with report totals ===&lt;br /&gt;
Questions with regards to report totals should not be escalated to the programmers without following this procedure. If the total can be be broken down into items (as they nearly always can be in NEOSYS) then only a problem where the items dont add up to a total should be escalated, since that would be a system error.&lt;br /&gt;
&lt;br /&gt;
== Backup Procedures ==&lt;br /&gt;
&lt;br /&gt;
=== Preparing daily backup report ===&lt;br /&gt;
# Note the success, failure and other error of the clients backup mail in an excel sheet and forward the same to your manager.&lt;br /&gt;
# If there is a backup failure or backup is not available, check wiki to take necessary steps.&lt;br /&gt;
# If there is any unknown error, forward the same to your manager.&lt;br /&gt;
&lt;br /&gt;
=== Updating Nagios incase of failures ===&lt;br /&gt;
# If the backup failure is unsolved, schedule downtime Neosys service in Nagios till 01 am.&lt;br /&gt;
# If the backup did not happen because of server down. Call the IT person; ask him to re-boot the server and check wiki to do necessary step ahead and schedule downtime to Nagios for 2hours.&lt;br /&gt;
# If there is an error &amp;quot;Backup-&amp;gt;Impossible&amp;quot; on Nagios check wiki and schedule downtime to Nagios for 2hours.&lt;br /&gt;
&lt;br /&gt;
=== Interchange backup USB mail reminder ===&lt;br /&gt;
# Basically all the clients have different days to change their backup USB. All the notification can be seen on Nagios at 12.00 pm every day.&lt;br /&gt;
# When you see the change backup notification on Nagios at 12.00 pm, send a mail to the IT person or the person who changes the USB. As you send the mail schedule downtime for Neosys services for two hours.&lt;br /&gt;
# Check the Nagios at 2.00 pm if the backup USB is changed, don&#039;t send another mail and stop there. But if backup is still not yet changed, send a another mail and this time cc the mail to your manager. After sending the mail, schedule downtime for Neosys service for more two hours.&lt;br /&gt;
# Now at 4.00 pm if you still find the backup USB not changed. Call the IT person and ask him to change the USB ASAP and schedule downtime for Neosys services for one hour.&lt;br /&gt;
# Now at 5.00 pm check Nagios and see if the backup USB is changed and if not changed. Send the mail to everyone from the backup mail.&lt;br /&gt;
# If the backup is still not changed, escalate the issue to your manager.&lt;br /&gt;
&lt;br /&gt;
=== Finding out which USB is inserted into the server ===&lt;br /&gt;
As we ask the client to have 3 USB&#039;s and interchange them weekly, we also need to sometimes track which one of these 3 USB&#039;s are inserted into the server. USB&#039;s can be tracked using their volume serial number in most cases. To find this out either go to the command prompt and type VOL or in the nightly backup message check for the 2nd line (which looks like this - 14/12/2009 2:45pm Media: 705B-5B5F). However serial numbers can be the same even for different USB&#039;s.&lt;br /&gt;
&lt;br /&gt;
== Creating and Handling passwords ==&lt;br /&gt;
Passwords made out of a pass phrase should be at least 10 characters since using initials results in a lot of i&#039;s and a&#039;s etc which reduces the effectiveness of the password and allows hacking via brute force guessing especially since windows doesnt slow down logins even if it sees thousands of password attempts.&lt;br /&gt;
&lt;br /&gt;
=== Creating a password ===&lt;br /&gt;
Passwords are generated from a pass phrase and it is important to create a very difficult to guess pass phrase.&lt;br /&gt;
&lt;br /&gt;
For example, a good pass phrase would be: &#039;&#039;&#039;Today is a good day and it is the best time to go for a holiday&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The password for this would be &#039;&#039;&#039;Tiagdaiitbt2g4ah&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The important instructions for the above are:&lt;br /&gt;
#You have to take the first letter of each word and that makes your password (i.e. by using initials)&lt;br /&gt;
#Wherever any word starts with a capital, then you have to take first letter as a capital (eg. For Today you will take T)&lt;br /&gt;
#Replace &#039;&#039;&#039;and&#039;&#039;&#039; with &#039;&#039;&#039;&amp;amp;&#039;&#039;&#039;&lt;br /&gt;
#Replace &#039;&#039;&#039;to&#039;&#039;&#039; with &#039;&#039;&#039;2&#039;&#039;&#039;&lt;br /&gt;
#Replace &#039;&#039;&#039;for&#039;&#039;&#039; with &#039;&#039;&#039;4&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Handling passwords ===&lt;br /&gt;
#Never send the actual password - always send the pass phrase&lt;br /&gt;
#Make sure that the password created out of the pass phrase is at least 10 characters long since using initials results in a lot of i&#039;s and a&#039;s etc which reduces the effectiveness of the password and allows hacking via brute force guessing especially since windows doesnt slow down logins even if it sees thousands of password attempts&lt;br /&gt;
#Pass phrases are never to be sent by email, whatever the case maybe.&lt;br /&gt;
#Pass phrases can be sent by chat - however they have to be broken down in two parts and sent separately over two different messengers or if you are using Gtalk then use the &#039;off the record&#039; mode.&lt;br /&gt;
#Using SMS to send pass phrases is the best known way as of now.&lt;br /&gt;
#If you save the passwords on your system as a file, make sure the file is encrypted with a master password.&lt;br /&gt;
&lt;br /&gt;
==[NEOSYS Maintenance Window]]==&lt;/div&gt;</summary>
		<author><name>Ashwin</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Installing_NEOSYS&amp;diff=577</id>
		<title>Installing NEOSYS</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=Installing_NEOSYS&amp;diff=577"/>
		<updated>2010-04-20T12:13:48Z</updated>

		<summary type="html">&lt;p&gt;Ashwin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Technical / Hardware requirements]]&lt;br /&gt;
&lt;br /&gt;
[[Preliminary Check-list and other Misc items]]&lt;br /&gt;
&lt;br /&gt;
[[Setting up TCP/IP filtering]]&lt;br /&gt;
&lt;br /&gt;
[[Setting up Windows Firewall]]&lt;br /&gt;
&lt;br /&gt;
[[Setting up and using remote support]]&lt;br /&gt;
&lt;br /&gt;
[[Installing NEOSYS Service]]&lt;br /&gt;
&lt;br /&gt;
[[Configuring Antivirus for NEOSYS]]&lt;br /&gt;
&lt;br /&gt;
[[Configuring IIS]]&lt;br /&gt;
&lt;br /&gt;
[[Setting up Dynsite / Dynamic IP update client]]&lt;br /&gt;
&lt;br /&gt;
[[Benchmarking NEOSYS]]&lt;br /&gt;
&lt;br /&gt;
[[Setting up HTTPS]]&lt;br /&gt;
&lt;br /&gt;
[[Installing IE7 &amp;amp; IE8 Download Blocker]] ** not required for Windows 2008&lt;br /&gt;
&lt;br /&gt;
[[Monitoring NEOSYS]]&lt;br /&gt;
&lt;br /&gt;
[[Installing EMS Magic on Windows 2008]]&lt;br /&gt;
&lt;br /&gt;
[[Establishing Emergency Support Procedures]]&lt;br /&gt;
&lt;br /&gt;
[[Setting up for non-latin characters]]&lt;br /&gt;
&lt;br /&gt;
[[Configuring and Administering Multi-site Installations]]&lt;br /&gt;
&lt;br /&gt;
[[Installing on Windows 7]]&lt;br /&gt;
&lt;br /&gt;
[[Restricting usage of NEOSYS to licence period]]&lt;br /&gt;
&lt;br /&gt;
[[Configuring NEOSYS for various language character sets]]&lt;/div&gt;</summary>
		<author><name>Ashwin</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Benchmarking_NEOSYS&amp;diff=576</id>
		<title>Benchmarking NEOSYS</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=Benchmarking_NEOSYS&amp;diff=576"/>
		<updated>2010-04-20T12:12:40Z</updated>

		<summary type="html">&lt;p&gt;Ashwin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== Measuring the speed of NEOSYS on the server ===&lt;br /&gt;
&lt;br /&gt;
In NEOSYS maintenance mode press F5:&lt;br /&gt;
&lt;br /&gt;
 FILESPEED&lt;br /&gt;
&lt;br /&gt;
Measures the speed at to create and delete a file with 1000x1Kb records - lower time is better&lt;br /&gt;
&lt;br /&gt;
Example speed is 1 second on a high quality notebook 7200rpm Hitachi deskstar&lt;br /&gt;
Speeds less than 8 seconds are acceptable for small installations&lt;br /&gt;
Speeds less than 4 seconds are acceptable for larger installations&lt;br /&gt;
Antivirus usually needs to be configured to exclude OV or OV? files. See section [[Configuring Antivirus for NEOSYS]]&lt;br /&gt;
&lt;br /&gt;
 PROCSPEED&lt;br /&gt;
&lt;br /&gt;
Measures the processor speed – higher speed is better&lt;br /&gt;
&lt;br /&gt;
Example speed is 540K tests per second on an Intel Core Duo 1.8Ghz&lt;br /&gt;
&lt;br /&gt;
 MEMSPEED&lt;br /&gt;
&lt;br /&gt;
Measures the memory speed – higher speed is better&lt;br /&gt;
&lt;br /&gt;
Example speed is 27K tests per second on an Intel Core Duo 1.8Ghz with &lt;br /&gt;
667MHz DDR 2 SDRAM&lt;br /&gt;
&lt;br /&gt;
=== Benchmarking the speed of NEOSYS over the network ===&lt;br /&gt;
# From Support &amp;gt; System Test – Test the Web server loopback with the option 100 from the Number of Times to repeat. This checks the connection to IIS - this has to be done from the server and also the user computer&lt;br /&gt;
# From Support &amp;gt; System Test – Test the NEOSYS application loopback with the option 100 from the Number of Times to repeat. This checks the connection to the NEOSYS database - this has to be done from the server and also the user computer&lt;br /&gt;
&lt;br /&gt;
Results are to be noted in the installation check list.&lt;br /&gt;
&lt;br /&gt;
=== Getting CPU characteristics ===&lt;br /&gt;
&lt;br /&gt;
Intel Processor Identification Utility&lt;br /&gt;
&lt;br /&gt;
http://downloadfinder.intel.com/scripts-df-external/confirm.aspx?httpDown=http://downloadmirror.intel.com/df-support/7838/eng/pidenu12.msi&amp;amp;agr=N&amp;amp;ProductID=528&amp;amp;DwnldId=7838&amp;amp;strOSs=All&amp;amp;OSFullName=All%20Operating%20Systems&amp;amp;lang=eng&lt;/div&gt;</summary>
		<author><name>Ashwin</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=Configuring_IIS&amp;diff=575</id>
		<title>Configuring IIS</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=Configuring_IIS&amp;diff=575"/>
		<updated>2010-04-20T12:10:00Z</updated>

		<summary type="html">&lt;p&gt;Ashwin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;After you have installed all the NEOSYS program files you need to configure IIS so that you can operate NEOSYS. Instructions are below.&lt;br /&gt;
&lt;br /&gt;
== Configuring IIS for Windows 2008 ==&lt;br /&gt;
&lt;br /&gt;
==== Installing IIS ====&lt;br /&gt;
&lt;br /&gt;
First install IIS from Control Panel &amp;gt; Programs &amp;amp; Features &amp;gt; Turn Windows Features ON or OFF &amp;gt; Add Roles:&lt;br /&gt;
[[image:iis1.jpg]]&lt;br /&gt;
&lt;br /&gt;
On the window that pops up click on next and you will get this screen, tick Web Server (IIS) - on the prompt click on Add Required Resources and then on Next:&lt;br /&gt;
[[image:iis2.jpg]]&lt;br /&gt;
&lt;br /&gt;
On the next window, click on next until you get this window - tick ASP and ISAPI Extensions:&lt;br /&gt;
[[image:iis3.jpg]]&lt;br /&gt;
&lt;br /&gt;
Click on Next and Finish&lt;br /&gt;
&lt;br /&gt;
==== Configuring IIS ====&lt;br /&gt;
After successfully installing IIS, go to Control Panel &amp;gt; Administrative Tools &amp;gt; Computer Management &amp;gt; Services and Applications &amp;gt; Internet Information Services (IIS) &amp;gt; Machine Name &amp;gt; Sites &amp;gt; Default Website:&lt;br /&gt;
&lt;br /&gt;
The first step is to create a virtual directory called neosys linked to D:\neosys\neosys.net:&lt;br /&gt;
[[image:iis4.jpg]]&lt;br /&gt;
&lt;br /&gt;
Within the above neosys web site folder create a virtual directory called data linked to D:\neosys\data:&lt;br /&gt;
[[image:iis5.jpg]]&lt;br /&gt;
&lt;br /&gt;
In the IIS Default Web Site create a another virtual directory called neosys.w3c linked to D:\neosys\neosys.w3c (only if timesheets for mac is required):&lt;br /&gt;
[[image:iis6.jpg]]&lt;br /&gt;
&lt;br /&gt;
To allow file uploads – create a folder IMAGES under D:\neosys and within the neosys web site folder create a virtual directory called images linked to D:\neosys\images:&lt;br /&gt;
[[image:iis7.jpg]]&lt;br /&gt;
&lt;br /&gt;
After you add all virtual directories the tree map of the Default Website should look as follows:&lt;br /&gt;
[[image:iis8.jpg]]&lt;br /&gt;
&lt;br /&gt;
To configure file uploads besides adding the images directory, go under IIS &amp;gt; Default Website &amp;gt; neosys – click on Handler Mappings and delete the ISAPI you see there:&lt;br /&gt;
[[image:iis9a.jpg]]&lt;br /&gt;
&lt;br /&gt;
Thereafter click on Add Script Map and fill in the details as follows – Request path: *.dll , Executable: D:\neosys\neosys.net\NEOSYS\dll\upload.dll , Name: ISAPI (once you click on OK click on YES to the confirmation box)&lt;br /&gt;
[[image:iis9b.jpg]]&lt;br /&gt;
&lt;br /&gt;
Edit the hosts file under c:\windows\system32\drivers\etc\ - delete the # sign next to 127.0.0.1 localhost and incluide the # sign before ::1 localhost&lt;br /&gt;
[[image:iis10.jpg]]&lt;/div&gt;</summary>
		<author><name>Ashwin</name></author>
	</entry>
	<entry>
		<id>https://techwiki.neosys.com/index.php?title=File:Iis10.jpg&amp;diff=574</id>
		<title>File:Iis10.jpg</title>
		<link rel="alternate" type="text/html" href="https://techwiki.neosys.com/index.php?title=File:Iis10.jpg&amp;diff=574"/>
		<updated>2010-04-20T12:06:56Z</updated>

		<summary type="html">&lt;p&gt;Ashwin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Ashwin</name></author>
	</entry>
</feed>