July 19, 2007

Cannot run executable file from shared folder if login thru TS

I've check all the permission and security setting for that particular file (*.exe,*.msi, *.bat, *.cmd..etc), and found out that even everyone has a full control of it, but I cannot execute the file. I tried to map the drive, the result still same. -ve

Finally, I discover that this problem is because of Internet Explorer Enhanced Security (IEES) Configuration. So, I just remove it and the problem solved.

July 17, 2007

Enable Terminal Service from backdoor

Forgot to enable terminal service of Windows Server 2003? Do it remotely.. no need to come into freezing server room.. or maybe too far to attend..

limitation: 
you need at least one server RDP enable within the domain to do this...(eg. pdc01).
applicable to Windows Server 2003

run regedit.exe or regedt32.exe from the above example (pdc01).

go to File->Connect Network Registery...

Choose the server you want to enable rdp... eg. pdc03
go to ServerName\HKLM\System\CurrentControlSet\Control\TerminalServer
open fDenyTSConnections -> change REG_DWORD value from "1" to "0".

Close Registry Editor.

You are done.

Now, try to remote desktop pdc03

July 12, 2007

Open System Interconnection (OSI) Layers

The OSI, or Open System Interconnection, model defines a networking framework for implementing protocols in seven layers. Control is passed from one layer to the next, starting at the application layer in one station, and proceeding to the bottom layer, over the channel to the next station and back up the hierarchy.

Application(Layer 7)
This layer supports application and end-user processes. Communication partners are identified, quality of service is identified, user authentication and privacy are considered, and any constraints on data syntax are identified. Everything at this layer is application-specific. This layer provides application services for file transfers, e-mail, and other network software services. Telnet and FTP are applications that exist entirely in the application level. Tiered application architectures are part of this layer.

Presentation(Layer 6)
This layer provides independence from differences in data representation (e.g., encryption) by translating from application to network format, and vice versa. The presentation layer works to transform data into the form that the application layer can accept. This layer formats and encrypts data to be sent across a network, providing freedom from compatibility problems. It is sometimes called the syntax layer.

Session(Layer 5)
This layer establishes, manages and terminates connections between applications. The session layer sets up, coordinates, and terminates conversations, exchanges, and dialogues between the applications at each end. It deals with session and connection coordination.

Transport(Layer 4)
This layer provides transparent transfer of data between end systems, or hosts, and is responsible for end-to-end error recovery and flow control. It ensures complete data transfer.

Network(Layer 3)
This layer provides switching and routing technologies, creating logical paths, known as virtual circuits, for transmitting data from node to node. Routing and forwarding are functions of this layer, as well as addressing, internetworking, error handling, congestion control and packet sequencing.

Data Link(Layer 2)
At this layer, data packets are encoded and decoded into bits. It furnishes transmission protocol knowledge and management and handles errors in the physical layer, flow control and frame synchronization. The data link layer is divided into two sublayers: The Media Access Control (MAC) layer and the Logical Link Control (LLC) layer. The MAC sublayer controls how a computer on the network gains access to the data and permission to transmit it. The LLC layer controls frame synchronization, flow control and error checking.

Physical(Layer 1)
This layer conveys the bit stream - electrical impulse, light or radio signal -- through the network at the electrical and mechanical level. It provides the hardware means of sending and receiving data on a carrier, including defining cables, cards and physical aspects. Fast Ethernet, RS232, and ATM are protocols with physical layer components.

Now... which layer are you...??

Shut down Oracle database..

[root@db01]# su - oracleSun Microsystems Inc. SunOS 5.9 Generic May 2002

/* stop the listener */
[oracle@db01]$ lsnrctl stop
LSNRCTL for Solaris: Version 9.2.0.5.0 - Production on 12-JUL-2007 14:39:08
Copyright (c) 1991, 2002, Oracle Corporation. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=db01)(PORT=1521)))The command completed successfully

/* connect to database as SYSDBA */
[oracle@db01]$ sqlplus '/as SYSDBA'
SQL*Plus: Release 9.2.0.5.0 - Production on Thu Jul 12 14:41:50 2007
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Connected to:Oracle9i Enterprise Edition Release 9.2.0.5.0 - 64bit ProductionWith the Partitioning, Real Application Clusters, OLAP and Oracle Data Mining optionsJServer Release 9.2.0.5.0 - Production
/* shutdown the database */
SQL> shutdown immediate
Database closed.Database dismounted.ORACLE instance shut down.SQL> exitDisconnected from Oracle9i Enterprise Edition Release 9.2.0.5.0 - 64bit ProductionWith the Partitioning, Real Application Clusters, OLAP and Oracle Data Mining optionsJServer Release 9.2.0.5.0 -

/* stop GSD */
Production[oracle@db01]$ gsdctl stop

/** Reverse to start */
[oracle@db01]$ gsdctl start
Successfully started GSD on local node

/* connect to database as SYSDBA */
[oracle@db01]$ sqlplus '/as SYSDBA'
SQL*Plus: Release 9.2.0.5.0 - Production on Thu Jul 12 15:04:10 2007
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Connected to an idle instance.
/* start database */
SQL> startup
ORACLE instance started.
Total System Global Area 4296515640 bytesFixed Size 737336 bytesVariable Size 4261412864 bytesDatabase Buffers 33554432 bytesRedo Buffers 811008 bytesDatabase mounted.Database opened.SQL> exitDisconnected from Oracle9i Enterprise Edition Release 9.2.0.5.0 - 64bit ProductionWith the Partitioning, Real Application Clusters, OLAP and Oracle Data Mining optionsJServer Release 9.2.0.5.0 - Production
/* start listener */
[oracle@db01]$ lsnrctl start
LSNRCTL for Solaris: Version 9.2.0.5.0 - Production on 12-JUL-2007 15:04:37
Copyright (c) 1991, 2002, Oracle Corporation. All rights reserved.
Starting /oracle/app/oracle/product/9.2.0/bin/tnslsnr: please wait...
TNSLSNR for Solaris: Version 9.2.0.5.0 - ProductionSystem parameter file is /oracle/app/oracle/product/9.2.0/network/admin/listener.oraLog messages written to /oracle/app/oracle/product/9.2.0/network/log/listener.logListening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=db01)(PORT=1521)))
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=db01)(PORT=1521)))STATUS of the LISTENER------------------------Alias LISTENERVersion TNSLSNR for Solaris: Version 9.2.0.5.0 - ProductionStart Date 12-JUL-2007 15:04:37Uptime 0 days 0 hr. 0 min. 0 secTrace Level offSecurity OFFSNMP OFFListener Parameter File /oracle/app/oracle/product/9.2.0/network/admin/listener.oraListener Log File /oracle/app/oracle/product/9.2.0/network/log/listener.logListening Endpoints Summary... (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=db01)(PORT=1521)))Services Summary...Service "PLSExtProc" has 1 instance(s). Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...The command completed successfully[oracle@db01]$ exit

July 09, 2007

Where can you get the best Laksa in town...




Laksa Teluk Kechai... hahahaha

Profile quota limit thru GPO


How to set limit for user profile using GPO.

Open respective Policy.
1. Go to User Configuration->Administrative Templates->System->User Profiles.
2. Enable Limit profile size.
3. (optional) You can change the message as you like.

Thak you.

to clear testing server cache

/ehis/deployment/ejb/deployment cache - clear
restart server

Sun Microsystems Inc.   SunOS 5.9       Generic May 2002
You have new mail.

[root@amp-trap01]# su - oraias
Password: ******
Sun Microsystems Inc.   SunOS 5.9       Generic May 2002
[oraias@amp-trap01]$ cd /tsapp/eHIS/deployment/ejb
[oraias@amp-trap01]$ ls
deployment.cache      deployment_old.cache  orion-ejb-jar.xml
[oraias@amp-trap01]$ ls -ali
total 17524
        14 drwxr-xr-x   2 oraias   other        512 Jul  2 13:51 .
        13 drwxr-xr-x   5 oraias   other        512 Jun 28 09:26 ..
      4067 -rw-r--r--   1 oraias   other    4480512 Jul  2 13:51 deployment.cache
      4028 -rw-r--r--   1 oraias   other    4351716 Jun 28 11:25 deployment_old.cache
        16 -rw-r--r--   1 oraias   other      99500 Jul  2 13:51 orion-ejb-jar.xml
{* stop service *}
[oraias@amp-trap01]$ /oraias/OraHome1/opmn/bin/opmnctl stopall
opmnctl: stopping opmn and all managed processes...

{* delete/rename cache file - i choose to rename *}
[oraias@amp-trap01]$ mv deployment.cache deployment.cache.20070709

{* start service *}
[oraias@amp-trap01]$ /oraias/OraHome1/opmn/bin/opmnctl startall
opmnctl: starting opmn and all managed processes...

{* check status *}
[oraias@amp-trap01]$ /oraias/OraHome1/opmn/bin/opmnctl status  

Processes in Instance: 10gASRel2.amp-trap01
-------------------+--------------------+---------+---------
ias-component      | process-type       |     pid | status  
-------------------+--------------------+---------+---------
LogLoader          | logloaderd         |     N/A | Down    
dcm-daemon         | dcm-daemon         |     N/A | Down    
OC4J               | home               |   23919 | Alive   
WebCache           | WebCache           |   23922 | Alive   
WebCache           | WebCacheAdmin      |   23920 | Alive   
HTTP_Server        | HTTP_Server        |   23921 | Alive   
DSA                | DSA                |     N/A | Down    

[oraias@amp-trap01]$ 

Cerita BukuMuka

Cari dalam cerita ini