Can i reload ejabberd module without server restart? - ejabberd

I uploaded a modified module to server. my server has many connected users.
i don't want to restart ejabberd server for reloading modified module.
Can i reload ejabberd module without server restart?

Had a similar problem but found no great solution. I need to ejabberdctl restart :(

Related

Deploy war file in apache-tomcat on google compute engine

I have created instance on google cloud platform (allowed http traffic). Used Ubuntu 14.04 OS. Installed oracle java8 and apache-tomcat.Placed war file in tomcat webapps and started server. Server started successfully.
Question is how to access my application, tried accessing external ip of instance from web browser but no response.
Can anyone tell me the process or missing things I have not done.
Thanks in advance.
I had the same issue and eventually solved it
In my case the solution was simple.Check the firewall rule is really tcp:8080 and not tcp:80 as created by default.
Changed this and finally saw my tomcat welcome page.
1)Added http port (8080) in firewall rules in Networking section
2)Refreshing VM instance by click refresh option before accessing with external ip followed by http server port(8080)
I hope after following first step, need to refresh VM instance to access web serve with external IP

Run mySQL on Server with Django

I'm new to web development and I'm trying to go live with my website. Currently I can run MAMP mysql and then in the django app I can run 'python manage.py runserver' to run a virtual version on my system.
Currently I have uploaded (rsync) my django files to the server. How do I upload and run my mysql server on the web server? How do i dictate the domain? I know before that the domain was 127.0.0.1......
THanks
127.0.0.1 is localhost, so if your code is hosted on a remote server you can still access the db with that host. You need to first make sure MySQL is installed on the server. Once that has been taken care of use the MySQL terminal to create your db, its as easy as that.
Here is a useful page of MySQL commands:
http://www.pantz.org/software/mysql/mysqlcommands.html

ExpressionEngine Installation Issues: Database Connection Error on Localhost

Running into an odd issue with a getting a successful localhost install of ExpressionEngine 2.5.3.
I am able to run the ExpressionEngine Installation and Update Wizard where server settings, database setting and admin account information is entered. So the Apache side is working as expected, or so I assume.
The issue crops up when I click on the Install ExpressionEngine button — the point where the installer starts working it's magic — get this error:
A Database Error Occurred
Unable to connect to your database server using the provided settings.
Filename: controllers/wizard.php
Line Number: 1532
For the SQL Server Address, Username and Password, I am using the same values I have used in the past: localhost for the server address, root for the username and root for the password.
Those credentials work when used with Sequel Pro 0.9.9.1.
Permissions on config.php and database.php — both empty files — are set to 666, as suggested by the ExpressionEngine installation documentation.
I am trying this on a MacBook Air running 10.8.2 with the built-in Apache and MySQL running via XAMPP. I am using VirtualHost X to so http://baseline.loc/ points to baseline.loc in my Sites folder. There are no other instances of Apache or MySQL running.
I am not well versed debugging server issues but I am comfortable working in the terminal.
Any ideas what I should be looking at to figure out why this usually basic stage of a new project has become a stumbling block?
I've had issues before using localhost as the host. Does 127.0.0.1 work for you?
I've had similar in OSX using mamp, simply changed the folder permission of the web folder to everyone read/write via finder and that did the trick

Cannot follow external database(MySQL) of openfire server quide

I have MySQL database which I created on university's server
I try to develop android application that can send msg from mobile through XMPP protocol to keep data at my database server(from 1.)
At this time, I already downloaded openfire 3.7.0.dmg(MAC OS X) then try to setup server on my laptop
My problem is I cannot follow Database Installation Guide the error occurred: Does not have mysqladmin command at my Terminal. So, I cannot create table for openfire. Should I need to install MySQL on my laptop ?
Moreover, I pretty much confuse with [YOUR_HOST] of this statement :
jdbc:mysql://[YOUR_HOST]/[DATABASE_NAME]
I don't know what is it? should be localhost or anything?
Anyone can help me ? Thank you so much
You need to have MySQL installed on one computer you have access to. If you want to install it on your Mac, you can either download it directly from mysql.com, or you could install it using a package manager like Homebrew.
Next, make sure your MySQL install can listen for connections over TCP; there's a troubleshooting guide for that.
Next, use the name of the machine your MySQL server is running on in place of [YOUR_HOST]. If it's running on the same machine as OpenFire, you can use localhost.

Change port for TeamCity web server

I installed TeamCity and got it working against my project. However, I have since realized that I don't want it the administration page to be configured on port 80. I'm going to have other websites on that server that I want on the default port. How do I change the configured port?
I wandered around the configurations a bit and looked through the administration settings but couldn't figure it out.
The port number can be edited in the <TeamCity home>/conf/server.xml file, line <Connector port="8111" protocol="HTTP/1.1".
from Installing and Configuring the TeamCity server
To add to the answer provided by #sfussenegger you will also need to make sure that your build agents can still connect to the TeamCity server instance on the new port, or else your builds won't run.
To do this, you'll need to change the build agent configuration files to reflect the new serverUrl value. You can find this setting in the C:\TeamCity\buildAgent\conf\buildAgent.properties file.