Re: Shudown And Restart Issue

2016-11-06 Thread Mark Fletcher
On Sat, Nov 05, 2016 at 01:55:49PM -0400, Gene Heskett wrote:
> On Saturday 05 November 2016 13:17:23 emetib wrote:
> 
> With apologies for busting into your thread here, this is very 
> informative because its lost in the sands of nearly 2 decades of runing 
> linux in my wet ram, however at least one time, I need to force an 

Hold on, run that by us again... you run Linux in your "wet ram"??? Are 
you trying to tell us you have re-wired your brain to run Linux???

Actually, that could explain quite a lot, now I think on it... :)

Mark



Re: Shudown And Restart Issue

2016-11-06 Thread Lisi Reisz
On Saturday 05 November 2016 23:01:17 Gene Heskett wrote:
> On Saturday 05 November 2016 18:15:50 Lisi Reisz wrote:
> > On Saturday 05 November 2016 17:55:49 Gene Heskett wrote:
> > > On Saturday 05 November 2016 13:17:23 emetib wrote:
> > >
> > > With apologies for busting into your thread here, this is very
> > > informative because its lost in the sands of nearly 2 decades of
> > > runing linux in my wet ram, however at least one time, I need to
> > > force an e2fsck -y as it reboots.  And its on a pi-3 running debian
> > > linux, jessie and up to date.  And ATM no monitor at that stage of
> > > the boot, lacking a female hdmi to dvd-i adapter.
> > >
> > > > you can also do as root
> > > >
> > > > # to reboot/restart
> > > > telinit 6
> > > >
> > > > # to shutdown
> > > > telinit 0
> > >
> > > Thank you for that magic invocation.
> > >
> > > Cheers, Gene Heskett
> >
> > # init 6
> > "tout court"  works fine for me!!  No doubt the difference is
> > important, and I would be glad to know why one might need the tel-  .
> >
> > Lisi
>
> Crazy, never ever heard of it, my dear lady.  And this reboots? or shuts
> down?

Reboots.

# init 0
Shuts down.

# init 1
Switches to single user mode, level 1.

Lisi
>
> Thanks Lisi.
>
> Cheers, Gene Heskett



Re: Shudown And Restart Issue

2016-11-05 Thread emetib
gene, 

it depends on what distro that you are running for the different init levels.

0 - shutdown/shutoff, i believe this is the same across the board
1 - single user mode, usually root, also rescue mode, no networking.  for 
debian, this is what you will boot into when your system doesn't boot all the 
way up and it asks you to enter the root passwd or type ctrl-D.  some other 
distro are 2 or 3
2, 3, 4 - these are different depending what distro again.  i believe that 
debian networking starts up on 3
5 - is usually the standard run level for all distro's.  multi-user, 
networking, GUI...
6 - reboot

look at telinit(8) and it will tell you.

em



Re: Shudown And Restart Issue

2016-11-05 Thread Gene Heskett
On Saturday 05 November 2016 18:15:50 Lisi Reisz wrote:

> On Saturday 05 November 2016 17:55:49 Gene Heskett wrote:
> > On Saturday 05 November 2016 13:17:23 emetib wrote:
> >
> > With apologies for busting into your thread here, this is very
> > informative because its lost in the sands of nearly 2 decades of
> > runing linux in my wet ram, however at least one time, I need to
> > force an e2fsck -y as it reboots.  And its on a pi-3 running debian
> > linux, jessie and up to date.  And ATM no monitor at that stage of
> > the boot, lacking a female hdmi to dvd-i adapter.
> >
> > > you can also do as root
> > >
> > > # to reboot/restart
> > > telinit 6
> > >
> > > # to shutdown
> > > telinit 0
> >
> > Thank you for that magic invocation.
> >
> > Cheers, Gene Heskett
>
> # init 6
> "tout court"  works fine for me!!  No doubt the difference is
> important, and I would be glad to know why one might need the tel-  .
>
> Lisi

Crazy, never ever heard of it, my dear lady.  And this reboots? or shuts 
down?

Thanks Lisi.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 



Re: Shudown And Restart Issue

2016-11-05 Thread emetib
> Lisi

they are basically the same thing

man telinit -
DESCRIPTION
   telinit may be used to change the SysV system runlevel. Since the 
concept of SysV runlevels is obsolete the runlevel requests will be 
transparently translated into systemd unit activation requests.

man init -
DESCRIPTION
   systemd is a system and service manager for Linux operating systems. 
When run as first process on boot (as PID 1), it acts as init system that 
brings up and
   maintains userspace services.

   For compatibility with SysV, if systemd is called as init and a PID that 
is not 1, it will execute telinit and pass all command line arguments 
unmodified.
   That means init and telinit are mostly equivalent when invoked from 
normal login sessions. See telinit(8) for more information.

   When run as a system instance, systemd interprets the configuration file 
system.conf and the files in system.conf.d directories; when run as a user 
instance, systemd interprets the configuration file user.conf and the files in 
user.conf.d directories. See systemd-system.conf(5) for more information.

so you could save three keystrokes by calling init itself

em



Re: Shudown And Restart Issue

2016-11-05 Thread Lisi Reisz
On Saturday 05 November 2016 17:55:49 Gene Heskett wrote:
> On Saturday 05 November 2016 13:17:23 emetib wrote:
>
> With apologies for busting into your thread here, this is very
> informative because its lost in the sands of nearly 2 decades of runing
> linux in my wet ram, however at least one time, I need to force an
> e2fsck -y as it reboots.  And its on a pi-3 running debian linux, jessie
> and up to date.  And ATM no monitor at that stage of the boot, lacking a
> female hdmi to dvd-i adapter.
>
> > you can also do as root
> >
> > # to reboot/restart
> > telinit 6
> >
> > # to shutdown
> > telinit 0
>
> Thank you for that magic invocation.
>
> Cheers, Gene Heskett

# init 6
"tout court"  works fine for me!!  No doubt the difference is important, and I 
would be glad to know why one might need the tel-  .

Lisi



Re: Shudown And Restart Issue

2016-11-05 Thread Gene Heskett
On Saturday 05 November 2016 13:17:23 emetib wrote:

With apologies for busting into your thread here, this is very 
informative because its lost in the sands of nearly 2 decades of runing 
linux in my wet ram, however at least one time, I need to force an 
e2fsck -y as it reboots.  And its on a pi-3 running debian linux, jessie 
and up to date.  And ATM no monitor at that stage of the boot, lacking a 
female hdmi to dvd-i adapter.

> you can also do as root
>
> # to reboot/restart
> telinit 6
>
> # to shutdown
> telinit 0

Thank you for that magic invocation.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 



Re: Shudown And Restart Issue

2016-11-05 Thread emetib
you can also do as root

# to reboot/restart
telinit 6

# to shutdown 
telinit 0



Re: Shudown And Restart Issue

2016-11-05 Thread Lisi Reisz
On Tuesday 18 October 2016 14:40:40 Jack Warkentin wrote:
> Hi Aravind
>
> I am having a similar problem, if not the identical one. I believe it is
> a systemd issue.
>
> Here is a workaround that works for me.
>
> 1. Close all GUI windows and log out of the GUI.
>
> 2. Press Ctrl/Alt/F1 to obtain a console window.
>
> 3. Log in as root and shut down to single user mode using the command
>
> shutdown now

Out of interest, why not just do 
# shutdown -h now
at this stage since you are already root and at a console?  Why add in the 
extra stage?

I shutdown this way quite often when I have problems, but can get to a 
console.

Lisi
> At the message saying that you need to issue the root password in order
> to do system maintenance, issue the root password.
>
> 4. Shutdown the computer completely by issuing
>
> shutdown -h now
>
> I hope this helps.
>
> Regards
>
> Jack
>
> ARAVIND B KUMAR wrote:
> > Hello Sir
> >
> > This Is Aravind From India
> >
> > We Are Very Much Or Purely New To Debain And We Install Debian Jessie
> > 8.6 In The Dell Inspiron i3551 And We Use Gnome GUI And While We Try To
> > Shutdown The Computer It Dont Shutdown Properly And When We Try To
> > Restart The Cmputer It Will Shutdown The System And We Didn't Know How
> > To Solve The Problem And We Google It About The Issue We Didn't Find The
> > Proper Answer For The Issue And We Are Requested The Team To Help Us To
> > Resolve Problem.
> >
> > We Are Looking Forward From You.
> >
> > Thanks You
> >
> > Best Regards
> > Aravind Kumar



Re: Shudown And Restart Issue

2016-10-18 Thread Jack Warkentin

Hi Aravind

I am having a similar problem, if not the identical one. I believe it is 
a systemd issue.


Here is a workaround that works for me.

1. Close all GUI windows and log out of the GUI.

2. Press Ctrl/Alt/F1 to obtain a console window.

3. Log in as root and shut down to single user mode using the command

shutdown now

At the message saying that you need to issue the root password in order 
to do system maintenance, issue the root password.


4. Shutdown the computer completely by issuing

shutdown -h now

I hope this helps.

Regards

Jack

ARAVIND B KUMAR wrote:

Hello Sir

This Is Aravind From India

We Are Very Much Or Purely New To Debain And We Install Debian Jessie
8.6 In The Dell Inspiron i3551 And We Use Gnome GUI And While We Try To
Shutdown The Computer It Dont Shutdown Properly And When We Try To
Restart The Cmputer It Will Shutdown The System And We Didn't Know How
To Solve The Problem And We Google It About The Issue We Didn't Find The
Proper Answer For The Issue And We Are Requested The Team To Help Us To
Resolve Problem.

We Are Looking Forward From You.

Thanks You

Best Regards
Aravind Kumar


--
Jack Warkentin, phone 902-404-0457, email jw...@bellaliant.net
39 Inverness Avenue, Halifax, Nova Scotia, Canada, B3P 1X6



Re: Shudown And Restart Issue

2016-10-17 Thread e Lpe
Hello, often the shutdown and restart problem come from video driver. I got
this issue with 'nouveau'
Check on that way.

ML

2016-10-17 1:54 GMT-04:00 Børge Holen :

> What exactly does "doesn't shut down properly" do?
>
> On 17 Oct 2016 07:28, "ARAVIND B KUMAR" 
> wrote:
>
>> Hello Sir
>>
>> This Is Aravind From India
>>
>> We Are Very Much Or Purely New To Debain And We Install Debian Jessie 8.6
>> In The Dell Inspiron i3551 And We Use Gnome GUI And While We Try To
>> Shutdown The Computer It Dont Shutdown Properly And When We Try To Restart
>> The Cmputer It Will Shutdown The System And We Didn't Know How To Solve The
>> Problem And We Google It About The Issue We Didn't Find The Proper Answer
>> For The Issue And We Are Requested The Team To Help Us To Resolve Problem.
>>
>> We Are Looking Forward From You.
>>
>> Thanks You
>>
>> Best Regards
>> Aravind Kumar
>>
>


Re: Shudown And Restart Issue

2016-10-16 Thread Børge Holen
What exactly does "doesn't shut down properly" do?

On 17 Oct 2016 07:28, "ARAVIND B KUMAR" 
wrote:

> Hello Sir
>
> This Is Aravind From India
>
> We Are Very Much Or Purely New To Debain And We Install Debian Jessie 8.6
> In The Dell Inspiron i3551 And We Use Gnome GUI And While We Try To
> Shutdown The Computer It Dont Shutdown Properly And When We Try To Restart
> The Cmputer It Will Shutdown The System And We Didn't Know How To Solve The
> Problem And We Google It About The Issue We Didn't Find The Proper Answer
> For The Issue And We Are Requested The Team To Help Us To Resolve Problem.
>
> We Are Looking Forward From You.
>
> Thanks You
>
> Best Regards
> Aravind Kumar
>


Shudown And Restart Issue

2016-10-16 Thread ARAVIND B KUMAR
Hello Sir

This Is Aravind From India

We Are Very Much Or Purely New To Debain And We Install Debian Jessie 8.6
In The Dell Inspiron i3551 And We Use Gnome GUI And While We Try To
Shutdown The Computer It Dont Shutdown Properly And When We Try To Restart
The Cmputer It Will Shutdown The System And We Didn't Know How To Solve The
Problem And We Google It About The Issue We Didn't Find The Proper Answer
For The Issue And We Are Requested The Team To Help Us To Resolve Problem.

We Are Looking Forward From You.

Thanks You

Best Regards
Aravind Kumar