Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Cannot successfully execute .sh: su - <name> -c Post 302565864 by att01 on Wednesday 19th of October 2011 02:45:06 AM
Old 10-19-2011
Thanks for the reply.

I do want to point out though that jbossuser has rwx permissionss on <path>/jbossStart.sh and on the parent directory in both zone 1 and zone 2. jbossuser is the owner and in the primary group as well.

So to make it more explicit:

zone1:
-rwxr-x--x 1 jbossuser jboss 5643 Sep 22 17:53 JBossServer1.sh

zone2:
-rwxrwxrwx 1 jbossuser jboss 4782 Aug 16 17:54 JBossServer1.sh

cheers,
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Successfully Installed Solaris 8 after all.

Hello There, Aftar all i successfully installed Solaris 8 on my Primary Slave 2nd Hard disk. Here what i did. I kept my first hard disk (Windows Me) on primary Master and put my new 2nd hard disk on Primary Slave, CDROM is on Secondary slave. When i install solaris8 it ask me two... (0 Replies)
Discussion started by: abidmalik
0 Replies

2. UNIX for Dummies Questions & Answers

Mail delivered successfully?

Hi Is there any way I can know whether my mail has been delivered successfully or not....? I am using a shellscript which configures the header and the message body and also includes configurations for attachments. I use 'sendmail' to send the mails.... I have to resend the failed emails after... (7 Replies)
Discussion started by: Amruta Pitkar
7 Replies

3. Shell Programming and Scripting

Programs not compiling successfully

Preface: this is not a homework question. However, my teacher gave us a review packet with some C coding, and for some reason none of the C programs are compiling. First I compiled them from the shell, then I used a compiler to see if something was wrong with compiling from a shell. Both produced... (1 Reply)
Discussion started by: lazypeterson
1 Replies

4. AIX

Alert on successfully logins

Hi, How difficult would it be to configure an alert on AIX that will inform me every time someone logs into the system? (1 Reply)
Discussion started by: bbbngowc
1 Replies

5. UNIX for Advanced & Expert Users

Script working successfully only when executed twice

Guys, i am facing a very strange issue, my code below does an ftp to server A and gets a file to Server B, once the file is in B an if condition is present to check if the pattern of the filename is ABC* then it has to be encrypted using OPENSSL as ABC.enc else if it of pattern 123* has to be... (3 Replies)
Discussion started by: meva
3 Replies

6. Shell Programming and Scripting

script has been executed successfully or not??

Guys, How can we know whether a script has been executed successfully or not ? We dont have any log directories, and we are not given a chance to modify the script. Could someone help me out with this Thanks (2 Replies)
Discussion started by: bobby1015
2 Replies

7. Shell Programming and Scripting

Did my script execute successfully ?

Hi, I have two scripts viz and I am running them in background. I wish to know if both the scripts completed execution successfully. So this is what I have done /tmp/commet/bin/connectdb1.sh & condb1=$? /tmp/commet/bin/connectdb2.sh & condb2=$? However, I am getting error... (7 Replies)
Discussion started by: mohtashims
7 Replies

8. UNIX for Dummies Questions & Answers

Print script is completed successfully or not

Hai guys I am running three shellscripts through Gtk2-Perl(GUI) these are the scripts Drccalibrescript1 script2 script3 Gtk2-Perl(GUI) drccalibre -> If I run this script through Gtk2-Perl(GUI) these are results of the drccalibrescript1 . summary/.results I have to find size of... (1 Reply)
Discussion started by: kiran425
1 Replies

9. Shell Programming and Scripting

How-to verify if my package installed successfully

Can you please let me know how can i verify /check inside the script if the below to package installation commands are successful or if they failed for any reasons? 1. pkgadd -a $INSTP/install/dadmin -d $INSTP/install/apachesrv.pkg 2. pkgadd -a $INSTP/install/dadmin -d... (6 Replies)
Discussion started by: mohtashims
6 Replies
sysidconfig(1M)                                                                                                                    sysidconfig(1M)

NAME
sysidconfig - execute system configuration applications, or define set of system configuration applications SYNOPSIS
sysidconfig [-lv] [-a application] [-b basedir] [-r application] Invoked without any options, the sysidconfig program executes a list of applications. An application on this list is referred to as a "sys- tem configuration application." Every application on this list will be passed one command-line argument, -c. This flag will cause the sys- tem configuration application to perform its configuration function. Without options, sysidconfig should only be invoked by startup scripts, which occurs during the initial installation and during a reconfigure reboot. All applications on the list will be executed, if possible. All activity taken by the sysidconfig program is logged in the sysidconfig log file, /var/log/sysidconfig.log. If one or more of the applications on the list are either not present at execution time, are not exe- cutable, or execute but return a failure code upon completion, then that information will be logged as well. Successful completion of the program can be assumed if no error message is present in the log file. Programs are executed sequentially, with only one configuration application active at a time. Executed with the -l, -a, or -r options, the sysidconfig program allows the super-user to list the defined configuration applications, and to add items to or remove items from that list. Running sysidconfig with options is the only way to view or manipulate the list. Only the super-user can execute the sysidconfig program with options. The -b and -v options change the behavior of sysidconfig, and can be used with or without the list manipulation options discussed above. The -b basedir option is used to specify a reference root directory other than the default, /. The -v option duplicates the log file output on stdout. By default, no SPARC based applications exist on this list. However, the based systems are delivered with one application, kdmconfig(1M), on the list. kdmconfig is not delivered on SPARC based systems. This application is an extension of the sysidtool(1M) suite of programs. It is executed during initial installation and during a reconfig- ure reboot, before the window system has been started. Graphical User Interface (GUI) applications will not execute successfully if they are added to the list of configuration applications via sysidconfig -a. This program is referenced, but not fully described, in the sysidtool(1M) manual page. The valid options are: -a application Add the named application to the list of defined applications. When next invoked without arguments, sysidconfig will run this newly added application after all previously defined applications. application must be a fully qualified path name that is not currently on the list of applications to execute. -b basedir Specify an alternate base directory (/ is defined as the default base directory if no other is specified). The specified directory is used as the root directory when adding, listing, removing, or executing configuration applications. The log file where information is recorded is in /var/log, relative to the specified basedir. In the log file, the basedir is not noted. This means, for example, that if the super-user on a diskless client's server executes: sysidconfig -b /export/root/client -a /sbin/someapp then the diskless client client would have /sbin/someapp executed upon reconfigure reboot. The diskless client's log file would note that /sbin/someapp was added, not /export/root/client/sbin/someapp. Note - The root file system of any non-global zones must not be referenced with the -b option. Doing so might damage the global zone's file system, might compromise the security of the global zone, and might damage the non-global zone's file system. See zones(5). -l List defined configuration applications. Applications will be executed one at a time, in the order shown in the list. -r application Remove the named application from the list of defined applications. application must be a fully qualified path name and it must be on the existing list of applications to execute. -v Verbose mode. This option echoes all information sent to the log file to stdout. Such information includes timestamp infor- mation about when the program was executed, the names of applications being executed, and results of those executions. The sysidconfig program will return 0 if it completes successfully. When executed with the -r or -a options, error conditions or warnings will be reported on stderr. If the requested action completes suc- cessfully, an exit code of 0 will be returned. EPERM The program was executed by a user other than the super-user. EINVAL Option -l, -a, or -r was passed and the action could not be completed successfully. /var/log/sysidconfig.log sysidconfig log file See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWadmap | +-----------------------------+-----------------------------+ sys-unconfig(1M), sysidtool(1M), attributes(5) Only kdmconfig(1M) When run without options, a log of the sysidconfig program's activity can be found in /var/log/sysidconfig.log. This file contains a time- stamp log of each program executed, its resulting stderr output, and its exit code. If an application in the list was not found or is not executable, that will also be noted. 6 Apr 2005 sysidconfig(1M)
All times are GMT -4. The time now is 01:19 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy