Sponsored Content
Top Forums Shell Programming and Scripting Is this a shell setting problem? Post 302107613 by duke0001 on Monday 19th of February 2007 02:22:49 PM
Old 02-19-2007
Thanks for your advice. But I may not agree with you. Because the dbstart script is coming with Oracle 10g software, it is not created by me. On both saver, I used the same Oracle 10g R2 file to install database system. So the dbstart is the same script. On saver one, I login as oracle user first, then su -root user. I created the dbora script as root user and other group user. On 2nd saver, I can login as root user and root group user to create the same dbora script. In dbora script on saver one, 3 out of 4 agent scripts worked, only dbstart didn't work. In dbora script on saver two, 4 agent scripts all worked fine. This is where my problem is.

If login shell doesn't matter, I manually run dbstart script on saver one as $dbstart or $ $ORACLE_HOME/bin/dbstart, system all return 'VER10LIST=10 is not an identifier'. This is checking listener version. Oracle 10g db must use listener 10 to start database. It seems nothing to do with a line in script? If I am wrong, please comment more? Thanks.

Last edited by duke0001; 02-19-2007 at 03:45 PM..
 

10 More Discussions You Might Find Interesting

1. Solaris

Problem Setting $PATH

I am trying to install the pkg-get package to a fresh install of Solaris 10. I am able to download and install correctly using the default directory for both pkg-get and wget as found on blastwave.org. When I issue the command "which wget and which pkg-get" it returns no wget or pkg-get found in... (1 Reply)
Discussion started by: greengrass
1 Replies

2. Programming

problem while setting putenv

Hi, I m trying to change the env variable from the c program which inturn calls another c executable. i m using the putenv function but it does not set the value as required , it overwrites the values with some other values... i m using following cmd's to set the env variable FULL_PATH : ... (3 Replies)
Discussion started by: pgarg
3 Replies

3. Shell Programming and Scripting

problem in setting classpath in shell script

please send me format for wriiting classpath in shell script this is my shell script --------------- #! /bin/bash javac File1.java /usr/bin/java File1 -------------------------- the script works fine on termianal but in cron it gives me error saying class defination not found ... (1 Reply)
Discussion started by: sari
1 Replies

4. Web Development

Problem setting up apache

Hello there, I installed Ajaxterm on my Ubuntu 9.04 machine, and it's running ok if I use : http://localhost:8022/ in my browser. The problem is that I wanted to be able to acces it from somewere else through the internet. I read some instruction and help sites related to this problem, like :... (2 Replies)
Discussion started by: spiriad
2 Replies

5. Shell Programming and Scripting

Problem setting environment...

Hi All I'm attempting to automate the process of setting the DISPLAY environment variable when logging on (sourcing the .cshrc). I have a mixture of linux and solaris servers and this comnand: who -m | awk '{ print $6}' | tr -d '()' seems to work on all the servers. I want... (2 Replies)
Discussion started by: huskie69
2 Replies

6. UNIX for Advanced & Expert Users

Setting Ulimit problem

I changed the standard Ulimit sometime back. But when I change it back, the setting does not get updated. How do I make the change permanent Waitstejo (7 Replies)
Discussion started by: Waitstejo
7 Replies

7. Solaris

Problem in setting up printers

Hi, We are facing an issue while setting up printers in solaris 5.10 . We have Oracle EBS installed over it. We have configured the printer and when we try printing a page from EBS it is printing fine. But the problem arises when we print two copies of the page. The first page is printing fine... (5 Replies)
Discussion started by: Srinathkiru
5 Replies

8. UNIX for Dummies Questions & Answers

Problem in setting up samba server

Hi, I am trying to set-up a samba server at my red-hat machine in order to be accessed via windows, below are my current configuration Linux IP : 192.168.1.6 Windows IP : 192.168.1.2 -- I am able to ping from windows to linux machine : Pinging 192.168.1.6 with 32 bytes of data: Reply... (2 Replies)
Discussion started by: chander_1987
2 Replies

9. Ubuntu

Backup setting problem

the way that i use to backup my server is using the script below in ssh. mysqldump --opt -Q -u username -p password > /var/www/squiro/sql/database.sql but i want to set the server backup everyday at 1pm in same folder. is that set it in crontab-e? how to set it? (3 Replies)
Discussion started by: mampwamp
3 Replies

10. UNIX for Dummies Questions & Answers

Problem in C shell (csh) prompt setting containing the '$' char

Hi, I am trying to customize the command prompt of the C shell as follows: set prompt=" " The above one works fine but when I try to add a '$' (dollar) symbol into the string as set prompt=" " I am getting the error as: Illegal variable name However, this one set prompt = "-- %T %n %~ --... (2 Replies)
Discussion started by: royalibrahim
2 Replies
SETUID(1)                                                     General Commands Manual                                                    SETUID(1)

NAME
setuid - run a command with a different uid. SYNOPSIS
setuid username|uid command [ args ] DESCRIPTION
Setuid changes user id, then executes the specified command. Unlike some versions of su(1), this program doesn't ever ask for a password when executed with effective uid=root. This program doesn't change the environment; it only changes the uid and then uses execvp() to find the command in the path, and execute it. (If the command is a script, execvp() passes the command name to /bin/sh for processing.) For example, setuid some_user $SHELL can be used to start a shell running as another user. Setuid is useful inside scripts that are being run by a setuid-root user -- such as a script invoked with super, so that the script can execute some commands using the uid of the original user, instead of root. This allows unsafe commands (such as editors and pagers) to be used in a non-root mode inside a super script. For example, an operator with permission to modify a certain protected_file could use a super command that simply does: cp protected_file temp_file setuid $ORIG_USER ${EDITOR:-/bin/vi} temp_file cp temp_file protected_file (Note: don't use this example directly. If the temp_file can somehow be replaced by another user, as might be the case if it's kept in a temporary directory, there will be a race condition in the time between editing the temporary file and copying it back to the protected file.) AUTHOR
Will Deich local SETUID(1)
All times are GMT -4. The time now is 10:26 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy