Installing Trac as a Windows Service on Windows Server 2008 - windows-server-2008

As the title suggests, I'm trying to install Trac as a Windows Service on Windows Server 2008. I've looked into the instructions at Installing Trac as a Windows Service. Out of the different options given there, I would prefer an Option 1 like approach which uses some Windows utilities instead of installing additional software but the instructions seem a bit outdated for Windows Server 2008 as instsrv.exe and srvany.exe are not available for Server 2008. There is a suggestion to use winserv.exe but I can't find it anywhere and the suggested Google search does not provide any credible results.
Is there a way to use the sc Windows utility to install Trac as a service? Has anyone tried this?
Update: I tried using sc but that does not work. sc only interacts with programs developed as Windows Service Applications so they have hooks to interact with sc.

I could solve this problem using winserv.exe, that can be downloaded from this tutorial page: http://wiki.go-redrock.com/wiki/TechAsService
Once you get the binary file run:
"C:\path\to\winserv.exe" install tracd -displayname "tracd" -start auto "C:\path\to\python.exe" c:\path\to\python\scripts\tracd-script.py <your tracd parameters>
net start tracd
Hope you can solve your problem like I did!

If you just want to easily install Trac on a Windows server, I can recommend Bitnami Trac Stack to you. It comes as 2 services, one for Apache web server running Trac as python module and one for SVN.

Are you restricted to using tracd to host your Trac installation? If you use a real web server, this is typically a bit easier. Web servers like IIS and Apache typically install themselves as a service. If you set up something other than tracd to serve up your Trac site, it will most likely run as a service by default. In general, you'll have a better experience using a full-featured web server like Apache instead of the minimalistic tracd.

Related

IBM Mobilefirst server configuration tool without GUI

I'm trying to install IBM Mobilefirst 7.0 server on production Ubuntu server in Amazon. The server has no GUI. I installed Websphere Application Server and IBM Mobilefirst server using silent installation of IBM Installation Manager and response file created on server with GUI. But now I'm stuck at a point where I have to configure MobileFirst server using server configuration tool. But I'm not able to find out how to do this without GUI since server configuration tool is GUI based. Any pointers or help would be highly appreciated!
You can use ant tasks to proceed with the configuration without the GUI.
Detailed steps for this can be found in the link below.
http://www-01.ibm.com/support/knowledgecenter/SSHS8R_7.0.0/com.ibm.worklight.deploy.doc/devref/t_transporting_apps_and_adapters.html
What I was asking for is way to implement MobileFirst Server administration without using GUI as given in step number 6 in this link: http://www-01.ibm.com/support/knowledgecenter/#!/SSHSCD_6.3.0/com.ibm.worklight.installconfig.doc/install_config/t_ov_server_install.html. Since the server I was working on does not have a GUI, I was stuck at step 6. But I found the way out now and for someone who is looking for this, the way to do is using ant scripts. Steps are listed at this link : http://www-01.ibm.com/support/knowledgecenter/#!/SSHS8R_7.0.0/com.ibm.worklight.installconfig.doc/devref/t_ant_tasks_configure_dbs_wlconsole.html

On which OS Search.CollatorDSO is available?

I am trying to search file system using Search.CollatorDSO:
Provider=Search.CollatorDSO;Extended Properties="Application=Windows"
On what Windows OS is this provider available by default? According to this question it is not installed on Web editions of Windows Server.
If it is not installed can it be installed manually?
After much digging, it appears the only way to get the ole db provider: Search.CollatorDSO is to enable the Search service in windows OS itself. Installing Search Server from the download does not install it. (Confusing!)
Note that Windows Search Service, what this thrad is about, is completely distinct from "Search Server."

Is it possible to install Shibboleth SP on its own server?

Is it possible to install the Shibboleth Service Provider (SP) on a different machine than the web application? I have the SP on the same server as IIS and my web application, and I'd like to move the SP to a separate server.
I can't see any relation between your question and answer.
The answer is YES, you can install Shibboleth SP on something other than IIS
general installation notes
Apache for windows (I believe that you need something for that OS)
All Windows installations (including IIS 5,6,7 and Apache)
All Linux tutorials (look for your system in subpages)
Mac
Install Shibboleth to protect Java Servlets
Hope that will help any other knowledge seeker.
After take a look how to separate SP server from Web Server.
I found this link.
According to this site, we have to create the glue ourselves
Shibboleth doesn't do this for us.

Cpanel/WHM solution in microsoft windows server

Does Microsoft provide a web hosting solution similar to Cpanel/Whm in linux?
what i really want is to build a powerful server where i give my org developer a cpanel-like tool to manage their sites instead of giving them vps or direct access to the server.
You're in luck Enkompass by cPanel.
Enkompass is now free
http://www.cpanel.net/2011/10/cpanel-to-offer-enkompass-for-free.html
For Linux servers cPanel is the best but on windows Plesk is the best option http://www.parallels.com/products/plesk/

Use WebDav in Sharepoint 2010

I have done some research, based on the problem that my single server gives me when I try to open a document library in windows explorer from the ribbon menu item "Open in Windows Explorer".
The same problem occurs when I try to map sharepoint to a folder in windows explorer too.
The error is:
Your client does not support opening this list with Windows Explorer
From the net, suggestions are:
(Since I'm trying this operation from server itself) enable Desktop Experience
Install the KB907306 update.
Enable IIS webDav service (Some say, it's just for additional functions from the MS Whitepaper)
(Edit) Started webClient service
I've already done them. Nothing changed. Proper machine restart and iis too have done.
Need some serious advice.
Thanks in advance.
Not sure if we are having exactly the same problem BUT I have had similar problem while accessing SP via Windows Explorer in Windows Server 2k8.
What I done to fix it is following:
Install new server feature called Desktop Experience (it comes with WebDAV redirector, which allows you to connect to WebDAV) - Note: Server will need to be restarted.
In Services start WebClient service (go to properties and make sure it starts automatically)
You will now be able to access your sharepoint via entering network path such as \sharepointhost\application\myawesomeapplication\ etc.
Hope that helps.
If you are trying to do this from the server, test it from a server which is not on the SharePoint farm (or better yet, a client machine). Ensure all of your testing is done from machines which are not on the farm.
Do NOT enable the IIS WebDAV service, as SharePoint provides its own WebDAV service and the IIS one overrides it in the pipeline. Enabling this service is a sure path to breaking WebDAV.
If you have SSL enabled, you may be in for a rough time getting it to work. Start by understanding how to use the 'net use' command, and the #SSL suffix.
make sure your webdav is installed as feature
make the following registry fix (http://support.microsoft.com/kb/841215) :
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WebClient\Parameters
Add a new DWORD "BasicAuthLevel" and change this to "2"
Restart your machine (and make sure it is enabled in IIS)
Make sure that WebClient windows service is running in the server. This shall appear in client operating systems like Windows 7, windows 8 however, on the server operating systems like Windows Server 2008, it shall be installed by enabling the server feature "Desktop experience" using Server Manager
This issue nearly killed me. I found that I was using a 64 bit version of my browser and that is'nt supported. I changed over to the 32 bit and it works.