Posts

Showing posts from 2013

Linux show all lgged users

cat  /etc/passwd

Standby Database ORA16191 Error

The below is what is displayed in the alert log: Error 1017 received logging on to the standby Check that the primary and standby are using a password file and remote_login_passwordfile is set to SHARED or EXCLUSIVE, and that the SYS password is same in the password files. returning error ORA-16191 if you see this message in alert log oracle primary database, something is wrong, this message appears if you change sys password on a any node. Solution 1: Copy orapwd(SID).ora file to your standby database location ( oracle_home>database) Solution 2: use orapwd , orapwd file=$ORACLE_HOME/dbs/orapw SID  password= newpassword ;

weblogic render error

Oracle WebLogic Server'da Unable To Render Hatası Oracle WebLogic Server'ın Administrator Console web yönetim ekranı (http:// :7001/console şeklinde bir url) açılmaya çalışıldığında tarayıcıda aşağıdaki gibi mesajlar görülebilir : Unable to render /framework/skeletons/wlsconsole/window.js Unable to render /framework/skeletons/wlsconsole/titlebar.jsp Firtsyl,change your regional settings to united states. user_projects/domains/bin/ open cmd file with notepad editör "setDomainEnv.cmd" Add this comment at the below -Duser.language= if "%debugFlag%"=="true" ( set JAVA_DEBUG=-Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=%DEBUG_PORT%, server=y,suspend=n -Djava.compiler=NONE set JAVA_OPTIONS=%JAVA_OPTIONS% %enableHotswapFlag% -ea -da:com.bea... -da:javelin... -da:weblogic... -ea:com.bea.wli... -ea:com.bea.broker... -ea:com.bea.sbconsole... -Duser.language=en ) else ( set JAVA_OPTIONS=%JAVA_...

show last backup on sql server

SELECT  sdb.Name  AS  DatabaseName , COALESCE ( CONVERT ( VARCHAR ( 12 ),  MAX ( bus.backup_finish_date ),  101 ), '-' ) AS  LastBackUpTime FROM  sys.sysdatabases sdb LEFT  OUTER  JOIN  msdb.dbo.backupset bus  ON  bus.database_name  = sdb.name GROUP BY  sdb.Name

Apache2 mod_rewrite module enable in debian / ubuntu

Image
First install the apache with this command: (optional) apt-get install apache2 Now use locate to find if the  mod_rewrite.so  is availble on your server: updatedb locate mod_rewrite.so it will found in  “/usr/lib/apache2/modules” New apache follow some folders to enable and disable mods so now do this: cd /etc/apache2/mods-enabled touch rewrite.load vim rewrite.load  (you may use any editor to edit this file) Now paste this following line: LoadModule rewrite_module /usr/lib/apache2/modules/mod_rewrite.so Then edit: /etc/apache2/sites-available/default Find the following: Options Indexes FollowSymLinks MultiViews AllowOverride  None Order allow,deny allow from all and change it to Options Indexes FollowSymLinks MultiViews AllowOverride  all Order allow,deny allow from all and finally restart Apache: /etc/init.d/apache2 restart OK, you done 

SQL Server Log Shipping Between Standalone\Workgroup Computers

In this article I want to discuss log shipping between servers that are  not  part of a Windows domain. Standalone windows servers are, instead, part of what is known as a workgroup. The authentication mechanisms in a workgroup differ to that of a domain. In an Active Directory domain, user accounts are centralised for management on what is known as a domain controller. Active Directory uses a multi master replication model catalog to provide centralised administration of objects such as users, groups, computers, printers, etc within a Windows domain across multiple domain controllers. Member servers and workstations are then joined to the domain and become able to share their resources as well as access other resources via domain wide accounts. In a Windows workgroup, each server is essentially a standalone account management system (SAM) and manages its own users, groups, printers, etc. How does a server\computer in a windows workgroup seamlessly access...

BHDrvx64' does not exist on the 'localhost' host.

       HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\BHDrvx64' does not exist on the 'localhost' host.). You can now:   Just, uninstall all the antivirus program. it was symantec endpoint protection in my case good luck

Sp 2010 Central Installation Error

Image
Failed to provision the SharePoint Central Administration Web Application. An exception of type System.Runtime.InteropServices.COMException was thrown. Additional exception information: Filename: \\?\C:\inetpub\wwwroot\wss\VirtualDirectories\46824\web.config Line number: 25 Error: There is a duplicate 'system.web.extensions/scripting/scriptResourceHandler' section defined This issue occurred due to running the SharePoint Application pool under .NET framework 4.0, however, the application is compiled with .NET framework 3.5. SharePoint 2010 is running under .NET framework 3.5. So, in this case, please make sure the application pool is running under .NET framework 3.5.

Sharepoint 2010 Central Administration Error

Image
 Exception: System.Data.SqlClient.SqlException: Could not find stored procedure 'sp_dboption'. Solution: Install Sp 2010  Service Pack 1

AppFabric, PSModulePath and Error Code 1603

"AppFabric installation failed because installer MSI returned with error code : 1603" with the following information in the log file. 2012-10-12 17:15:42, Information Setup Process.ExitCode: 0x00000643 2012-10-12 17:15:42, Error Setup AppFabric installation failed because installer MSI returned with error code : 1603 may not be the most fun way to spend a Monday evening. However, help is on the way. I was able to resolve it by fixing the path for environment variable psmodulepath to this C:\Windows\System32\WindowsPowerShell\v1.0\;c:\Program Files\AppFabric 1.1 for Windows Server\PowershellModules;C:\Program Files\Service Bus\1.0\ and it worked. The installation for both hosting and caching modulde was completed successfully. Detailed failure log below. 2012-10-12 16:44:42, Information Setup ===== Logging started: 2012-10-12 16:44:42-07:00 ===== 2012-10-12 16:44:42, Information Setup File: c:\66b691ef98af045bad18f4250b4b18\setup.exe 2012-10-12 16:44:42, Informatio...

SharePoint 2013 Pre Requisites Downloader

#####URL#####EDIT IF Microsoft Makes Changes to the URL##################### $UrlList = ("http://download.microsoft.com/download/1/E/3/1E3220BD-1D17-4EE7-8D7F-333422D1BA4B/enu_netfx/x64/netfx_full_x64.msi", # Microsoft .NET Framework 4.5 "http://download.microsoft.com/download/5/2/B/52B59966-3009-4F39-A99E-3732717BBE2A/Windows6.1-KB2506143-x64.msu", # Windows Management Framework 3.0 (CTP2) "http://download.microsoft.com/download/9/1/3/9138773A-505D-43E2-AC08-9A77E1E0490B/1033/x64/sqlncli.msi", #Microsoft SQL Server 2008 r2 Native Client "http://download.microsoft.com/download/D/7/2/D72FD747-69B6-40B7-875B-C2B40A6B2BDD/Windows6.1-KB974405-x64.msu", #Windows Identity Foundation (KB974405) "http://download.microsoft.com/download/E/0/0/E0060D8F-2354-4871-9596-DC78538799CC/Synchronization.msi", # Microsoft Sync Framework Runtime v1.0 SP1 (x64) "http://download.microsoft.com/download/A/6/7/A678AB47-496B-4907-B3D4-0A2D280A13C0/Windo...

The Security Token Service is not available.

Image
WebHost failed to process a request.  Sender Information: System.ServiceModel.ServiceHostingEnvironment+HostingManager/17653682  Exception: System.ServiceModel.ServiceActivationException: The service '/SecurityTokenServiceApplication/securitytoken.svc' cannot be activated due to an exception during compilation.  The exception message is: Exception has been thrown by the target of an invocation.. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidOperationException: The farm is unavailable.    at Microsoft.SharePoint.Administration.Claims.SPSecurityTokenServiceManager.get_Local()    at Microsoft.SharePoint.IdentityModel.SPSecurityTokenServiceConfiguration..ctor()    --- End of inner exception stack trace ---    at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethod...