Prev: unixODBC
Next: Commit the applied FixPak??
From: Harlin on 19 Mar 2007 16:08 I am trying to create dasusr1 (db2 admin user) by doing the following: START-------------------------------- [root(a)plin-db2-stg01 instance]# ./dascrt dasusr1 DBI1088E Invalid access permission detected for directory /home/dasusr1/das. Explanation: There may be several reasons for this error. It is likely that one of the following situations has occurred: o Either the given name is not a directory, or it does not have read and execute permission. o The given directory can be created but cannot be accessed. It could be that the permissions on any of its parent directories in its path have been set incorrectly. User Response: Check permissions for the given directory and restart the install process. Suggested directory permissions are u=rwx,go=rx. DBI1079I Output is saved in the log file /tmp/dascrt.log.1946. Explanation: All processed and failed operations have been saved into this log file. User Response: Do not modify this file in any way. This file is for IBM Technical Support reference. END---------------------------------------- Next I do this: [root(a)plin-db2-stg01 instance]# chmod -R u=rwx,go=rx /home/dasusr1/ [root(a)plin-db2-stg01 instance]# ./dascrt dasusr1 DBI1082E The file or directory /home/dasusr1/das already exists. Explanation: A file or directory that the command needs to create already exists. User Response: Examine the specified file or directory. If the file or directory exists as a result of a previous successful completion of the command then no action is required. Otherwise, you will need to either rename or remove the specified file or directory before trying the command again. DBI1079I Output is saved in the log file /tmp/dascrt.log.2140. Explanation: All processed and failed operations have been saved into this log file. User Response: Do not modify this file in any way. This file is for IBM Technical Support reference. As you can see I am getting circular errors. Does anyone know how I can fix this so I can create an admin user? Thanks, Harlin
From: Darin McBride on 20 Mar 2007 10:11 Harlin wrote: > I am trying to create dasusr1 (db2 admin user) by doing the following: > > START-------------------------------- > [root(a)plin-db2-stg01 instance]# ./dascrt dasusr1 > DBI1088E Invalid access permission detected for directory > /home/dasusr1/das. > > Explanation: > > There may be several reasons for this error. It is likely that > one of the following situations has occurred: > > o Either the given name is not a directory, or it does not have > read and execute permission. > > o The given directory can be created but cannot be accessed. > It could be that the permissions on any of its parent > directories in its path have been set incorrectly. > > > > User Response: > > Check permissions for the given directory and restart the install > process. Suggested directory permissions are u=rwx,go=rx. > > > DBI1079I Output is saved in the log file /tmp/dascrt.log.1946. > > Explanation: > > All processed and failed operations have been saved into this log > file. > > User Response: > > Do not modify this file in any way. This file is for IBM > Technical Support reference. > END---------------------------------------- > > Next I do this: > > [root(a)plin-db2-stg01 instance]# chmod -R u=rwx,go=rx /home/dasusr1/ That might have been overkill. At this point, the das probably is created, and you just overwrote all setuid files with new permissions. > [root(a)plin-db2-stg01 instance]# ./dascrt dasusr1 > DBI1082E The file or directory /home/dasusr1/das already exists. If the das was created in the first step, the das directory was still there. You may need to run dasupdt to restore the permissions. > Explanation: > > A file or directory that the command needs to create already > exists. > > User Response: > > Examine the specified file or directory. If the file or > directory exists as a result of a previous successful completion > of the command then no action is required. Otherwise, you will > need to either rename or remove the specified file or directory > before trying the command again. > > > DBI1079I Output is saved in the log file /tmp/dascrt.log.2140. > > Explanation: > > All processed and failed operations have been saved into this log > file. > > User Response: > > Do not modify this file in any way. This file is for IBM > Technical Support reference. > > > As you can see I am getting circular errors. Does anyone know how I > can fix this so I can create an admin user? > > Thanks, > > Harlin
From: Harlin on 20 Mar 2007 12:02 How would I use dasupdt to restore permissions if no das user exists? Thanks! Harlin On Mar 20, 10:11 am, Darin McBride <dmcbr...(a)tower.to.org.no.spam.for.me> wrote: > Harlin wrote: > > I am trying to create dasusr1 (db2 admin user) by doing the following: > > > START-------------------------------- > > [root(a)plin-db2-stg01 instance]# ./dascrt dasusr1 > > DBI1088E Invalid access permission detected for directory > > /home/dasusr1/das. > > > Explanation: > > > There may be several reasons for this error. It is likely that > > one of the following situations has occurred: > > > o Either the given name is not a directory, or it does not have > > read and execute permission. > > > o The given directory can be created but cannot be accessed. > > It could be that the permissions on any of its parent > > directories in its path have been set incorrectly. > > > User Response: > > > Check permissions for the given directory and restart the install > > process. Suggested directory permissions are u=rwx,go=rx. > > > DBI1079I Output is saved in the log file /tmp/dascrt.log.1946. > > > Explanation: > > > All processed and failed operations have been saved into this log > > file. > > > User Response: > > > Do not modify this file in any way. This file is for IBM > > Technical Support reference. > > END---------------------------------------- > > > Next I do this: > > > [root(a)plin-db2-stg01 instance]# chmod -R u=rwx,go=rx /home/dasusr1/ > > That might have been overkill. At this point, the das probably is created, > and you just overwrote all setuid files with new permissions. > > > [root(a)plin-db2-stg01 instance]# ./dascrt dasusr1 > > DBI1082E The file or directory /home/dasusr1/das already exists. > > If the das was created in the first step, the das directory was still there. > You may need to run dasupdt to restore the permissions. > > > Explanation: > > > A file or directory that the command needs to create already > > exists. > > > User Response: > > > Examine the specified file or directory. If the file or > > directory exists as a result of a previous successful completion > > of the command then no action is required. Otherwise, you will > > need to either rename or remove the specified file or directory > > before trying the command again. > > > DBI1079I Output is saved in the log file /tmp/dascrt.log.2140. > > > Explanation: > > > All processed and failed operations have been saved into this log > > file. > > > User Response: > > > Do not modify this file in any way. This file is for IBM > > Technical Support reference. > > > As you can see I am getting circular errors. Does anyone know how I > > can fix this so I can create an admin user? > > > Thanks, > > > Harlin
From: Ian on 20 Mar 2007 15:54 Harlin wrote: > How would I use dasupdt to restore permissions if no das user exists? > I think that was Darin's point: The DAS did exist. You can verify this using the command: daslist Assuming you see the instance (dasusr1), then you could do: dasupdt dasusr1 If that doesn't work you can always drop and recreate the DAS, dasdrop dasusr1 # Make sure that ~dasusr1/das does not exist dascrt dasusr1
From: Ray on 20 Mar 2007 16:09
On Mar 20, 11:02 am, "Harlin" <harlinser...(a)yahoo.com> wrote: > How would I use dasupdt to restore permissions if no das user exists? > DBI1082E The file or directory /home/dasusr1/das already exists. According to that, the das user DOES exist. |