Hi,
In openser 1.1, when I use db_mode=0 (no caching) for domain module, I get this error:
/usr/local/openser-1.1# ./sbin/openserctl domain show 500 command 'domain_dump' not available
In openser 1.2, the first time I execute the command, I get nothing, the second time openserctl just hangs until I terminate it with ctrl-c:
/usr/local/openser-1.2# ./sbin/openserctl domain show /usr/local/openser-1.2# ./sbin/openserctl domain show
./sbin/openserctl: line 83: /tmp/openser_fifo: Interrupted system call Terminated
Same thing for "domain reload" btw.
Cheers, Andreas
This e-mail is confidential and may well also be legally privileged. If you have received it in error, you are on notice of its status. Please notify us immediately by reply e-mail and then delete this message from your system. Please do not copy it or use it for any purposes, or disclose its contents to any other person: to do so could be a breach of confidence. Thank you for your cooperation. Information pursuant to paragraph 14 Austrian Companies Code: UPC Austria GmbH; Registered Office: Wolfganggasse 58-60, 1120 Vienna Company Register Number: FN 189858d at the Commercial Court of Vienna
Andreas Granig wrote:
Hi,
In openser 1.1, when I use db_mode=0 (no caching) for domain module, I get this error:
/usr/local/openser-1.1# ./sbin/openserctl domain show 500 command 'domain_dump' not available
IIRC the FIFO commands from domain module were only exported when db_mode=1.
In openser 1.2, the first time I execute the command, I get nothing, the second time openserctl just hangs until I terminate it with ctrl-c:
/usr/local/openser-1.2# ./sbin/openserctl domain show /usr/local/openser-1.2# ./sbin/openserctl domain show
looks like a bug?
klaus
./sbin/openserctl: line 83: /tmp/openser_fifo: Interrupted system call Terminated
Same thing for "domain reload" btw.
Cheers, Andreas
This e-mail is confidential and may well also be legally privileged. If you have received it in error, you are on notice of its status. Please notify us immediately by reply e-mail and then delete this message from your system. Please do not copy it or use it for any purposes, or disclose its contents to any other person: to do so could be a breach of confidence. Thank you for your cooperation. Information pursuant to paragraph 14 Austrian Companies Code: UPC Austria GmbH; Registered Office: Wolfganggasse 58-60, 1120 Vienna Company Register Number: FN 189858d at the Commercial Court of Vienna
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users
Klaus Darilion wrote:
/usr/local/openser-1.1# ./sbin/openserctl domain show 500 command 'domain_dump' not available
IIRC the FIFO commands from domain module were only exported when db_mode=1.
I think so too, but I expected similar behaviour in 1.2
Andreas
In openser 1.2, the first time I execute the command, I get nothing, the second time openserctl just hangs until I terminate it with ctrl-c:
/usr/local/openser-1.2# ./sbin/openserctl domain show /usr/local/openser-1.2# ./sbin/openserctl domain show
looks like a bug?
klaus
./sbin/openserctl: line 83: /tmp/openser_fifo: Interrupted system call Terminated
Same thing for "domain reload" btw.
Cheers, Andreas
This e-mail is confidential and may well also be legally privileged. If you have received it in error, you are on notice of its status. Please notify us immediately by reply e-mail and then delete this message from your system. Please do not copy it or use it for any purposes, or disclose its contents to any other person: to do so could be a breach of confidence. Thank you for your cooperation. Information pursuant to paragraph 14 Austrian Companies Code: UPC Austria GmbH; Registered Office: Wolfganggasse 58-60, 1120 Vienna Company Register Number: FN 189858d at the Commercial Court of Vienna
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users
This e-mail is confidential and may well also be legally privileged. If you have received it in error, you are on notice of its status. Please notify us immediately by reply e-mail and then delete this message from your system. Please do not copy it or use it for any purposes, or disclose its contents to any other person: to do so could be a breach of confidence. Thank you for your cooperation. Information pursuant to paragraph 14 Austrian Companies Code: UPC Austria GmbH; Registered Office: Wolfganggasse 58-60, 1120 Vienna Company Register Number: FN 189858d at the Commercial Court of Vienna
Klaus Darilion writes:
/usr/local/openser-1.1# ./sbin/openserctl domain show 500 command 'domain_dump' not available
it looks to me that if there is a bug, it is in openserctl, not in domain module. domain_dump and domain_reload make sense only in cached mode. in non-cache mode, openserctl should get the stuff directly from database or not support dumping of domains at all.
-- juha
On 03/21/07 13:49, Juha Heinanen wrote:
Klaus Darilion writes:
/usr/local/openser-1.1# ./sbin/openserctl domain show 500 command 'domain_dump' not available
it looks to me that if there is a bug, it is in openserctl, not in domain module. domain_dump and domain_reload make sense only in cached mode. in non-cache mode, openserctl should get the stuff directly from database or not support dumping of domains at all.
if non-cache then can be used:
openserctl db show domain
Should print content of table domain.
Cheers, Daniel
-- juha
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users
Daniel-Constantin Mierla wrote:
if non-cache then can be used:
openserctl db show domain
Should print content of table domain.
Yes, but I just stumbled across the issue because "domain show" seems to be more obvious to me. If there's an error message like in openser 1.1, it would be clear.
Andreas
This e-mail is confidential and may well also be legally privileged. If you have received it in error, you are on notice of its status. Please notify us immediately by reply e-mail and then delete this message from your system. Please do not copy it or use it for any purposes, or disclose its contents to any other person: to do so could be a breach of confidence. Thank you for your cooperation. Information pursuant to paragraph 14 Austrian Companies Code: UPC Austria GmbH; Registered Office: Wolfganggasse 58-60, 1120 Vienna Company Register Number: FN 189858d at the Commercial Court of Vienna
On 03/21/07 14:09, Andreas Granig wrote:
Daniel-Constantin Mierla wrote:
if non-cache then can be used:
openserctl db show domain
Should print content of table domain.
Yes, but I just stumbled across the issue because "domain show" seems to be more obvious to me. If there's an error message like in openser 1.1, it would be clear.
"domain show" is indeed the right one for cache mode of domain module. "db" is ageneric command for openserctl to do DB operations: - show <table> - print the content of a table - query "sql" - execute a sql command - roquery "sql" - execute a sql command using read only username
The reported issues should be fixed on SVN, when sending a MI command to domain in cache-less mode, a 500 reply is returned (similar to v1.1.x).
Cheers, Daniel
Andreas
This e-mail is confidential and may well also be legally privileged. If you have received it in error, you are on notice of its status. Please notify us immediately by reply e-mail and then delete this message from your system. Please do not copy it or use it for any purposes, or disclose its contents to any other person: to do so could be a breach of confidence. Thank you for your cooperation. Information pursuant to paragraph 14 Austrian Companies Code: UPC Austria GmbH; Registered Office: Wolfganggasse 58-60, 1120 Vienna Company Register Number: FN 189858d at the Commercial Court of Vienna