Operating System - HP-UX
1752866 Members
4112 Online
108791 Solutions
New Discussion юеВ

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 6
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...