For users who use private Control Center, the appropriate account must be created by the administrator.
2. Then, specify the valid email, username and company (optional):
3. After that, wait 2-3 minutes to receive confirmation email, and click on confirmation link. It will open the form, where you need to enter password and its confirmation, after that you can login to “Online Tools For Firebird” portal.
Unzip installation archive fbcc.zip to the Firebird folder, for example, C:\Program Files\Firebird\Firebird_3_0\fbcc, and then copy to folder fbcc the file keyanswers.txt from the previous step.
As a result, the folder should look like this:
c:\Firebird30\fbcc>install_fbcc.cmd The Service FBHQbirdMON4 has been installed 2022-02-12 09:41:40 ERROR MainCreateConf:287 - Not found location, return empty string Checking access to Firebird Monitoring Portal... Connected to Portal: Ok Determined architecture: SuperServer and version: 3.0.6 Verified connection with Firebird user: SYSDBA: Ok. Using autodiscovery to watch for all active databases. Registering server in Firebird Monitoring Control Center Registered new server with name=SRV-DESKTOP-NS28RCG-2202012214, GUID=99c54d1jjqxj0r (id=314285) Successful! Now you can see your server in Firebird Control Center: https://cc.ib-aid.com The Service FBHQbirdTrace4 has been installed SUCCESS: The scheduled task "Restart Mon4 Service (Firebird Monitoring)" has successfully been created. The FBHQbird Monitor 4 service is starting. The FBHQbird Monitor 4 service was started successfully. The FBHQbird Trace 4 service is starting. The FBHQbird Trace 4 service was started successfully. c:\Firebird30\fbcc>
c:\Firebird30\fbcc>remove_fbcc.cmd The FBHQbird Monitor 4 service is stopping. The FBHQbird Monitor 4 service was stopped successfully. The FBHQbird Trace 4 service is stopping. The FBHQbird Trace 4 service was stopped successfully. The FBHQbird Monitor 4 service is not started. More help is available by typing NET HELPMSG 3521. [SC] DeleteService SUCCESS The FBHQbird Trace 4 service is not started. More help is available by typing NET HELPMSG 3521. [SC] DeleteService SUCCESS SUCCESS: The scheduled task "Restart Mon4 Service (Firebird Monitoring)" was successfully deleted. c:\Firebird30\fbcc>
sudo wget https://ib-aid.com/download/fbcc/install_fbcc.shThis file contains installer of Advanced Monitoring for Firebird for Linux.
You need to have Java 8 installed on the server where you need to run monitoring.
We recommend to install OpenJDK 8 Correto (from Amazon):
wget -O- https://apt.corretto.aws/corretto.key | sudo apt-key add - sudo add-apt-repository 'deb https://apt.corretto.aws stable main' sudo apt-get update; sudo apt-get install -y java-1.8.0-amazon-corretto-jdk
More details: https://docs.aws.amazon.com/corretto/latest/corretto-8-ug/generic-linux-install.html
jsvc
jsvc is a tool to launch java application as a service, it is used by Firebird Advanced Monitoring agent.
Install jsvc on CentOS
yum install jsvcon Ubuntu
apt install jsvc
Please note, that there is no wget command, since keynaswers.txt is generated on the portal dynamically and requires the registered user to login and download. <4>1.3.4. Steps to install Make the installation script executable:
sudo chmod +x install_fbcc.sh
sudo install_fbcc.shThis is the example what files should be in place before the installation:
total 18624 drwxr-xr-x 3 root root 4096 May 3 23:32 ./ drwxr-xr-x 20 root root 4096 Feb 14 02:06 ../ drwxr-xr-x 12 root root 4096 May 3 23:19 firebird/ -rwxr-xr-x 1 root root 19050609 Sep 29 2021 install_fbcc.sh* -rwxrwxrwx 1 root root 110 May 3 23:26 keyanswers.txt*After that, run install_fbcc.sh.
Please note that script expects vanilla Firebird to be installed manually in /opt/firebird from the official tar archive.
If you have installed Firebird from repository, we recommend to ununinstall it and install from official tar archive from www.firebirdsql.org web site.
c:\Firebird30\fbcc>install_fbcc.cmd The Service FBHQbirdMON4 has been installed Installation stopped: keyanswers.txt file not found near install_fbcc.cmd. Please download it from cc.ib-aid.com or use manual mode installation. To try installation again, run remove_fbcc script and then install_fbcc again.Solution:
c:\Firebird30\fbcc>remove_fbcc.cmd The FBHQbird Monitor 4 service is not started. More help is available by typing NET HELPMSG 3521. The FBHQbird Trace 4 service is not started. More help is available by typing NET HELPMSG 3521. The FBHQbird Monitor 4 service is not started. More help is available by typing NET HELPMSG 3521. [SC] DeleteService SUCCESS The FBHQbird Trace 4 service is not started. More help is available by typing NET HELPMSG 3521. [SC] DeleteService SUCCESS SUCCESS: The scheduled task "Restart Mon4 Service (Firebird Monitoring)" was successfully deleted. C:\fbcc>After that, put keyanswers.txt to the folder near install_fbcc.cmd and install again.
c:\Firebird30\fbcc>install_fbcc.cmd The Service FBHQbirdMON4 has been installed 2022-02-12 09:11:23 ERROR MainCreateConf:287 - Not found location, return empty string 2022-02-12 09:11:23 ERROR MainCreateConf:287 - Not found location, return empty string 2022-02-12 09:11:23 ERROR MainCreateConf:287 - Not found location, return empty string Checking access to Firebird Monitoring Portal... Connected to Portal: Ok 2022-02-12 09:11:24 ERROR MainCreateConf:592 - Cannot find test database - setting version to 3.0.0 and arch to Classic Paths checked: 2022-02-12 09:11:24 ERROR MainCreateConf:594 - /../examples/empbuild/employee.fdb 2022-02-12 09:11:24 ERROR MainCreateConf:594 - /../help/help.fdb 2022-02-12 09:11:24 ERROR MainCreateConf:594 - /examples/empbuild/employee.fdb 2022-02-12 09:11:24 ERROR MainCreateConf:594 - /help/help.fdb Please enter owner user for Firebird databases, or hit Enter to use SYSDBAThe messages above “Not found location, return empty” indicate that installation script did not find Firebird in the following paths on Windows:
"C:/Program Files/Firebird/Firebird_4_0", "D:/Program Files/Firebird/Firebird_4_0", "E:/Program Files/Firebird/Firebird_4_0", "F:/Program Files/Firebird/Firebird_4_0", "C:/Program Files/Firebird/Firebird_3_0", "C:/Program Files/Firebird/Firebird_2_5/bin", "D:/Program Files/Firebird/Firebird_3_0", "D:/Program Files/Firebird/Firebird_2_5/bin", "E:/Program Files/Firebird/Firebird_3_0", "E:/Program Files/Firebird/Firebird_2_5/bin", "F:/Program Files/Firebird/Firebird_3_0", "F:/Program Files/Firebird/Firebird_2_5/bin", "C:/HQbird/Firebird40", "D:/HQbird/Firebird40", "E:/HQbird/Firebird40", "F:/HQbird/Firebird30", "C:/HQbird/Firebird30", "C:/HQbird/Firebird25/bin", "D:/HQbird/Firebird30", "D:/HQbird/Firebird25/bin", "E:/HQbird/Firebird30", "E:/HQbird/Firebird25/bin", "F:/HQbird/Firebird30", "F:/HQbird/Firebird25/bin"and on Linux
"/opt/firebird/bin"Solution:
Starting service...Windows 10 Current folder = E:\fbcc\_OUT 2022-02-09 10:43:20 ERROR Main:350 - Stopping: not found mainconfig.enc or mainconfig.json in ../conf/mainconfig.encSolution: