Wednesday, May 12, 2010, 02:48 PM - Oracle, Oracle
Issue:
Once in a while, depending on the installation size, the apache httpd access_log grows to 2GB on the Oracle Enterprise Manager Grid Control installation.
Solution:
There are two possible solutions:
A. Correct the log rotate setup;
B. Stop the logging.
This solution is the solution to stop the logging (since it is pretty much useless anyway).
Edit the sysman/config/httpd_em.conf file and hash out the following lines:
ErrorLog /oracle/product/oms10g/Apache/Apache/logs/error_log
TransferLog "/oracle/product/oms10g/Apache/Apache/logs/access_log"
to
# ErrorLog /oracle/product/oms10g/Apache/Apache/logs/error_log
# TransferLog "/oracle/product/oms10g/Apache/Apache/logs/access_log"
Delete the old log files from Apache/Apache/logs and restart grid control. The logging should be stopped.
| permalink
Tuesday, January 5, 2010, 10:22 AM - Microsoft SQL Server, Microsoft SQL Server
Issue:
The backup of the full database fails with error number -1073548784.
Solution:
Most likely the database requires a log file backup before a full backup is possible.
To see if the log file backup is required, select the following:
select log_reuse_wait_desc from sys.databases where name='your database name';
If this displays 'LOG_BACKUP', then first execute a transaction log backup. After the transaction log backup, the full backup should be possible again.
| permalink | related link
Tuesday, January 5, 2010, 07:39 AM - Microsoft SQL Server
Issue:
The disk containing the tempdb from SQL Server 2005 is near full.
Solution:
The tempdb can be moved by executing the following SQL and restarting the SQL Server instance:
USE master;
GO
ALTER DATABASE tempdb
MODIFY FILE (NAME = tempdev, FILENAME = '{location}tempdb.mdf');
GO
ALTER DATABASE tempdb
MODIFY FILE (NAME = templog, FILENAME = '{location}templog.ldf');
GO
| permalink
Friday, December 25, 2009, 11:06 AM - Microsoft SQL Server
Issue:
You are trying to implement database mirroring with SQL Server 2005 instructions from http://weblogs.sqlteam.com/tarad/archive/2007/02/13/60091.aspx and fail at:
CREATE ENDPOINT [Mirroring]
AS TCP (LISTENER_PORT = 5022)
FOR DATA_MIRRORING (ROLE = PARTNER, ENCRYPTION = ENABLED);
Solution:
The keyword ENCRYPTION=ENABLED should be ENCRYPTION=SUPPORTED
| permalink | related link
Monday, November 9, 2009, 10:21 PM - General applicable solutions
Issue:
Registration of tradebox fails due to badly written browser and java capability check.
Solution:
No claims due to any losses or mishaps when using this solution can be claimed. The solution is from the ABN Amro helpdesk:
Register using windows. At the end save the jnlp file. Copy the file to any system you want to start tradebox.
P.S. This is scary: The file contains the username/password combination in encrypted format. No user is requested anymore. Do not give to friends, keep in a save place. If lost: Block your accounts!
| permalink
Wednesday, November 4, 2009, 06:44 AM - Microsoft SQL Server
Issue:
A Microsoft SQL Server standby database needs to be brought online.
Solution:
Execute the command:
restore database [databasename] with recovery;
on the database server where the standby database is running.
| permalink
Monday, October 19, 2009, 10:26 AM - Microsoft SQL Server, Microsoft SQL Server
Issue:
The user rights assignment in SSIS is difficult to configure in such a way that a user does not require (local) administrator rights to be able to use SSIS.
Solution:
The following steps are required:
1. Add the user to the Distributed COM Users group using Administrative tools->Computer management->System tools->Local users and groups->groups->Distributed COM Users;
2. Open Control Panel, double-click Administrative Tools, and then double-click Component Services to start the Component Services MMC snap-in;
3. Expand the Component Services node in the left pane of the console. Expand the Computers node, expand My Computer, and then click the DCOM Config node;
4. Select the DCOM Config node, and then select MsDtsServer in the list of applications that can be configured;
5. Right-click on MsDtsServer and select Properties;
6. In the MsDtsServer Properties dialog box, select the Security tab.
7. Under Launch and Activation Permissions, select Customize, then click Edit to open the Launch Permission dialog box;
8. In the Launch Permission dialog box, add or delete users, and assign the appropriate permissions to the appropriate users and groups. The available permissions are Local Launch, Remote Launch, Local Activation, and Remote Activation. The Launch rights grant or deny permission to start and stop the service; the Activation rights grant or deny permission to connect to the service. Here select Local Activation only;
9. Click OK to close the dialog box;
10. Under Access Permissions, select Customize, and then click Edit;
11. In the Access Permission dialog box, add or delete users, and assign the appropriate permissions to the appropriate users and groups. Here select active Local & remote access;
12. Click OK to close the dialog box;
13. Close the MMC snap-in;
14. Restart the Integration Services service.
| permalink | related link
Wednesday, May 13, 2009, 11:27 AM - Oracle
Issue:
If Oracle dataguard stops receiving data due to full flash recovery area and init.ora shows standby_file_management=AUTO a fast way of recovery is required.
Solution:
Reset the dg_broker_start parameter on the primary database to false (alter system set dg_broker_start=false). DG broker stops. Then reset back to true.
Eventual gap can be resolved by copying the archivelogs to the dataguard and adding those archivelogs:
alter database register logfile 'fullpathtoarchivelog/logname';
| permalink
Thursday, March 26, 2009, 02:43 PM - Oracle
Issue:
A backup with RMAN is after the actual backup is finished not responsive for a prolonged period of time.
Solution:
Probably the controlfile contains many unused delete object records:
Run a query "select count(*) from v$deleted_object". If this is as slow as the end of the RMAN session, you found the issue.
To solve this situation run:
SQL> execute dbms_backup_restore.resetcfilesection(19);
This effectively truncates v$deleted_object, resulting in fast backups again.
The issue should not occur anymore from Oracle 11.1.0.7 and higher.
| permalink
Monday, March 2, 2009, 09:14 PM - Oracle, Oracle
Issue:
The Oracle Universal Installer (OUI) is not starting in Microsoft Windows. There is no error screen or anything relevant in the log files from the installer.
Solution:
The issue might be that the unzip action of the installer encounters a too long path, resulting in an error which is not logged. This is visible when trying to start the unzip step manually.
The solution is to place the installation software on a shorter path.
| permalink
Wednesday, December 3, 2008, 10:38 PM - Microsoft SQL Server, Microsoft SQL Server
Issue:
You are expecting certain options in the maintenance cleanup plan (like option to select sub directory level for cleanup), and the option is just not there at one database, while it is present at another database.
Solution:
The problem is being caused be a mismatch in the SQL Server management Studio and the SQL server installation. Upgrade the SQL Server management studio to be at the same version of the SQL Server installation and the problem should disappear.
| permalink
Wednesday, December 3, 2008, 10:34 PM - Oracle, Oracle
Issue:
You find an archiver hung error in log while Oracle is not in archive log mode (So archiver can not hang since it is not running....).
Solution:
Oracle is most likely connected with a database link to another database which is running in archive log mode. At that other database this exception occurred. The exception model of Oracle is such that the exception is communicate down to the requester of the action, which apparently requested some data coinciding with the occurance of the archive log error. This way the requesting database, which is not running in archive log mode is logging an archiver error from another database.
Solve the archiver error at the other database.
| permalink
Friday, October 31, 2008, 08:36 AM - Oracle
Issue:
Oracle 10/11 chooses in the cost based optimizer for a full table scan instead of using the index. This is done when the cost of both options are equal according to Oracle.
Solution:
There are 2 possible solutions:
1. Use a hint: It garantees that the index will be used all the time;
2. Oracle chooses alphabetically when the cost is equal: Rename your index to a place earlier in the alphabet than your table: This lets Oracle keep its behaviour but still get the index when the cost is equal.
| permalink
Friday, October 31, 2008, 08:20 AM - Oracle, Oracle
Issue:
Oracle 10.2.0.3 dataguard fails with a divide by zero exception crashing the memory recovery proces (MRP0).
Solution:
The solution is twofold:
1. Upgrade oracle to 10.2.0.4 (see metalink for details)
2. Just restart the process:
Login with sqlplus.
The database is still running, so just type:
RECOVER MANAGED STANDBY DATABASE DISCONNECT FROM SESSION;
Recovery should continu (archive logs will be applied).
| permalink | related link
Tuesday, October 21, 2008, 08:23 PM - SuSE
Issue:
While running make to compile a program, it fails with stubs32.h not found.
Solution:
Create a symbolic link from stubs-64.h to stubs-32.h and run make again. The problem should be solved.
| permalink
Wednesday, June 18, 2008, 08:03 PM - Joomla
Issue:
You are trying to load a template using the Joomla 1.5 MVC model, but you run into an error 500 - Layout "templatename" not found.
Solution:
Check for typos in the view name and template name. Use lowercase only.
Do not use the word "view" to start your view with. Joomla strips the word view of the template path only (I regard this as a bug, not a feature). It tolerates the word view when resolving the view.html.php file. So for example viewCustomer is not possible. This will resolve to customer for the template name. Try lookatcustomer instead (all lowercase).
| permalink
Monday, June 9, 2008, 11:55 AM - Java
Issue:
Bea JRockit Mission Control does not want to connect to the Bea instance. It reports connection refused.
Solution:
A possible cause is that the -Xmanagement parameter is not in the correct location in the startup string. The startup string should look like:
${JAVA_HOME}/bin/java ${JAVA_VM} ${MEM_ARGS} ${JAVA_OPTIONS} -Dweblogic.Name=${SERVER_NAME} -Djava.security.policy=${WL_HOME}/server/lib/weblogic.policy ${PROXY_SETTINGS} -Xmanagement ${SERVER_CLASS} >"${WLS_REDIRECT_LOG}" 2>&1
With the -Xmanagement parameter just before the starting class.
| permalink
Sunday, June 8, 2008, 01:34 PM - Joomla
Issue:
How to create a custom admin interface button in Joomla (1.5).
Solution:
The code to create the button should be as follows:
JToolBarHelper::custom("task","image1.png","image1Over.png","text for underneath the button",Check for list item (true/false),hide main menu after click (true/false));
| permalink
Saturday, June 7, 2008, 11:30 AM - Joomla
Issue:
In Joomla 1.5 you try to create a new JTable object, but somehow it results in a blank screen. The apache log shows:
Call to a member function bind() on a non-object
Solution:
If it is a new JTable object from a self build component, the name and location of the object need to be in lowercase and as follows:
Location:
Use JTable::addIncludePath(JPATH_ADMINISTRATOR.DS.'components'.DS.'com_yourcomponent'.DS.'yourtablesubdirectory');
to add the path of your JTable objects to the search path of Joomla.
Use lowercase directory names and file names only.
Name the JTable class file name to the object you are trying to load:
$table = & JTable::getInstance('nameofobject','Table');.
The nameofobject has to become your file name: nameofobject.php in the locate indicated in the addIncludePath.
| permalink
Friday, June 6, 2008, 07:41 PM - Joomla
Issue:
After adding a view to a component in Joonla 1.5 you get an error 500, view not found, on linux when trying to access this view.
Solution:
Use the view name in lowercase, and also the directory name of the view in lowercase. This (combined with typing the correct view name) should result in a different response (maybe good, maybe a different error 500).
| permalink
Next





