niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » *nix » Solaris
sys-unconfig (does not prompt for new values upon rebooting
Post new topic   Reply to topic Page 1 of 1 [10 Posts] View previous topic :: View next topic
Author Message
BG
*nix forums beginner


Joined: 16 Mar 2006
Posts: 3

PostPosted: Thu Mar 16, 2006 9:10 pm    Post subject: sys-unconfig (does not prompt for new values upon rebooting Reply with quote

I have a freshly installed Solars 9 (x86) 09/2005

Have built it up on my home network with a 192.168.x.x ip
Installed all the apps I need...
GCC, Apache, sendmail, pro_ftp, expect, tcl, new perl, etc etc etc
Oh and ran the latest jass4.1.0 to lock it down a bit.

Now I take the box to the office and need to run the sys-unconfig to
set the new IP, gateway, and host name

sys-unconfig runs, prompts to press a key (to shutdown and reboot)
system reboots and I would expect to see it come back asking for the
setup info, hostname, ip, gateway etc, but instead it just boots to a
login prompt with an unknown hostname.

I've read man pages, for sys-unconfig, see the sysidtools stuff, but
am not sure what to do/run to get the system to ask for these values
again.

Done this sys-unconfig 100 times in the past over the years, never
seen this.

Any suggestions?
Back to top
Wes Williams (KJ)
*nix forums Guru Wannabe


Joined: 25 Nov 2005
Posts: 173

PostPosted: Thu Mar 16, 2006 9:30 pm    Post subject: Re: sys-unconfig (does not prompt for new values upon rebooting Reply with quote

BG wrote:
Quote:
I have a freshly installed Solars 9 (x86) 09/2005

Have built it up on my home network with a 192.168.x.x ip
Installed all the apps I need...
GCC, Apache, sendmail, pro_ftp, expect, tcl, new perl, etc etc etc
Oh and ran the latest jass4.1.0 to lock it down a bit.

Now I take the box to the office and need to run the sys-unconfig to
set the new IP, gateway, and host name

sys-unconfig runs, prompts to press a key (to shutdown and reboot)
system reboots and I would expect to see it come back asking for the
setup info, hostname, ip, gateway etc, but instead it just boots to a
login prompt with an unknown hostname.

I've read man pages, for sys-unconfig, see the sysidtools stuff, but
am not sure what to do/run to get the system to ask for these values
again.

Done this sys-unconfig 100 times in the past over the years, never
seen this.

Any suggestions?



If all you need to do is setup the networking, why not use the

'ifconfig' command instead?

# man ifconfig

Unfortunately I don't know why your sys-unconfig isn't working.
Back to top
Oscar del Rio
*nix forums Guru


Joined: 24 Feb 2005
Posts: 385

PostPosted: Thu Mar 16, 2006 9:35 pm    Post subject: Re: sys-unconfig (does not prompt for new values upon rebooting Reply with quote

BG wrote:

Quote:
sys-unconfig runs, prompts to press a key (to shutdown and reboot)
system reboots and I would expect to see it come back asking for the
setup info, hostname, ip, gateway etc, but instead it just boots to a
login prompt with an unknown hostname.

check /var/sadm/system/logs/sysidtool.log for errors

I believe sys-unconfig creates /etc/.UNCONFIGURED and some init.d
scripts check for its presence:

rc2.d/S30sysid.net
rc2.d/S71rpc
rc2.d/S71sysid.sys

Have you removed/replaced any of those scripts?
Back to top
Darren Dunham
*nix forums Guru


Joined: 22 Feb 2005
Posts: 1120

PostPosted: Thu Mar 16, 2006 10:42 pm    Post subject: Re: sys-unconfig (does not prompt for new values upon rebooting Reply with quote

BG <nobody@uu.net> wrote:
Quote:
sys-unconfig runs, prompts to press a key (to shutdown and reboot)
system reboots and I would expect to see it come back asking for the
setup info, hostname, ip, gateway etc, but instead it just boots to a
login prompt with an unknown hostname.

It only prompts if it can't get them through other means. It may be
gathering some via DHCP or rpc.bootparamd (but I wouldn't expect it to
be completely promptless).

You can can try to either force everything manually by editing the files
directly, or unplug the network during the boot after sys-unconfig so
that the resource isn't found. See if that makes a difference.

--
Darren Dunham ddunham@taos.com
Senior Technical Consultant TAOS http://www.taos.com/
Got some Dr Pepper? San Francisco, CA bay area
< This line left intentionally blank to confuse you. >
Back to top
BG
*nix forums beginner


Joined: 16 Mar 2006
Posts: 3

PostPosted: Thu Mar 16, 2006 11:46 pm    Post subject: Re: sys-unconfig (does not prompt for new values upon rebooting Reply with quote

On Thu, 16 Mar 2006 16:35:39 -0500, Oscar del Rio
<delrio@mie.utoronto.ca> wrote:

Quote:
BG wrote:

sys-unconfig runs, prompts to press a key (to shutdown and reboot)
system reboots and I would expect to see it come back asking for the
setup info, hostname, ip, gateway etc, but instead it just boots to a
login prompt with an unknown hostname.

check /var/sadm/system/logs/sysidtool.log for errors

I believe sys-unconfig creates /etc/.UNCONFIGURED and some init.d
scripts check for its presence:

rc2.d/S30sysid.net
rc2.d/S71rpc
rc2.d/S71sysid.sys

Have you removed/replaced any of those scripts?

Jass messed with some of those
I put back a copy of the S71sysid.sys and tried booting again.

Have also tried creating a /etc/.UNCONFIGURED file (with touch)
and booted, -> no joy

I'll make sure all 3 files are there and try booting again.
Back to top
BG
*nix forums beginner


Joined: 16 Mar 2006
Posts: 3

PostPosted: Thu Mar 16, 2006 11:50 pm    Post subject: Re: sys-unconfig (does not prompt for new values upon rebooting Reply with quote

On Thu, 16 Mar 2006 22:42:45 GMT, Darren Dunham
<ddunham@redwood.taos.com> wrote:

Quote:
BG <nobody@uu.net> wrote:
sys-unconfig runs, prompts to press a key (to shutdown and reboot)
system reboots and I would expect to see it come back asking for the
setup info, hostname, ip, gateway etc, but instead it just boots to a
login prompt with an unknown hostname.

It only prompts if it can't get them through other means. It may be
gathering some via DHCP or rpc.bootparamd (but I wouldn't expect it to
be completely promptless).

You can can try to either force everything manually by editing the files
directly, or unplug the network during the boot after sys-unconfig so
that the resource isn't found. See if that makes a difference.


I've tried re-doing the sys-unconfig with and without the system
plugged into a network.

Have not tried setting the files manually, (yet)
I'm kind of stuck on why I'm in this situation.
Like I said earlier, I have done this many times over the years and
never run across this. I'm wondering if its related to some app that
I've loaded. Tis a newer version of JASS than I have ever run before.
Hum...

This box is a prety major part of our network, and I need to be
confident its setup proper. Something amis like this concerns me.
Back to top
Michael Weis
*nix forums beginner


Joined: 25 Jul 2005
Posts: 15

PostPosted: Fri Mar 17, 2006 12:11 pm    Post subject: Re: sys-unconfig (does not prompt for new values upon rebooting Reply with quote

"BG" <nobody@uu.net> schrieb im Newsbeitrag
news:dkkj12hr0sv1rmqqd8f1jqm7npobp96mlk@4ax.com...
Quote:
I have a freshly installed Solars 9 (x86) 09/2005

Have built it up on my home network with a 192.168.x.x ip
Installed all the apps I need...
GCC, Apache, sendmail, pro_ftp, expect, tcl, new perl, etc etc etc
Oh and ran the latest jass4.1.0 to lock it down a bit.

Now I take the box to the office and need to run the sys-unconfig to
set the new IP, gateway, and host name

sys-unconfig runs, prompts to press a key (to shutdown and reboot)
system reboots and I would expect to see it come back asking for the
setup info, hostname, ip, gateway etc, but instead it just boots to a
login prompt with an unknown hostname.

I've read man pages, for sys-unconfig, see the sysidtools stuff, but
am not sure what to do/run to get the system to ask for these values
again.

Done this sys-unconfig 100 times in the past over the years, never
seen this.

Any suggestions?


Back to top
gerryt@vcn.bc.ca
*nix forums Guru Wannabe


Joined: 19 Jul 2005
Posts: 194

PostPosted: Fri Mar 17, 2006 4:59 pm    Post subject: Re: sys-unconfig (does not prompt for new values upon rebooting Reply with quote

BG wrote:

Quote:
I've tried re-doing the sys-unconfig with and without the system
plugged into a network.

Have not tried setting the files manually, (yet)
I'm kind of stuck on why I'm in this situation.
Like I said earlier, I have done this many times over the years and
never run across this. I'm wondering if its related to some app that
I've loaded. Tis a newer version of JASS than I have ever run before.
Hum...

Yes humm I agree.

Quote:
This box is a prety major part of our network, and I need to be
confident its setup proper. Something amis like this concerns me.

So it should. You might try a re-install and when you get to
"This machine is upgradeable" . Just use the original install CDs.
With luck you get the machine back in a sane state with all or
most of your addons intact sans patches. Then I'd come up in single
user
mode and remove JASS - then reinstall it if you feel you must.
Ive been seeing too many posts about JASS causing difficulties lately :
<

Or, just do a fresh install. What you what is a known baseline to start
with
if a box is a "major part" of your network..
Back to top
Anonymous
Guest





PostPosted: Sat Mar 18, 2006 12:11 am    Post subject: Re: sys-unconfig (does not prompt for new values upon rebooting Reply with quote

BG wrote:
Quote:
I have a freshly installed Solars 9 (x86) 09/2005

Have built it up on my home network with a 192.168.x.x ip
Installed all the apps I need...
GCC, Apache, sendmail, pro_ftp, expect, tcl, new perl, etc etc etc
Oh and ran the latest jass4.1.0 to lock it down a bit.

Now I take the box to the office and need to run the sys-unconfig to
set the new IP, gateway, and host name

sys-unconfig runs, prompts to press a key (to shutdown and reboot)
system reboots and I would expect to see it come back asking for the
setup info, hostname, ip, gateway etc, but instead it just boots to a
login prompt with an unknown hostname.

I've read man pages, for sys-unconfig, see the sysidtools stuff, but
am not sure what to do/run to get the system to ask for these values
again.

Done this sys-unconfig 100 times in the past over the years, never
seen this.

Any suggestions?



What if you have 2 bootable drives and you are now booting off from the

alternate drive instead of the one you just sys-unconfig'ed? I'm not
sure, I just want to point out a possible situation.
Back to top
gok
*nix forums beginner


Joined: 02 Feb 2007
Posts: 1

PostPosted: Fri Feb 02, 2007 10:23 am    Post subject: the solution Reply with quote

Hi,
the solution to this problem is, to edit the file /etc/.sysIDtool.state and there change the 1 to 0 in order to activate what the sentece says.
When you edit this one you will understand

And then touch /etc/.UNCONFIGURED

and DONE!
Test it
it works Smile
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [10 Posts] View previous topic :: View next topic
The time now is Sat Nov 22, 2008 9:03 pm | All times are GMT
navigation Forum index » *nix » Solaris
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts does the default constructor initialize values? NewToCPP C++ 12 Thu Jul 20, 2006 3:37 pm
No new posts converting array values to monomaniac21 PHP 11 Thu Jul 20, 2006 10:17 am
No new posts Must GET/POST Parameters Have Values? (And What is the Sy... David T. Ashley PHP 2 Wed Jul 19, 2006 1:10 am
No new posts number of distinct values in tsearch2 gist index Kevin Murphy PostgreSQL 0 Tue Jul 18, 2006 5:24 pm
No new posts How to pass array of values to a pgplsql function Curtis Scheer PostgreSQL 3 Tue Jul 18, 2006 4:27 pm

Web directory | Mortgage | Mortgage | Advertising | Mortgages
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.3087s ][ Queries: 16 (0.1988s) ][ GZIP on - Debug on ]