Debugging a Bitnami Installation in Windows

From pmusers
Jump to: navigation, search

Check services

After using the Bitnami ProcessMaker installer, check if Apache and MySQL were started services. In the terminal (aka, Command Prompt), enter the following command:

net start

These two services should appear in the list:

processmakerApache
processmakerMySQL

If they don't appear in the list, then the services weren't started. Try starting them manually:

net start processmakerMySQL
net start processmakerApache

If the MySQL and Apache services don't start, see if there is any error message. Go to Control Panel → Administrative Tools → Event Viewer. Then in "Windows Logs", under the "Application" section, check if there are any error messages.

If there are not any error messages in "Windows Logs", then open a terminal and manually start Apache like this:

cd C:\Bitnami\processmaker-3.X.X-1\apache2\bin
httpd -k start -n processmakerApache

If you see errors, then post them on the ProcessMaker forum and ask for help.

Check ports

Then, check which ports are being used by Apache and MySQL. In the terminal, enter:

netstat -a -b -n

In this example, Apache (httpd.exe) is listening on its default port 80 and MySQL (msqld.exe) is listening on its default port 3306:

  TCP    0.0.0.0:80           0.0.0.0:0              LISTENING
 [httpd.exe]
  TCP    0.0.0.0:3306         0.0.0.0:0              LISTENING
 [mysqld.exe]

Then, check that a firewall isn't blocking those ports. If unsure, temporarily turn off the firewall on the machine where ProcessMaker is installed and see if it is possible to access ProcessMaker from the web browser. If that is the problem, then unblock the ports used by Apache and MySQL.

Check Apache port from another computer

Then, make sure that a firewall on the network isn't blocking the port used by Apache.

Go to another computer in the network and install nmap. (Here is recent version: nmap-7.70-setup.exe)

Then use the following command in the other computer to check if the Apache port on the ProcessMaker server isn't blocked:

nmap -p 80 123.45.67.89

Where 80 is the Apache port and 123.45.67.89 is the IP address or domain name of the server where ProcessMaker is installed.

If the Apache port on the ProcessMaker server is accessible, then something like the following will be shown:

Starting Nmap 7.40 ( https://nmap.org ) at 2019-02-28 22:12 -04
Nmap scan report for 123.45.67.89
Host is up (0.00012s latency).
Other addresses for 123.45.67.89 (not scanned): ::1
PORT   STATE SERVICE
80/tcp open  http

Nmap done: 1 IP address (1 host up) scanned in 0.35 seconds

If the port doesn't appear as "open", then a firewall on the ProcessMaker server or in the network is blocking the port.