Geoserver unavailable in Geonode instalation after restarting Tomcat - django

I have installed geonode in a production server and it was working correctly after i execute:
systemctl restart tomcat.service
After this geoserver stop working. If i open the url mydomain.org/geoserver appears a tomcat 404 status.
Maybe after the restart the webapp is not linked correctly?
Any idea why this is?
Thanks

Related

Unable to view the Apache test page

I'm trying to start install LAMP in my EC2 instance. I have followed all the steps in this website
( https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-lamp-amazon-linux-2.html )but unable to see the test page coming up once I open my DNS id. Checked whether the service is running by typing in sudo systemctl is-enabled httpd and it comes up as enabled. My port 80 is also open. Please help!

500 internal server error when changing the db from sqlite to postgres with django and nginx

I am wondering about some things, i followed this tutorials setting up server
I am currently using django 2.2, psycopg2 2.8.3, uwsgi 2.0.18.
I am able to migrate models to db but the nginx server failed to communicate with it.
I added local host with port 5432 to cors header.
does this a permission issue, as nginx runs with a user? or it is something else? should i use https for local host in cors header allowed hosts as nginx and django only allow https requests?
the problem was psycopg2 wasn't installed in venv location, even when i activate venv it does't install it in the venv dir. so i copy it from the location where it was installed to venv lib/site-packages, and it worked perfectly.

How to connect development mode rails app with nginx server?

I want to run my rails app in development mode with nginx server as I want to override remotipart. Please guide me how to connect rails app with nginx.
Install nginx
Install Passenger
Set nginx.conf file according to you
Start nginx Go through localhost your nginx page will start
gem install passenger in your project
passenger-install-nginx-module
passenger start
For more details got through this link: https://www.phusionpassenger.com/documentation/Users%20guide%20Nginx.html#install_on_debian_ubuntu

Ejabberd server not getting started?

I have re-installed ejabberd server in my localhost.When i run sudo service ejabberd restart its no getting restarted.Instead its craeting error.The following error is shown in erl_crash.dump.All my configurations in conf file is correct.
Kernel pid terminated (application_controller) ({application_start_failure,kernel,{{shutdown,{failed_to_start_child,net_sup,{shutdown,{failed_to_start_child,net_kernel,{'EXIT',nodistribution}}}}},{k
I tried everything also killed process running on same ports.I there anything else to do to solve this issue ???
Solved the issue problem wan with my settings,and then restarted the server
using sudo service ejabbers restart.It worked

WAMP is not running

I had installed WAMP in E: drive. I re-installed fresh copy of windows. Since then, WAMP only comes in red shade , not coming in green mode. Please help what should I do?
port 80 might be used by other services. test that using apache>services>test port 80. and disable that service.
When Windows is re-install or upgraded in-place, sometimes both the Apache and MySQL services are cleared out and the PATH environmental variable is reset.
Update the Path with the "bin" folders of Apache and MySQL.
Re-install the services...
If you are using WampDeveloper (I don't know which WAMP you are using), to install the services again it's (from the command line running as administrator):
Install Services:
httpd -k install -f "C:\WampDeveloper\Config\Apache\httpd.conf" -DSSL
mysqld --install Mysql --defaults-file="C:\WampDeveloper\Config\Mysql\my.ini"
The generic forms are:
Apache22\bin\httpd -k install
mysql5\bin\mysqld --install
If you are using Skpey exit and restart all service.
Tip:
on skype menu --> Tools --> Options --> advanced --> connection
Disable "Use port 80 and 443 as alternatives for incoming connections"