FAQ about Standard

Installation trouble shooting

- Standard 4.1.0 package and above
- Standard 3.1.2 package and above
- Standard 3.0.5 package and above
- Standard 2.1.1 package and above
- Standard 2.0.4 package and above
- Standard 1.2.4 package and above
- Standard 1.1.5 package
- Standard 1.1.4 package

General FAQ

Q. We can use an user account instead of root?
ProPTT2 have to use 80 and 443 port. So usually ProPTT2 standard require root account.
Ports below 1024 are called Privileged Ports and in Linux (and most UNIX flavors and UNIX-like systems), they are not allowed to be opened by any non-root user. This is a security feature originally implemented as a way to prevent a malicious user from setting up a malicious service on a well-known service port.

There are a few different solutions to work around this:
1.Install and configure Apache or nginx as a reverse proxy server, which can be started as root to open the port, and then downgrade its privileges back to a normal user.
2.Set up a firewall on the server using iptables or an alternative, so that the lower port number is forwarded internally to a higher port number listened by ProPTT2.
3.Use jsvc, which is able to open ports as root, and then downgrade privileges.
4.Use authbind to grant privileges for a non-root user to open a privileged port.

Q. Google map has a problem related with API key in adminWeb.
Google had changed the policy of Google map API at June 2016.
You need to create API key to use Google Map.
Please refer to https://developers.google.com/maps/documentation/javascript/get-api-key
When you have the Google Map API key, you have to regist in ProPTT2 AdminWeb.(server package 1.4.0 and above could support this feature.)
In setup, you have to add a new attribute(name='proptt.service.googlemap.key', The value is your key)
After 10 minutes, you could see the Google map on adminWeb's Map menu.

Q. How can I change 80 and 443 port?
80 and 443 is used to access adminWeb with normal user account.
if other service use 80,443 in same server, you can change the ports
{ProPTT2 dir}\apache-tomcat\conf\server.xml
Modify the ports and restart servers. But 8080 and 8088 can not be changed. ProPTT2 client app are using them.

Q. How can run ProPTT2 trial server on 4GB memory windows system?
Normally ProPTT2 trial is required 8GB memory.
if you want to run on 4GB windows system for demo, you need to change start up script to decrease memory usage.
1. Tomcat
{ProPTT2 dir}\apache-tomcat\bin\catalina.bat
set "JAVA_OPTS=%JAVA_OPTS% -Xms128m -Xmx256m -XX:PermSize=64m -XX:MaxPermSize=128m ..."
2. Location
{ProPTT2 dir}\loc-server\service.bat or service64.bat or start-server.bat
... -Xms64m -Xmx128m ..."
3. Push
{ProPTT2 dir}\push-server\service.bat or service64.bat or start-server.bat
... -Xms64m -Xmx128m ..."
4. Relay
{ProPTT2 dir}\relay-server\service.bat or service64.bat or start-server.bat
... -Xms128m -Xmx256m ..."
5. Video
{ProPTT2 dir}\video-server\service.bat or service64.bat or start-server.bat
... -Xms128m -Xmx256m ..."

Q. Why is license disabled? After installation of ProPTT2 server, the license was work. But now it is diabled at adminWeb.
The ProPTT2 server license is based on system's several information. If system information would be changed, the machine key could be changed.
Then you have to regenerate the license key by using the new machine key.
If it is possible, don't change system information.

Q. How can do I backup?
ProPTT2 system's all data are stored in DB. So you need to do backup DB by using DB backup solution.

Q. When user password is blocked, how can user release it?
The password locking is supported by server package 3.1.0 and over.
Normally if the administrator reset user's password in adminWeb, the locking is released.
If the administrator's password is blocked, the administrator must reset the password by using {ProPTT2 dir}\util\resetAdminPassword.