Copyright © 2005 - 2008 KennWare Solutions
Table of Contents
Table of Contents
The installation process should automatically start when you insert the install CD into your CD/DVD drive (if autorun is enabled for that drive). If the installation program does not automatically start, click on the Windows Start button, click on Run and then click on Browse. Locate kwSchedulerSetup.exe on the CD, click on it and then click on Open. Click on OK to execute the installation program.
The installation program first displays a Welcome screen, click on Next to display the License Agreement screen.
The License Agreement is a legally binding agreement between you and KennWare Solutions LLC regarding the use of the kwScheduler software. The license only applies to the use of the kwScheduler software, not any of the database related software or any other optional programs (they are provided as open source or freely redistributable software which you are free to use). Click on the I Agree button to display the Installation Type and Select Components screen.
The installation program allows you to easily install the kwScheduler program (including all supporting files, local databases and a local database server). You can also install a network server and other optional programs.
The Installation Type screen allows you to select a pre-defined installation type (such as the basic kwScheduler program, a Network Server installation or custom installation). The default is the kwScheduler program.
Installing kwScheduler should be an easy process, simply click on Next for each screen, the installer program defaults for a basic installation of the program.
The kwScheduler Program installation type selects the appropriate components to install the kwScheduler Program. These components are; the kwScheduler program and any necessary supporting files, an initial database and a demonstration database and program documentation in PDF and HTML formats.
The kwScheduler program is dependent on Microsoft Frameworks Version 2 and also requires the Microsoft VC++ Redistributable libraries (used only when skinning the program, skins are not available on Windows Vista). The install program will check if these libraries have been installed on your workstation and if either is not found, will automatically install them at the beginning of the install process. These libraries need only be installed once on your workstation.
![]() | Note |
|---|---|
The install process for Microsoft Frameworks Version 2 is a lengthy process. It also requires Windows Installer Version 3 to install properly. If you receive an error indicating that Windows Installer Version 3 is required, cancel the Frameworks installation. The rest of the programs should install normally. Then restart the installation program (by reinserting the CD or running kwSchedulerSetup.exe) and select Windows Installer Version 3 and Microsoft Frameworks 2 in the Prerequisite Programs component selection. | |
The installation program will do the following:
Install the kwScheduler program and related files on your hard drive (by default in /Program Files/kwScheduler). The install program will allow you to install the program in a different location if you desire.
Install the local database and demonstration database. If you are reinstalling or upgrading the program, the install program will ask if you want to overwrite the existing databases. By default these are installed in the same directory as the application.
Install the online help and documentation files in the same directory as the application. The installed help file is kwScheduler.chm and the Acrobat Reader format is kwScheduler.pdf and the web browser format is kwScheduler.html. All three files are identical in content.
Create a shortcut icon on your desktop for the program.
kwScheduler will be installed with a 30-day evaluation. After the evaluation period has ended, the program will continue to run in demonstration mode with one limitation, you will not be able to schedule activities beyond a certain date. A program key (supplied by KennWare Solutions) is required to continue to use the program. To obtain a license key, e-mail KennWare Solutions at <kminear@FreedomProd.com>.
The basic installation of kwScheduler installs local databases to be used with the program. These databases can be accessed only on the workstation they are installed on, they cannot be accessed from other workstations over a network or by using shared drives.
You can setup a network server with access to databases that can be accessed from any number of workstations using the network or a TCP/IP interface.
On the workstation you want to use as your server, insert the install CD and select the Network Database Server Installation type. This will install the Firebird Network Server on the workstation. We recommend during installation that you choose:
Use the SuperServer version instead of the Classic version.
Run the server as a process (instead of as an application).
Have the server started when windows is started.
Use the Guardian.
There are several PDF documents which will also be installed:
Using-Firebird_(wip).pdf
Firebird-2.0-QuickStart.pdf
Firebird-nbackup.pdf
Diagnosing and Repairing Database Corruption.pdf
Also included are Optional Database Utilities (which need to be selected to install):
Easy-IP Firebird Database Utility: this utility can be used with a networked Firebird database server. It contains many standard utilities for managing the database. The most useful utility is an automatic backup utility which can be scheduled to automatically run at a user specified interval. It should be installed on the same workstation or server that the Firebird Network Server is installed on.
FlameRobin Database Utility: this utility can be used to display and modify the contents of a database. It can work with either a local database or a network database. Some functions of the utility require advanced knowledge of databases.
However, most basic maintenance functions (such as backup and restores) are built into kwScheduler in the Tools...Database menu.
You can always create new databases using the Tools menu Database utilities.
Some general information about the Firebird Server:
Installation Drives
Firebird server – and any databases you create or connect to – must reside on a hard drive that is physically connected to the host machine. You cannot locate components of the server, or any database, on a mapped drive, a file system share or a network file system.
Installing on Windows
The Firebird installer lets you choose between Superserver and Classic Server installation. Both are fully mature and stable and there is no reason to categorically prefer one to the other. Of course you may have your own specific considerations. We recommend the Superserver version.
If you install Firebird under Windows 95/98/ME, uncheck the option to install the Control Panel applet. It doesn't work on these platforms. (Note: the option to install the applet is only available for Superserver.)
On Windows server platforms – NT, 2000, 2003 and XP – Firebird will run as a system service by default, but during the installation you can also choose to let it run as an application. Non-server Windows systems – 95, 98 and ME – don't support services; running as an application is the only option there.
Use the Guardian?
The Firebird Guardian is a utility that monitors the server process and tries to restart it if it terminates abnormally. The Guardian does not work with Firebird Classic Server on Windows if run as an application. This is due to a known bug, which will be fixed later. Currently the Firebird 2 installer doesn't give you the option to include the Guardian at all with a Classic Server, even if you install it as a service.
The Guardian works correctly with Superserver, whether run as an application or as a service.
If you run Firebird as a service on Windows 2000, 2003 or XP, the Guardian is a convenience rather than a necessity, since these operating systems have the facility to watch and restart services. It is recommended that you keep the Guardian option on (if possible) in all other situations.
A custom installation is created by either selecting or deselecting additional components (such as additional programs). You create a custom installation when you select or deselect additional components.
There are three installation packages for kwScheduler (all functions in the kwScheduler program are identical, the packages only contain different combinations of optional programs to reduce the size of the installation).
kwSchedulerLiteSetup
This is the lite version containing the basic program and a local database.
kwSchedulerBasicSetup
This is the basic version containing the basic program and the database network server.
kwSchedulerSetup
This is the full featured version containing the basic program and all the optional programs such as database utilities, the database network server, Adobe Acrobat Reader, etc. This version is usually what is shipped on media such as CD's or DVD's. The Lite Setup and Basic Setup are available on our web site to reduce download times.
Following are descriptions of all components that can be installed.
These programs are required for the kwScheduler program to successfully execute. The Windows Installer 3.0 is only required for installing the Microsoft Framework 2, and the installer program cannot determine if it is already installed on your workstation. Both Microsoft Framework 2 and Microsoft VC++ Redistributable will be detected and automatically installed when you install the kwScheduler program.
Windows Installer 3: Needed only when installing Microsoft Frameworks 2. If you encounter an error installing Frameworks 2 indicating that Installer 3 is required, cancel the Frameworks installation, continue with the rest of the installation, then reinstall selecting Windows Installer 3 and Frameworks 2.
Microsoft Frameworks 2: Needed for kwScheduler to successfully execute. The install program will detect if it is not installed and attempt to install it.
Microsoft VC++ Redistributable libraries: Needed for kwScheduler to successfully execute. The install program will detect if it is not installed and attempt to install it. There is no user input required during installation.
This is the basic kwScheduler program and all associated files necessary to support it. All of these files are installed in one directory (usually /Program Files/kwScheduler).
These are the local database files for the program. You can create new database files after installation using the Tools...Database menu.
Initial kwScheduler database: an initialized database.
Demonstration kwScheduler database: a demonstration database, it has activities scheduled for it starting on May 1, 2007.
Documentation for the kwScheduler program and Firebird Database in different formats. Documentation is available directly in the program by using the F1 key.
kwScheduler documentation if PDF (Adobe Acrobat Reader) and HTML (web browser) formats.
![]() | Note |
|---|---|
We recommend that you print out one of these documents for reference. | |
Firebird Documentation in PDF format (Adobe Acrobat Reader)
Using-Firebird_(wip).pdf
Firebird-2.0-QuickStart.pdf
Firebird-nBackup.pdf
Diagnosing and Repairing Database Corruption.pdf
Installing kwScheduler and Database Guide (CHM & PDF & HTML formats)
These are programs that you might useful. More current versions are available over the internet, but are provided here in case your workstation does not have internet access. If you do have Internet access, the Help Menu -> Companion Products will display links for all of the optional programs to allow you to download the most current versions.
Open Office, a free, open-source program which provides much of the same functionality as the Microsoft Office suite.
Adobe Acrobat Reader 8.1: for use to display PDF files on Windows 2000, XP, Vista.
Adobe Acrobat Reader 5.0: for use to display PDF files on Windows 98, ME.
Mozilla Firefox: a free alternative to Internet Explorer to browse the web and HTML files.
Mozilla Sunbird: a free calendar program which is an alternative to Microsoft Outlook, kwScheduler can import and export schedules easily with Sunbird.
The network server component is used to install the Firebird network server on a computer.
The optional database utility programs give you extra facilities to interrogate and manipulate the databases used by kwScheduler (the kwScheduler program gives you basic functions such as create, backup and restore databases via the Tools...Database menu).
Easy-IP Firebird Database Manager: performs basic functions on a database including creating Aliases, etc. Oriented to a network database as opposed to a local database. Easy-IP also includes a utility to automatically backup databases at a specific interval (i.e. daily, weekly, etc.).
FlameRobin: a very nice utility to manage a database.
You can switch to a different database (such as the demonstration database) using the Tools...Database menu.
Browse the local database setting and select the kwSchedulerDemo.FDB database. Then click on the Update Configuration button.
The kwScheduler demo database has tasks created starting on May 1, 2007. Select the calendar drop-down and scroll back to May, 2007.
You can reinstall or upgrade to a new version of kwScheduler without uninstalling previous versions.
We do recommend that you backup all databases before performing a reinstall or upgrade and copy those backups to a different location and make note of all your database connections.
During a reinstall, the installation program will detect that an existing database file exists and ask if you want to overwrite it.
You can uninstall kwScheduler by going to the control panel, select Install/Uninstall Programs, select kwScheduler and click on change/remove. The uninstall program should remove everything installed for kwScheduler. There are no modules installed in any location other than the original directory in Program Files that the program was originally installed in (except for license keys and configuration data).
The uninstall will remove the local database files originally installed with the program, so we recommend that you back them up and copy them to a separate location.
Uninstall does not remove any other applications you might have installed from the install CD (such as optional programs). You will need to uninstall those components separately.
![]() | Note |
|---|---|
An uninstall option is also available in the programs menu with the start button. | |
Table of Contents
Firebird is a powerful, compact client/server SQL relational database management system which can run on a variety of server and client operating systems. Its officially supported platforms are Windows and Linux, but Firebird is also known to run on several other OS's, such as FreeBSD and Apple Macintosh OS/X.
The product which today is called Firebird has been around, under a variety of names, for well over 20 years. Developed as an ongoing open source project, Firebird is a descendant of Borland's InterBase 6.0 Open Edition code which was released for open source development in July 2000 under the InterBase Public License (IPL).
The Windows Firebird Local Server is a Superserver engine plus client rolled into one library. The embedded server was specifically designed to facilitate deployment of applications that ship with a Firebird server included.
The local server has no facility to accept any network connections. Only true local access is possible.
kwScheduler is installed with the local server and the necessary databases. It is not necessary to install the network server portion of the software unless you want multiple users to have concurrent access to the data. A separate license is required for each workstation accessing the database.
The Firebird network server is a program that runs on a machine with which client workstations can communicate by way of a network. Clients connect to databases physically located on this server host machine. The same machine that hosts the executing Firebird server process must host the Firebird databases in its own storage space. Only the server process has direct, file system-level access to the database files. The server is fully network-enabled, serving multiple connections simultaneously, in response to requests from other nodes in the network. If the network runs under TCP/IP protocol, the scope of the network is virtually limitless.
The Firebird server boasts a very small “footprint” on the file system when installed on a host server. The server's executable is less than 1.5 Mb and a full server installation, including all tools and documentation, takes up less than 10 Mb. The memory footprint will vary according to the scale of the deployment, which can range from a single user running an application over a single database to hundreds of concurrent connections to multiple databases servicing thousands of users on wide-area networks.
These guidelines only apply to Firebird Network Server. When using the Local Firebird server, there is no TCP/IP interface (and hence no security, only the local workstation can access the database and has full rights to do so).
IP Address Binding
By default, Firebird is bound to 0.0.0.0 IP address. That mean it will be reachable on all available IP addresses. When you are using Firebird only as a backend to your web application you should bind it to local 127.0.0.1 that makes it unavailable from network. You can change the bind address in firebird.conf:
RemoteBindAddress = 127.0.0.1
TCP Port
Firebird server runs on port 3050 by default. You can change it in firebird.conf:
RemoteServicePort = 3050
Use your firewall to limit access to that port. You should not expose it directly to the internet.
Database Paths
When connecting to Firebird, you can specify the database by either:
Full path to the database file, e.g. @"Database=C:\data\mydb.fdb"
Alias specified in aliases.conf
By default you can open any database that is located on the server and the server process is permitted to read/write by file system. To make your server more secure you can limit the databases that can be open to:
Databases located in specific directories
Databases listed in aliases.conf
The options in firebird.conf are as follows:
# Unrestricted access (default) DatabaseAccess = Full # Access restricted to listed directories DatabaseAccess = Restrict c:\data1;c:\data2 # Access restricted to database aliases listed in aliases.conf DatabaseAccess = None
Network Communication
Firebird uses unencrypted network communication. To make it more secure, you can use SSL tunnelling.
![]() | Important |
|---|---|
kwScheduler stores connection information in a kwScheduler.exe.config file in clear text, meaning that user names and passwords are available in "clear" format for anyone browsing those files. | |
SYSDBA Password and User Management
The administrator account name in Firebird is SYSDBA and the default password is masterkey. (Actually, only first 8 characters of the password are significant.) You should change the SYSDBA password after server installation.
Firebird comes with a command-line user management tool called gsec. Although its functions can also be performed by a number of third-party GUI utilities, you should at least have a basic knowledge of gsec, since this is the official tool and it's present in every Firebird server installation. In the next sections you will use gsec to execute two tasks: changing the SYSDBA password and adding a Firebird user.
One Firebird account is created automatically as part of the installation process: SYSDBA. This account has all the privileges on the server and cannot be deleted. Depending on version, OS, and architecture, the installation program will either
install the SYSDBA user with the password masterkey (actually, masterke: characters after the eighth character are ignored), or
ask you to enter a password during installation, or
generate a random password and store that in the file SYSDBA.password within your Firebird installation directory.
If the password is masterkey and your server is exposed to the Internet at all – or even to a local network, unless you trust every user with the SYSDBA password – you should change it immediately using the gsec command-line utility. Go to a command shell, cd to the Firebird bin subdirectory and issue the following command to change the password to (as an example) icuryy4me:
gsec -user sysdba -pass masterkey -mo sysdba -pw icuryy4me
Notice that you specify “sysdba” twice in the command:
With the -user parameter you identify yourself as SYSDBA. You also provide SYSDBA's current password in the -pass parameter.
The -mo[dify] parameter tells gsec that you want to modify an account – which happens to be SYSDBA again. Lastly, -pw specifies the type of modification: the password.
If all has gone well, the new password icuryy4me is now encrypted and stored, and masterkey is no longer valid. Please be aware that unlike Firebird user names, passwords are case-sensitive.
Firebird allows the creation of many different user accounts, each of which can own databases and also have various types of access to databases it doesn't own.
Using gsec, you can add a user account as follows from the command line in the Firebird bin subdirectory:
gsec -user sysdba -pass masterkey -add billyboy -pw sekrit66
Provided that you've supplied the correct password for SYSDBA, a user account called billyboy will now have been created with password sekrit66. Remember that passwords are case-sensitive.
![]() | Note |
|---|---|
Passwords are case sensitive. | |
Security Database
Firebird maintains a security database storing user names and encrypted passwords. It is located in the root directory of the server installation and controls access to the server itself and all databases in its physical domain. The SYSDBA account has full, destructive privileges to all databases on the server.
Roles
Firebird provides the capability to define ROLEs at database level. Within a database, only SYSDBA and the database owner have full privileges; otherwise, all privileges must be granted explicitly to individual users and/or roles. It is possible – and recommended – to define a set of permissions for a role and then grant that role to specific users as required (kwScheduler uses the "Scheduler" role).
kwScheduler uses a Role named "Scheduler" for database access rights. You do not need to specify (or grant) the role, it is automatically assigned in the program when the user connects to the database through the kwScheduler program (however, if you are using third-party programs to access data in the database, you might need to specify the role name when connecting to the database if you are signing on as a user other than SYSDBA).
Adding Users
SYSDBA can add and delete users' accounts names and modify the details of an account, including the password. Passwords, once stored, are not human-readable, even by SYSDBA.
See above for an example using the gsec command to add a user.
Physical Database Paths
Physical database paths can be shielded from the client using aliases. Access to database files can be restricted to explicitly specified file system trees only – or even tighter – by setting the appropriate parameters in the configuration file firebird.conf (reference the Firebird documentation).
Database Aliases
Database aliases shield the client from physical database locations. Using aliases, a user can connect to “frodo:zappa” without having to know that the real location is frodo:/var/firebird/music/underground/mothers_of_invention.fdb. Aliases also allow you to relocate databases while the users keep using their existing connection strings.
Aliases are listed in the file aliases.conf, in this format on Windows machines:
poker = E:\Games\Data\PokerBase.fdb blackjack.fdb = C:\Firebird\Databases\cardgames\blkjk_2.fdb
Giving the alias an .fdb (or any other) extension is fully optional. Of course if you do include it, you must also specify it when you use the alias to connect to the database.
![]() | Note |
|---|---|
You can use aliases to connect to a database, but you must use the fully qualified name for any of the other database utilities (such as backup, restore, etc.). The fully qualified name is the name of the database on the server that the Firebird Database Server is located on. | |
Table of Contents
IMPORTANT: Please read the terms and conditions of this license agreement carefully before using the software. KennWare Solutions and/or its subsidiaries ("KennWare Solutions") is willing to license the software to you as the individual, the company, or the legal entity that will be utilizing the software (referenced below as "you" or "your") only on the condition that you accept all of the terms of this license agreement. This is a legal and enforceable contract between you and KennWare Solutions. By opening this package, breaking the seal, or loading the software, you agree to the terms and conditions of this agreement. If you do not agree to these terms and conditions make no further use of the software.
LICENSE:
The software that accompanies this license (collectively the "Software") is the property of KennWare Solutions or its licensors and is protected by copyright law. While KennWare Solutions continues to own the software, You will have certain rights to use the Software after Your acceptance of this license. This license governs any releases, revisions, or enhancements to the Software that KennWare Solutions may furnish to You. Except as may be modified by a KennWare Solutions license certificate, license coupon, or license key (each a "License Module") that accompanies, precedes, or follows this license, Your rights and obligations with respect to the use of this Software are as follows:
YOU MAY:
Use one copy of the Software on a single computer, or if a multi-user license is obtained on multiple computers at one physical location. If a License Module accompanies, precedes, or follows this license, You make that number of copies of the Software licensed to You by KennWare Solutions as provided in Your License Module. Your License Module shall constitute proof of Your right to make such copies;
Make one copy of the Software for archival purposes, or copy the Software onto the hard disk of Your computer and retain the original for archival purposes;
Use the Software on a network, provided that You have a licensed copy of the Software for each computer that can access the Software over that network, or have obtained a multi-user license covering one physical location; and
After written notice to KennWare Solutions, transfer the Software on a permanent basis to another person or entity, provided that You retain no copies of the Software and transferee agrees to the terms of this license.
YOU MAY NOT:
Copy the printed documentation that accompanies the Software;
Sublicense, rent or lease any portion of the Software; reverse engineer, decompile, disassemble, modify, translate, make any attempt to discover the source code of the Software; or create derivative works from the Software;
Use a previous version or copy of the Software after You have received a disk replacement set or an upgraded version. Upon upgrading the Software, all copies of the prior version must be destroyed;
Use a later version of the Software than is provided herewith unless You have purchased upgrade insurance or have otherwise separately acquired the right to use such later version;
Use, if You received the software distributed on media containing multiple KennWare Solutions products, any KennWare Solutions software on the media for which You have not received a permission in a License Module; nor
Use the Software in any manner not authorized by this license.
LIMITED WARRANTY:
KennWare Solutions warrants that the media on which the Software is distributed will be free from defects for a period of sixty (60) days from the date of delivery of the Software to You. Your sole remedy in the event of a breach of this warranty will be that KennWare Solutions will, at its option, replace any defective media returned to KennWare Solutions within the warranty period or refund the money You paid for the Software. KennWare Solutions does not warrant that the Software will meet Your requirements or that operation of the Software will be uninterrupted or that the Software will be error-free.
The above warranty is exclusive and in lieu of all other warranties; whether express or implied, including the implied warranties of merchantability, fitness for a particular purpose and noninfringement of intellectual property rights. This warranty gives you specific legal rights, you may have other rights, which vary from state to state and country to country.
DISCLAIMER OF DAMAGES:
Some states and countries, including member countries of the European Economic Area, do not allow the limitation or exclusion of liability for incidental or consequential damages, so the below limitation may not apply to You.
To the maximum extent permitted by applicable law and regardless of whether any remedy set forth herein fails of its essential purpose, in no event will KennWare Solutions or its licensors be liable to you for any special, consequential, indirect or similar damages, including any lost profits or lost data arising out of the use or inability to use the Software even if KennWare Solutions has been advised of the possibility of such damages.
In no case shall KennWare Solutions or its licensor's liability exceed the purchase price for the Software. The disclaimers and limitations set forth above apply regardless of whether You accept the Software.
U.S. GOVERNMENT RESTRICTED RIGHTS:
Restricted rights legend. All KennWare Solutions products and documentation are commercial in nature. The Software and Software documentation are "Commercial Items", as that term is defined in 48 C.F.R. section 2.101, consisting of "Commercial Computer Software" and "Commercial Computer Software Documentation", as such terms are defined in 48 C.F.R. section 252.227-7014(a)(1), and used in 48 C.F.R. section 12.212 and 48 section C.F.R. section 227.7202, as applicable. Consistent with 48 C.F.R. section 12.212, 48 C.F.R. section 252.227-7015, 48 C.F.R. section 227.7202 through 227.7202-4, 48 C.F.R. section 52.227-14, and other relevant sections of the Code of Federal Regulations, as applicable, KennWare Solutions computer software and computer software documentation are licensed to United States Government end users with only those rights as granted to all other end users, according to the terms and conditions contained in this license agreement. Manufacturer is KennWare Solutions, 7100 Bellaire Ave., Des Moines, IA 50311.
EXPORT REGULATION:
Export and re-export of this Software is governed by the laws and regulations of the United States and import laws and regulations of certain other countries. Export or re-export of Software to any entity on the Denied Parties List and other lists promulgated by various agencies of the United States Federal Government is strictly prohibited.
GENERAL:
If you are located in North America or Latin America, this Agreement will be governed by the laws of the State of Iowa, United States of America. Otherwise, this Agreement will be governed by the laws of England. This Agreement and any related License Module is the entire agreement between You and KennWare Solutions relating to the Software and: (i) supercedes all prior or contemporaneous oral or written communications, proposals and representations with respect to its subject matter; and (ii) prevails over any conflicting or additional terms of any quote, order, acknowledgement or similar communications between the parties. This Agreement shall terminate upon Your breach of any term contained herein and You shall cease use of and destroy all copies of the Software. The disclaimers of warranties and damages and limitations on liability shall survive termination. This Agreement may only be modified by a License Module which accompanies this license or by a written document that has been signed by both You and KennWare Solutions. Should you have any questions concerning this Agreement, or if you desire to contact KennWare Solutions for any reason, please write: KennWare Solutions Customer Service, 7100 Bellaire Ave., Des Moines, IA 50311, U.S.A.