Hi Alex,
On 24 September 2012 19:19, alexe <
al...@thirdlane.com> wrote:
> I am new to prosody. Installed the latest prosody on CentOS 6.3 from EPEL
> rpm
Welcome!
> While starting prosody either through /etc/init.d/prosody or directly via
> prosodyctl i was getting a message saymg something that the server is still
> not available/not ready/still teying (sorry,I don't have access to the
> system at the moment) .I ran it as root but my understanding is that it
> switches to prosody user.
>
> Looking at pid file shows that some of the debug messages get written to the
> file after the actual pid, so the "not ready" most likely was due to the
> prosodyctl not being able to get the pid from the pidfile. What I run is
> almost out of the box - I did very basic modifications to config file -
> enabled a virtual host and specified logging for debug (on global level) to
> /var/log/prosody/prosody.log. I tried specifying different locations for
> pidfile - result is the same. Also - log file i specify does contain logging
> information - so apparently it is written both there and to the pid file.
> This also happens if i don't specify debug logging target - so it appears
> that debugging messages get written to pid regardless of where debug is
> specified in logging section of config.
I think you correctly diagnosed the issue. Debug messages definitely
shouldn't be written to the pidfile. Can you paste your logging
config? (look for the 'log' option in your config file).
Regards,
Matthew