View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Support us on Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - Problems with new install of Projeqtor 5.0.1. - ProjeQtOr
 

Problems with new install of Projeqtor 5.0.1.

More
10 Jul 2015 19:09 - 10 Jul 2015 19:40 #1 by VERNCon
I am a new user of Projeqtor software, so please forgive any basic errors.
My server uses Fedora 22 x86_64 system, Kernel 4.0.6.

On initial startup the configuration file did not load, so I followed the instructions for the alternate method, as per the "Configuration" page of the manual.

First Problem - the parameters.php file is missing the line:

$paramDbPort = '5432'

It tries to load the $paramDbUser value as the port if this line is not placed in the file between the lines beginning with $DbHost and $DbUser

Second Problem (SHOW-STOPPER)
I have configured Projeqtor to connect to my PGSQL 9.4.4 database using port 5432, on IP address 127.0.0.2, PGSQL's PG_HBA.conf is set correctly for access via this address and port, as is the Postgresql.conf file.

I can see from the logs that the connection (127.0.0.2:5432) is being passed through to the database, but THEN,

PROJEQTOR sends a further connection request on 127.0.0.1:5432, which is being blocked at PG_HBA, as this port is allocated for use by other software.

Nowhere in my configuration file for Projeqtor have I given it permission to use 127.0.0.1, as it is used by a higher-priority software package.

WHY is Projeqtor attempting this connection, and HOW can it be prevented from doing so, and use the IP address configured?

EDIT: Selinux has been "tuned" to accept TCPIP connections from web applications (httpd) to PGSQL, so that is not the cause. Same result is achieved with "Permissive" setting.

This is as "show-stopper" and I need to get it sorted out. It may well be something I am doing (or not doing...). Please help.

Cheers,
Verncon.
Last edit: 10 Jul 2015 19:40 by VERNCon. Reason: Updating information

Please Log in or Create an account to join the conversation.

More
10 Jul 2015 19:40 #2 by babynus
Hi,

First, Welcome to ProjeqTor Community.

To answer your problems.

1) If configuration page does not load, you may have some issue that you should solve instead of using a workaround
(even if I wrote the workaround, I really advide to take to normal way)
=> Try patch 5.0.2, it fixes some issues on some PHP distribs. it may help.

2) I looked at all projeqtor code : nowhere the host is configured to 127.0.0.1.
Fortunately, it does not replace your $paramDbHost with any value (it should lead to failure on any set-up where database is not local)
So, either the configuration is now what you expect : make sure that you check parameters.php file whose location is defined in /tool/paraletersLocation.php
either it is a local network setup that redirects the connection ; for instance check you /etc/host file

I don't think about other point to help you now.
Please try above advises and give us news.

Babynus
Administrator of ProjeQtOr web site

Please Log in or Create an account to join the conversation.

More
10 Jul 2015 23:07 #3 by VERNCon
Hi,

1. I have commented out the two default entries in /etc/hosts file, with NO CHANGE.

2. I confirmed that the parameters.php file is being seen and used - when I remove the SELINUX Boolean settting which permits TCP/IP traffic between httpd<->pgsql, I see the initial connection being blocked (and logged. When I change the IP Address in the parameters.php file, I see that change reflected in the log.

3. The redirect to 127.0.0.1 occurs only when the SELINUX Boolean setting is enabled, or "Permissive" mode is enabled.

4. I completely deleted the projeqtor 5.0.1 package and installed a fresh install of 5.0.2, the symptoms are the same. The initial attempt to set the database parameters from the initial web-page fails - the "waiting" symbol is spinning for about 5 seconds, and I cannot find any logs that show a connection attempt to the PGSQL database.

I have a database "projeqtor" created in PGSQL, does PROJEQTOR need to create it's own database, or will it use a pre-created one?

Cheers,
Verncon.

Please Log in or Create an account to join the conversation.

More
10 Jul 2015 23:55 #4 by babynus

I have a database "projeqtor" created in PGSQL, does PROJEQTOR need to create it's own database, or will it use a pre-created one?

Wigth PostgreSql, database must be created first (with mySql it does not matter)

The initial attempt to set the database parameters from the initial web-page fails - the "waiting" symbol is spinning for about 5 seconds, and I cannot find any logs

When do you get waiting spinner C? After configuration screen ?
What happens after 5 seconds ? Spinner stops ?
Don't you have new "continue" button ? (on some screen resolutions, you may need to scroll page to see it)

Do you have possibility to disable SELinux to test how setup works without it ?

Babynus
Administrator of ProjeQtOr web site

Please Log in or Create an account to join the conversation.

More
11 Jul 2015 01:01 #5 by VERNCon
1. OK, not a problem - I have a created db, and also tried without it - did NOT like that :-)

2. After configuring the settings, when I press the "OK" button, spinner runs for 2-5 secs, then nothing more - no "Continue" button or anything changed.

3. I MAY have a window to play around with SELINUX fully disabled over the weekend - will try to fit it in and post the results.

4. Attached is a STRACE dump of all the processes running for httpd and postgresql whilst I tried three (3) times pressing the "OK" button, with about 10 seconds between each attempt.

    PGSQL Proceeses are:
  • 3146
  • 3147
  • 3149
  • 3150
  • 3151
  • 3152
  • 3153

  • The HTTPD Processes in the file are:
  • 3163
  • 3164
  • 3165
  • 3166
  • 3167
  • 3168
  • 3170
  • 3171
  • 3172
  • 3173
  • 3176
I am no expert at all on these traces, I hope you can see some anomaly or problem from them.

Cheers,
Verncon.

Please Log in or Create an account to join the conversation.

More
11 Jul 2015 11:22 #6 by VERNCon
Hi,

I have disabled SELINUX, reloaded Projeqtor 5.0.2 and attempted to connect again, still the same problems as before.

The initial configuration screen will not load - after pressing OK, the spinner runs for a few seconds, then stops, with no "continue" button appearing. The STRACE file for all the processes of HTTPD and POSTGRESQL for this is attached, see "projeqtor_strace_11072015_selinux_disabled"

When I pre-load the parameters and set up the "parametersLocation" file, the result has not changed from what was reported previously. The STRACE file for all the processes of HTTPD and POSTGRESQL for this is attached, see "projeqtor_strace_11072015_selinux_disabled_preload"

Cheers,
Verncon

Please Log in or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.050 seconds

Cookies settings

×

Functional Cookies

Ce site utilise des cookies pour assurer son bon fonctionnement et ne peuvent pas être désactivés de nos systèmes. Nous ne les utilisons pas à des fins publicitaires. Si ces cookies sont bloqués, certaines parties du site ne pourront pas fonctionner.

Session

Please login to see yours activities!

Other cookies

Ce site web utilise un certain nombre de cookies pour gérer, par exemple, les sessions utilisateurs.