502 Bad Gateway After Installation

86 views
Skip to first unread message

Brendan Bonner

unread,
Oct 28, 2014, 4:32:17 PM10/28/14
to vfe...@googlegroups.com
After installing fresh on ubuntu 12.04 I am getting a 502 bad gateway when I go to https://Theipaddress

Going through the nginx error log, I am getting 

2014/10/28 16:11:12 [error] 1722#0: *9 open() "/opt/TopPatch/tp/wwwstatic/favicon.ico" failed (2: No such file or directory), client: myipaddres, server: _, request: "GET /favicon.ico HTTP/1.1", host: "vfense.hostname"

When I go to /opt/TopPatch/tp/wwwstatic favicon.ico does not exist.  https://github.com/vFense/vFense/tree/current/tp/wwwstatic also does not have that, so did I miss something when running the initialize_vFense.py?

Allen Sanabria

unread,
Oct 28, 2014, 5:36:41 PM10/28/14
to Brendan Bonner, vfe...@googlegroups.com
 Is vFense running?
Is nginx also listening on port 443?

Are the following ports listening..
9060?
9020 - 9029 ?

--
You received this message because you are subscribed to the Google Groups "vFense" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vfense+un...@googlegroups.com.
To post to this group, send email to vfe...@googlegroups.com.
Visit this group at http://groups.google.com/group/vfense.
To view this discussion on the web visit https://groups.google.com/d/msgid/vfense/0888447a-90bb-4ae8-a34f-4542526bf1b6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Brendan Bonner

unread,
Oct 31, 2014, 10:51:54 AM10/31/14
to vfe...@googlegroups.com, bwbon...@gmail.com
Yes vfense and nginx was running. When I restarted nginx, I saw this error. nginx: [warn] conflicting server name "localhost" on 0.0.0.0:80

I went to nginx conf and removed all the includes and added include /etc/nginx/sites-enabled/vFense.conf; 

That worked. 
Reply all
Reply to author
Forward
0 new messages