GAURAVGUPTA9
6th September 2002, 09:41
hi all
i am upgrading my porting set to 6.1c.06.04 from 6.1c.05.02. i have got the baan document to upgrade it but it is not getting upgraded.
there r some problams with the file permissions and owner of the files and directory. can ne body help me?
reply soon
regards
Gaurav

OmeLuuk
6th September 2002, 09:50
Unix or NT?
Unix: performed as root?
See solution 15217 and linked solutions (there is one with the installation instruction too).

GAURAVGUPTA9
6th September 2002, 10:02
Hi OmeLuuk
i m doing it using root but there r some permisson problams.

OmeLuuk
6th September 2002, 10:12
What problems do you face. Give more details.
Did you run the script binperm?
Did you follow the installation instructions (ftp://ftp.support.baan.com/updates/port/UNIX/installnotes61ps_UNIX.txt)?
Are you on Baan IV c or b (or triton)? See solution 125018 on audit.
Is the licence daemon up?
What is the output of licmon6.1 -a? It it says something like "...gethostbyname failed..." then you can modify the licence6.1 file in $BSE/lib and change the hostname into it's IP number.

GAURAVGUPTA9
6th September 2002, 10:48
hi OmeLuuk
we r using baan4c on oracle8i
i am using the same document. when i do step 21 with user bsp it gives error when using tar error is cannot create file and it extracts some file of user 1013 and group 50 where as we do not have such user. it works fine if i use root.

do i have to upload all porting set dump files using bsp user i am using root.

OmeLuuk
6th September 2002, 10:56
Originally posted by GAURAVGUPTA9 ... when i do step 21 with user bsp it gives error when using tar error is cannot create file and it extracts some file of user 1013 and group 50 where as we do not have such user.Berform step 21 as root and then afterwards do a `chown -R bsp:bsp $BSE/lib $BSE/api $BSE/java $BSE/shlib`

I have had problems with that next part has to be done as user bsp !!!! too. I cannot see the reason why!

garfield ruhr
6th September 2002, 13:36
Hi *ALL,

please use better
cd $BSE
find . -user 1013 -exec chown bsp:bsp {} \; -print

to only change the user and group for the wrong files. If you are using the statement from the post before then also files are changed that need to have a user <> bsp. (for example tbase user).

Bye,

Garfield ;)

OmeLuuk
6th September 2002, 14:01
Actually I use:cd ${BSE}/api/
compress -d ${BSE}/api/api.dmp.Z
tar -xvf ${BSE}/api/api.dmp
rm ${BSE}/api/api.dmp
chown -R bsp:bsp *

cd ${BSE}/lib/
compress -d ${BSE}/lib/lib.dmp.Z
tar -xvf ${BSE}/lib/lib.dmp
rm ${BSE}/lib/lib.dmp
chown -R bsp:bsp *
chown -R tbase:bsp tbase

cd ${BSE}/java/
compress -d ${BSE}/java/java.dmp.Z
tar -xvf ${BSE}/java/java.dmp
rm ${BSE}/java/java.dmp
chown -R bsp:bsp *

cd ${BSE}/shlib/
compress -d ${BSE}/shlib/shlib.dmp.Z
tar -xvf ${BSE}/shlib/shlib.dmp
rm ${BSE}/shlib/shlib.dmp
chown -R bsp:bsp *But you are right... only this time it may be user 1013, but what next time? This code above seems to work fine for me.

GAURAVGUPTA9
7th September 2002, 08:59
hi
thanx all.
i have installed the portingset. the problam was due to ownership of files.
but when i login into baan it gives an error msg "session ottstpollmess not found". and user start working. why this problam is there? and how can it b solved?

regards
gaurav

OmeLuuk
9th September 2002, 10:40
see other trhead