astpp 3.6 not connecting

113 views
Skip to first unread message

Ketan

unread,
May 6, 2018, 11:20:47 PM5/6/18
to ASTPP

if one navigates to http://ip.of.server/astpp/index.php Google Chrome opens test page of nginx not the astpp page

Devang Nathwani

unread,
May 7, 2018, 12:23:09 AM5/7/18
to as...@googlegroups.com
Hello Ketan,

Have you checked /var/lib/astpp/astpp-config.conf config?
And is astpp nginx server block configure with 80 port? because default port for astpp web portal is 8089.

On Mon, May 7, 2018 at 8:50 AM, Ketan <ketancha...@gmail.com> wrote:

if one navigates to http://ip.of.server/astpp/index.php Google Chrome opens test page of nginx not the astpp page

--
=====================================================================
Documentation : https://astpp.readthedocs.io/
Please contact at sa...@inextrix.com for commercial support.
---
You received this message because you are subscribed to the Google Groups "ASTPP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to astpp+unsubscribe@googlegroups.com.
To post to this group, send email to as...@googlegroups.com.
Visit this group at https://groups.google.com/group/astpp.
To view this discussion on the web visit https://groups.google.com/d/msgid/astpp/40457db1-361f-4c54-8bec-0890fe572ad0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Thanks,
Devang Nathwani

Disclaimer:
The information contained in this communication is confidential and may be legally privileged. It is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking action in reliance of the contents of this information is strictly prohibited and may be unlawful. Please notify the sender immediately and destroy all copies of this message and any attachments contained in it.

Ketan

unread,
May 7, 2018, 11:59:54 AM5/7/18
to ASTPP
Here it says when I put command $ /var/lib/astpp/astpp-config.conf
/var/lib/astpp/astpp-config.conf: line 1: syntax error near unexpected token `;'
/var/lib/astpp/astpp-config.conf: line 1: `; ASTPP Database Connection Information'

But it says when I put  $ sudo ls -lah /var/lib/astpp/astpp-config.conf
-rwxr-xr-x. 1 root root 466 May  6 22:10 /var/lib/astpp/astpp-config.conf


On Monday, May 7, 2018 at 9:53:09 AM UTC+5:30, Devang Nathwani wrote:
Hello Ketan,

Have you checked /var/lib/astpp/astpp-config.conf config?
And is astpp nginx server block configure with 80 port? because default port for astpp web portal is 8089.
On Mon, May 7, 2018 at 8:50 AM, Ketan <ketancha...@gmail.com> wrote:

if one navigates to http://ip.of.server/astpp/index.php Google Chrome opens test page of nginx not the astpp page

--
=====================================================================
Documentation : https://astpp.readthedocs.io/
Please contact at sa...@inextrix.com for commercial support.
---
You received this message because you are subscribed to the Google Groups "ASTPP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to astpp+un...@googlegroups.com.

To post to this group, send email to as...@googlegroups.com.
Visit this group at https://groups.google.com/group/astpp.
To view this discussion on the web visit https://groups.google.com/d/msgid/astpp/40457db1-361f-4c54-8bec-0890fe572ad0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Ketan

unread,
May 7, 2018, 12:12:41 PM5/7/18
to ASTPP
and here is php-fpm configuration with nginx

server {
    listen       8089;
    listen       80;
    listen       8735;
    server_name  159.65.157.199

        root   /usr/share/nginx/html;
        index index.php index.html index.htm;

    location / {
        try_files $uri $uri/ =404;
    }
    error_page 404 /404.html;
    error_page 500 502 503 504 /50x.html;
    location = /50x.html {
        root /usr/share/nginx/html;
    }

    location ~ \.php$ {
        try_files $uri =404;
        fastcgi_pass unix:/var/run/php-fpm/php-fpm.sock;
        fastcgi_index index.php;
        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;


On Monday, May 7, 2018 at 9:53:09 AM UTC+5:30, Devang Nathwani wrote:
Hello Ketan,

Have you checked /var/lib/astpp/astpp-config.conf config?
And is astpp nginx server block configure with 80 port? because default port for astpp web portal is 8089.
On Mon, May 7, 2018 at 8:50 AM, Ketan <ketancha...@gmail.com> wrote:

if one navigates to http://ip.of.server/astpp/index.php Google Chrome opens test page of nginx not the astpp page

--
=====================================================================
Documentation : https://astpp.readthedocs.io/
Please contact at sa...@inextrix.com for commercial support.
---
You received this message because you are subscribed to the Google Groups "ASTPP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to astpp+un...@googlegroups.com.

To post to this group, send email to as...@googlegroups.com.
Visit this group at https://groups.google.com/group/astpp.
To view this discussion on the web visit https://groups.google.com/d/msgid/astpp/40457db1-361f-4c54-8bec-0890fe572ad0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Ketan

unread,
May 7, 2018, 3:46:56 PM5/7/18
to ASTPP
Here is astpp database connection inforfation 

; ASTPP Database Connection Information
dbhost = 127.0.0.1
dbname = astpp
dbuser = root
dbpass = xxxxxxxxxxxxxxxx


; Database type:  ASTPP was designed for a MySQL database initially.  Valid options are:
; MySQL. Pgsql is coming but is not ready yet.
astpp_dbengine = MySQLi

; Do we want the startup of ASTPP debugged?
debug = 0

;Define Baseurl
;Note : Default we are running ASTPP on 8089. So, please do not remove 8089 from url.


On Monday, May 7, 2018 at 9:53:09 AM UTC+5:30, Devang Nathwani wrote:
Hello Ketan,

Have you checked /var/lib/astpp/astpp-config.conf config?
And is astpp nginx server block configure with 80 port? because default port for astpp web portal is 8089.
On Mon, May 7, 2018 at 8:50 AM, Ketan <ketancha...@gmail.com> wrote:

if one navigates to http://ip.of.server/astpp/index.php Google Chrome opens test page of nginx not the astpp page

--
=====================================================================
Documentation : https://astpp.readthedocs.io/
Please contact at sa...@inextrix.com for commercial support.
---
You received this message because you are subscribed to the Google Groups "ASTPP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to astpp+un...@googlegroups.com.

To post to this group, send email to as...@googlegroups.com.
Visit this group at https://groups.google.com/group/astpp.
To view this discussion on the web visit https://groups.google.com/d/msgid/astpp/40457db1-361f-4c54-8bec-0890fe572ad0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Devang Nathwani

unread,
May 9, 2018, 12:23:32 AM5/9/18
to as...@googlegroups.com
Hello Ketan,

From nginx server block, you have not correctly pointed the root directory to astpp source.
And if you are using default 80 port then no need for 8089 port.

If you have moderate knowledge of ASTPP component's interconnection then please install vanilla version of ASTPP first, by not doing any change to any of the configuration.

To unsubscribe from this group and stop receiving emails from it, send an email to astpp+unsubscribe@googlegroups.com.

To post to this group, send email to as...@googlegroups.com.
Visit this group at https://groups.google.com/group/astpp.

For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages