GNU Health installation error , when creatting database - gnu

I am trying to install the GNU Health in ubuntu 12.04,when I am trying to create the database in my localhost it says "Could not connect to server"

Follow instructions here: http://en.wikibooks.org/wiki/GNU_Health/Installation
I suggest you join the GNU health mailing list and post your questions to the list, you have better chances of getting answers: https://lists.gnu.org/mailman/listinfo/health

Related

Automated installation of the operating system via ipmi using some solution

Suggest a solution if such exists.
There are 20 empty baremetal servers. Me need to go to the ipmi and manually connect the image file to start the installation OS.
Question: are there any solutions to automate this process?
Since you tag this question with "OpenStack", you must have heard of Ironic.
If the thought of installing OpenStack to automatically install servers frightens you, look up Cobbler. It was used by now defunct products Helion OpenStack and SUSE OpenStack Cloud to set up clouds.
Ubuntu uses MAAS for this purpose.
This is not a complete list.

How can I get the version of a remotely running RabbitMQ server programmatically in Node.js?

I have a node server that connects to RabbitMQ using rabbot. This is working fine, I can publish messages, consume messages, etc.
Now I was hoping to be able to ask the RabbitMQ server which version it is running specifically.
I was hoping I might be able to publish a message asking for the version and get the answer via a reply queue. Or I could also make the request via HTTP, I have no preference. But strangely enough, I can't find any way of doing this. Hence my question: How can I get the version of a remotely running RabbitMQ server programmatically in Node.js?
Non-duplicate: Verify version of rabbitmq
The above is not a duplicate since it doesn't require the version be found programmatically, nor does it offer any Node.js solutions. Also, most solutions only apply to a local rabbitmq-server, not a remote one.
The RabbitMQ team monitors this mailing list and only sometimes answers questions on StackOverflow.
You can get this information by using the HTTP API:
$ curl -4su guest:guest localhost:15672/api/overview | jq '.rabbitmq_version'
"3.6.14+2.gd704c55"
Note that you will have to enable the rabbitmq_management plugin.
If you're feeling adventurous you can also use the erl command to connect remotely and get the list of running applications and their details. The RabbitMQ version will be the version of the rabbit application. This is basically how the rabbitmqctl script works.

Cargo fails with "spurious network error: The operation timed out" on Windows 10 when using a local user

I'm trying to setup a Rust programming environment for a local user on a Windows 10 laptop that is usually connected to my company domain. Installing the stable version of Rust with rustup via rustup-init.exe completed without problems, but every time I try to use cargo to install tools or libraries I get an error message like the following:
warning: spurious network error (5 tries remaining): [2/-1] failed to send request: The operation timed out
This happens both from my company network and from my home one. I managed to setup Rust for my domain account without problems.
I suppose this is network related or it might involve the Sophos software my company uses as firewall/anti-virus; what is puzzling me is the fact that just about every other network related utility I tried works without problems, from git to curl.
I'd like to use this additional user because there are utilities my company blocks for domain users but not for local ones, such as Dropbox.
For me, I used a proxy once and it was set as a variable in CMD.
To show your proxy settings, in an administrator cmd type:
netsh winhttp show proxy
if you have one you can reset it by:
netsh winhttp reset proxy
I spent a good hour trying to figure this out and came across 2 potential solutions
There could be an issue with ssh: dependency, fixed it by starting ssh agent:
eval `ssh-agent -s`
ssh-add
cargo build
setup in a global ~/.gitconfig
[url "ssh://git#github.com/"]
insteadOf = https://github.com/
Removing this in ~/.gitconfig also solved the issue
I don't have a definite explanation, but cargo works correctly when the VPN towards my office is active. I guess it really is something to do with security software.

Installing an IBM DB2 licence on Linux openSUSE

I am trying to allow php scripts running on my Linux openSUSE system to access IBM DB2 mainframes running Z/OS. I am having problems installing some kind of required license. [Stackoverflow #02484][1] provides good background on what is going on but no detail.
I was originally instructed to install the Enterprise edition of the ibm_data_server_driver_package, this went well and my php script worked fine with a local express version of db2, but failed when I tried to access our company mainframe with:
[IBM][CLI Driver] SQL1598N An attempt to connect to the database server failed because of a licensing problem. SQLSTATE=42968
This 'Enterprise' data server package does not appear to contain any of the utilities needed to install licenses. I was then directed to download and install an ibm_db2_connect_unlimitedEdition_SystemZ_QuickStart_Activation_11.1 this contained a simple script db2connectactivate.sh which called a java program, which I used as follows:
java -classpath db2jcc.jar:db2connectactivate.jar com.ibm.db2.jcc.DB2ConnectActivate -caller db2connectactivate.sh -host x.y.z.com -port 7777 -database abc123 -user UUUUUU -password XXXXXX -activatorsqlid '$DDDDDD'
It failed:
[license activator][709][13431]Activation failed.
SQLCODE: -552
SQLSTATE: 42502
Message: DB2 SQL Error: SQLCODE=-552, SQLSTATE=42502, SQLERRMC=$DDDDDD;CREATE PROCEDURE, DRIVER=3.71.22
The local DB2 support staff are all Microsoft based and little help on Linux. They state my account does have sufficient rights and then tried to get to me to all kinds of things with a 'db2' command which did not exist. I am confused. Where is the license? Is it on the main frame or was it within the QuickStart_Activation pack? What does the java program do, does it download and save any keys or tokens which need saved? I have tried running the java program as local root and as myself.
Can anybody explain what is going on and what I have to do to licence my driver?
There is DB2 and then there is DB2. Depending on the particular DB2 server variant you MAY need a license from IBM to enable the driver. There appears to several different types and ways of installing the licence, depending on your agreement with IBM and how you connect to the DB.
The server may not require a license for the driver to connect at all. This applies to the DB2 express edition.
The mainframe edition may contain a special license allowing any driver to connect without particular licence set-up. This may be the unlimited variant.
A licence file may need to be added to each driver as it is installed. This may be the enterprise variant.
This is in addition to the account you use to perform the install needing appropriate rights on the DB2 server. Depending on how you install the client the messages are unclear and indicate the account has insufficient rights rather than a licence is missing. The driver installation appears to differ considerably depending on the licence situation.
In our case IBM support were particularly unhelpful. Indeed two months after engaging with IBM support we still dont have a working driver!
SQLCODE=-552 means that authorization-id DOES NOT HAVE THE PRIVILEGE TO PERFORM OPERATION operation
Could you run with parameters as below with correct database, db user and password.
./db2connectactivate.sh -host x.y.z.com -port 7777 -database abc123 -user db2admin -password adminpassword
take a look at db2connectactivate - Server license activation utility

Using Linux to execute a query from Windows server by ODBC connection

Here is the problem: We have a client that uses Progress Openedge database, we need to execute queries on this database from our servers.
Currently the drivers are installed on our Windows server, and the PHP code uses ODBC to run the queries.
Now we would like to move the code to a Linux server. We tried before to work with their linux drivers but that attempt has failed.
The question is, Is it possible somehow to run PHP code on a linux server, this code communicates with the Windows server, runs the query on the Windows server, and return the results to Linux?
How would you access to this problem.
Thanks!
Yes, it's possible. Your question boils down to "how can my Linux server ask my Windows server to do something" (where the "something" happens to be "talk to a database"), and there are a variety of ways to accomplish that. You could run a web service (RESTful or SOAP) on the Windows server, for example.
Make sure you think about security: if you deploy a service on your Windows server that lets remote clients modify a database, you have to be mindful of which remote clients are allowed to use that service. The last thing you want to do is accidentally allow random strangers to run arbitrary queries against your database.
We have a Knowledgebase Article detailing some setup procedures for Linux installations; it also has a video explaining some aspects of the setup. If the other answered haven't provided a complete solution for you, hopefully our article can at least get you started in the right direction.
Also keep in mind that depending on your version of OE, the driver libraries may be different.

Resources