Monday, 2 February 2009

Installing IIS and Configuring FTP Service on Windows

Installing Internet Information Services

Because FTP depends on Microsoft Internet Information Services (IIS), you must first make sure that IIS is installed. To install IIS and the FTP service, follow these steps:
  1. Click Start, point to Settings, and then click Control Panel.
  2. In Control Panel, double-click Add/Remove Programs.
  3. Select Add/Remove Windows Components.
  4. In the Windows Components Wizard, select Internet Information Services (IIS), then click Details.
  5. Select Common Files, Documentation, File Transfer Protocol (FTP) Server, and Internet Information Services Snap-In, and then click OK.
  6. Click Next.
  7. If you are prompted to configure Terminal Services, click Next.
  8. If you are prompted for a path for a FTP root folder, type a suitable folder path. The default is C:\Inetpub\Ftproot. For additional security, an NTFS drive is preferred. Click OK to continue.
  9. When you are prompted, insert the Windows 2000 CD or provide a path to the location of the files, and then click OK.
  10. Click Finish.
IIS and the FTP service are now installed, but you must configure the FTP service before you can use it.

Configuring the FTP service

To configure the FTP service, follow these steps:
  1. Click Start, click Programs, click Administrative Tools, and then click Internet Services Manager. (In Windows 2000 Professional, you can access Administrative Tools from Control Panel.)
  2. Click the plus sign (+) next to the server name.
  3. Right-click Default FTP Site, and then click Properties.
  4. Click the Security Accounts tab.
  5. Select Allow Anonymous Connections, and then select Allow Only Anonymous Connections.

    Note Set appropriate NTFS permissions for the Internet Guest Account. To reduce security issues, consider using Basic Authentication on the FTP site. To do this, clear the Allow Anonymous Connections check box. When you do this, users must log on by using a user name and password that correspond to a valid Windows user account.
  6. Click the Home Directory tab.
  7. Select Read and Log Visits, and clear Write.
  8. Click OK to save these settings.
The server is now configured to accept incoming FTP requests. The files that you want to make available should now be copied into the folder for access.

Details of SVCHOST.EXE

To know details of programs running using svchost.exe
=====================================================

tasklist /svc /fi "imagename eq svchost.exe"

(If any suspicious service is found, then note the pid and kill the service)

Details of SVCHOST.EXE

To know details of programs running using svchost.exe
=====================================================

tasklist /svc /fi "imagename eq svchost.exe"

(If any suspicious service is found, then note the pid and kill the service)

Know the Location of an IP Address

To know IP address of a server
cmd > tracert www.yahoo.com

Note down the IP Address
==============================

To know the location of an IP Address
www.ipgp.net

Wednesday, 21 January 2009

Rashtrapati Bhawan

Rashtrapati Bhawan is the residence of Hon'able President of India. It is located in the heart of New Delhi. It is the biggest residence of any president around the world.
  • Earlier it was known as Viceroy's House.
  • In 1950, it was renamed as Rashtrapati Bhawan.
  • Architects : Luteyns and Baker
  • 340 rooms
  • No steel was used to construct Rashtrapati Bhawan.
  • Song "Des Rangila" from movie "Fanaa" was shot in Rashtrapati Bhawan.

Friday, 24 October 2008

Chandrayan 1


Queued processes in Process Scheduler in Peoplesoft

In Peoplesoft, many times we face the error like the reports are in queued staus for a long time & even if we run more reports, they also go in the same status.
There could be number of reasons for it.
1. Process Scheduler could be down. Check the status in Process Monitor> Server List
2. If it is a report, check whether the report is present on the process scheduler file server.
3. Check if there is no memory to be allocated. Check virtual memory.
4. Tablespace could be filled. Check the same & if need be increase the size of the respective tablespace.
5. Possibility could be that database Server might not be having enough space on the disk.
6. In most of the cases if one process is in queued status, it will make all the new process to remain in queued status. This happens mostly in the case of Application Engine Programs.
In that we can go ahead and clear all the Process instances other than Success/ Posted. This can be done from the Process Monitor page itself. But in case, you don't have enough rights to delete the same from PIA. I am also attaching the Run status of Process Instances in Process Scheduler table i.e PSPRCSRQST.

Process Scheduler Run Status
1- Cancel 2- Delete 3- Error 4- Hold 5- Queued 6- Initiated 7- Processing 8- Cancelled
9- Success 10- No Success 11- Posted 12- Not Posted 13- Resend 14- Posting 15- Generated

To resolve this , shut down the process scheduler and clear the cache. After this, run the below SQL in the respective database using Access ID (usually 'sysadm' in oracle & 'sa' in MS SQL Server).

select count(*) from psprcsrqst where runstatus<>'9';
delete from psprcsrqst where runstatus<>'9';
commit;