Sponsored Content
Special Forums Windows & DOS: Issues & Discussions Configure automatic script in windows server Post 302617129 by Mohammed Fareed on Monday 2nd of April 2012 06:06:23 AM
Old 04-02-2012
Thanks for update, In the code i'm facing issue details given below please suggest.

Code:
C:\Documents and Settings\Fareedm\Desktop>cscript.exe check.vbs
Microsoft (R) Windows Script Host Version 5.7
Copyright (C) Microsoft Corporation. All rights reserved.
C:\Documents and Settings\Fareedm\Desktop\check.vbs(10, 1) Microsoft VBScript ru
ntime error: Variable is undefined: 'Found'

C:\Documents and Settings\Fareedm\Desktop>


Last edited by Scrutinizer; 04-02-2012 at 08:54 AM.. Reason: Code tags..
Mohammed Fareed
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Automatic FTP Script from windows to unix machine

Hi i need to FTP files from windows to unix(sun) machine using script. what are the scripts commands i need to use to transfer files Thanks (2 Replies)
Discussion started by: bmkreddy
2 Replies

2. Solaris

Script for automatic deletion of trash file of mail server

Hi, I have a mail server with limited space and operating system is sun solaris 8 (sparc). I do not have provisions to increase the space for home directory. So i have to delete files from /home/username/mail/trash which are more than 10 days old automatically. So my script should be like... (1 Reply)
Discussion started by: crown2100bd
1 Replies

3. UNIX for Dummies Questions & Answers

Script runs fine on UNIX Server...Not through MSK Tool kit on Windows Server

I have a .sh script which was running fine on all the UNIX Servers (AIX, SunSolaris). The script requires two mandatory parameters and many optional parameters. Now at a different client place who are on a Windows Server, when I try to execute the script through MKS Toolkit, there are couple of... (5 Replies)
Discussion started by: madhunk
5 Replies

4. Linux

How to configure linux to receive snmp traps from a windows server?

Can anybody please tell me how to configure linux to receive snmp traps from a windows server? I am not able to receieve snmp traps on unix machines specifically linux and solaris. I have tried starting snmptrapd service on linux but it didn't work. Is there anything special that I have to do on... (2 Replies)
Discussion started by: iamtulipin
2 Replies

5. AIX

Do I need to configure my local windows to FTP files from local windows to a UNIX AIX server?

Hi Friends, I have this script for ftping files from AIX server to local windows xp. #!/bin/sh HOST='localsystem.net' USER='myid_onlocal' PASSWD='mypwd_onlocal' FILE='file.txt' ##This is a file on server(AIX) ftp -n $HOST <<END_SCRIPT quote USER $USER quote PASS $PASSWD put $FILE... (1 Reply)
Discussion started by: rajsharma
1 Replies

6. Shell Programming and Scripting

Unix shell script to Copy files from one Windows server to another Windows server.

Can anybody please help me on how to code for the below requirement: I need to write a shell script (on different unix server) to copy files from multiple folders (ex. BRN-000001) from one windows server (\\boldls-mwe-dev4)to a different windows server(\\rrwin-ewhd04.ecomad.int). This shell... (4 Replies)
Discussion started by: SravsJaya
4 Replies

7. Programming

Problem with Perl script after moving from a Windows/Apache Server to a UNIX server.

I have a Perl script that worked fine before moving it to justhost.com. It was on a Windows/Apache server. Just host is using UNIX. Other Perl scripts on other sites that were also moved work fine so I know Perl is functioning. The script is called cwrmail.pl and is located in my cgi-bin. When I... (9 Replies)
Discussion started by: BigBobbyB
9 Replies

8. Ubuntu

Automatic update script issue (Ubuntu server)

Hi, I've created a very basic script to run apt-get update and apt-get dist-upgrade unattended (run with cron) and save the logs. Though, it's not really a script, just a file containing the commands to run in order: pasteit .com/18601 I'm currently testing this and ran into some unexpected... (4 Replies)
Discussion started by: Raxje
4 Replies

9. Shell Programming and Scripting

Connect (SSH) to Windows server via Linux server through a script and passing command.. but failing

I am trying to connect to Windows server via Linux server through a script and run two commands " cd and ls " But its giving me error saying " could not start the program" followed by the command name i specify e g : "cd" i am trying in this manner " ssh username@servername "cd... (5 Replies)
Discussion started by: sunil seelam
5 Replies

10. Linux

How to connect Linux server (configure two way authentication) with Windows server?

Hi my name is Manju. ->I have configure the two way authentication on my linux server. ->Now I am able to apply two way authenticator on particuler user. ->Now I want to map this linux server to my AD server. ->Kindly tell me how to map AD(Active Directory) with this linux server. ... (0 Replies)
Discussion started by: manjusharma128
0 Replies
Catalyst::Manual::Deployment::IIS::FastCGI(3pm) 	User Contributed Perl Documentation	   Catalyst::Manual::Deployment::IIS::FastCGI(3pm)

NAME
Catalyst::Manual::Deployment::IIS::FastCGI - Deploying Catalyst with Microsoft IIS Microsoft IIS It is possible to run Catalyst under IIS with FastCGI, but only on IIS 6.0 (Microsoft Windows 2003), IIS 7.0 (Microsoft Windows 2008 and Vista), and (hopefully) its successors. FastCGI is sometimes said to be supported on IIS 5.1 (Windows XP), but some features (specifically, wildcard mappings) are not supported. This prevents Catalyst applications from running on the server. Let us assume that our server has the following layout: d:WWWWebApp path to our Catalyst application d:strawberryperlinperl.exe path to perl interpreter (with Catalyst installed) c:windows Windows directory Setup IIS 6.0 (Windows 2003) Install FastCGI extension for IIS 6.0 FastCGI is not a standard part of IIS 6 - you have to install it separately. For more info and the download, go to <http://www.iis.net/extensions/FastCGI>. Choose the appropriate version (32-bit/64-bit); installation is quite simple (in fact no questions, no options). Create a new website Open "Control Panel" > "Administrative Tools" > "Internet Information Services Manager". Click "Action" > "New" > "Web Site". After you finish the installation wizard you need to go to the new website's properties. Set website properties On the tab "Web site", set proper values for: Site Description, IP Address, TCP Port, SSL Port, etc. On the tab "Home Directory" set the following: Local path: "d:WWWWebApp oot" Local path permission flags: check only "Read" + "Log visits" Execute permitions: "Scripts only" Click "Configuration" button (still on Home Directory tab) then click "Insert" the wildcard application mapping, and in the next dialog set: Executable: "c:windowssystem32inetsrvfcgiext.dll" Uncheck: "Verify that file exists" Close all dialogs with "OK". Edit fcgiext.ini Put the following lines into c:windowssystem32inetsrvfcgiext.ini (on 64-bit system c:windowssyswow64inetsrvfcgiext.ini): [Types] *:8=CatalystApp ;replace 8 with the identification number of the newly created website ;it is not so easy to get this number: ; - you can use utility "c:inetpubadminscriptsadsutil.vbs" ; to list websites: "cscript adsutil.vbs ENUM /P /W3SVC" ; to get site name: "cscript adsutil.vbs GET /W3SVC/<number>/ServerComment" ; to get all details: "cscript adsutil.vbs GET /W3SVC/<number>" ; - or look where are the logs located: ; c:WINDOWSSYSTEM32LogfilesW3SVC7whatever.log ; means that the corresponding number is "7" ;if you are running just one website using FastCGI you can use '*=CatalystApp' [CatalystApp] ExePath=d:strawberryperlinperl.exe Arguments="d:WWWWebAppscriptwebapp_fastcgi.pl -e" ;by setting this you can instruct IIS to serve Catalyst static files ;directly not via FastCGI (in case of any problems try 1) IgnoreExistingFiles=0 ;do not be fooled by Microsoft doc talking about "IgnoreExistingDirectories" ;that does not work and use "IgnoreDirectories" instead IgnoreDirectories=1 Setup IIS 7.0 (Windows 2008 and Vista) Microsoft IIS 7.0 has built-in support for FastCGI so you do not have to install any addons. Necessary steps during IIS7 installation During IIS7 installation, after you have added role "Web Server (IIS)" you need to check to install the role feature "CGI" (do not be nervous that it is not FastCGI). If you already have IIS7 installed you can add the "CGI" role feature through "Control panel" > "Programs and Features". Create a new website Open "Control Panel" > "Administrative Tools" > "Internet Information Services Manager" > "Add Web Site". site name: "CatalystSite" content directory: "d:WWWWebApp oot" binding: set proper IP address, port etc. Configure FastCGI You can configure FastCGI extension using commandline utility "c:windowssystem32inetsrvappcmd.exe" Configuring section "fastCgi" (it is a global setting) appcmd.exe set config -section:system.webServer/fastCgi /+"[fullPath='d:strawberryperlinperl.exe',arguments='d:wwwWebAppscriptwebapp_fastcgi.pl -e',maxInstances='4',idleTimeout='300',activityTimeout='30',requestTimeout='90',instanceMaxRequests='1000',protocol='NamedPipe',flushNamedPipe='False']" /commit:apphost Configuring proper handler (it is a site related setting) appcmd.exe set config "CatalystSite" -section:system.webServer/handlers /+"[name='CatalystFastCGI',path='*',verb='GET,HEAD,POST',modules='FastCgiModule',scriptProcessor='d:strawberryperlinperl.exe|d:wwwWebAppscriptwebapp_fastcgi.pl -e',resourceType='Unspecified',requireAccess='Script']" /commit:apphost Note: before launching the commands above, do not forget to change the site name and paths to values relevant for your server setup. AUTHORS
Catalyst Contributors, see Catalyst.pm COPYRIGHT
This library is free software. You can redistribute it and/or modify it under the same terms as Perl itself. perl v5.14.2 2012-01-20 Catalyst::Manual::Deployment::IIS::FastCGI(3pm)
All times are GMT -4. The time now is 04:39 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy