on 2011 Jul 27 11:30 AM
Hello,
we are running sql anywhere 10.0.1.4239 (Just upgraded to the latest ebf) Everything is working fine, with the exception of the dbsvc tool.
When we start it from the command line we receive no output at all....?
root@srv45:/opt/sqlanywhere10/bin32# ./dbsvc -V root@srv45:/opt/sqlanywhere10/bin32#
What might this be ? Ubuntu is the 32bit version of 10.04LTS
Linux pos-045 2.6.32-33-generic #70-Ubuntu SMP Thu Jul 7 21:09:46 UTC 2011 i686 GNU/Linux
dbsvc
in version 10.0.1 on Linux requires either a) the initscripts
package (which provides /etc/init.d/functions
), or b) the SuSE /etc/rc.status
.
Unfortunately, the initscripts
package in Ubuntu 10.04 does not actually have an /etc/init.d/functions
within it. To work around that, you can do a Google search or otherwise obtain a copy of the /etc/init.d/functions
file. For example, I found one here. (NOTE: I have not tried this one...I don't know if it works with our software).
In version 11 and higher, LSB packages replace the aforementioned packages. You would need to install the lsb
package on Ubuntu or redhat-lsb
on RedHat-based distributions.
The error message is not being displayed due to what appears to be a bug with displaying German messages from dbsvc
. I will look into getting this bug fixed.
Version 11 would also have fixed the error message issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Setting
export lang=en
before running dbsvc at least now gives some messages. I did try with various functions scripts, but apparently none is compatible enough, or even more probable there are other incompatibilities.
For example a dbsvc -l returns:
shift: 887: can't shift that many
I think i will have to stay with out own startup scripts for asa 10 and ubuntu 10.04
Thanks anyway.
ANdré
Yes, if you have your own service scripts that work well enough, I see no reason to change them. dbsvc
is supposed to be a convenience so that you don't have to write your own...but it's not so convenient in your situation, I think.
An alternative solution would be to use dbsvc from an SA 11.0.1 or higher installation. It should work with an SA 10.0.1 server.
User | Count |
---|---|
75 | |
10 | |
10 | |
10 | |
10 | |
9 | |
8 | |
7 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.