Hi Christian,

First of all thanks for your reply and the great tutorial.

I believe the activemq version I am using is 5.4.2. I said I believe
because "activemq --version" command does not work with a command not
found error. But the activemq.xml file is under apache-activemq-5.4.2/
conf/.

And my transportConnectors configuration in activemq.xml is as
follows:

        <transportConnectors>
            <transportConnector name="openwire" uri="tcp://
0.0.0.0:61616"/>
            <transportConnector name="stomp" uri="stomp://
0.0.0.0:61613"/>
        </transportConnectors>




First I start activemq and get the started [OK] message. And when I
tried to start it the second time I get this message which I believe
shows me that it is actually started and running.

$ sudo /etc/init.d/activemq start
 * Starting ActiveMQ activemq
process already running.
Failed
[fail]

As for the last "Failed" I think it cannot start an already started
service and therefore fails the second start attempt and we are good
with the already running service. Please correct me if I am mistaken.



I don't know if it is off-topic but git-daemon is also running, at
least I get the success message:

$ sudo env RAILS_ENV=production /etc/init.d/git-daemon start
Starting git-daemon: success



And when I tried to run the poller script I still get the same error:

$ su git -c \
> "cd /var/www/PATH_TO_MY_GITORIOUS_FOLDER/gitorious && \
> env RAILS_ENV=production script/poller run"
Password:
poller: process with pid 23117 started.
connect failed: Connection refused - connect(2) will retry in 5
connect failed: Connection refused - connect(2) will retry in 5
connect failed: Connection refused - connect(2) will retry in 5
.
.
.


Thanks,

Ismail

On Mar 23, 5:11 am, Christian Johansen <[email protected]> wrote:
> Hi Ismail,
>
> I tried several different tutorials none of which I could complete but
>
> > finally had <a href="http://cjohansen.no/en/ruby/
> > setting_up_gitorious_on_your_own_server" target="_blank">this</a> one
> > from Christian Johansen which is the best among my findings. For me of
> > course =))
>
> Thanks :)
>
> > It was going great until running the poller script. After successfully
> > running/starting the activemq and git-daemon services, when I tried to
> > run poller I get this error over and over again:
>
> > connect failed: Connection refused - connect(2) will retry in 5
>
> Most likely, you have either not successfully started ActiveMQ, or you have
> not configured the connection properly. Check that ActiveMQ is in fact
> running, and that the Stomp configuration in activemq.xml is correct. If you
> have trouble, let me know your ActiveMQ version.
>
> Cheers,
> Christian

-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]

Reply via email to