Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
General
cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Application Server installation problems

SOLVED
Go to solution
Ashraf_1
Frequent Advisor

SAP Application Server installation problems

Hi Experts,

We are installing SAP 3.0f application server on hp-ux 11.11 server. During the installation we exported the following file system with read-write permission for all systems and all directories had mode drwxrwxrwx.
/sapmnt//profile
/sapmnt//global
/usr//trans

during R3INST, we faced the following problem :
Cannot change owner for /usr/sap/YDB/SYS/profile
however /sapmnt/YDB/profile in the central instance has full authority.

Any body could assist me to get this server up will be highly appreciated.

Reagrds,
Ashraf
ASHRAFM
6 REPLIES
Brian Crabtree
Honored Contributor

Re: SAP Application Server installation problems

Who is the owner of the directory, and what user are you running the installation as?

Thanks,

Brian
Ashraf_1
Frequent Advisor

Re: SAP Application Server installation problems

The owner of the directory is user ydbadm:sapsys on the source system. on the target system i am running the application as user root.
ASHRAFM
Ashraf_1
Frequent Advisor

Re: SAP Application Server installation problems

It appears to be a mount through nfs problem,

I tried this command from the target system with user root:
touch test
Then found out the permission has a strange user id:
-r--r--r-- 1 65534 sys 0 Jun 20 08:00 test

In the way am axpecting it to be at least the same user name root.

So how we could be able to change owner across nfs file system.

Regards,
Ashraf
ASHRAFM
Ashraf_1
Frequent Advisor

Re: SAP Application Server installation problems

OK,

across mount file system i specified the unkown user id with 0 and i will try the installation now. and now i am be able to change the owner ship of the files.

Regards,
Ashraf
ASHRAFM
Brian Crabtree
Honored Contributor
Solution

Re: SAP Application Server installation problems

Ashraf,

It is common to keep the uid and gid in the passwd and group files common between CI and App servers, and sometimes between all related systems (prod, test, dev).

Thanks,

Brian
Tor-Arne Nostdal
Trusted Contributor

Re: SAP Application Server installation problems

Hi Ashraf
As Brian stated you must check that the application server is setup correctly with the same username/UID and group/GID as the database server(CI).

Check on you CI
#grep ydbadm /etc/passwd
Example:
ydbadm:xxxencrxx:3210:201:Production SAP R/3,,,:/home/ydbadm:/bin/csh

Format in password file
Username:encrypt_pw:UID:GID:Description:Home_dir:Shell

Compare the UID and GID on both hosts.

***************************
NB! If you don't export the filesystem with root privilegies, the root user on the app.server will be treated as an "unknown" user.
Therefore if you do a touch /sapmnt/YDB/profile/test
with the root user, you might see an "unknown" UID

Best regards,
Tor-Arne
I'm trying to become President of the state I'm in...