cancel
Showing results for 
Search instead for 
Did you mean: 

Installation error

Former Member
0 Kudos

Hi,  I am trying to re-install Dialog instance after a system copy(ie. the sidadm user is already there in the system). In the starting of the setup itself i get the following error:

ERROR      2012-10-16 08:16:32.530

CJSlibModule::writeError_impl()

MUT-03010  Execution of the command "/bin/csh -c "source /home/sidadm/.cshrc; env"" finished with status TST_ERROR.

ERROR      2012-10-16 08:16:32.535

CJSlibModule::writeError_impl()

MUT-03010  Execution of the command "/bin/csh -c "source /home/sidadm/.cshrc; env"" finished with status TST_ERROR.

I have already checked the Note: 1300536

Can you guys have a look and advice?

Regards,

Abhilash

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Guys,

Thanks for tips in this thread.

Apparently there was an issue with /etc/passwd and the issue was fixed after cleaning up the users in from the list.

Thanks again.

Abhilash

Answers (3)

Answers (3)

former_member182657
Active Contributor
0 Kudos

Hi All,

I think Abhilash generated this thread on


Former Member
0 Kudos

Everyone missed the dates while helping resolve abhilash issue 

Regards,

Ram

Former Member
0 Kudos

Sometimes SWPM (sapinst) does not set the $HOME environment. The problem begins with the $HOME var in the .cshrc file. No $HHOME, no further .sapenv and .dbenv files found and no environment, quite simple.


To solve that issue please do the following.

1. Stop SWPM (sapinst)

2. execute as described before:
          csh

          setenv SHELL /bin/csh
          setting HOME <PATH to the home dir of your sidadm>
3. Restart sapinst and continue with run with your installation/copy.

Have fun

David

Former Member
0 Kudos

Hi Abhilash,

As mentioned by David & henrique, follow the same. also do validate your sidadm default shell try to change it to /bin/csh & do try to change the shell with root user id or sidadm.

It should work without any error.

like if your in ksh or bash then give command csh. It should work without any problems. If any errors comes related to SET variable, permissions issues etc try to reach out to your OS team to fix it.

Let us know the details.

Regards,

Ram

paul_power
Active Contributor
0 Kudos

Hi Abhilash,

Have you ran the command manually at operating system level?

/bin/csh -c "source /home/sidadm/.cshrc; env

please use the c shell as recommended by SAP (see note 202227 - "Recommended login shells")

The command line /bin/csh -c "source /home/sidadm/.cshrc; env"

seems to abort when you run 'sapinst' from 'root'

which is doing an internal user switch to user "<sid>adm".

regards,

Paul

Former Member
0 Kudos

Hi Paul,

Thanks for the reply!

Yeah, i have done that(mentioned in 1300536). I just tried running the sapinst using sidadm and it went past that stage - but then the gui throwed me a message asking me to run it "as root".

So back to the same stage:(

Regards,

Abhilash

paul_power
Active Contributor
0 Kudos

Hi Abhilash,

So the command works when manually run as <sid>adm

but not when SAPinst (which is run as root) tries to run it as <sid>adm

Try the following procedure:

1 : Login as root

2 : csh

3 : setenv SHELL /bin/csh

then continue with sapinst

regards,

Paul

Former Member
0 Kudos

Hi again,

Tried setting the SHELL for root before running sapinst,  but still ran into the same error .

Regards,

Abhilash

Former Member
0 Kudos

Hello

One thing which can be worth to check is the sidadm uid and groups on unix level

also the installation has to run with user root always ,check home directory permissions and owner

May be some points to check .....

Success!!

Ganesh.

former_member186845
Active Participant
0 Kudos

Hello Ganesh,

You should change the logon shell for root and <sid>adm to CSH.

You can do that by running the command below:


usermod -s /bin/csh root


usermod -s /bin/csh <sid>adm

* I am assuming that your CSH is located under /bin/ directory. If the location is different, please set it accordingly.

Then, open a new shell instance, logon as root user and run SWPM tool once again.

Does the issue remains afterwards?

Regards,

Henrique Girardi

SAP Active Global Support

-------------------------------------

#2081285 - How to enter good search terms to an SAP search?

https://service.sap.com/sap/support/notes/2081285

Software Provisioning Manager Troubleshooting documents:

http://scn.sap.com/docs/DOC-62646

Find us:

https://www.facebook.com/SapProductSupport

https://twitter.com/SAPSupportHelp