RE: reboot in single user

2007-07-09 Thread Johan Hendriks
Hi all,

I'm curious to know if there is a command to reboot into single user mode- *
more importantly* if I do reboot in single user mode can I still SSH  in?

My box is not physically near me and I'm upgrading 5.5 to 6.2 - so it this
possible- or do I need to go get the box and attach a keyboard monitor and
mouse to it?


Thanks


Shutdown now goes into single user mode, but it will close SSH !
Better is to manually shutdown al daemons through /usr/local/etc/rc.d and 
/etc/rc.d to only have sshd running.
If you using natd do not stop it either, because it will disconnect you.

Then you can  finnish the make world cycles.
That is the way I do it from a remote shell, it it only failed me once.

Else try on a spare machine install 5.5 and update it to 6.2 through a ssh 
version, then you know what to expect.
Also install the main ports you have running on your remote 5.5 box and try if 
they still work.

Regards,
Johan Hendriks










Jean-Paul 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


No virus found in this incoming message.
Checked by AVG Free Edition. 
Version: 7.5.476 / Virus Database: 269.10.2/891 - Release Date: 8-7-2007 18:32
 

No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.476 / Virus Database: 269.10.2/891 - Release Date: 8-7-2007 18:32
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: reboot in single user

2007-07-09 Thread Jean-Paul Natola


I'm curious to know if there is a command to reboot into single user mode- *
more importantly* if I do reboot in single user mode can I still SSH  in?

My box is not physically near me and I'm upgrading 5.5 to 6.2 - so it this
possible- or do I need to go get the box and attach a keyboard monitor and
mouse to it?


Thanks


Shutdown now goes into single user mode, but it will close SSH
!
Better is to manually shutdown al daemons through /usr/local/etc/rc.d and
/etc/rc.d to only have sshd running.
If you using natd do not stop it either, because it will disconnect you.

Then you can  finnish the make world cycles.
That is the way I do it from a remote shell, it it only failed me once.

Else try on a spare machine install 5.5 and update it to 6.2 through a ssh
version, then you know what to expect.
Also install the main ports you have running on your remote 5.5 box and try
if they still work.


How long will this take- as stopping  the daemons (spamd/clamd etcc..) will
cause a halt in my incoming mail?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: reboot in single user

2007-07-09 Thread Rob

Jean-Paul Natola wrote:

How long will this take- as stopping  the daemons (spamd/clamd etcc..) will
cause a halt in my incoming mail?


Only a temporary halt.  SMTP was designed for intermittent / flaky connections.  
The sending servers will just try again, for a few days typically,  if it fails on the initial attempt(s).


 -RW
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: reboot in single user

2007-07-09 Thread Jean-Paul Natola

 How long will this take- as stopping  the daemons (spamd/clamd etcc..) will
 cause a halt in my incoming mail?

Only a temporary halt.  SMTP was designed for intermittent / flaky
connections.  
The sending servers will just try again, for a few days typically,  if it
fails on the initial attempt(s).


I'm aware of SMTP retries- just trying to gauge how long it will take - as I
have certain users that become very unhappy when they see a massage arrive
more than an hour after it was originally sent.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: reboot in single user

2007-07-09 Thread Norberto Meijome
On Mon, 9 Jul 2007 13:09:20 -0400
Jean-Paul Natola [EMAIL PROTECTED] wrote:

 as I
 have certain users that become very unhappy when they see a massage arrive
 more than an hour after it was originally sent.

well...do they understand how email systems work? 

if they don,t then you can explain that it could be either end of the process
that caused the delay...or any other server in between (antispam, defangers,etc)

Anywayif you're bringing a production server down, you should schedule
downtime . If it has to  fall during working hours, you can tell everyone to
get a beer @ the pub while you're it. I'm sure one hours delay wont be noticed
then ;) 

_
{Beto|Norberto|Numard} Meijome

The only difference between the saint and the sinner is that
every saint has a past and every sinner has a future.
   Oscar Wilde

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: reboot in single user

2007-07-09 Thread Roger B.A. Klorese

Jean-Paul Natola wrote:

I'm aware of SMTP retries- just trying to gauge how long it will take - as I
have certain users that become very unhappy when they see a massage arrive
more than an hour after it was originally sent.
  


There's a reason email is called email and not instant messaging.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: reboot in single user

2007-07-09 Thread Johan Hendriks


I'm curious to know if there is a command to reboot into single user mode- *
more importantly* if I do reboot in single user mode can I still SSH  in?

My box is not physically near me and I'm upgrading 5.5 to 6.2 - so it this
possible- or do I need to go get the box and attach a keyboard monitor and
mouse to it?


Thanks


Shutdown now goes into single user mode, but it will close SSH
!
Better is to manually shutdown al daemons through /usr/local/etc/rc.d and
/etc/rc.d to only have sshd running.
If you using natd do not stop it either, because it will disconnect you.

Then you can  finnish the make world cycles.
That is the way I do it from a remote shell, it it only failed me once.

Else try on a spare machine install 5.5 and update it to 6.2 through a ssh
version, then you know what to expect.
Also install the main ports you have running on your remote 5.5 box and try
if they still work.


How long will this take- as stopping  the daemons (spamd/clamd etcc..) will
cause a halt in my incoming mail?

Weel it is only the make installworld and mergemaster part so I guess about a 
minut or 10

You can do the buildworld and buildkernel steps and let the machine do its work,
Then you can install the kernel do a mergemaster -p and then shutdown all 
services.

Then do the make installworld and mergemaster part.
Also if you go from 5.5 to 6.2 you can do make delete-old it will remove files 
that are not part of the base in 6.2
And after that make delete-old-libs (WARNING) this can mean you will need to 
recompile some ports that use the old 5 libs, like bash
If your shell is bash and you reboot the machine the possibility is that bash 
need an old 5.5 lib, so no access to your machine anymore.

Well again install 5.5 on a spare machine, install the ports you have running 
on the remote location (or create packages from the other machine) and do the 
cycle on that spare machine, this way no unexpected things should happen.











No virus found in this incoming message.
Checked by AVG Free Edition. 
Version: 7.5.476 / Virus Database: 269.10.2/891 - Release Date: 8-7-2007 18:32
 

No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.476 / Virus Database: 269.10.2/891 - Release Date: 8-7-2007 18:32
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]