Sqlplus access question
hello all. i'm so new to oracle. i'm sorry if i'm not making any sense. ;)
i installed Oracle 10g R2 on Solaris 8.
how can ordinary OS users run sqlplus if they do not belong to the dba group?
the access permission of "others" for /u01/app/oracle/'s subdirectories is ---.
issuing "ls -a" returns
drwxrwx--- 6 oracle dba 512 Oct 4 18:38 oraInventory
drwxrwx--- 3 oracle dba 512 Sep 25 17:38 product
or did i just mess up my installation?
Hi,
I'm not aware about restrictions on file system, but I0ve checked a working configuration on a Sun Solaris 9i R2 installation:
The directory list:
... $ORACLE_BASE/product
drwxr-xr-x 64 oracle dba 1536 May 6 2005 9.2.0
... $ORACLE_HOME
drwxr-xr-x 2 oracle dba 4096 Aug 7 16:54 bin
drwxr-xr-x 3 oracle dba 4096 Aug 7 16:53 lib
... $ORACLE_HOME/bin
-rwxr-x--x 1 oracle dba 766904 Mar 17 2005 sqlldr
-rwxr-x--x 1 oracle dba 1069280 Mar 17 2005 sqlplus
-rwxr-xr-x 1 oracle dba 1345 Feb 17 2004 statusnc
-rwxr-xr-x 1 oracle dba 3261 May 11 2002 symfind
... $ORACLE_HOME/lib
-rw-rw-r-- 1 oracle dba 195060 Oct 16 2004 libctxs9.a
-rw-rw-r-- 1 oracle dba 2889288 Oct 17 2004 libctxx9.so
-rw-rw-r-- 1 oracle dba 33312 Oct 16 2004 libdm9.a
-rw-rw-r-- 1 oracle dba 7760032 Apr 19 2005 libgeneric9.a
-rw-r--r-- 1 oracle dba 6808 Nov 22 2004 libgslavl9.a
-rw-r--r-- 1 oracle dba 53504 Nov 22 2004 libgslber_s9.a
-rw-r--r-- 1 oracle dba 1260040 Nov 22 2004 libgsldb9.a
-rw-r--r-- 1 oracle dba 54536 Nov 22 2004 libgslec9.a
-rw-r--r-- 1 oracle dba 63192 Nov 22 2004 libgslmt9.a
-rw-r--r-- 1 oracle dba 437684 Nov 22 2004 libgslr9.a
-rw-r--r-- 1 oracle dba 71708 Nov 22 2004 libgslsg9.aSo, It seems that You have to change the permissions to the subtrees..
Max
Similar Messages
-
Installed 11g XE, started ok, sqlplus access ok, but APEX not running
Installed 11g XE, started ok, sqlplus access ok, firewall 8080, 1521, 2030, ports opened but no access to http://localhost:8080/apex/f?p=4950
I've done a "select current_date from dual" query from sqlplus using sys as sysdba and result is ok.
I've started database twice from startdb.bat lnk.
I checked that Oracle Services are ok and running.
I tried to shutdown windows firewall.
I rebooted windows.
I am using windows xp prof. sp3, chrome browser, and admin account.
I can see at forum that other users are in same situation like me.
Edited by: tecnica24 on 04-sep-2011 11:18Here is the result of lsnrctl status...
(note: i use 2 networks cards, one for local network, other for internet)
LSNRCTL for 32-bit Windows: Version 11.2.0.2.0 - Production on 04-SEP-2011 20:27:29
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 11.2.0.2.0 - Production
Start Date 04-SEP-2011 19:23:15
Uptime 0 days 1 hr. 4 min. 16 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Default Service XE
Listener Parameter File C:\oraclexe\app\oracle\product\11.2.0\server\network\admin\listener.ora
Listener Log File C:\oraclexe\app\oracle\diag\tnslsnr\vmw-vmadmin610\listener\alert\log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=vmw-vmadmin610)(PORT=1521)))
Services Summary...
Service "CLRExtProc" has 1 instance(s).
Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "xe" has 1 instance(s).
Instance "xe", status READY, has 1 handler(s) for this service...
The command completed successfully
Edited by: tecnica24 on 04-sep-2011 12:00 -
Sqlplus access , setting enviromnet question
Just installed OELinux and 10.2 and trying to acess sqlplus but cant, what i am doing wrong?
[oracle@localhost db_1]$ export ORACLE_HOME=/u01/app/oracle/product/10.2.0/db_1
[oracle@localhost db_1]$ export PATH=$ORACLE_HOME/bin:$PATH
[oracle@localhost db_1]$ export ORACLE_SID=p10bma
[oracle@localhost db_1]$ sqlplus /nolog
[oracle@localhost db_1]$[oracle@localhost ~]$ ls -l /u01/app/oracle/product/10.2.0/db_1/bin/sqlplus
-rwxr-xr-x 1 oracle oinstall 0 Jun 30 2005 /u01/app/oracle/product/10.2.0/db_1/bin/sqlplus
[oracle@localhost ~]$ sqlplus /nolog
[oracle@localhost ~]$
[oracle@localhost ~]$ which sqlplus
/u01/app/oracle/product/10.2.0/db_1/bin/sqlplus
[oracle@localhost ~]$ env
SSH_AGENT_PID=2799
HOSTNAME=localhost.localdomain
DESKTOP_STARTUP_ID=
SHELL=/bin/bash
TERM=xterm
HISTSIZE=1000
GTK_RC_FILES=/etc/gtk/gtkrc:/home/oracle/.gtkrc-1.2-gnome2
WINDOWID=54526033
USER=oracle
LS_COLORS=no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:
ORACLE_SID=p00ibm
GNOME_KEYRING_SOCKET=/tmp/keyring-fhEFH8/socket
ORACLE_BASE=/u01/app/oracle
SSH_AUTH_SOCK=/tmp/ssh-TjFstJ2746/agent.2746
SESSION_MANAGER=local/localhost.localdomain:/tmp/.ICE-unix/2746
USERNAME=oracle
MAIL=/var/spool/mail/oracle
DESKTOP_SESSION=default
PATH=/u01/app/oracle/product/10.2.0/db_1/bin:/usr/sbin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/oracle/bin
GDM_XSERVER_LOCATION=local
INPUTRC=/etc/inputrc
PWD=/home/oracle
XMODIFIERS=@im=none
LANG=en_US.UTF-8
ORACLE_TERM=xterm
GDMSESSION=default
SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
HOME=/home/oracle
SHLVL=2
GNOME_DESKTOP_SESSION_ID=Default
TMP=/tmp
LOGNAME=oracle
CLASSPATH=/u01/app/oracle/product/10.2.0/db_1/JRE:/u01/app/oracle/product/10.2.0/db_1/jlib:/u01/app/oracle/product/10.2.0/db_1/rdbms/jlib
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-fJsiThSPob,guid=bc336347c84a8afaef868f4394472300
LESSOPEN=|/usr/bin/lesspipe.sh %s
DISPLAY=:0.0
ORACLE_HOME=/u01/app/oracle/product/10.2.0/db_1
G_BROKEN_FILENAMES=1
COLORTERM=gnome-terminal
XAUTHORITY=/tmp/.gdm3QSO3T
_=/usr/bin/env -
WRT54GS V6 access question.
Just set up the network.
WRT54GS with a Wireless-G USB adapter
2nd pc is linked and working great!
Question is: How do I access the 2nd pc from the 1st pc?
I click on my computer > network places > view computer work groups.
When I click on the 2nd pc it ask for a password. Where would I find the password to access the 2nd pc? I checked the Easylink advisor but can't find anything.
Anyone know? I would like to transfer files from one pc to the other.
Message Edited by asgrafxx on 02-10-200712:09 PMHi… This is the login password for you PC and nothing do with your router or adapter. If you have setup any account on this computer such as administrator or any other, you can provide login credentials for the same and access the shared resources on that PC.
-
Expanding network with TC and access question
Hi All
I need to look at a new external hard disk since my current 160gb is just getting too full, so I figured it might be time to get a Time Capsule, probably the 1tb.
I've got two questions before I do..
1. Currently I have Sky Broadband. I've read a lot of people saying that it is not possible to make TC part of the existing network through wifi so have to connect. If thats the case I'm probably better off with standard network drive. Has anyone managed to do this yet? Im wondering if the reviews I've read are just that people couldn't work it out?
2. I assume this is the case, but can I access the HD as a standard network drive for general storage? Is it possible to define how much space Time Machine can use say 500gb, and leave 500gb for general usage?
Many thanks for any answersThe issue I have is that Sky Broadband forces you to use their router for broadband access. They hide the user name and password on a chip so it is not possible to configure.
Besides my phone is downstairs and my printer is upstairs in the little office. My plan was to have TC upstairs, with printer connected. Have both the TC and Sky Broadband router all part of the same network.
Then I'd use a cable to do the first backup and use wireless for incremental backups.
It does look as though I can't use this configuration. But its a bit strange, I thought it was part of standard wireless networks that you could use access points to extend them. I assume then that apple are not using all of the standards?
If that is the case, I'd have to plug it into my router as a wired option, in which case any external HD with a network interface will do half the job I need.
I'm just trying to find out if anyone has managed to get it extended from sky (or other router). Note I can change my sky router settings so in theory could change the sky one to use the apple settings, does that make a difference? Anyone had success that way? -
DVD @ access questions?
I am putting together a short promo DVD for a client and I have a catalogue of their products as an image on the DVD that you can access via the main menu. What I want to do is have it so the products are 'clickable' and will take the user [when online] to the clients web site. I did a search but I cant find out how to link this page to the DVD access settings in the inspector. Any help? Also, can you link a button to open up and email application so the user can email direct from watching this DVD? Questions questions questions....thanks in advance. Oh, Im on DVDSP2.
DVD@ccess is actually quite limited and not entirely compatible with the range of DVD playback software/hardware available on a PC... you might be better off using eDVD from Sonic (which is PC software, making use of the Interactual Player, rather than @ccess).
However, @ccess links are embedded in to a menu - so any button you have got needs to go to a menu that simply has the @ccess URL embedded and the menu needs to time out to return to where the button was. For launching a web site simply use the standard URL for the site, include the http:// info in that.
Now, sending an email is not going to work all of the time, but you can try it out and see if it has the functionality you want. The URL to place into the menu for DVD@ccess is the HTML 'mailto' code. simply write:
mailto:[email protected], replacing name, domain and .com with the revelant info. If you have got the @ccess links enabled on your Mac, try simulating the menu with this in it... you should see Mail launch (it takes a moment for it to appear, but should work). Whether or not this will work on a PC with Outlook I don't know... -
Call Manager 4.13 Multi-Level Access Question
I need to configure MLA and have read the CCO documentation. My question is - I'm not familiar with the ccmadministrator account and want to make sure that when I'm prompted to reset the password to this account immediately after enabling MLA - that I'm not going to muck up any underlying service that uses this account for something other than ccmadmin web access.
Hi Pklos,
I enabled the MLA and configured two functional groups and everything is working like a charm!
Thanks!
Amir -
2 questions
1.) I can't edit files from the portal, I can only view them, is this normal?
2.) Can I view files on my smart phone? I've seen this work for SBS so I'm wondering if there is a way to do it here?
Thanks!"Users" allows you to set up custom access permissions for users or groups you specify.
For example, for some file:
User: me - Read & Write
User: mywife - Read only
Others: No Access
You can write to the file. Your wife can open it but not edit it. Your kids cannot access it. -
Newbie Database Access Question
I am familiar with SQL and database access from web programming, but have never done these things from within a Java application. My google searching has been fruitless thus far, so I'd appreciate any references to beginner's guides about how to query databases from a Java app and manipulate the resulting recordsets. Anything on Access db's would be ideal.
TIA,
JohnThanks for the reference. I have a question about this section of the tutorial:
http://java.sun.com/docs/books/tutorial/jdbc/basics/connecting.html
Under the section "Loading the Drivers" is the following paragraph:
Loading the driver or drivers you want to use is very simple and involves just one line of code. If, for example, you want to use the JDBC-ODBC Bridge driver, the following code will load it:
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Your driver documentation will give you the class name to use. For instance, if the class name is jdbc.DriverXYZ , you would load the driver with the following line of code:
Class.forName("jdbc.DriverXYZ");My question is: How do I decide which driver I need for connecting to an Access db on a Win XP machine? Is there perhaps another reference which answers these kinds of questions?
Thanks again,
John -
Allow sqlplus access to normal user
i am running oracle 10.2.0.4 on AIX5.3. the oracle owner group is dba.
I want to create a user say test1 in group limitedpriv and want to give him access to sqlplus but i don't want to allow the user to login as sysdba. Please suggest how this could be achieved.You need to provide detail infor what this user access requirement. Is the user just need to access to database or
the user need to access the database in the AIX server. If the user just nedd to access the database, just create
a user accound in the database and access from anywhere as long as the user can tnsping the database.
If the user need to access from AIX server, then the user need to request a AIX unix usre account where
the user can use sqlplus. -
Siebel Sample Database Access question
I am from the Oracle EBS world and am a newbie to Siebel. I want to try out Siebel.
Just like Siebel sample database EBS has a sample instance called VISION. There are few Oracle Partners that give free online access to the VISION instance.
My question is are there any websites that has free Siebel Sample database access.
I understand that installing Siebel sample database on a pc is relatively straight forward but I'll take that route if there are no other option.
TIA
HarshaHi,
That is the easiest way (installing Siebel Sample DB) i guess it's the only way.
Goud -
I've written an application that runs on a server and watches a list of directories specified in an .ini file. A thread is executed every few seconds (also specified in the .ini) that checks to see if any files have been copied into any of the directories it is monitoring. If it finds one or more files, it zips them into a .zip file and copies them to an output directory.
The problem I'm having is people are copying HUGE .eps files into the directories through our company's network. The thread gets executed before the copy is done and a .zip file of the partial .eps file gets created.
The question is how can java know if a file is currently being written to? My application needs to wait until the file has been fully copied before it tries to zip it up and send it out. How can I achieve this?These are all good responses, but I've now tried most of them and I still get sent back to my original problem:
We're using Windows NT so I don't know if this is the same case for UNIX or other OS'es but when you copy a large file from one machine to another, NT automatically allocates disk space on the target machine for the size of the file AFTER the copying is done.
So if you were copying a 64 Meg .eps file from one machine to another, as soon as the copying starts the file system reports the file size as 64 Megs not however much has been copied so far. So I don't think filesize checking will help.
I tried using canWrite() on a file currently being copied to and it returns true so that didn't work either. I'm sure it has something to do with the way NT copies files. It allocates all of the disk space necessary right from the start so Java thinks it is a whole file and can do whatever it wants with it.
I also tried the rename-and-replace method but still ran into the same problem. NT reported to Java that a complete file was available even though it was a partial file. So then the renaming and deleting took place way before the file was actually done copying.
I think what I really need is some way to access whether or not the file is currently being used. Just a simple true or false method that will tell me if another application or the file system itself is currently using a file. Then I'll just wait until it is done and then zip it up.
I read the JavaDoc for the FilePermission class and it reads like Greek to me and I don't think it will be much help. Any ideas? -
I have seen from some other postings that there is supposed to be a root password that is common to the N900. However when I try to use it, it doesn't seem to work. I see a lot of people suggesting the use of rootsh, but surely the same functionality should be achievable by just using sudo su root?
So, if there is one root password for the N900, isn't that a security hazard and consequently we should all be changing ours to something we choose?
Thanks for your help.
Solved!
Go to Solution.I have changed my root password, because I do development and require SSH access TO my phone.. but I would not be surprised if a default phone had no root password.. ie password authentication for root is disabled (this is not the same as having a null password)
There is, by default, no user authentication way into the n900.. so the root password is irrelivant..
You could change root's password, but you would need root access to do so... the way root access is enabled normally is via "sudo gainroot"
This command is disabled normally.. It can be enabled by putting your device into R&D mode (which is not recommended and my make your device unstable) or by installing the rootsh package
sudo su is not supported because it is not allowed in the sudoers file..
sudo gainroot IS allowed in the sudoers file.
So, to answer you question..
the easiest way to enable root is to install rootsh (which patches gainroot to allow acces with or without R&D mode)
changing the root password can be done after you've done that, but unless you are planning to install a root service with authentication, it isn't particularly relevant.. DO do this if you plan to use openssh-server -
Concurrent access question...
Hello,
I have developed an application using BDB where I have a multi-threaded process writing to an environment with multiple DBs, and another non-threaded process which only reads the DBs. I'm not using the DB_THREAD flag on the environment and DBs, but am controlling DB access in the threads with my own mutexes (since I was already doing that due a previous incarnation of my app which used Redis).
I guess my question is should I be using a Concurrent Data Store, or is my implementation 'safe'?
Thanks.Yes - with concurrent data store, it is possible that the writer will block the readers. With CDS, it is best to have either the single writer or the multiple readers accessing the database at any given instant in time. If you do not do this from the application level, BDB will use locking to enforce this behavior. I would suggest reading through the Programmers reference guide, Chap 10, which covers a lot of information on CDS. This will give you better insight was to what is happening.
thanks
mike -
I'm a webmaster for a non-profit site and I'm looking into adding some
member login, web-based forms for updating the site. I get free
webspace from a local provider who says our site is on a machine
running Apache and Linux. The tech said I can't use ASP (without some
mod) and I should look into using JSP or Perl.
So, question for you guys:
If I only have access as a database program, what is the best language
to use? JSP, PHP, Perl?
Thanks,
John
either u can make use of
<jsp:usebean scope="application" id="<InstanceName>" class="<CLASS_NAME>" >or make use of scriptlets code
<%
Vector<Object> oBj = (Vector<Object>) application.getAttribute("<AttributeName>");
%>
Maybe you are looking for
-
Parameter for current year and previous year
Hi all, I currently have 2 reports where the query is the same except in the where clause I have it filtered to current year and previous year based on the List_Date. I would like to make this one report with a parameter of Current or Previous year.
-
Totals Based on Multiple Criteria in Repeating Rows
Hi All, I have 3 dropdowns (DD1, DD2, DD3) and one textfield (TF1) in repeating rows (not in a table). Each dropdown has two choices and the textfield is free-form. Outside of the rows (in a different subform) I want totals based on multiple criteri
-
the data I measured changed rapidly, so i want get the average value of the data Do not tell me to use mean.vi , i have already know that. and i got an idea which is add the data into an array every time, then sum of all the data value and take the r
-
Error in Creating BSP SICF Node
Hi Everybody, I m getting the following error when i create a new BSP Program. " Could not create the associated SICF node automatically" . Plz Help me with this.........................
-
Running flash file from non-english folder
I am trying to run a flash movie located in a folder with non english characters (japanse, chinese). (Using latest flash 9 player) The movie does not play at all. Moving the movie to another folder with english only characters works fine. Also, it se