on 03-20-2008 8:49 PM
Hi,
I doing installation with a root access and I don't know why is it not creating user smdadm. Can someone help me?
ERROR 2008-03-20 13:16:30.920 [syuxcuser.cpp:1704]
CSyUserImpl::addToOS(const CUserData& data, ISyProgressObserver* )
FSL-01002 Unable to create account user="smdadm". UX: /usr/sbin/useradd: ERROR: Unable to create the home directory: Operation not applicable. (return code 12)
This urgent, I would really appreciate your fast reply.
Thanks,
Hi Markus,
I was able to install SMD AGENT successfully. Now the problem i'm getting is when I start smd agent, i get the following error.
cd /usr/sap/SMD/J98/scripts
>> ./smdstart.sh
./smdstart.sh
_________________________________________________________________________
SAP Solution Manager - Diagnostics Agent - Copyright (c) 2007 SAP AG
_________________________________________________________________________
[-] Prerequisites
----
Max open files limit .. OK
/usr/sap/SMD/exe/smdstart.sh: usage: ulimit [ -HSacdfnstv ] [ limit ]
/usr/sap/SMD/exe/smdstart.sh: test: argument expected
sap-*1:smdadm 13% ^C
sap-*1:smdadm 13% ./smdstart.sh
Also, Even when I try to stop it. I get the following errors.
./smdstop.sh
________________________________________________________________________
SAP Solution Manager - Diagnostics Agent - Copyright (c) 2007 SAP AG
_________________________________________________________________________
[-] Stopping SAP HOST CONTROL
----
27.03.2008 16:17:11
StopService
FAIL: NIECONN_REFUSED (Connection refused), NiRawConnect failed in plugin_fopen()
[-] Shutdown Diagnostics Agent SMD /98 with user smdadm
----
!! ERROR !! Diagnostics agent is not running.
_________________________________________________________________________
SAP Solution Manager - Diagnostics Agent - Copyright (c) 2007 SAP AG
_________________________________________________________________________
[-] Prerequisites
-
Max open files limit .. OK
/usr/sap/SMD/exe/smdstart.sh: usage: ulimit [ -HSacdfnstv ] [ limit ]
/usr/sap/SMD/exe/smdstart.sh: test: argument expected
How can I solve this problem?
Thanks,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Markus,
That was Excellent reply. I was able to fix it quickly. But I'm having one more problem, I guess I'm having hard luck with it. Now the problem is, I can see the agent in solution manager, but the status is showing START_FAILED.
Here are some logs.
*jvm_SMDAgent.out* : this showing that the Agent is Running, but question is is it pointing the right way? since the pointing to sapms://******.com' on port 8100. Is it not should be like this >> http://****.com' on port 8100?
*Starting SMDAgent ...*
*Running SMD Agent ...*
*Establishing connection to server 'sapms://**********.com' on port 8100*
I have also found some warnings here as well.
Log: Dev_jcontrol
[Thr 1] Thu Mar 27 16:51:57 2008
[Thr 1] *** *WARNING => Key profile parameters not set /usr/sap/SMD/SYS/profile/DEFAULT.PFL*:
j2ee/scs/host=
j2ee/scs/system= [jcntrxx_mt.c 1459]
[Thr 1] *** *WARNING => Can't open default profile [/usr/sap/SMD/SYS/profile/DEFAULT.PFL] for migration* [jcntrxx_mt.c 1460]
[Thr 1] SigISetDefaultAction : default handling for signal 18
[Thr 1] JControlExecuteBootstrap: jcontrol runs in 6.20 compatible mode
[Thr 1] JControlExecuteBootstrap: jcontrol runs in 6.20 compatible mode
[Thr 1] JControlIBuildProcessList: Maximum error count is set to 4
[Thr 2] JControlRequestFunc: Thread 2 started as listener thread for np messages.
[Thr 1] [Node: SMDAgent] java home is set by profile parameter
Java Home: /opt/j2sdk1.4.2_12
[Thr 1] *JStartupICheckFrameworkPackage: can't find framework package /usr/sap/SMD/exe/jvmx.jar*
I was not able to find jvmx.jar file in /USR/SAP/SMD/EXE. Do you think this could have a problem? If yes, Any idea how can I fill this file there?
I really appreciate your help.
Thanks,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Markus,
I will have to create a ticket for OS team. So far, I kinda have understood the what you are saying and it makes sense. Now for detail that I have to provide for OS team, how should I explain them? I can tell them to create user (smdadm) and the group would be (sapsys). Is there anything else do they need to do or I have to provide them in order work this thing out properly?
I really appreciate your quick replies.
Thanks a lot.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
But when I use user jesadm instead smdadm, I get the following error. I think there should be some other user other than sid<adm> for agent.
The user jesadm is not a dedicated agent user: LD_LIBRARY_PATH environment variable does not contain path to Diagnostics agent binaries (/usr/sap/SMD/exe).
Thanks,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
when I type ID, This is what I get >> uid=2712(jesadm) gid=202(sapsys)
When I launched SMD_AGENT, it takes smdadm user by default.
Thanks,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Markus,
Thanks for your reply. yes it is solaris but i did not get it what do you mean by is it auto mounted directory? can you please tell me more about it?
Thanks,
Edited by: Afi C on Mar 20, 2008 4:24 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Usually by default, user directories are create under /export/home/<username> and then mounted on login to /home/<username>.
Since /home is not existing and sapinst tries to create that directory there, it fails. That problem is odd, long known but never fixed.
I always create the users before the installation with the correct home directory like
useradd -c "SMD Agent" -m -g sapsys -s /bin/tcsh -u 500 -d /export/home/<agentSID>adm <agentSID>am
Sapinst will then use that user.
Make sure you adapt the project in /etc/project and add the user to /etc/user_attr too.
Markus
What OS are you using? You use an automounter? In case it´s Solaris, is /home an automounted directory?
Markus
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Create <sid>adm in your case 'smdadm' - SAP user
I already have <sid>adm user exists. my sid is JES.
From Guide:
The user has to be a user dedicated to SMD Agent installation (with enough privileges). I*f you*
*have no dedicated user enter a new user name and SAPinst will create this user with all the*
*privileges needed*. By default the user name is set to <sid>adm.
So, as root, when I click next, It does not create user smdadm.
I'm using DB2.
thanks,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I have given owner ship of sapinst_dir to root:sapsys but still not working. It is giving the same following error. I don't have smdadm user created yet.
INFO[E] 2008-03-20 15:45:30.484 [syuxcuser.cpp:1932]
*CSyUserImpl_getOsInfos(ILogBook m_logBook, iastring sName, iastring sID, tSyUserInfo& msUserinfo)
FSH-00006 Return value of function getpwnam(smdadm) is NULL.
ERROR 2008-03-20 15:45:30.727 [syuxcuser.cpp:1704]
CSyUserImpl::addToOS(const CUserData& data, ISyProgressObserver )*
FSL-01002 Unable to create account user="smdadm". UX: /usr/sbin/useradd: ERROR: Unable to create the home directory: Operation not applicable. (return code 12)
Any other idea?
Thanks,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, that is the problem you need to create OS user for SAP and DB..
Create <sid>adm in your case 'smdadm' - SAP user
Create ora<sid> in your case should be 'orasmd' - oracle DB user, I am presuming you DB to be oracle.
<sid>adm should have users & groups : (smdadm), (sapsys), (dba), (oper), (sapinst)
ora<sid> should have users & groups : (orasmd) (dba) (sapsys),(oper),(sapinst)
Once this is done, your installation will go smooth.
Check the installation manual, very clearly mentioned
Cheers
Shaji
Edited by: Shaji Jacob on Mar 20, 2008 11:08 PM
Hi
Stop and Quit the Installation.
Where is you SAPINST <DIR> created. Give chmod -R 777 <sapinst_dir> and chown -R root:sapsys <sapinst_dir>.
Check your <TMP DIR>, could be running out of diskspace.
Restart the Installation.
Please let me know the user/groups assigned to user 'smdadm'.
Regards
Shaji
Edited by: Shaji Jacob on Mar 20, 2008 9:17 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.