#10 psyBNC (any version) fails to run as service

open
nobody
None
5
2013-01-06
2003-11-10
Anonymous
No

First off, I'd like to thank you for making it possible for
us Windows users to use psyBNC.

I'm currently running psyBNC on my server computer and
unfortunately I have to use a shortcut to the
psybnc.exe in the autostart folder to get it to start.
Since I don't actually have physical access to my server
(I remote connect to it) I reboot it (when needed) using
various tools.
This unfortunately means that psyBNC will not start as
nobody logs in. Thus the need to run it as a service.

From your site, I have tried ALL the various versions of
psyBNC and not gotten even one working as a service.
I use mainly FireDaemon 1.6 GA to create services as its
the most advanced application for that but I have also
tried XYNTService, ServiceInstaller, Srvany and a bunch
of others. And believe me, I have really tried EVERY
possible combination of options and settings.

I stumbled upon this site when looking for scripts for my
eggdrop (http://eggnet.warpzone.org/downloads.php)
and noticed that they also had psyBNC compiled for
Windows.
There are two versions, psybnc2.3+win32 (by bejito)
and psybnc2.3+win32 IPV6 (by Guizmo) and to my
amazement both ran fine as services!

I can't really say why they work as I have no knowledge
in compiling or how psyBNC functions for that matter.

I really want to keep using psyBNC on the Windows
platform, the alternatives are really horrible applications.

On a sidenote, I have also had no luck running eggdrop
(windrop) as a service. I've only tried the latest version
(at the time 1.6.15) but a no go there as well using
various different service installers/creators.

Hoping to get a fix in the near future.

Kind regards,
Chronic
[admin@chronic.ath.cx]

Discussion

  • kirben

    kirben - 2003-11-11

    Logged In: YES
    user_id=34715

    It is actually a problem caused by psyBNC, the problem
    occurs in psyBNC 2.3.1 but not psyBNC 2.3, I will try and
    trace down the exact change in psyBNC 2.3.1 that cuases
    the problem.
    BTW I wouldn't use the psyBNC versions on that web site, as
    they didn't alter or disable the endian detection before
    compiling psyBNC. psyBNC detects Cygwin as big endian,
    while any system running Cygwin would be little endian. So it
    could cause problems when it tries to read from files or
    memory the wrong way, I made the same error in my first
    psyBNC builds.

     
  • Nobody/Anonymous

    Logged In: NO

    Would be absolutely excellent if you managed to solve this!

    Until then, is there a 2.3 build you have compiled properly
    with disabled/altered endian? If there is, I'd love a link to that.

     
  • kirben

    kirben - 2003-11-11

    Logged In: YES
    user_id=34715

    I just compiled a fresh psyBNC 2.3 build and put it online at
    http://prdownloads.sourceforge.net/windrop/psybnc2.3.exe

    Note - It doesn't include ipv6 support and might not be
    compatbile with an existing user file (Due to different salt.h
    file been used for compiles)

     
  • kirben

    kirben - 2003-11-11

    Logged In: YES
    user_id=34715

    This is odd, I just noticed the current psyBNC version will run
    fine as a service (Under Windows XP) but only under certain
    conditions.
    If psybnc is at c:\psybnc the service fails to start.
    If psybnc is at c:\psybnc2.3.2-4b the service starts fine.
    If psybnc is at c:\psybnc\psybnc the service starts fine.

    Can you check if the same happens on your system ?

     
  • Nobody/Anonymous

    Logged In: NO

    I'll give it a try, LOL. :)

     
  • Nobody/Anonymous

    Logged In: NO

    OK, tried versions 2.3, 2.3.1, 2.3.2-2b and 2.3.2-4b (your
    compiles) and only 2.3 worked. :(

    Here's the log output I get with the rest:
    .-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-.
    ,----.,----.,-. ,-.,---.,--. ,-.,----.
    | O || ,-' \ \/ / | o || \| || ,--'
    | _/ _\ \ \ / | o< | |\ || |__
    |_| |____/ |__| |___||_| \_| \___|
    Version 2.3.2-4 (c) 1999-2003
    the most psychoid
    and the cool lam3rz Group IRCnet

    `-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=tCl=-'
    Configuration File: psybnc.conf
    Language File: psyBNC Language File - English
    No logfile specified, logging to log/psybnc.log
    Cannot create listening port .. aborting

     
  • Nobody/Anonymous

    Logged In: NO

    Tried them on my Win 2000 Pro SP4 machine as well. Same
    thing there. Only 2.3 worked (with any dirname), the rest
    didn't work at all regardless of dirname.

     
  • Nobody/Anonymous

    Logged In: NO

    Any progress???

     
  • kirben

    kirben - 2003-11-20

    Logged In: YES
    user_id=34715

    No, only narrowed it down to between psyBNC 2.3 and
    psyBNC 2.3.1 beta 6 but there was a large amount of
    changes between those versions..
    Not sure why psyBNC seemed to start fine via service when I
    tried before but now I can't seem to do it with later psyBNC
    versions either.
    In the meantime, why not just start latest psybnc version
    with minimized window via start menu shortcut ? will see item
    on task bar flash briefly on startup but psyBNC auto goes into
    background.

     
  • Nobody/Anonymous

    Logged In: NO

    Because I run it on my server and it's not set to log in any
    users (and I intend to keep it that way).

     
  • kirben

    kirben - 2004-04-12

    Logged In: YES
    user_id=34715

    The problem with starting Windrop as a service, is due to
    Cygwin using its own permissions for files.
    Download http://windrop.sourceforge.net/chmod.zip
    Unpack to same directory as Windrop
    Run chmod.bat
    It will change permissions to allow read/write file access for
    all groups.

    Also change the following line in the 'Files and Directories'
    section of eggdrop config file:
    set userfile-perm 0600
    to:
    set userfile-perm 0666

    To prevent permissions changing in future.

    Still no ideas on psybnc.

     

Log in to post a comment.