I'm trying to get video calls working with my ejabberd server, following this guide.
My server runs the latest Debian.
Ejabberd fails to start after these changes and logs the following error:
#gen_mod:start_module:228 Failed to start unknown module mod_stun_disco: make sure there is no typo and mod_stun_disco.beam exists inside either /usr/lib/x86_64-linux-gnu/ejabberd-18.12.1-2/ebin or /opt/ejabberd/.ejabberd-modules directory
#gen_mod:maybe_halt_ejabberd:311 ejabberd initialization was aborted because a module start failed.
How can I install mod_stun_disco?
My server runs the latest Debian.
And what version exactly is "the latest Debian" that you are running?
Also, what is the ejabberd version you have installed?
mod_stun_disco.erl was first included in ejabberd 20.04
https://github.com/processone/ejabberd/commit/69d1d62add92511acf58f5f71383ad64e4757464#diff-44e2dc2000d1cc7230e63af3a7f9618a7bb9afb64df1aec0cc91bf31c21c91bc
If you are running an older ejabberd release, obviously that module is not included.
Related
I have been trying to install Dreamfactory on Xampp but can't find a single article on how to do so.
Purpose: To generate REST API in php with mysql.
What I have tried:
Initially I installed windows version of
Dreamfactory from official site. It was installed successfully but it don't allow access to MYSQL database in free version. Paid version is out of my budget, so I tried with Xampp. I downloaded open-source version from
Github. After extracting it, executed php artisan serve in xampp command shell as mentioned on Dreamfactory Wikipedia Installation guide. This resulted in following error:
Warning: require(D:\xampp\htdocs\sandbox\dreamfactory\public/../vendor/autoload.php): failed to open stream: No such file or directory in D:\xampp\htdocs\sandbox\dreamfactory\public\index.php on line 24
Fatal error: require(): Failed opening required 'D:\xampp\htdocs\sandbox\dreamfactory\public/../vendor/autoload.php' (include_path='D:\xampp\php\PEAR') in D:\xampp\htdocs\sandbox\dreamfactory\public\index.php on line 24
As mentioned in Git documentation, they have given installation procedures for Ubuntu and Debian. Further more, they have mentioned about Bitnami official installation software, but non for XAMPP or stuff like that.
Question:
Is there any way we can install Dreamfactory on XAMPP? If yes, how so!
I'd venture it's going to be fairly difficult task to run DreamFactory on XAMPP because DreamFactory requires quite a few dependencies which are not installed on XAMPP by default.
Your best bet would be to run the Bitnami for DreamFactory environment, or alternatively use Docker. Both can be downloaded from the DreamFactory website downloads page. Alternatively, if you'd like to run DreamFactory in a VM, the OSS download README points to automated installers for Debian and Ubuntu. Additional installers for CentOS and Fedora are found here, they work great however we just haven't moved them into the official distribution yet.
I have installed visual studio code and dependencies to my ubuntu trusty OS in Oracle VM Ware. And I run code with these commands.
ssh -X myserver
code
But when i use mysql extension in code it gives me an error like
Unknown or unsupported transport “disabled” for address “disabled:”
Here is a picture of the error.
I've googled it, Gave remote permissions to to all privileges and no luck. My MySQL server is on another VM and ubuntu server and vs-code is on another VM and I am working on the mother os.
This means dbus isn't running.
See https://github.com/microsoft/vscode/issues/120392
I have installed a trial of the MySQL Enterprise Edition and when connecting using the bundled Workbench software i get the following error:
Authentication plugin caching_sha2_password cannot be loaded: The specified module cannot be found
About which there i can find very little information. Most solutions return to the old authentication method, but I don't want to do that, and it doesn't seem to work anyway...
HeidiSQL gives the same error message.
Any suggestions?
I found a workaround in the HeidiSQL Github repository:
https://github.com/HeidiSQL/HeidiSQL/issues/163
I fixed by copying libmysql.dll from my last MySql install to my HeidiSQL folder.
I have been using a script for installing MySQL Server that suddenly stopped working... I am installing like this:
MySQLInstallerConsole community install -silent server;5.7.14;x64:*:type=config;servertype=Server;openfirewall=true;generallog=true;serverid=3306;enable_tcpip=true;port=3306;rootpasswd=%1;installdir="C:\MySQL\MySQLServer-5.7":type=user;username=jlawyer;password=%1;role=DBManager
Now I am suddenly getting this:
=================== Start Initialization ===================
MySQL Installer is running in Community mode
Attempting to update manifest.
Initializing product requirements
Loading product catalog
Checking for product catalog snippets
Checking for product packages in the bundle
Categorizing product catalog
Finding all installed packages.
Your product catalog was last updated at 01.03.2017 22:48:34
=================== End Initialization ===================
Package MySQL Server 5.7.14 cannot be installed due to failing requirement.
Product installations done.
When I run the installer in GUI mode, it automatically downloads and installs dependencies, but how can I get the MySQLInstallerConsole to do this?
You have to check requirements by launching installation from given installer manually. I had the same problem and it was just because Visual C++ 2013 64bits was not installed.
FYI, Visual C++ 2013 can be installed silently with vcredist_x64.exe /q /norestart
In The user configuration section add the following :-
auth_plugin=mysql_native_password (or whatever authentication type you would like
So you would have the following :-
MySQLInstallerConsole community install -silent server;5.7.14;x64:*:type=config;servertype=Server;openfirewall=true;generallog=true;serverid=3306;enable_tcpip=true;port=3306;rootpasswd=%1;installdir="C:\MySQL\MySQLServer-5.7":type=user;username=jlawyer;password=%1;role=DBManager;auth_plugin=mysql_native_password
It's been two days I'm Googling to find a solution and not successful as of now. I'm trying to get Xampp 1.3.8-4 working properly in my Mac Maverics.
Out of the 3 green indicators in the 'Manage Servers' window only Apache Web Server is running and trying hard to get MySql database and proFTPD running with no luck.
This has been working fine and only change I've done is installed WordPress and added a few themes if that helps.
Application logs says below;
Starting all servers...
Starting MySQL Database...
Starting ProFTPD...
Checking syntax of configuration file
/Applications/XAMPP/xamppfiles/proftpd/scripts/ctl.sh : proftpd started
Starting MySQL Database...
Stopping all servers...
Stopping Apache Web Server...
/Applications/XAMPP/xamppfiles/apache2/scripts/ctl.sh : httpd stopped
Restarting all servers...
Starting MySQL Database...
Starting Apache Web Server...
/Applications/XAMPP/xamppfiles/apache2/scripts/ctl.sh : httpd started
Starting ProFTPD...
Checking syntax of configuration file
/Applications/XAMPP/xamppfiles/proftpd/scripts/ctl.sh : proftpd started
Any help would be much appreciated.
Thank you.
This might be because the you are trying to run two Apache servers at the same time. I got the same problem on my Mac running Xampp 1.8.3-4 server and i got my Apple version of Apache server already running. If you open your browser and type 'localhost' and it say 'It Works', means the the apple version of Apache server is already running.
To stop the Apple version of Apache server:
In OSX 10.7 and earlier, you could start and stop the Apache Web Server in Control Panel, by choosing "Sharing" and then unchecking the "Web Sharing" checkbox. As of 10.8 this option is no longer in the control panel.
To disable Apple's version of Apache in current versions of OS X, open a Terminal window and type this command:
sudo apachectl stop
You will need to type your system password when prompted, then you should be able to start the XAMPP version of Apache.
Reference:
https://community.apachefriends.org/f/viewtopic.php?f=29&t=68351