Vlákno názorů k článku Jak si spustit vlastní Jabber server za 15 minut od Pepe-Cheb - /etc/init.d/prosody restart * Restarting Prosody XMPP Server prosody A problem occured...

  • Článek je starý, nové názory již nelze přidávat.
  • 21. 9. 2010 7:23

    Pepe-Cheb (neregistrovaný)

    /etc/init.d/prosody restart
    * Restarting Prosody XMPP Server prosody


    A problem occured while reading the config file /etc/prosody/pro­sody.cfg.lua
    Error: /etc/prosody/pro­sody.cfg.lua:2: ‚}‘ expected near ‚@‘
    More help on configuring Prosody can be found at http://prosody.im/doc/configure
    Good luck!


    x@NB-Pepe:/etc/prosody# cat prosody.cfg.lua
    Host „localhost“
    admins = {cz3dtc@localhost}
    modules_enabled = {
    „roster“; – Allow users to have a roster. Recommended ;)
    „saslauth“; – Authentication for clients and servers. Recommended if you want to log in.
    „tls“; – Add support for secure TLS on c2s/s2s connections
    „dialback“; – s2s dialback support
    „disco“; – Service discovery
    „private“; – Private XML storage (for room bookmarks, etc.)
    „vcard“; – Allow users to set vCards
    „privacy“; – ??
    „compression“;
    „legacyauth“; – Legacy authentication. Only used by some old clients and bots.
    „version“; – Replies to server version requests
    „uptime“; – Report how long server has been running
    „time“; – Let others know the time here on this server
    „ping“; – Replies to XMPP pings with pongs
    „pep“; – Enables users to publish their mood, activity, playing music and more
    „register“; – Allow users to register on this server using a client and change passwords
    „groups“;
    „announce“;
    „welcome“;
    „watchregistra­tions“;
     –„console“; – telnet to port 5582 (needs console_enabled = true)
     –„bosh“; – Enable BOSH clients, aka „Jabber over HTTP“
     –„httpserver“; – Serve static files from a directory over HTTP
     – Debian: do not remove this module, or you loose syslog
     – support
    „posix“; – POSIX functionality, sends server to background, enables syslog, etc.
    };
    modules_disabled = {
     – „presence“;
     – „message“;
     – „iq“;
    };
    allow_registration = true;
    daemonize = true;
    pidfile = „/var/run/pro­sody/prosody.pid“;
    ssl = {
    key = „/etc/prosody/cer­ts/localhost.ke­y“;
    certificate = „/etc/prosody/cer­ts/localhost.cer­t“;
    }
    log = {
    { levels = { „error“ }; to = „syslog“; };
    { levels = { „error“ }; to = „file“; filename = „/var/log/pro­sody/prosody.e­rr“; };
    { levels = { „info“; „warn“; }; to = „file“; filename = „/var/log/pro­sody/prosody.log“; };
     – { levels = { „debug“; }; to = „file“; filename = „/var/log/pro­sody/prosody.log“; };
    }
    VirtualHost „localhost“
    enabled = true
    ssl = {
    key = „/etc/prosody/cer­ts/example.com­.key“;
    certificate = „/etc/prosody/cer­ts/example.com­.crt“;
    }
    – Load all configuration files in /etc/prosody/con­f.d/
    local ztact = require „util.ztact“
    local cfgdir = „/etc/prosody/con­f.d/“
    for f in ztact.dir(cfgdir) do Include(cfgdir..f); end
    x@NB-Pepe:/etc/prosody#
    co mam spatne ?

  • 21. 9. 2010 7:53

    M. Prýmek

    More help on configuring Prosody can be found at http://prosody.im/doc/configure
    admins = { „admin1@example­.com“, „admin2@example­.com“ }
    Že by chybějící uvozovky?