LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 03-30-2008, 02:25 AM   #1
as400
Member
 
Registered: Apr 2004
Location: USA
Distribution: Solaris 10 (x86) and Windows XP Pro SP2
Posts: 596

Rep: Reputation: 30
Cannot find SMC when typing command SMC?


Hi,

In Solaris 10 8/07 the SMC cannot be found....in Solaris 10 8/07
I REALLY NEED to have the SMC and why it cannot find it when I type SMC as ROOT??? Or, also starting from the CDE Tools option when I right click on the desktop.

Its unable to find it for some reason. Why?? I had been running as ROOT for days now.

This new release is really starting to dissapoint me!!!!!!

Last edited by as400; 03-30-2008 at 03:13 AM.
 
Old 03-30-2008, 03:27 AM   #2
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Quote:
Originally Posted by as400 View Post
Its unable to find it for some reason. Why??
What returns this command:
Code:
 svcs -l wbem
Quote:
I had been running as ROOT for days now.
This is a poor practice.
 
Old 03-30-2008, 04:29 AM   #3
as400
Member
 
Registered: Apr 2004
Location: USA
Distribution: Solaris 10 (x86) and Windows XP Pro SP2
Posts: 596

Original Poster
Rep: Reputation: 30
I know I should I not thats why I need SMC to create a restricted account in the first place.
And I keep on getting SMC NOT FOUND...Or, THIS ACTION DOES NOT APPLY FOR NUMBER OF ARGUMENTS.

Ok,

# svcs -l wbMar 30 11:26:26 unknown sendmail[445]: [ID 702911 mail.alert] unable to qualify my own domain name (unknown) -- using short name
Mar 30 11:26:26 unknown sendmail[444]: [ID 702911 mail.alert] unable to qualify my own domain name (unknown) -- using short name
em
fmri svc:/application/management/wbem:default
name SMC and WBEM Server
enabled true
state online
next_state none
state_time Sun Mar 30 11:25:21 2008
logfile /var/svc/log/application-management-wbem:default.log
restarter svc:/system/svc/restarter:default
contract_id 52
dependency require_all/error svc:/milestone/sysconfig:default (online)
#


During my Network setup I chose DHCP and DNS entering the correct DNS IP addresses and the Internet works great....As you can see for the Domain name, I entered NONE as I dont connect to any Domain name server....So I put NONE as for Domain.....Also for the HOST Name I entered NONE...

But why I cannot get the SMC Console opened up??? This is very very crucial for me as I want to create restricted user accounts...



After I did this command, I disabled SENDMAIL, TELNET AND RLOGIN....for security purposes....
Please let me know what to do next

Last edited by as400; 03-30-2008 at 04:42 AM.
 
Old 03-30-2008, 07:56 AM   #4
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Quote:
Originally Posted by as400 View Post
I know I should I not thats why I need SMC to create a restricted account in the first place.
You can do that easily with the useradd command first, then focus on your smc problem.
Code:
useradd -g staff -c "John Doe" -d /export/home/as400 -m -s /bin/ksh as400
Quote:
And I keep on getting SMC NOT FOUND
Try: /usr/sbin/smc
Quote:
...Or, THIS ACTION DOES NOT APPLY FOR NUMBER OF ARGUMENTS.
This error message seems unknown. Check for the precise (word by word) error you got.
Quote:

Ok,

# svcs -l wbMar 30 11:26:26 unknown sendmail[445]: [ID 702911 mail.alert] unable to qualify my own domain name (unknown) -- using short name
Mar 30 11:26:26 unknown sendmail[444]: [ID 702911 mail.alert] unable to qualify my own domain name (unknown) -- using short name

em
fmri svc:/application/management/wbem:default
name SMC and WBEM Server
enabled true
state online
next_state none
state_time Sun Mar 30 11:25:21 2008
logfile /var/svc/log/application-management-wbem:default.log
restarter svc:/system/svc/restarter:default
contract_id 52
dependency require_all/error svc:/milestone/sysconfig:default (online)
#
The service looks okay. You could have care about what you was cutting/pasting and removed the unrelated console error message (in red).
Quote:
...
Also for the HOST Name I entered NONE...
As your dhcp server isn't providing a name to your server, you should do it yourself. "unknown" is a very poor hostname.
Quote:
But why I cannot get the SMC Console opened up???
I don't know as you didn't provide enough information about what is going wrong.
Quote:
This is very very crucial for me as I want to create restricted user accounts...
SMC isn't required to do that.
Quote:
After I did this command, I disabled SENDMAIL, TELNET AND RLOGIN....for security purposes....
That's a good practice.
Quote:
Please let me know what to do next
Run /usr/sbin/smc and tell precisely what is going wrong.
 
Old 03-30-2008, 12:31 PM   #5
as400
Member
 
Registered: Apr 2004
Location: USA
Distribution: Solaris 10 (x86) and Windows XP Pro SP2
Posts: 596

Original Poster
Rep: Reputation: 30
I tried /usr/sbin/smc....Not ablt to locate it...
OHHHHH...Just an idea that MAY went bad during installation and MAYBE this is why because I selected CUSTOM AND USER-END PACKAGE INSTEAD OF FULL PACKAGES...Can this be the reason why SMC is not showing up???

OK, back to the diagnostics...

Following error messages first from COMMAND LINE CONSOLE:

Typed
# smc
:SMC NOT FOUND

Now, when I right clicked on the desktop, I went to tools and SMC and the following message occured.
EITHER SMC WAS NOT FOUND....OR THIS ACTION DOES NOT APPLY TO THIS NUMBER OF ARGUMENTS.

And all I can locate under /USR/SBIN/ is SMCWEBCONSOLE or something like that...but NOT SMC.

And under the TOOLS menu, it seems to have a LIGHNING BOLT ICON which I think its an executable file....
 
Old 03-30-2008, 12:58 PM   #6
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Quote:
Originally Posted by as400 View Post
Just an idea that MAY went bad during installation and MAYBE this is why because I selected CUSTOM AND USER-END PACKAGE INSTEAD OF FULL PACKAGES...Can this be the reason why SMC is not showing up???
No need to investigate further, that is obviously the reason.
 
Old 03-30-2008, 01:03 PM   #7
as400
Member
 
Registered: Apr 2004
Location: USA
Distribution: Solaris 10 (x86) and Windows XP Pro SP2
Posts: 596

Original Poster
Rep: Reputation: 30
Ok, great....Well, I have the full package set of the Solaris 10 CDs 5 total...

Is there any way I can install the SMC??? Please....I need this...

Thanks for that useradd command....I did manage to add myself as a USER....

But is there anyway I can use one of the CDs form the set to install this thing???

The reason I choosed USER-END PACKAGES is because I was afraid that I will not have any space left...
There MUST be a way to reinstall SMC or I should I say..Install it from one of the 5 CDs....

If not...then I will not bother to fuss around with it...

But I need to know a few things after that USERADD COMMAND you gave...

1. I need password expiration of every 30 days.
2. MIN. password lenght of 8 chars...
3. Password age of 1 REMEMBERED password so users cannot revert back to the same one again.
4. Password history of 24 remembered....

Thats about it for now.....Next I will choose FULL INSTALLATION OR FULL PACKAGES from the custome screens...

Last edited by as400; 03-30-2008 at 01:09 PM.
 
Old 03-30-2008, 03:46 PM   #8
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Quote:
Originally Posted by as400 View Post
Ok, great....Well, I have the full package set of the Solaris 10 CDs 5 total...

Is there any way I can install the SMC??? Please....I need this...
Locate on which CD the SUNWmcc directory is located, cd to its parent directory then run "pkgadd SUNWmcc".
 
Old 03-31-2008, 01:38 AM   #9
as400
Member
 
Registered: Apr 2004
Location: USA
Distribution: Solaris 10 (x86) and Windows XP Pro SP2
Posts: 596

Original Poster
Rep: Reputation: 30
Oh and I forgot to mention that during the installation, it ONLY stopped the installation process at CD-4....It DID NOT ask me to insert CD-5 so I suppose its on CD-5...

Please correct me if Im wrong.
 
Old 03-31-2008, 06:42 AM   #10
as400
Member
 
Registered: Apr 2004
Location: USA
Distribution: Solaris 10 (x86) and Windows XP Pro SP2
Posts: 596

Original Poster
Rep: Reputation: 30
So when I locate that Install file, what are the commands in order to install SMC?

Please post the exact command.
 
Old 03-31-2008, 12:43 PM   #11
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
It's not an install file but a directory.

Run the commands:
Code:
cd <directory where the SUNWmcc directory is located>
pkgadd -d . SUNWmcc
 
Old 03-31-2008, 01:15 PM   #12
as400
Member
 
Registered: Apr 2004
Location: USA
Distribution: Solaris 10 (x86) and Windows XP Pro SP2
Posts: 596

Original Poster
Rep: Reputation: 30
Hello,

It seems to be installed after I did that command and the installation was successful then I rebooted the laptop.
And now, it does not want to open the SMC console for some odd reason.

And when I did this command, it shows this message:

smc
/usr/sadm/lib/smc/bin/smc[11]: /usr/sadm/lib/smc/lib/functions: not found
#


And when I went to the /USR/SADM/LIB/SMC...The SMC Console icon is there, but it WILL NOT open or execute...Why???


And yes, I was right...It was CD 5....afterall.

Last edited by as400; 03-31-2008 at 01:18 PM.
 
Old 03-31-2008, 01:32 PM   #13
as400
Member
 
Registered: Apr 2004
Location: USA
Distribution: Solaris 10 (x86) and Windows XP Pro SP2
Posts: 596

Original Poster
Rep: Reputation: 30
NEVER MIND...And thanks as always for this huge help...

The SUNWmccom was required before installing SUNWmcc....

Now..it opened but it just hangs on CONFIRURING SERVER Starting the server for the first time may take a few minutes.Please allow configuration to continue until you see "Welcome to the Solaris Management Console.".....Also this:

No Solaris Management Console server was available on the specified server. Please ensure there is a Solaris Management Console server available on the specified host and that it is running.

for a half hour now...What should I do now??? Now it just hangs...

Last edited by as400; 03-31-2008 at 01:47 PM.
 
Old 04-01-2008, 11:29 PM   #14
as400
Member
 
Registered: Apr 2004
Location: USA
Distribution: Solaris 10 (x86) and Windows XP Pro SP2
Posts: 596

Original Poster
Rep: Reputation: 30
I was right...Theres a flaw in release 8/07 were SMC does not want to start.
Take a lok at this.

http://www.webservertalk.com/message1950541.html

People should take a look at this carefully since theres a bug in this release regarding the SMC.
 
Old 04-02-2008, 06:47 AM   #15
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
What returns "svcs -lp wbem" ?
Are you up-to-date with patches ?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
find -exec syntax: bug in find? mfcarroll Programming 5 06-21-2007 07:13 PM
Mandriva 2007 Official Release - Theme Manager Bug rrrssssss Linux - Software 1 12-14-2006 09:12 PM
LXer: Release-critical Bug Report for October 27, 2006 LXer Syndicated Linux News 0 10-28-2006 04:03 AM
Cant find the CD to install SMC 2208 USB jharpo1 Linux - Software 0 11-21-2004 07:31 PM
RTL-8139 SMC EZ CARD (SMC 1211TX) (more of these stupid issues) Jimbobbob Linux - Networking 4 04-04-2003 05:40 PM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 05:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration