Sun MC Setup - execution of database make failed

Hi all,

I am new to Sun MC. Has anyone got any clues on the error below while running the script es-setup?

Regards,

Kelvin

P.S.

I have checked that the script /opt/SUNWsymon/lib/sbin/script-errors.sh is actually there, while the log /tmp/SunMCDBLogFiles/make.log cannot be found there.

Output Screen Captured

-

This script will help you to setup Sun (TM) Management Center 3.5 Update 1.

-

Configuring the system for setup, please wait...

-sh: /opt/SUNWsymon/lib/sbin/script-errors.sh: not found

execution of database make failed

see /tmp/SunMCDBLogFiles/make.log file for details

Could not finish requested task.

[706 byte] By [KelvinWong] at [2007-11-26 6:00:17]
# 1
Just a thought, but strange things can happen if you are out of space in /tmp.iMac
ian_macd at 2007-7-6 13:21:05 > top of Java-index,Administration Tools,Sun Management Center...
# 2
No, it is much disk space at /tmp, over 2GB.Kelvin
KelvinWong at 2007-7-6 13:21:05 > top of Java-index,Administration Tools,Sun Management Center...
# 3
...wrong Plattform (x86 or sparc) ?
TEK at 2007-7-6 13:21:05 > top of Java-index,Administration Tools,Sun Management Center...
# 4

> Configuring the system for setup, please wait...

> -sh: /opt/SUNWsymon/lib/sbin/script-errors.sh: not

> found

> execution of database make failed

> see /tmp/SunMCDBLogFiles/make.log file for details

>

> Could not finish requested task.

Do you have any 3rd party programs that handle logins? (i.e. Keon)

Do you have any security programs that change the behaviour of the "su" utility?

Is your nsswitch.conf set up to use "files" for passwd and group?

Regards,

Mike Kirk

Halcyon Inc.

Aronek at 2007-7-6 13:21:05 > top of Java-index,Administration Tools,Sun Management Center...
# 5

I am new to this forum but I am NOT new to SUN.

I AM new to SMC.

I received the EXACT same error that Kelvin did and I checked all of the file permissions, nsswitch.conf data and I do NOT have any extra security on my system.

I have searched the internet on this but there does NOT seem to be a lot of information.

It seems that everyone else has gotten this to install fine.

I am running on Solaris 10. I am wondering if this could be the problem. The doc does NOT mention Solaris 10.

Any ideas would be greatly appreciated.

Thanks in advance...

g6sh9r at 2007-7-6 13:21:05 > top of Java-index,Administration Tools,Sun Management Center...
# 6

I think I may have found the problem, at least to my error.

I found the "database make failed" error ALL over the db-common.sh script. This error is generic and can be produced from ALL kinds of problems building the database. The 2 most common are permissions and space issues.

I tried to run the make manually and found my problem. It looks like /opt needs to be at LEAST 555 permissions in order for the db script to run the Oracle setup.

My permissions were set to (and I do not know why) 664.

I would also check the permissions of ANY of the directories that the smcorau user (the oracle user created during setup) will access and make sure the permissions are at LEAST 555.

Also please make sure you have enough space in /tmp, /var/tmp and /. Although the install mentions needing only space in /tmp, the db-common script checks for space in the other 2 as well.

Hope this helps.

g6sh9r at 2007-7-6 13:21:05 > top of Java-index,Administration Tools,Sun Management Center...
# 7
Quick question: Have you performed any sort of OS hardening via Script, BluePrint Doc, JASS etc?Just wondering if in fact there is a common source to this permissions problem.iMac.
ian_macd at 2007-7-6 13:21:05 > top of Java-index,Administration Tools,Sun Management Center...
# 8

I had the pleasure of working for Sun and guess what, JASS caused me no end of problems. If I talked to a customer who used JASS and had problems, what can I say..My opinion of JASS was to not use it. If people really want to break in, they will find ways and means of doing it and JASS hardening wont stop them. Firewall or gateway provider companies generally harden their systems in other ways. Mind you that is my opinion and does not reflect what my current employer does to annoy me..

Another thing I have seen is people creating their own packages and they can completely stuff up permissions in the /opt directory without knowing what they are doing. Actually, I often wonder what I am doing when I make packages. /usr/local/bin in particular..

Cheers

Stephen

stephen2602 at 2007-7-6 13:21:05 > top of Java-index,Administration Tools,Sun Management Center...