Trinidad 1.2.3 can't running in windows server 2008 R2 - ruby-on-rails-3

I have an rails app was using trinidad 1.0.5 on windows server 2008 R2, but today I update trinidad to 1.2.3, and find out it unsupported. Is trinidad no more support windows platform?
the message when I run trinidad:
c:\myapp> jruby -S trinidad -e production
Error daemonizing Trinidad: Unsupported Operating System Windows Server 2008 R2

Support has not been dropped for the Windows platform, but you have probably run up against a bug.
Are you using 64-bit Server 2008 R2?
There is an open issue on the Trinidad Init Services GitHub page for 64-bit 2008 R2 entitled "The bundled version of prunsrv doesn't work on Windows Server 2008 R2 64-bit"
Essentially, it is looking like the bundled library is 32-bit.
A workaround would be to download the 64-bit library linked from the issue and manually swap the library in-place, until Trinidad has been scripted to do this for you.

Related

Tiff IFilter not working for SQL 32 bit on Windows 64 bit

I have the following environment
Windows Server 2008 R2 Standard 64-bit
SQL Server 2005 32-bit
I am trying to load up the TIFF IFilter into SQL Server but it does not appear in the following sql command:
select * from sys.fulltext_document_types
I have installed TIFF IFilter via control panel and turned on Windows features and run the following in SQL:
sp_fulltext_service 'load_os_resources',1
sp_fulltext_service 'verify_signature',0
then restarted SQL Server and also tried rebooting.
I believe the problem is that SQL Server is 32-bit and the Windows installation is 64-bit and so SQL server is perhaps looking in all the 32-bit directories and registries for any filters.
I would like to know if it is possible to obtain the tifffilt.dll for 32-bit machines and register that (unless the 64-bit is built for any CPU) and then somehow put that where SQL Server 32-bit can find it.
Can anyone help me do this?

PHP 5.5 and MSSQL driver: Installing ODBC Driver 11 in Windows Server 2012 R2

I have a Windows Server 2012 R2 with IIS 8.5, and another server with MSSQL 2012. I must install PHP in IIS and connect to MSSQL, and I don't have Internet available for Web PI.
I managed to install PHP 5.5 and I'm able to run phpinfo(), and I also assured that php.ini is being loaded from C:\php\php.ini.
I was also able to load sqlsrv driver, it reports in example sqlsrv.ClientBufferMaxKBSize 10240 10240.
But when I execute a php file that connects to DB, I get a message
This extension requires the ODBC Driver 11 for SQL Server. Access the following URL to download the ODBC Driver 11 for SQL Server for x86: http://go.microsoft.com/fwlink/?LinkId=163712
I went to that site and it says
Supported operating systems for version 3.1 of the driver include Windows Server 2012 R2`.
It says
Version 3.1 requires Microsoft ODBC Driver 11 (or higher) for SQL Serverand points tohttp://www.microsoft.com/en-us/download/details.aspx?id=36434`.
In that page, in System Requirements, WinServer 2012 R2 is not listed. When I try to install msodbcsql.msi I get message
Installation of this product failed because it is not supported on this operation system. For information on supported configurations, see the product documentation.`
Well I'm now stuck. I need PHP in WinServer 2012 R2 and IIS 8.5 connecting to MSSQL 2012. But its driver requires ODBC 11, which seems to not support latest WinServer.
Is there any hope, or will I need to wait for Microsoft to support its own OS in its own drivers?
Be sure to download the 1033\x64\msodbcsql.msi (4.4 MB) installer. Even though you are using PHP x86, you need the x64 installer since the OS is x64. I had the same issue and my app now works with PHP x86 after installing the x64 installer.

Installing ArangoDB on Windows Server 2008

I'm having difficulty getting Arango 1.4.9 working on my Windows 2008 Standard (SP2) server. It's a fresh install. When I try to start Arango Server I receive this message:
The procedure entry point TryAcquireSRWLockExclusive could not be located in the dynamic link library KERNEL32.dll
I have tried both the 64bit and 32bit versions. I have run the installer as an administrator and vice versa. Any ideas?
TryAcquireSRWLockExclusive is from a newer Windows API. The Windows 2008r2 build uses newer Windows API features such as SRW (Slim/Reader Writer) API to improve performance. These are not available in Windows Server 2008.
I assume that you must recompile for Windows 2008 or ask for a suitable binary in the support forum (https://groups.google.com/forum/#!forum/arangodb).

The 'SQLNCLI' provider is not registered on the local machine, sql server 2012

Working on deploying an application from my development box to a client. On the client when I run my exe, I get the error "The 'SQLNCLI10' Provider is not registered on the local machine.
I'm developing in SQL Server 2012. I have tried installing sqlncli.msi on the target machine with no luck.
Can anyone tell me what package I need to install on the client machine to get my app to work? And if possible provide a URL to said package?
Thanks!
Figured out I needed the 2008 version as opposed to the 2012 version.
http://go.microsoft.com/fwlink/?LinkId=123718&clcid=0x409
Are you perhaps working on a 64 bit machine and used the 32-bit install?
Here's the 64-bit link: http://go.microsoft.com/fwlink/?LinkID=188401&clcid=0x409
Use SQLNCLI11 for connecting to SQLserver 2012
eg:
Provider=SQLNCLI11;Data Source=trv6s177;Integrated Security=SSPI;Initial Catalog=DPVCube_Stage
Downloads
http://go.microsoft.com/fwlink/?LinkID=239649&clcid=0x409
X86 Package (sqlncli.msi)
http://go.microsoft.com/fwlink/?LinkID=239650&clcid=0x409
X64 Package (sqlncli.msi)
Some updates:
SQLNCLI11 works on windows 10 as well, and it can connect SQL 2012 and 2014 (not tested on later SQL versions)
This is the latest version available
At the time of writing, the most updated package can be found here:
https://www.microsoft.com/en-us/download/confirmation.aspx?id=50402
SQL ServerĀ® 2012 Native Client - QFE
From Microsoft:
It is not recommended to use this driver for new development.
The new OLE DB provider is called the Microsoft OLE DB Driver for SQL Server (MSOLEDBSQL)
which will be updated with the most recent server features going forward.
Article:
https://learn.microsoft.com/en-us/sql/relational-databases/native-client/sql-server-native-client?view=sql-server-2017
Download link:
https://learn.microsoft.com/en-us/sql/connect/oledb/oledb-driver-for-sql-server?view=sql-server-2017
Install the sqlncli10 provider on your machine.
The sqlncli10 provider for SQL 2008 R2 can be downloaded from here.
X86 package.
X64 package

Installing 64-bit Weblogic on Windows 2008

There do not appear to be procedures laid out for how to install Weblogic on Windows 2008 when you want to use the 64-bit JVM. Can anyone point me to procedures for this? The documentation appears to only exist for solaris/linux/*nix OSes.
On this page at the bottom there are two sections for installing Weblogic on Windows 2008 ("Download and Installation Instructions for Windows 2008 on 64-bit Xeon/AMD64" and "Download and Installation Instructions for Windows 2008 on x86").