/usr/share/doc/firebird
TROUBLESHOOTING =============== A lot of what is explained below should be done automatically by the install process. It is explained here just in case it didn't do it correctly for your circumstance. 1) HOW DO I TELL IF IT IS WORKING? Here is a quick smoke test to see if everything is working: $cd /opt/firebird/examples $/opt/firebird/bin/isql >connect employee.gdb; >select rdb$relation_name from rdb$relations; >exit; (You may need to provide the SYSDBA password in some cases) $/opt/firebird/bin/isql >connect employee.gdb user sysdba password <password>; >select rdb$relation_name from rdb$relations; >show tables; >exit; Where password will be either masterkey, or present in the file /opt/firebird/SYSDBA.password. For a test using networking: $/opt/firebird/bin/isql >connect 'localhost:/opt/firebird/examples/employee.gdb'; >select rdb$relation_name from rdb$relations; >exit; On a remote machine you can try the above replacing localhost with the server name. Remember, you may need to specify the username/password to get this to work. 2) HOW DO I CHECK THAT THE SERVER IS RUNNING You can check if the server is running by: netstat -an | grep 3050 If something is listening on port 3050 then the server is running. If something is not running, then see next topics. 3) TROUBLESHOOTING CLASSIC SERVER INSTALL The classic server works in two modes. The first mode allows you to directly open the database files and does not need a server. To test this mode, open the database using only the directory path: $isql >connect '/opt/firebird/examples.gdb'; In the second mode, requests are serviced by the inetd process. To test this mode, open the database with a connection string that includes the server name or IP: $isql >connect 'localhost:/opt/firebird/examples.gdb'; The configuration files for setting up the inetd (or xinetd) for the classic server are as follows: The /etc/services file needs an entry as follows: gds_db 3050/tcp # InterBase Database Remote Protocol" For inetd the /etc/inetd.conf file should have a line as follows gds_db stream tcp nowait.30000 root /opt/firebird/bin/fb_inet_server gds_inet_server You will need to restart the inetd process before the server will work. $ps -ef | grep inetd will give you the process id and $kill -HUP <pid> will instruct it to reread its configuration file and listen on port 3050. Recent Linux systems Redhat 7.0, Mandrake 7.2, and later have xinetd. The process is fairly similar, except the firebird service is described via a file in /etc/xinetd.d/firebird. There is a template version of this file in /opt/firebird/misc/firebird.xinetd, you should only need to copy the file to that directory. After copying the file, to get the xinetd process to re-read its configuration files, first find the xinetd process id: $ ps -ef | grep xinetd Then send it a restart signal: $kill -USR2 <pid> The process will reread its configuration file and listen on port 3050. See the topic SERVER STILL WONT START for more info if required. 4) TROUBLESHOOTING SUPER SERVER INSTALL Super server runs as an inetd process. There should be an fbguard process running and several (usually 3) fbserver threads running. The server should start with $/etc/init.d/firebird start Installation problems for super usually revolve around the server not starting up correctly during installation. Often this is caused by either lack of permission to connect via tcp to the server process or a prior install (perhaps a classic server ) already running. One bad side effect is that this could result in the initial SYSDBA password not being set correctly. If there are problems you may need to check the actual file for correct install location. If running the /etc/init.d/firebird start script does not work, then see the topic SERVER STILL WONT START for more debugging info. 5) SERVER STILL WONT START If you are really having problems try running the server programs directly. In this case, unsatisfied links or error messages will show up in the console. To invoke superserver: $/opt/firebird/bin/fbserver # for super To invoke classic: $/opt/firebird/bin/fb_inet_server # for classic and take note of any error messages. There may be a problem with an unsatisfied dynamic library link. This occurs when firebird requires a library, or version of a library, that you do not have installed. You can check the dynamic library requirements as follows: $ldd /opt/firebird/bin/fbserver If you are still stuck, try posting a question to the support newsgroup at: http://tech.groups.yahoo.com/group/firebird-support/ 6) PROBLEMS CONNECTING TO SERVER There can be problems if DNS is not configured correctly. Incorrect DNS configuration will result in problems looking up the host's name or IP. If this is the case, placing specific entries in the /etc/hosts file is a good place to start. Try to connect to the server using telnet, note space between server name and port. $telnet server 3050 This will tell you if you can get to the server. Failure could be because of some firewall blockage. The most common problem is simply that the server is not running. 7) WHY ARE MY DATABASES OWNED BY ROOT 8) WHAT IS THE DIFFERENCE
.
Edit
..
Edit
CHANGELOG.md
Edit
Firebird-3-QuickStart.pdf
Edit
Firebird-4.0.6-ReleaseNotes.pdf
Edit
IDPLicense.txt
Edit
IPLicense.txt
Edit
README.DiskSpaceAllocation
Edit
README.Fedora
Edit
README.IPv6
Edit
README.NTSecurity
Edit
README.Optimizer.txt
Edit
README.SecureRemotePassword.html
Edit
README.Win32LibraryInstallation.txt
Edit
README.Win9X_NT_embedding
Edit
README.build.macosx.md
Edit
README.build.mingw.html
Edit
README.build.msvc.html
Edit
README.build.posix.html
Edit
README.coding.style
Edit
README.connection_string_charset.txt
Edit
README.connection_strings
Edit
README.external_routines.txt
Edit
README.fb_cancel_operation
Edit
README.fb_shutdown
Edit
README.fbsvcmgr
Edit
README.garbage_collector
Edit
README.gbak
Edit
README.incompatibilities.3to4.txt
Edit
README.incompatibilities.txt
Edit
README.instsvc
Edit
README.intl
Edit
README.isql_enhancements.txt
Edit
README.makefiles
Edit
README.md
Edit
README.modern_cpp.md
Edit
README.monitoring_tables
Edit
README.online_validation
Edit
README.performance_monitoring
Edit
README.plugins.html
Edit
README.providers.html
Edit
README.raw_devices
Edit
README.read_consistency.md
Edit
README.read_password_from_file
Edit
README.replication.md
Edit
README.security_database.txt
Edit
README.services_extension
Edit
README.session_idle_timeouts
Edit
README.sha1
Edit
README.statement_timeouts
Edit
README.superclassic
Edit
README.trace_services
Edit
README.transaction_at_snapshot.md
Edit
README.trusted_authentication
Edit
README.user.embedded
Edit
README.user.troubleshooting
Edit
README.wire.compression.html
Edit
README.xnet
Edit
sample
Edit
sql.extensions
Edit
udf_replace.sql
Edit
udf_replace.txt
Edit