Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

http-replicator does not start anymore *SOLVED*

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
9 posts • Page 1 of 1
Author
Message
Lomaxx
Tux's lil' helper
Tux's lil' helper
Posts: 112
Joined: Thu Nov 11, 2004 4:14 pm

http-replicator does not start anymore *SOLVED*

  • Quote

Post by Lomaxx » Wed Aug 12, 2009 8:36 am

Since ~2 weeks or so http-replicator is not starting anymore. Unfortunately i do not find any information what might be causing this. I didn't change anything. My guess is that it broke with some world-update.

Code: Select all

/etc/init.d/http-replicator start
 * Starting Http-Replicator ...
 * Failed to start Http-Replicator                                        [ !! ]
/var/log/messages shows nothing but "Aug 12 10:30:23 serum rc-scripts: Failed to start Http-Replicator".
/var/log/http-replicator show nothing but "12 Aug 2009 10:30:21 INFO: HttpReplicator started".

Reemerging does not solve it. Any idea what might be causing this or where else i might find information?

Thanks in advance.
Last edited by Lomaxx on Sat Aug 29, 2009 10:02 am, edited 1 time in total.
Top
Junkyboy
n00b
n00b
Posts: 33
Joined: Sat Jul 06, 2002 5:48 am

  • Quote

Post by Junkyboy » Thu Aug 13, 2009 2:28 pm

Yeah, this happened to me too after python 2.6 was marked stable. The app runs fine but it seems its returning 1 when launched which causes the init script to think it has failed. So I just run it manually for now..
Top
Lomaxx
Tux's lil' helper
Tux's lil' helper
Posts: 112
Joined: Thu Nov 11, 2004 4:14 pm

  • Quote

Post by Lomaxx » Thu Aug 13, 2009 2:37 pm

I noticed too that it starts when i run it manually. However i didn't manage to connect from my other machine then ("connection rejected"). But maybe i didn't collect the right parameters from /etc/conf.d/http-replicator when running it. I didn't try for long. Perhaps i will again later.

Thanks for the answer.
Top
billk
n00b
n00b
Posts: 70
Joined: Tue Apr 23, 2002 7:27 am

  • Quote

Post by billk » Sat Aug 29, 2009 5:38 am

Edit /etc/init.d/http-replicator and add "--oknodo" to the start stanza

start-stop-daemon --help

BillK
Top
Lomaxx
Tux's lil' helper
Tux's lil' helper
Posts: 112
Joined: Thu Nov 11, 2004 4:14 pm

  • Quote

Post by Lomaxx » Sat Aug 29, 2009 10:02 am

That seems to work nicely - at least for a workaround.
Thanks.
Top
Trainwreck
n00b
n00b
Posts: 24
Joined: Mon Dec 16, 2002 5:52 am
Location: HR

  • Quote

Post by Trainwreck » Sat Aug 29, 2009 11:03 am

billk wrote:Edit /etc/init.d/http-replicator and add "--oknodo" to the start stanza

start-stop-daemon --help

BillK
-o works for me as well. Thanks!
Top
dahoste
Tux's lil' helper
Tux's lil' helper
Posts: 138
Joined: Thu Dec 01, 2005 6:07 am
Location: Maryland, USA
Contact:
Contact dahoste
Website

  • Quote

Post by dahoste » Sun Sep 13, 2009 3:28 pm

Do we have any idea what changed that caused this?

After browsing through both the http-replicator source file itself, and the start-stop-daemon man page, I don't see any reason why start-stop-daemon wouldn't be satisified that http-replicator starts successfully, i.e. why it would think no actions were taken and therefore needs --oknodo to keep the init.d script happy.

I don't even see how the python2.6 upgrade would have any effect here. http-replicator starts just fine. Unless there's some kind of quirky change in how os.fork() or signal.signal() behave. Or a race condition got exposed that makes start-stop-daemon fail to see something it expects to see which would indicate an action was taken to start the process.

Hard to tell without looking at the start-stop-daemon source itself (which I haven't done).
Top
Quincy
Apprentice
Apprentice
User avatar
Posts: 203
Joined: Thu Jun 02, 2005 12:28 pm
Location: Germany

  • Quote

Post by Quincy » Sat Sep 26, 2009 6:58 pm

Same problem here and i dont really understand why this happens. the workaround for the init script helps to continue working, but isn't a real solution.

Perhaps it waits for some return value from http-replicator (i have no idea about python, so please dont blame me if this doesn't apply to the http-replicator <-> startstopdaemon interaction)
Top
Condex
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 95
Joined: Tue Nov 08, 2005 11:13 am
Location: 42'24ºN/8'74ºW - Sol III - Sol System

  • Quote

Post by Condex » Mon Oct 12, 2009 9:58 am

Thanks for the tip, I was facing the same problem here...
Junkyboy wrote:Yeah, this happened to me too after python 2.6 was marked stable. The app runs fine but it seems its returning 1 when launched which causes the init script to think it has failed. So I just run it manually for now..
I'm still runing Python 2.5 and it fails as well. :?
Carpe diem quam minimum credula postero.
Top
Post Reply

9 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy