Unknown error while configuring Oracle 11g Express Edition on Ubuntu 14.04 - database

I have installed Oracle 11g on Ubuntu as per this link: Oracle 11g installation steps on Ubuntu 14.04
I reached to the step where it says to configure Oracle. I am able to execute the command successfully. First it asks to enter HTTP Port, which I entered successfully. Then it asks to enter database listener port, which I entered successfully. Then I entered the password successfully for database account. And finally I said yes for Oracle to be started on boot.
It showed be an error Database Configuration failed. Look into /u01/app/oracle/product/11.2.0/xe/config/log for details. Here I am stuck. I don't really know what error could be. I am sharing the steps and message here. Here is the command:
rakshit#user:/home/rakshitbhatt/Disk1$ sudo /etc/init.d/oracle-xe configure
Here is the internal message:
Oracle Database 11g Express Edition Configuration
This will configure on-boot properties of Oracle Database 11g Express
Edition. The following questions will determine whether the database should
be starting upon system boot, the ports it will use, and the passwords that
will be used for database accounts. Press to accept the defaults.
Ctrl-C will abort.
Specify the HTTP port that will be used for Oracle Application Express [8080]:8080
Specify a port that will be used for the database listener [1521]:1521
Specify a password to be used for database accounts. Note that the same
password will be used for SYS and SYSTEM. Oracle recommends the use of
different passwords for each database account. This can be done after
initial configuration:
Confirm the password:
Do you want Oracle Database 11g Express Edition to be started on boot (y/n) [y]:y
Starting Oracle Net Listener...Done
Configuring database...
Database Configuration failed. Look into /u01/app/oracle/product/11.2.0/xe/config/log for details
Could you help me with it? I am not a technical guy. Thanks!

Related

Clickonce installer installing SQL Server 2016 Express fails with errorcode -2061893613, what does error code -2061893613 mean?

ClickOnce install with integrated SQL Server Express install fails with error code -2061893613 and the following in the log:
Result of checks for command 'SqlExpress2016\BOOTSTRAP.EXE' is 'Install'
'SQL Server 2016 Express - xxxxxx' RunCheck result: Install Needed
Verifying file integrity of C:\Users\xxxxx\AppData\Local\Temp\VSD7E54.tmp\SqlExpress2016\BOOTSTRAP.EXE
Verifying file hash
Installing using command 'C:\Users\xxxxxxx\AppData\Local\Temp\VSD7E54.tmp\SqlExpress2016\BOOTSTRAP.EXE' and parameters '/ACTION=Install ........'
Process exited with code -2061893613
Status of package 'SQL Server 2016 Express - xxxxx' after install is 'InstallFailed'
I had this issue on a SQL 2014. Challenge was that the SQL install was a prerequisite of an application that had a hard coded sa password that could not be easily changed.
The work around was to do a manual install of SQL and give sa a password that matched the policy. Once installed I could go into SSMS and change the properties on the sa account so it would not enforce password policy (open security folder, logins and right click on sa and select properties) by unchecking the box. Then change the password to the one the application install uses.
Yes, the next version of the application will not only use a stronger password, but will also be using an up to date version of SQL.
;TLDR, company had a policy with password strength requirements that weren't met with the default SA password used in the installation script.
Got the log files from "C:\Program Files\Microsoft SQL Server\130\Setup Bootstrap\Log" on the failing machine and it was a dead giveaway in Summary.txt:
Overall summary:
Final result: Failed: see details below
Exit code (Decimal): -2061893613
Exit facility code: 1306
Exit error code: 19
Exit message: The specified sa password does not meet strong password requirements. For more information about strong password requirements, see "Database Engine Configuration - Account Provisioning" in Setup Help or in %SQL_PRODUCT_SHORT_NAME% Books Online.

Install and configure Oracle 12c XE/Enterprise on Centos 7

Oracle provided descriptive documentation to deploy Oracle database/Manager/Clients. So, we have followed the link which summarise the things: https://www.howtoforge.com/tutorial/how-to-install-oracle-database-12c-on-centos-7/
There are a few pain points we are facing:
Remote connection to oracle not happening
Remote oracle manager link access on port 5500
Details on Remote JDBC connections to Oracle 12c is not in one place and how to build the connection from JBDC

How do create ODBC data source by using oracle instant client?

As I knew, Oracle Instant Client is free from OTN for anyone to use in a development or production environment. But in order to create a ODBC data source on windows, i need a tns service name? How can I create odbc data source on windows os by using oracle instant client?
Check the ODBC installation instructions http://www.oracle.com/technetwork/database/features/oci/odbc-ic-releasenotes-094306.html :
On Windows
Install the Instant Client Basic or Basic Light package.
Download the Instant Client ODBC package. Unzip it
in the same directory as your Basic or Basic Light package.
Execute
odbc_install.exe from the Instant Client directory. If Instant
Client is 11g or lower, start the command prompt with the
Administrator privilege.
On Linux I sometimes hand edit my .odbc.ini file to change the TNS connect string in the ServerName field, for example to set it with the 'Easy Connect' TNS syntax:
ServerName = localhost/orclpdb

HP ALM 12.5 installation fails with 'Unable to validate DB connection parameters' error. Help needed

We are trying to install HP ALM 12.5 on a Windows Server 2012 OS.
We have pre-requisite components .Net framework 3.5,4.5, JRE 1.8
During installation, we face an error Unable to validate DB connection parameters.
Checked with vendor, but they are repeatedly pointing to DB only.
However, nothing seems to be wrong with the db. we were able to make connections using SQL Developer and Express. Able to view table schema
Tried installing with SYSDB role, however that also fails making connection. On the listener we find some traffic from the app machine, in which we are attempting an installation.
We are so confused as to whether it is a App server issue or DB server issue. Port checks were done and no question of firewall. All open.
Any suggestions here is much appreciated !!
Db details: Oracle 12.1.0.2 Enterprise
DB server: Unix
App server: Win 2012 Server standard
ALM: 12.5 for HP PC 12.5
Check, please, in ALM installation if you are using SID or Service Name of your Oracle instance.
By default you should provide service name - but you can use SID by modifying Connection string directly (put SID instead of ServiceName).
1 - see screenshot.
Also you can check installation log at User folder\IA_logo for additional information on specific issue you met.

Oracle does not start service while attempt to restart Oracle in windows 7

I am using windows 7 64 bit Operating System and I am using Oracle DB 11G Release 2. Uncertainly My OS stop the service of Oracle.When I try to restart the oracle service then the following message is showing. "windows could not start the oracledbconsoleorcl on local computer. For more Information review the system log.If this is a non microsoft service, contact the service vendor, and refer to service-specific error code 2"
Now My problem is:
I could not login to Oracle from Oracle SQL Plus
I need to backup some important data.
Please help me. Is there any option to start the oracle service or backup my sql data?
Though I try by following method. here's the link Error code 2 starting OracleDbConsole service

Resources