cancel
Showing results for 
Search instead for 
Did you mean: 

Error at SAP Installation at phase 2 - Create users for SAP system

joo_migueldimas
Active Participant
0 Kudos

Hello,

I´m faccing with a poblem in phase 2 of 28 in installation process of SAP ECC 6.0 SR3 on Linux x86_64 (with oracle 10.2).

SID => JMD

The phase 2 - Create users for SAP system. I checked the sapinst log file that contains the error and I see in there the following:

...

INFO 2010-03-26 12:50:47.991
Account sapinst already exists.

INFO[E] 2010-03-26 12:50:47.993
FSH-00006  Return value of function getpwnam(orajmd) is NULL.

WARNING[E] 2010-03-26 12:50:48.077
FSL-01002  Unable to create account user="orajmd". useradd: cannot create
 directory /oracle/JMD (return code 12)

WARNING[E] 2010-03-26 12:50:48.133
MUT-03025  Caught ESyException in Modulecall: ESAPinstException: error text undefined.

ERROR 2010-03-26 12:50:48.218
FCO-00011  The step createAccounts with step key
 |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_Users_Create_Do|ind|ind|ind|ind|
5|0|createAccounts was executed with status ERROR .

Someone can help me to solve this problem please?

Best regards,

João Dimas - Portugal

Accepted Solutions (0)

Answers (2)

Answers (2)

markus_doehr2
Active Contributor
0 Kudos

does /oracle exists as mount path or as directory?

Markus

joo_migueldimas
Active Participant
0 Kudos

Hello Markus,

In fact is my first installation on Linux and so I´m faccing with some doubts...

Responding to your question, there is no directory named /oracle ... and I didn´t create any file system for this system.

I think you want to refer to chapter "Oracle Directories" which is mentioned in installation guide "SAP ERP 6.0 SR3 ABAP Linux on Oracle", but in that chapter is mentioned the following "If you do not set up any file system on your installation host, SAPinst creates all directories in the root directory /." So when I read this I thought that is not necessary to create some sort of directories!

In Windows Server during installation is required in which Disk/partitions to be assigned to database, to the sap system files and Tlogs, Mirror Logs and Archive Logs... In Linux system it was not asked for anything during the sap installation!! The only directory that was requested was SAP System Mount Directory, I guess that is the directory for sap files like /usr/sap... isn´t it?

So, It´s mandatory to create (mkdir) some directories such as /oracle or /usr/sap ??

Best regards,

João Dimas - Portugal

anvardheen_jabarullah
Participant
0 Kudos

Hi ,

i have few doubts which was asked in the following thread

http://scn.sap.com/thread/3452913

Kindly advise me on the same.

Thanks in advance

joo_migueldimas
Active Participant
0 Kudos

Hello Dheen AJ,

This is a very old post... and I don´t see what is your purpose to put here that message!! ... it has nothing to do with this subject!

Kind regards,

João Dimas

former_member204746
Active Contributor
0 Kudos

you must run SAPINST as user ROOT.

joo_migueldimas
Active Participant
0 Kudos

Hello Eric Brunelle,

Thank you for your quick answer...

... but that isn´t the problem here because I'm using the root user, as you can see:

[root@redhatsap IM_LINUX_X86_64]# whoami
root

Best regards,

João Dimas - Portugal

joo_migueldimas
Active Participant
0 Kudos

This message was moderated.

former_member204746
Active Contributor
0 Kudos

does directory /oracle/JMD exist? if so, what are it's owner/group/permissions ?

joo_migueldimas
Active Participant
0 Kudos

Hi Eric Brunelle,

No, there is no directory for /oracle/...

I aswered to this question in my previous answer to Markus Doehr.

Thank you

João Dimas - Portugal

Former Member
0 Kudos

Hi,

You must create at least "/oracle" directory manually and assign the permission, ownership as below:

Assuming that ora<sid>, <sid>adm users are created along with Groups as mentioned in Installation Guide.

#chmod -R 755 /oracle
#chown -R ora<sid>:dba /oracle

If other directories are not exist such as "/usr/sap", sapinst will create it under root filesystem.. but not oracle...

Regards.

Rajesh Narkhede

Edited by: Rajesh Narkhede on Mar 29, 2010 8:42 AM

joo_migueldimas
Active Participant
0 Kudos

Hello Rajesh Narkhede,

I created that directory and the subdirectory "/oracle/JMD" which are mentioned in sapinst.log as you saw above. I continued to run the install but it stopped again in same point, but now the sapinst.log said other things as you can see following:

...
INFO 2010-03-29 10:56:40.076
Account jmdadm already exists.

INFO 2010-03-29 10:56:40.089
Account 0 already exists.

INFO 2010-03-29 10:56:40.090
Account orajmd already exists.

INFO 2010-03-29 10:56:40.091
Account orajmd already exists.

INFO 2010-03-29 10:56:40.095
Account 503 already exists.

INFO 2010-03-29 10:56:40.096
Account oper already exists.

INFO 2010-03-29 10:56:40.103
Account sapinst already exists.

ERROR 2010-03-29 10:56:42.294
CJS-20004  Invalid password. DIAGNOSIS: The password you specified for user 'orajmd' is wrong. 
SOLUTION: Enter the correct password.

ERROR 2010-03-29 10:56:42.295
CJS-20004  Invalid password. DIAGNOSIS: The password you specified for user 'orajmd' is wrong. 
SOLUTION: Enter the correct password.

ERROR 2010-03-29 10:56:42.328
FCO-00011  The step createAccounts with step key 
|NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_Users_Create_
Do|ind|ind|ind|ind|5|0|createAccounts was executed with status ERROR ( Last error reported
 by the step :Invalid password. DIAGNOSIS: The password you specified for user 'orajmd
' is wrong. SOLUTION: Enter the correct password.).

I don´t know why, but it ask me to enter a password, is weird because first I didn´t create the user "orajmd" and therefore it never asked to put any kind of password!

But even so... how can I change "orajmd" password?

I think this is possible through the following commands:

If you have root login password

1. su

2. type root password

3. passwd

4. type password or let user type password

5. Exit

Ask user to try password for his/her account ...

or

1. /etc/passwd username

Type the password once, press enter, repeat the same password once more, and press enter.

There is some negative impact on the installation process if I change the password with this way??

Best regards,

João Dimas - Portugal

Edited by: jmgmad on Mar 29, 2010 12:32 PM

markus_doehr2
Active Contributor
0 Kudos

> There is some negative impact on the installation process if I change the password with this way??

No. Just give as password the same you entered in sapinst.

Markus

joo_migueldimas
Active Participant
0 Kudos

Ok Markus,

The problem was solved!

The solution was to create the directory /oracle/JMD and after that the installation process stops again due the wrong password for user ora (orajmd), for this I change the password to the same that I entered in sapinst process!

I restart again the installation without problems!

Thank you all for trying to help!

Kind regards,

João Dimas - Portugal

Former Member
0 Kudos

Hi,

I'm also facing same issue..please provide " How did u changed password for SAPSR3 user ", i found from trans.log with wrong password.

password change thro BRTOOLS or SQL query??

Please provide the steps

Regards,

Siva

joo_migueldimas
Active Participant
0 Kudos

Hello SK REDDY,

This thread is very old... but I will answer to you.

Check the following SAP Notes:

1627312 - ORA-28001: the password has expired - during system startup

1576837 - ORA-01017: invalid username/password;

1) Check if there are users blocked in your Oracle DB with the following command:

select username, account_status from dba_users;

2) If the SAPSR3 is blocked so you need to unlock it, use the following command:

ALTER USER SAPSR3 ACCOUNT UNLOCK;

3) Change the SAPSR3 password with the following command:

brconnect -u system/<password> -f chpass -o <username> -p <password>

Example: brconnect -u system/manager -f chpass -o SAPSR3 -p sap

Regards,

João Dimas