Re: [Sqlrelay-discussion] "Error was: No such file or directory" on freeBSD
Brought to you by:
mused
|
From: David M. <dav...@fi...> - 2008-04-09 18:52:30
|
Usually this is permissions-related. The user that sqlrelay is configured to run as can't write files to the directory that the ipc files are stored in. In this case, probably /var/sqlrelay/tmp/ipc. Or possibly that directory doesn't exist. If that's not the case, then you may need to do some stracing to see what's causing ftok to generate the -1 id. Dave dav...@fi... On Mon, 2008-04-07 at 22:01 -0700, Culley Harrelson wrote: > Hello, > > I am trying to configure sqlrelay on freebsd-- pc-bsd actually, my > development machine and eventually on my production freebsd servers. > Sqlrelay was installed from the port-- version sqlrelay-0.38_2 > > When I try to start it I get the below error. Any ideas? It seems like it > is looking for /var/sqlrelay. In this directory there was no > /var/sqlrelay/var so I created it but it didn't fix the problem. > > ch > > =================== > > > [root@pcbsd /usr/local/etc]# sqlr-start -id flashex > > Starting listener: > sqlr-listener -id flashex -config /usr/local/etc/sqlrelay.conf > > sqlr-listener error: > Unable to create a semaphore set. This is usally because an > sqlr-listener is already running for the flashex instance. > > If it is not running, something may have crashed and left an old semaphore set > lying around. Use the ipcs command to inspect existing semaphore sets > and the ipcrm command to remove the semaphore set with > id -1. > > Error was: No such file or directory > > unsuccessful completion > > sqlr-listener failed to start. > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Register now and save $200. Hurry, offer ends at 11:59 p.m., > Monday, April 7! Use priority code J8TLD2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > Sqlrelay-discussion mailing list > Sql...@li... > https://lists.sourceforge.net/lists/listinfo/sqlrelay-discussion > > > __________________________________________________ > D O T E A S Y - "Join the web hosting revolution!" > http://www.doteasy.com __________________________________________________ D O T E A S Y - "Join the web hosting revolution!" http://www.doteasy.com |