Chat+ Issue

My Chat+ has been running fine, but this morning I couldn't bring it up the site, I am getting:   (see attached..)
> cgi-bin
> media

I checked the service by running this command: pidof node - a pid was returned, so I killed it and restarted Chat+ again, but not success.. I am still getting cgi-bin and media..  I checked chat logs & didn't see any issues..

Any idea ?

Thank you !

chat-down.PNG · 7.4K · 184 views
Quote · 3 May 2016

you have a directory listed for your subdomain - remove directory location

caredesign.net
Quote · 3 May 2016

Where do you see that ? 
I also see that the folder {cgi-bin}  is empty, is this normal ?

Quote · 3 May 2016

your image is that when there is a directory listing. And you saying that the cgi-bin folder is empty clarifies that. So somewhere - you have defined a directory location for you subdomain - or you would be getting a completely different error.

caredesign.net
Quote · 3 May 2016

Lets say I have this domain:  world.com - I setup the subdomain chat.world.com at Godaddy's domain's setup. I also created a new Acct for chat.world.com which has its own cPanel -   Everything has been running fine with the current setup, I am puzzled as to why this happened all of sudden.. 

Regarding the directory location, not sure where to check for that..

Quote · 3 May 2016

thats where the issue lies - you used a cpanel to setup your subdomain. I do not use cpanel or whm so i did everything using a command prompt - including adding the subdomain - which is a bit different when using a cpanel. Took me and DolphinJ a couple of hours to figure out how to get it setup using a cpanel. The cpanel by default wants a directory for the subdomain, when the chat server does not use a directory - but instead a port.

caredesign.net
Quote · 3 May 2016

Problem solved ! here is the issue/solution:
I updated the <virtualHost> in httpd.conf by adding the section below. It was overwritten somehow:

<Location />
     Order allow,deny
     Allow from all
     ProxyPass http://localhost:3000/
     ProxyPassReverse http://localhost:3000/
</Location>


I am assuming since I am using WHM which gets updated periodically, the httpd.conf got reconfigured and as result the Chat+ configuration got overwritten - not sure what else could have happened, things were running fine and nobody has access to my server except myself..
So adding <location> section above and restarting Apache fixed the issue..

> Backing up Chat+ components
Now, to be on the safe side, I need to backup all Chat+ components, so worse case scenario, I can restore from the backup.
I do backup Chat+ mongodb, but Chat+ files on OS level are not being backed up..

@Prof, could you specify what Chat+ directories and files I need to backup in the event things go south again..

Thanks. 

Quote · 4 May 2016

ok - look in your httpd.conf file (/etc/httpd/conf/ directory) look for the section regarding your subdomain/ Somewhere after this - there will be a line that says something about"if you want to edit this file - add to some file). the directory listed and the file - do not exist. you are going to have to create the directories. Then create the file. Then place your subdomain info in this new file (the one you just posted in your last post). This will keep it from getting kicked out if apache gets updated. updating of whm is not that big of an issue - from what i read.

caredesign.net
Quote · 4 May 2016

as far as what to backup - i am not sure - other than the database that mongodb created and I forgot where it is located at.

caredesign.net
Quote · 4 May 2016
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.