[Sqlrelay-discussion] Starting listener: unsuccessful completion
Brought to you by:
mused
|
From: Anthony G. <cyc...@ya...> - 2008-05-20 12:16:30
|
<table cellspacing='0' cellpadding='0' border='0' ><tr><td style='font: inherit;'>Using the following sqlrelay.conf file .....<br><?xml version="1.0"?><br><!DOCTYPE instances SYSTEM "sqlrelay.dtd"><br><instances><br><br> <instance id="sqlitetest"<br> port="9000"<br> socket="/tmp/sqlitetest.socket"<br> dbase="sqlite"<br> connections="3"<br> maxconnections="5"<br> maxqueuelength="0"<br> growby="1"<br> ttl="60"<br> endofsession="commit"<br> sessiontimeout="600"<br> runasuser="anthony"<br> runasgroup="anthony"<br> cursors="5"<br> authtier="listener"<br> handoff="pass"<br> debug="listener_and_connection"><br> <users><br> <!-- user user="sqlitetest" password="sqlitetest"/ --><br> <user user="" password=""/><br> </users><br> <connections><br> <connection connectionid="sqlitetest" string="db=/home/anthony/Development/sqlrelay/sqlrelay_test.db" metric="1"/><br> </connections><br> </instance><br><br></instances><br><br>I get the following output from running .... sudo sqlr-start -id sqlitetest -config sqlrelay.conf<br><br><br>Starting listener:<br> sqlr-listener-debug -id sqlitetest -config sqlrelay.conf &<br>Debugging to: /var/cache/sqlrelay/debug/sqlr-listener.10989<br>Could not open: /var/cache/sqlrelay/tmp/ipc/sqlitetest<br>Make sure that the file and directory are readable and writable.<br><br>unsuccessful completion<br><br>Starting 3 connections to sqlitetest :<br> sqlr-connection-sqlite-debug -id sqlitetest -connectionid sqlitetest -config sqlrelay.conf &<br>Debugging to: /var/cache/sqlrelay/debug/sqlr-connection.10991<br><br>sqlr-connection error:<br> The pid file /var/cache/sqlrelay/tmp/pids/sqlr-listener-sqlitetest was not found.<br> This usually means that the sqlr-listener <br>is not running.<br> The sqlr-listener must be running for the sqlr-connection to start.<br><br> sqlr-connection-sqlite-debug -id sqlitetest -connectionid sqlitetest -config sqlrelay.conf &<br>Debugging to: /var/cache/sqlrelay/debug/sqlr-connection.10996<br><br>sqlr-connection error:<br> The pid file /var/cache/sqlrelay/tmp/pids/sqlr-listener-sqlitetest was not found.<br> This usually means that the sqlr-listener <br>is not running.<br> The sqlr-listener must be running for the sqlr-connection to start.<br><br> sqlr-connection-sqlite-debug -id sqlitetest -connectionid sqlitetest -config sqlrelay.conf &<br>Debugging to: /var/cache/sqlrelay/debug/sqlr-connection.10998<br><br>sqlr-connection error:<br> The pid file /var/cache/sqlrelay/tmp/pids/sqlr-listener-sqlitetest was not found.<br> This usually means that the sqlr-listener <br>is not running.<br> The sqlr-listener must be running for the sqlr-connection to start.<br><br><br>Starting cache manager:<br> sqlr-cachemanager<br>Warning: using default id.<br><br><br>Thanks to MP3.com for sponsoring: <br> Clustered/Replicated database support.<br> Perl API.<br>Thanks to FeedLounge for sponsoring: <br> Query routing and filtering.<br><br>/var/cache/sqlrelay/tmp/ipc/sqlitetest was automatically created by sqlrelay <br><br>I manually created pids and sockets directory<br>/var/cache/sqlrelay/tmp/pids<br>/var/cache/sqlrelay/tmp/sockets<br><br>I have changed permissions to 777 from /var/cache/sqlrelay downwards<br><br>SQL Relay version: 0.38 installed from Ubuntu binaries on 8.04<br><br>Any pointers would be great.<br><br>-Ants<br><br>Disclaimer: Technically speaking, I am always wrong!</td></tr></table><br> <hr size=1> Sent from <a href="http://us.rd.yahoo.com/mailuk/taglines/isp/control/*http://us.rd.yahoo.com/evt=52418/*http://uk.docs.yahoo.com/nowyoucan.html" target=_blank>Yahoo! Mail</a>. <br> A Smarter Email. |