Discovering Ports and Debugging
To find the port number being used by a database, use the nmap command. This program is installed by default in most Linux/UNIX distributions, but it needs to be installed in Windows.
If the database is located on the same machine as the ProcessMaker server, issue the command:
If the database is on another server, enter the domain name or IP address where it is located. For example:
nmap will list the ports that are currently being used by the server. If the database service is activated and it's port isn't blocked by a firewall, then a port number should be listed for the database:
If a port number isn't listed for the database, then go to the server where the database is installed and make sure that it is being run as a service:
MySQL:
Red Hat/Cent OS/Fedora:
Login as root (or use sudo
) and issue the command:
To see a list of all services:
Debian/Ubuntu:
Login as root (or use sudo
) and issue the command:
To see a list of all services:
Windows:
Open the command prompt (go to Start > Run and enter:
cmd
) and enter the following command
to see a list of all running services:
To see the status of MySQL:
For example, to see the status of MySQL installed by the automatic ProcessMaker Installer:
PostgreSQL:
Red Hat/Cent OS/Fedora:
Login as root (or use sudo
) and issue the command:
For recent versions, it may be necessary to specify the version number:
To see a list of all services:
Debian/Ubuntu:
Login as root (or use sudo
) and issue the command:
To see a list of all services:
Windows:
Open the command prompt (go to Start > Run and enter:
cmd
) and enter the following command
to see a list of all running services:
To see the status of PostgreSQL:
Oracle:
Linux/UNIX:
Oracle uses the dbstart
and dbstop
commands (which are located in the $ORACLE_HOME/bin directory) to start and stop the database, although a service script
can be added in the /etc/init.d/ directory.
Likewise, it uses the lsnrctl start
and
lsnrctl stop
commands to start and stop
the listener and isqlplusctl start
and
isqlplusctl stop
to start and stop SQL*Plus.
To see the status of the Oracle database, use the following command (located in the $ORACLE_HOME/bin directory):
Windows:
Open the command prompt (go to Start > Run and enter:
cmd
) and enter the following command
to see a list of all running services:
Oracle creates a service for its listener and for its database:
For example, to see the status of an Oracle database named "ORCL" and its listener:
MS SQLServer:
Windows:
Open the command prompt (go to Start > Run and enter:
cmd
) and enter the following command
to see a list of all running services:
Oracle creates a service for its listener and for its database:
For example: