FireDaemon Forums
Go Back   FireDaemon Forums > Support > HOWTOs: Application Tutorials > Chat / Messenging / P2P / VoIP

Chat / Messenging / P2P / VoIP HOWTOs and Tutorials regarding integrating FireDaemon with various Chat / Messenging / P2P / VoIP applications.


Reply
 
Thread Tools Display Modes
  James Bourne's time 7th November 2005, 12:00 PM    #1  
Old 7th November 2005, 02:00 AM
James Bourne's Avatar
James Bourne James Bourne is offline
FireDaemon Tech Supp
 
Join Date: Jun 2005
Location: Sydney, AU
Posts: 604
Send a message via Skype™ to James Bourne
Default PsyBNC



How To Run psyBNC as a FireDaemon Service

psyBNC is an easy-to-use, multi-user, permanent IRC-Bouncer with many features. Some of its features include symmetric ciphering of talk and connections (Blowfish and IDEA), the possibility of linking multiple bouncers to an internal network including a shared partyline, vhost- and relay support to connected bouncers and an extensive online help system. It can be setup to run as a Windows Service using FireDaemon. This is how to do it:

Before You Even Contemplating Doing Any Setup
Things you need to know about psyBNC:
  • The Windows build of psyBNC _DOESNT_ work on 64-bit systems. It crashes. So stop right there.
  • PsyBNC only seems to work when installed in C:\psyBNC. It always fails to find its configuration file. If you find a workaround please let us know!
  • The primary process forks a child process. This is pretty standard practice for daemonising a process under Unix for which psyBNC is primarily written. This means two things: FireDaemon _WILL_ _NOT_ be able control psyBNC unless you force the process into a Windows Job Group and secondly: FireDaemon cannot detect psyBNC crashes.
  • psyBNC writes a PID file. The PID file acts as a mutex to stop multiple instances of the child process instantiating. Hence, this file must be deleted in advance of running the service under FireDaemon. FireDaemon allows this to be automated. The PID file is typically c:\psybnc\psybnc.pid
  • If you are attempting to run psyBNC interactively via Remote Desktop (RDP) then you might not see it running. Please see this post on how to get around this situation.
  • psyBNC should _NOT_ be running prior to attempting to start it under FireDaemon. Check your Process List under Task Manager and terminate with extreme prejudice.
Clear as mud? Right let's get on running psyBNC as a FireDaemon service!

Download and psyBNC
Download and extract psyBNC into the directory of your choice (eg. c:\psybnc).

Install FireDaemon Pro
FireDaemon can be downloaded from here.

Configure FireDaemon
Double click the FireDaemon desktop icon:



Create a new service by clicking on the Create a new service definition button in the toolbar or typing Ctrl+N. The New Service Definition dialog will be displayed. Fill out the fields in the Program tab as follows (adjust paths to suite your installation):



Now click on the Settings tab. You can optionally set the Interact with Desktop check box if you want to see what psyBNC is upto. You can optionally run psyBNC as the user you installed it as. In the Logon Account field type your username (eg. Administrator) and then enter the user's password twice in the Password and Confirm fields. IMPORTANT Because psyBNC forks - make sure you set Upon Program Exit to Disabled



Now click on the Advanced tab. Change the Job Type to Global Job.



Now click on the Dependencies tab. Make sure the service depends on the lanmanworkstation (Workstation) service to ensure the TCP/IP and CIFS stacks are both up prior to starting psyBNC.



Lastly, click on the Pre / Post-Service tab. For psyBNC to start cleanly any legacy PID file must be deleted. In the Pre-Service Programs section click on the Append button. Fill out the dialog box as follows (adjust paths to suite):



Then click on the OK button.



Now click on the Install button to install and start psyBNC as a FireDaemon Service!



If you are running psyBNC interactively you will see:



Otherwise you will need to check the Task Manager:


Last edited by H4nd0; 2nd February 2009 at 05:11 AM.
Reply With Quote
Reply

Bookmarks

Tags
psybnc

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

 
Free 30 Day Trial

Join our Newsletter
Once a month we poke the right people on product releases and promos.



Connect with us



Latest HOWTOs



All times are GMT. The time now is 03:03 AM.


Powered by vBulletin® Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Template-Modifications by TMS
Copyright © 2009 FireDaemon Technologies Limited

[Close]