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]

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