Problem connecting to Oracle 10g express on linux SUSE
Peace upon you,
I have downloaded the RPM file and installed it , but when i try to log in the home page using "Go to database home page" the browser says that the page is not found.
And when i type in the terminal : ./oracle-xe status
the terminal says :
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 16-FEB-2007 09:46:35
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
Linux Error: 2: No such file or directory
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=ACA8011A)(PORT=1521)))
TNS-12545: Connect failed because target host or object does not exist
TNS-12560: TNS:protocol adapter error
TNS-00515: Connect failed because target host or object does not exist
Linux Error: 2: No such file or directory
So what is the problem..........?
I've managed to get OracleXE working properly on my SuSE10.2 box - I found an interesting issue - did you specify that the oracle database should not start up on system boot?
(Check ORACLE_DBENABLED parameter in /etc/sysconfig/oracle-xe)
If this is set to FALSE, the database will not start up. You'd need to:
su to root
su - oracle (note the '-')
sqlplus /nolog
connect / as sysdba;
startup;
exit;
lsnrctl start
- All the above is a manual startup - hope that helps....
Carl.
(PS: if you want to access the database from behind the firewall, you'll need to go into YAST, security, firewall, then advanced, and specifically open TCP port 1521, also port 8080 if you want to be able to view the web front end on another machine.... sometimes the firewall can be a pain...)
Similar Messages
-
Problems to initiate oracle 10g express edition
Good afternoon I am speaking of Brazil with a text translator.
But I have installed Hundreds and I am trying to install oracle 10g express edition release 2.
I am with a problem in the Oracle 10g Express Edition in the installation part when I vo to initiate the service, it does not initiate.
And when I give I command /etc/init.d/oracle-xe status appears the following message: Your default context is user_u: system_r: unconfined_t. Of it you want you choose different one? [n]
I do not know more what to make to decide this.
I thank the attention.
Gabriel.
Message was edited by:
user523701Oracle XE has it's own forum - to register and discuss XE problems with XE experts use URL http://www.oracle.com/technology/xe/registration
Once you have registered, you sign in to the forums and the link to the XE forum is there. But you do have to sign in as the user who registered XE.
You will also need to provide a few more pieces of information:
1) actual distro and version of Linux
2) userid used to install XE (should be root)
3) userid used to run "/etc/init.d/oracle-xe start" (should be root) -
Need help w. connecting to oracle 10g express
I have been having extreme difficulty with connecting to oracle 10g express edition. what do I put in at the SQL > prompt to access sql plus? Are there first some env. variables which I need to set? Sorry for the basic "newbie" question about this.
what do I put in at the SQL > prompt to access sql plus?You may trySQL> conn / as sysdbabut don't use this one for your application data, create your own user(s) instead.
Are there first some env. variables which I need to set?Depends... what's your operating system, and are you running sqlplus from SQL command line or from OS prompt ? -
How to connect to ORACLE 10g Express Edition using struts?
HI! There
I am using Oracle Jdeveloper as IDE, JBoss as application server, Oracle 10G Express edition as DBMS. As I am new to Struts & Jboss, so Can anybody tell me that How to connect to Database? Please also give Struts-config.xml datasource config too.
If someone can give a set of codes to enter and retrieve the data to/from database it will be really help full for me. Well connectivity with any version e.g. 9i, 10g, 10g XE will do......
ThanksWell I have already configure a datasource in struts-config.xml as Stated below:
<data-sources>
<data-source>
<set-property property="autoCommit" value="false"/>
<set-property property="description" value="Data Source Config. for SMS"/>
<set-property property="driverClass" value="oracle.jdbc.OracleDriver"/>
<set-property property="maxCount" value="4"/>
<set-property property="minCount" value="2"/>
<set-property property="password" value="password"/>
<set-property property="url" value="jdbc:oracle:thin:@127.0.0.1:1521:XE"/> <set-property property="user" value="sms"/>
</data-source>
</data-sources>
Now the Only problem That I am facing is how to look up this data source from a Java file of Model layer.
Please Guide me further -
ODBC connection to oracle 10g express
Hi , please i need help in connecting a MS Access file under odbc (System Dsn) to oracle 10g express and how to be accessed in oracle forms 6i , but please if any one can help me by a step by step and more details about that problem i will be so grateful .
Thanks...!!user12251261 wrote:
I will explain what I did.Always a good start...
and click on OK button. This way I added new connection. After that I was trying to rename the DSN connection name to SOURCE(Oracle_10g). there is no rename button. So i thought I remove this connection and add again. But when I try to add it. It will not add it. I follow the same procedure as i mentioned above. But finally when I click on OK button. it is not showing any new connection name under User Data Sources list. It is not giving any error messages.The ODBC Manager software is used to define and maintain ODBC connection aliases (aka DSN ). It enumerates the list of available drivers, interact with the driver when you want to use it to create an alias, and then stores the alias when defined.
If this does not work, and the alias is not stored, it is not an Oracle XE problem, but something weird with the ODBC Manager.. or how you go about defining the alias/DSN.
You can create user or system DSN's. You need certain privs (in your Windows account) to enable ODBC Admin to write the required changes to disk for that DSN. Etc.
I suggest focusing on these aspects as I strongly doubt that Oracle itself is part of the problem in this case. -
Max connections in Oracle 10g Express
Hi,
How much connections are possible in Oracle 10g Express ?I do the following test:
I format the test PC, install the O.S. and install Oracle 10g Express and run the following code:
package testedb;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;
public class TesteDB {
* @param args
public static void main(String[] args) {
List<Connection> connections = new ArrayList<Connection>();
try
Class.forName ("oracle.jdbc.driver.OracleDriver");
while(true)
connections.add(DriverManager.getConnection("jdbc:oracle:thin:@albatroz:1521:XE", "system", "xxx"));
//connections.add(DriverManager.getConnection("jdbc:oracle:thin:@albatroz:1521:MYDB", "system", "xxx"));
System.out.println("connections: "+connections.size());
catch (ClassNotFoundException e)
System.out.println ("Could not load the driver");
e.printStackTrace ();
} catch (SQLException e) {
System.out.println("----------------------------------------------------------");
System.out.println("Qtd of connections: "+connections.size());
System.out.println("----------------------------------------------------------");
e.printStackTrace();
After the first test I format again the PC, install the O.S. and install Oracle 10g Standard and run the same code, changing only the database name.
Well, I get the following results:
- Oracle 10g Express: I get 19 connections;
- Oracle 10g Standard: I get 181 connection;
Final report:
With the same hardware (1GB RAM) and O.S. (Windows XP Professional) test, the Oracle 10g Express has any restrictions at the question max connections.
Message was edited by: Hugo Haas
Hugo Haas -
Not able to install Oracle 10g Express on linux 64bit based on Dude's intr
I followed "https://forums.oracle.com/forums/thread.jspa?threadID=2200434" to install oracle 10g xe on Ubuntu 10.10 AMD 64-bit
but I ran into below error while I was trying to install 10g XE on linux 64bit
root@vdevluxcnhz0021:~# dpkg -i force-architecture libaio_0.3.104-1_i386.deb --------- this step is error
dpkg: warning: overriding problem because --force enabled:
package architecture (i386) does not match system (amd64)
dpkg: regarding libaio_0.3.104-1_i386.deb containing libaio:
libaio1 conflicts with libaio
libaio (version 0.3.104-1) is to be installed.
dpkg: error processing libaio_0.3.104-1_i386.deb (--install):
conflicting packages - not installing libaio
Errors were encountered while processing:
libaio_0.3.104-1_i386.deb
Linux version
root@vdevluxcnhz0021:~# cat /etc/issue
Ubuntu 10.04.2 LTS \n \l
root@vdevluxcnhz0021:~# cat /proc/version
Linux version 2.6.32-28-server (buildd@allspice) (gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) ) #55-Ubuntu SMP Mon Jan 10 23:57:16 UTC 2011
Can you please help on this?
Thanks
Edited by: user1997872 on Jan 4, 2012 7:07 AMIt looks like you will have to uninstall "libaio1", but I don't know for sure and don't have Ubuntu 10.4 available right now to play with.
Sorry but the instructions are for Ubuntu 10.10, not 10.4, which is different.
If you need to install XE on Ubuntu, I'd rather suggest 11gR2 XE:
Install Oracle 11gR2 Express Edition on Ubuntu Linux 11.04 (64-bit) Howto
Install Oracle 11gR2 Express Edition on Ubuntu Linux 11.04 (64-bit) Howto
Oracle 11gR2 Express Edition on Linux Ubuntu 11.10 how-to
Oracle 11gR2 Express Edition on Linux Ubuntu 11.10 howto -
Install problems using VISTA, Oracle 10g Express edition and VS2005
Hi,
Has anybody got this to work yet?
I'm on Vista Release Candidate 1, VS2005 and 10g Express.
When I try to install the tools (ODTwithODAC10202) the install crashes VS2005.
I can see the tools on the Visual studio menus, but any attempt to use them gives me a "Oracle Developer Tools for Visual Studio failed to load" error message.
Any ideas?Have you got the VS 2005 addin to work on Vista? I installed on XP then upgraded to Vista (RTM) and the add-in no longer works. Am wondering whether to uninstall/reinstall or wait for Oracle to certify use with Vista.
-
Connection to oracle 10g express from jdev 10g
hi,
when i try to make a connection to my database from jdev 10g.
i receive a message "network adaptator could not estabilished the connection".
however when i try to connect with the same parameters in an other pc the connection is termineted successfully.
thanks for helpFor XE database SID is XE
-
Can not connect Oracle 10g express edition from report builder.
I have newly installed report builder . Different home was selected for Report builder and oracle. Oracle database server is also in the same machine. But i am not able to connect my oracle 10g express edition database. It throws error ORA-12154 : TNS could not resolve service name.( same error displayed while trying to connect from SQL Plus).But from toad i am able to access the database. May be because here I am able to select the proper home.
Here i am adding my tns entry
XE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 1ECA66A679AB494)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = XE)
can any one suggest what the actual problem is?
Thanks ..........Hello,
Oracle 10g XE is rather specific and, I'm not sure that you can upgrade it to 10.2.0.4 .
However, Oracle published an Upgrade Guide for Oracle Express Edition but, it's limited to *10.2.0.3*:
http://download.oracle.com/docs/cd/B25329_01/doc/server.102/b32391/toc.htm
But be careful:
Once you have upgraded to Oracle Database 10g, you cannot downgrade back to Oracle Database Express Edition.Hope this help.
Best regards,
Jean-Valentin
Edited by: Lubiez Jean-Valentin on May 22, 2010 12:06 AM -
Connection of java and oracle 10g express edition
hello!!!!!
I'm new to databases as well as JDBC. I want to know how to connect to oracle 10g express edition with java to create a desktop application.
Let me know step by step procedure if possible.....
Also tell me which softwares or drivers other than oracle 10g and jdk1.6 will be required......
Do i need to keep all the required softwares and drivers in the same folder???
please give any other information which is required for the connection
thank you!!!hello!!!!!
I'm new to databases as well as JDBC. I want to know how to connect to oracle 10g express edition with java to create a desktop application.
Let me know step by step procedure if possible.....
Also tell me which softwares or drivers other than oracle 10g and jdk1.6 will be required......
Do i need to keep all the required softwares and drivers in the same folder???
please give any other information which is required for the connection
thank you!!! -
Not installing Oracle 10g Express Edition Beta 2
Hi,
I am in problem to install Oracle 10g Express Edition Beta 2 on Windows 2000 Pro. I have download OracleXE.exe but when i am double clicking on it, it is not working. What are the problems? Please help me
DulalHello,
Oracle 10g XE is rather specific and, I'm not sure that you can upgrade it to 10.2.0.4 .
However, Oracle published an Upgrade Guide for Oracle Express Edition but, it's limited to *10.2.0.3*:
http://download.oracle.com/docs/cd/B25329_01/doc/server.102/b32391/toc.htm
But be careful:
Once you have upgraded to Oracle Database 10g, you cannot downgrade back to Oracle Database Express Edition.Hope this help.
Best regards,
Jean-Valentin
Edited by: Lubiez Jean-Valentin on May 22, 2010 12:06 AM -
Using JDeveloper with Oracle 10g Express Edition
Hi,
can JDeveloper 11g 11.1.1.4.0 Studio Edition be used to develop applications connection with Oracle 10g Express Edition?
If not, is there a version downloadable that can?
TIAYes, it can.
John -
Installing Oracle 10G Express Edition on Linux after installing Libaio-0.3
I had got a error while installing 10G Express Edition on Redhat Fedora core 4 linux after installing libaio-0.3.104-2.i386.rpm
I had given the following command in Linux Command prompt to install the oracle database 10 G Express Edition (oracle-xe-10.2.0.1-1.0.i386.rpm)
# sudo rpm -ivh /tmp/oracle-xe-10.2.0.1-1.0.i386.rpm
The error I had got is as follows:
Preparing.....#####################[100%]
1:oracle-xe Warning:/etc/init.d/oracle-xe saved as /etc/init.d/oracle-xe.rpmorig
error:Unpacking of archive failed on file /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/ons;4698950F:cpio:MD5 Sum MismatchThe steps I am asking is for installing oracle 10G express edition on Redhat Fedora core 4 Linux version. Now, after downloading the fresh copy of Oracle 10G express edition from the Oracle site. I have successfully installed oracle now.
I was getting the following errors - I have pasted previous query for the problem which I had faced after installing Oracle 10 G Express Edition successfully on Redhat Fedora Core 4 Linux.
The Previous Query is as follows:
Thanks For Guiding Me All of you!
Finally, I have installed Oracle 10G Express Edition on Redhat Fedora core 4 Linux.
Now, I am having the following problems:
After making the changes as per my Reference mentioned in my different messages, I had done the troubleshooting steps going to Options and setting the same.
1.When I try to load the http://127.0.0.1:8080/apex page it gives an error popup:
" The connection was refused when attempting to contact 127.0.0.1:8080 "
2. After opening the Run the SQL Command Line by clicking on applications and When I say " Connect System and when prompted for password, I have entered the password and gives another error as follows:
ORA-01034 : Oracle not available
ORA-27101: Shared Memory realm does not exist
Linux Error:2:No such file or directory
3. When I try to manually start the Listener or Services, It gives one more error:
Root Not a Member of DBA Group
I need to What is happening or What is the Problem and How will I rectify them? -
Problem with installing Oracle 10g on Suse Linux
Hi everybody!
I downloaded Oracle 10g Express from this url:
http://www.oracle.com/technology/software/products/database/xe/htdocs/102xelinsoft.html
it is free version for developers.
I copied it into computer where was installed Suse Linux Enterprise Edition.
But when I run it shows this kind of error:
error: rpmReadSignature failed: region failed: BAD, tag 15872 type 2047 offset 20480 count 4096
error: oracle-xe-univ-10.2.0.1-1.i386.rpm cannot be installed
It was downloaded without any problem. But checksum is different from that shown on website. I think this is the problem.
What is the problem? Does anybody know answer?
Regards,
Seti's fictionYes, you appear to have a bad copy.
I have not had a problem when the check sum matched. Therefore I encourage you to download again.
Maybe you are looking for
-
Photoshop encounters an error and needs to close when I start it up.
So a while ago I finally figured out my problem with the Photoshop installation and installed it with no errors. However, whenever I run Photoshop, it crashes. All of my graphics drivers are updated, I tried putting the tilde beside the "scriptingsom
-
"HFS VOLUME NEEDS TO BE REPAIRED"
Since yesterday, my computer has turned off unexpectedly 5 times... when running the Utility disx app... it says the "HFS VOLUME NEEDS TO BE REPAIRED"... I've used the repair button to do it, and eventhough it repaired something, it didn't really rep
-
How to write a socket in that i have to use an array of ports
dear all Iam doing project in java in that iam using sockets. My problem is i want to keep array of ports in my programming. suppose one port is busy then it automatically take the other port in the array of ports. Please can any body give me the sol
-
Message when nothing receivet...
Hi, I think i have heard in the early days of XI, that it was possible to set up som kind of checking for files receivet.. What i need is a notification when files (or other interfaces) for some reason do NOT execute. If we i.ex have a file interface
-
**NEW TODAY** Digital Camera RAW Compatibility Update 2.4
...just do a "System Update" to get it the easy way! *http://support.apple.com/downloads/DigitalCamera_Raw_Compatibility_Update_24?sr=hotnews* About Digital Camera Raw Compatibility Update 2.4 This update extends RAW file compatibility for Aperture 2