ejabberd - Comments for "Newbie questions" https://www.ejabberd.im/forum/28794/newbie-questions en In recent versions, the https://www.ejabberd.im/forum/28794/newbie-questions#comment-67538 <p>In recent versions, the configuration file is named ejabberd.yml, and has YAML file format (with spaces, not { } characters). Also, the debian package you use maybe installs a script called ejabberdctl, and a systemctl script to start it</p> Thu, 22 Jun 2017 08:06:00 +0000 badlop comment 67538 at https://www.ejabberd.im So. I deleted all ejabberd https://www.ejabberd.im/forum/28794/newbie-questions#comment-67537 <p>So. I deleted all ejabberd mention in the system. Check it with whereis command.<br /> Try to install: but there is no ejabberd.cfg file in place. It is can not even to install well.<br /> Here is screenshots :<br /> <noindex><a href="https://drive.google.com/drive/folders/0BxcqdqEDhgrdWGUyVDlNS1Bvc1U?usp=sharing" title="https://drive.google.com/drive/folders/0BxcqdqEDhgrdWGUyVDlNS1Bvc1U?usp=sharing" rel="nofollow" >https://drive.google.com/drive/folders/0BxcqdqEDhgrdWGUyVDlNS1Bvc1U?usp=...</a></noindex><br /> Any more advoces?</p> Wed, 21 Jun 2017 08:32:08 +0000 frenzymind comment 67537 at https://www.ejabberd.im The best explanation I can https://www.ejabberd.im/forum/28794/newbie-questions#comment-67498 <p>The best explanation I can think: you have two ejabberd installations in the system, you are running one that you aren't aware, and you are modifying the configuration of the other that isn't used at all.</p> Thu, 01 Jun 2017 07:44:34 +0000 badlop comment 67498 at https://www.ejabberd.im Nothing is change. I enable https://www.ejabberd.im/forum/28794/newbie-questions#comment-67496 <p>Nothing is change. I enable some fake mod "mod_dummy666" (fake-mod.png) and restart (log files deleted before) and again: error and crush are empty, jabberd log on the pick (ejabberd-log-dummy-mod.png). Yes, it is very strange.<br /> Yes, when I added roster mod the roster features appeared in web-interface.</p> Thu, 01 Jun 2017 01:59:11 +0000 frenzymind comment 67496 at https://www.ejabberd.im It's strange that you enable https://www.ejabberd.im/forum/28794/newbie-questions#comment-67493 <p>It's strange that you enable the module in the config, ejabberd doesn't complain about missing module, but later the commands do not appear.</p> <p>If you enable other dummy module in the configuration file, like mod_dummy666, does ejabberd complain? If you disable some important module, like mod_roster, does the Roster feature disappear from ejabberd?</p> Wed, 31 May 2017 07:31:11 +0000 badlop comment 67493 at https://www.ejabberd.im I read erl file for commands https://www.ejabberd.im/forum/28794/newbie-questions#comment-67492 <p>I read erl file for commands and no one works. (commands.png)<br /> I delete all log files and restart ejabberd - crash.log and error.log are empty, ejabberd.log has some information, but it looks without erros inside (ejabberd-log.png)<br /> I get status of ejabberd (restart.png)<br /> I put also my ejabberd.cfg file and pictures in google drive.<br /> <noindex><a href="https://drive.google.com/open?id=0BxcqdqEDhgrdWGUyVDlNS1Bvc1U" title="https://drive.google.com/open?id=0BxcqdqEDhgrdWGUyVDlNS1Bvc1U" rel="nofollow" >https://drive.google.com/open?id=0BxcqdqEDhgrdWGUyVDlNS1Bvc1U</a></noindex></p> Tue, 30 May 2017 01:14:00 +0000 frenzymind comment 67492 at https://www.ejabberd.im Make sure mod_admin_extra is https://www.ejabberd.im/forum/28794/newbie-questions#comment-67488 <p>Make sure mod_admin_extra is enabled in the configuration file. Read the module source code: it provides other commands, do the other commands work, or all are missing?</p> <p>If none of those command appear, the module is not enabled correctly. Check the ejabberd log files, do they report any error or warning when ejabberd starts?</p> Fri, 26 May 2017 10:17:54 +0000 badlop comment 67488 at https://www.ejabberd.im Hm, I delete all log files https://www.ejabberd.im/forum/28794/newbie-questions#comment-67487 <p>Hm, I delete all log files and restart - there is no more erl crash-dump file.<br /> But it still:<br /> ejabberdctl help set_nickname<br /> Error: not command found that match: "set_nickname"</p> <p>I have debian 8.8 jessie, if it important. I have no idea, what is wrong here.</p> Fri, 26 May 2017 03:02:22 +0000 frenzymind comment 67487 at https://www.ejabberd.im You did it correctly. The https://www.ejabberd.im/forum/28794/newbie-questions#comment-67485 <p>You did it correctly. The first lines in that dump file may give some clue about the problem. Can you show here the first 20 lines?</p> <p>Also, you can try to delete the dump and log files, then try to start ejabberd again. This way you ensure the errors are related to your new attempt to start ejabberd.</p> Wed, 24 May 2017 09:35:13 +0000 badlop comment 67485 at https://www.ejabberd.im I do you say for A case. Go https://www.ejabberd.im/forum/28794/newbie-questions#comment-67483 <p>I do you say for A case. Go to mod_admin_extra directory and run ./build.sh</p> <p>Recompile: ../ejabberd-dev/src/gen_mod<br /> Recompile: src/mod_admin_extra<br /> src/mod_admin_extra.erl:611: Warning: crypto:md5/1 is deprecated and will be removed in in a fut ure release; use crypto:hash/2<br /> src/mod_admin_extra.erl:614: Warning: crypto:sha/1 is deprecated and will be removed in in a fut ure release; use crypto:hash/2</p> <p>There is appeared mod_admin_extra.beam in ebin folder. I copy it to /usr/lib/i386-linux-gnu/ejabberd/ebin/ couz there is beam files are. Restart ejabberd, but it still unknown command set_nickname =\<br /> In log folder appear file erl_crash_20170523-094715.dump It looks some erlang error, but file is too huge and I cant understand content there.<br /> May be will it easy to isntall 15.04 or newer ?</p> Tue, 23 May 2017 03:08:52 +0000 frenzymind comment 67483 at https://www.ejabberd.im Ahh, I was confused. https://www.ejabberd.im/forum/28794/newbie-questions#comment-67479 <p>Ahh, I was confused. mod_admin_extra was included in ejabberd 15.04, so you don't yet have it in ejabberd 14.07</p> <p>You have three options:<br /> A) The easiest now is to get an old version of ejabberd-contrib, which is compatible with your ejabberd 14.07<br /> B) Get a newer version of ejabberd which includes mod_admin_extra, for example ejabberd 15.04<br /> C) Get the most recent ejabberd, which includes many changes.</p> <p>If you want the easiest, A), do this:</p> <pre> cd ejabberd-contrib/ git checkout 6a4e88d8d74432c2520fe8743099bf77fca2b266 ls </pre><p>There should be a mod_admin_extra/ directory there.</p> Mon, 22 May 2017 08:58:17 +0000 badlop comment 67479 at https://www.ejabberd.im The mod part of cfg file, I https://www.ejabberd.im/forum/28794/newbie-questions#comment-67478 <p>The mod part of cfg file, I add mod_admin_extra:</p> <pre> % Used modules: {modules, [ {mod_register, [{access, register}]}, {mod_roster, []}, {mod_privacy, []}, {mod_adhoc, []}, {mod_configure, []}, % Depends on mod_adhoc {mod_configure2, []}, {mod_disco, []}, {mod_stats, []}, {mod_vcard, []}, {mod_offline, []}, {mod_announce, [{access, announce}]}, % Depends on mod_adhoc {mod_echo, [{host, "echo.localhost"}]}, {mod_private, []}, {mod_admin_extra,[]}, {mod_irc, []}, % Default options for mod_muc: % host: "conference." ++ ?MYNAME % access: all % access_create: all % access_admin: none (only room creator has owner privileges) {mod_muc, [{access, muc}, {access_create, muc}, {access_admin, muc_admin}]}, % {mod_muc_log, []}, {mod_shared_roster, []}, {mod_pubsub, [{access_createnode, pubsub_createnode}]}, {mod_time, []}, {mod_last, []}, {mod_version, []} ]}. </pre><p>then restart throught /etc/init.d/ejabberd restart<br /> It starts correctly<br /> Next I check /var/log/ejabberd</p> <p>crash.log ejabberd.log error.log<br /> Crash and error files are empty. ejabberd.log has no errors inside.<br /> The command ypu sad "ejabberdctl help set_nickname" gets</p> <p>Error: not command found that match: "set_nickname"</p> <p>What should I do any else? Thx.</p> Mon, 22 May 2017 01:22:00 +0000 frenzymind comment 67478 at https://www.ejabberd.im From what I remember, https://www.ejabberd.im/forum/28794/newbie-questions#comment-67476 <p>From what I remember, mod_admin_extra.erl is included in ejabberd since 2013, so it should be included in ejabberd 14.07.</p> <p>Try this: in your ejabberd configuration file, enable mod_admin_extra like any other module, then start ejabberd. Does it start correctly, or shows some error or warning in the ejabberd log files?</p> <p>If it starts correctly, then try to call that command help:</p> <pre> $ ejabberdctl help set_nickname </pre> Fri, 19 May 2017 10:04:14 +0000 badlop comment 67476 at https://www.ejabberd.im