LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Yoper
User Name
Password
Yoper This forum is for the discussion of Yoper Linux.

Notices

Reply
 
Search this Thread
Old 11-29-2004, 12:37 PM   #1
jdh77
Member
 
Registered: Nov 2003
Location: Texas, where calls to Heaven are but local calls.
Distribution: RH7.1, 7.3, 9.0 Lindows4,5 OpenBSD3.4
Posts: 42

Rep: Reputation: 15
Question System going down for system halt NOW! (hangs)


Yoper 2.1

Upon clicking the "Logout" symbol on the taskbar, system acts like it's going to shut down. When it gets to the command line it simply stops.

Typing "shutdown -h now" merely hangs the system.

I've tried all sorts of variants of this with similar results.

Anyone with an idea?

tia
 
Old 11-29-2004, 01:44 PM   #2
Cliekid
Member
 
Registered: May 2004
Location: New York
Distribution: Yoper v2 / Novell Linux Desktop 9
Posts: 71

Rep: Reputation: 15
Similar problem..

Hey,

I just replied to a *similar* problem.

I would suggest you use the built-in Runlevel editor or use /sbin/init via shell to swap to Runlevel 3 (Graphical MultiUser mode). From there, type in /sbin/init 6, or init 6, whatever it is (Too many different distros ;-) ), if it shuts down properly then it may be a symlink issue with the shut down command. That command should issue a halt signal (Init 6), to check this, type:

ls -l shutdown

It should return some stuff. Check if it says something like "/sbin/init 6". It may have some extra parameters and such, but if it has that then I have no idea what your problem is :-)

I'll do some more research into it on my system and see what I can do.

Cliekid
 
Old 11-30-2004, 12:25 AM   #3
steve_v
LQ Newbie
 
Registered: Aug 2004
Distribution: Gentoo
Posts: 28

Rep: Reputation: 16
When exactly does it hang? if you get to the "power down" message then it is just a power managment / BIOS issue...
ie. what is the last console message after issuing "shutdown -h now" or "telinit 0"?

Steve.
 
Old 11-30-2004, 01:34 AM   #4
henryg
Member
 
Registered: Aug 2003
Location: London, England
Distribution: Slackware 10.2
Posts: 182

Rep: Reputation: 32
no I get the same - its something we should look into
i've seen distros powering my machine down

it doesn't bother me much because pretty everything else is unmounted and defunct and I can reach for the power-off button.

i think its when i reboot from GDM or KDM that it gets funny
from the console
reboot -n
shutdown -h now
seems ok

Last edited by henryg; 11-30-2004 at 05:49 AM.
 
Old 11-30-2004, 02:00 PM   #5
jdh77
Member
 
Registered: Nov 2003
Location: Texas, where calls to Heaven are but local calls.
Distribution: RH7.1, 7.3, 9.0 Lindows4,5 OpenBSD3.4
Posts: 42

Original Poster
Rep: Reputation: 15
Quote:
When exactly does it hang? if you get to the "power down" message then it is just a power managment / BIOS issue...
Hi Steve,

I have "Hot Swap" HDDs, so can change out the OS dirve in about 2 minutes; the machine reboot/shutdown works flawlessly on other distros; Fedora Core2, Linspire 4.5.499, OpenBSD 3.4, Knoppix 3.6, Mepis 2003.10.02 and Libranet 2.8.1. I think there are a couple of others but, you get the picture.

As a second thought; I have issues with/at bootup; /home/[user]/.xsession-errors contains more errors than I can shake a stick at.
Eg.: (gnumeric:2536): WARNING **: Wrong permissions for /tmp/orbit-[user]

Can anyone tell me WHAT the permissions are supposed to be for /tmp/orbit-[user]?

Maybe if I start "fixin" stuff the logs are screaming about, the other problems will go away.
 
Old 11-30-2004, 02:06 PM   #6
Cliekid
Member
 
Registered: May 2004
Location: New York
Distribution: Yoper v2 / Novell Linux Desktop 9
Posts: 71

Rep: Reputation: 15
I believe Temp filesystem needs to be Root for most apps. Wine and other things hit problems if the folder owner isn't Root and only Root can write to it - but thats just for that.

If its X maybe you need to allow your user access to tmp?

Never had the problem before so I'm just "guessing" :-)

Cliekid
 
Old 11-30-2004, 05:30 PM   #7
jdh77
Member
 
Registered: Nov 2003
Location: Texas, where calls to Heaven are but local calls.
Distribution: RH7.1, 7.3, 9.0 Lindows4,5 OpenBSD3.4
Posts: 42

Original Poster
Rep: Reputation: 15
Quote:
I believe Temp filesystem needs to be Root for most apps. Wine and other things hit problems if the folder owner isn't Root and only Root can write to it - but thats just for that.

If its X maybe you need to allow your user access to tmp?
Hello Cliekid,

I understand what you are saying. I just looked and /tmp is root/root 41777, which means there should not be ANY problems with anyone reading/writing/executing that directory. It is the specific dir/file(s) /tmp/orbit-[user]. Additionally, there is a /tmp/root dir presumably for "root." Interestingly, precipitating the squawk is the creation at Gnumeric startup of "/tmp/orbit-[user] [user]/users 40700."

The question seems to be "who is writing using bad(?) permissions? "

Seems I've heard of such on the regular yoper website.

 
Old 11-30-2004, 05:52 PM   #8
Cliekid
Member
 
Registered: May 2004
Location: New York
Distribution: Yoper v2 / Novell Linux Desktop 9
Posts: 71

Rep: Reputation: 15
Well...

First of all - what kind of hardware do you have?

If its an X issue, it may just be a random error that doesn't *really* do with /tmp/orbit-<bla> =P

Several factors can play a role:

Is your Yoper install "ok"?
Is your graphics hardware able to run X on KDE 3.3?
Is your computer not mentally retarded? (Ok..maybe thats not a factor =P)

So you have to look at all aspects of it. If you've used Yoper before and it worked - re-install. I have reinstalled Yoper so many times - mainly because its so darn easy - but also because a file may be "bad" or there was a misconfiguration early on, that may not be entirely fixable.

If worse comes to worse, just reinstall. It takes what, 20 minutes for you to be booted into Yoper? =P

If you don't have 20 minutes in your day...then I fear the worst for all of mankind. (Ok, not really. Had to be dramatic. =P)

Cliekid
 
Old 12-02-2004, 06:39 AM   #9
jdh77
Member
 
Registered: Nov 2003
Location: Texas, where calls to Heaven are but local calls.
Distribution: RH7.1, 7.3, 9.0 Lindows4,5 OpenBSD3.4
Posts: 42

Original Poster
Rep: Reputation: 15
Quote:
First of all - what kind of hardware do you have?
It's good, not really a factor in this instance.

Quote:
If its an X issue, it may just be a random error that doesn't *really* do with /tmp/orbit-<bla> =P
X is NOT the problem.

Quote:
Several factors can play a role:

Is your Yoper install "ok"?
Yes, I'll give it a 60%; about like most other initial linux installs..

Quote:
Is your graphics hardware able to run X on KDE 3.3?
Only after I did a manual setup of video.

Quote:
Is your computer not mentally retarded? (Ok..maybe thats not a factor =P)
May be... loose nut behind the wheel?


Quote:
So you have to look at all aspects of it. If you've used Yoper before and it worked - re-install. I have reinstalled Yoper so many times - mainly because its so darn easy - but also because a file may be "bad" or there was a misconfiguration early on, that may not be entirely fixable.
I believe it will be easier to fix whatever is wrong.

Quote:
If worse comes to worse, just reinstall. It takes what, 20 minutes for you to be booted into Yoper?
NOPE! It's not the 20 minutes for the initial install... it's the 2 additional weeks of tweaking the install and installing apps.

I'm going to reboot in lindows and see what the "orbit" permissions are set for; takes about 5 minutes from "up-to-up." (Hot-Swap HDDs)

 
Old 12-02-2004, 07:33 AM   #10
steve_v
LQ Newbie
 
Registered: Aug 2004
Distribution: Gentoo
Posts: 28

Rep: Reputation: 16
If "shutdown -h now" hangs, then it has nothing to do with x, orbit or any other such thing. AFAIK it can only be:

a: An init script problem, try "halt -f" (WARNING: system should die IMMEDIATLEY, sync disks first!)
If this works then you need to investigate your init scripts to see which script in runlevel 0 is causing the problem...

b: Lack of (correct) power management support in the kernel, or buggy BIOS (most likley the former). If the above command does not halt the system try booting with "acpi=off" on the kernel command line, then do a "modprobe apm"... If you have an ASUS mainboard you could try "modprobe asus_acpi" if it is a Toshiba try "modprobe toshiba_acpi"

If all else fails, recompile the kernel with various apm and acpi options, it's not overly hard :-)


Hope this helps.

Steve.
 
Old 12-02-2004, 07:43 AM   #11
steve_v
LQ Newbie
 
Registered: Aug 2004
Distribution: Gentoo
Posts: 28

Rep: Reputation: 16
Linux is not Winblows (duh), short of trashing / there is NO problem that cannot be fixed without a re-install. If you don't believe me install Gentoo. 2 days to download (on my 33.6) + 2days to compile (on my p4 1.5) + 3 weeks of tweaking to get it just right: you WILL find a way to avoid a re-install :-)

Seriously though, for yoper a reinstall may be quicker, but you learn nothing from it. People seem to look at a reinstall as the first / only option whenever something goes wrong. I suspect this comes from using Winblows 9X ;-)


Steve.
 
Old 12-02-2004, 08:12 AM   #12
henryg
Member
 
Registered: Aug 2003
Location: London, England
Distribution: Slackware 10.2
Posts: 182

Rep: Reputation: 32
again I noticed if I reboot on a console as root - all is fine
but if I go via any X app - it hangs.
dunno what version of Yoper I have though - maybe 2.1
 
Old 12-02-2004, 11:49 AM   #13
jdh77
Member
 
Registered: Nov 2003
Location: Texas, where calls to Heaven are but local calls.
Distribution: RH7.1, 7.3, 9.0 Lindows4,5 OpenBSD3.4
Posts: 42

Original Poster
Rep: Reputation: 15
Quote:
Seriously though, for yoper a reinstall may be quicker,
Problem is that a reinstall leaves me right where I'm at! Plus a couple of weeks worth of tweaking and apps install! I suspect the problem is in the install script. These problems do not manifest themselves on half a dozen other linux distros. I'm afraid I've muddied up the water a bit. The Orbit problem is a separate and distinctly different problem from the shutdown. Incidentally, I mis-spoke; when she shuts down I'm dropped to the cli login screen. Logging in as root and then "shutdown -h now", reboot, halt all hang the system. I don't like to power down from the login screen as there are drives mounted!

Linspire is coming out with Linspire 5.0 shortly; and IF they have incorporated Reiser4 I will definitely have to go back to Linspire as my main squeeze. I will continue to play with Yoper however.
 
Old 12-02-2004, 12:01 PM   #14
jdh77
Member
 
Registered: Nov 2003
Location: Texas, where calls to Heaven are but local calls.
Distribution: RH7.1, 7.3, 9.0 Lindows4,5 OpenBSD3.4
Posts: 42

Original Poster
Rep: Reputation: 15
Quote:
again I noticed if I reboot on a console as root - all is fine
but if I go via any X app - it hangs.
Hi henryg,

Yep! Me too! On other distros. I believe this is the first time I've observed this condition on any linux. M$WinDO$, yes. I converted back @ RH5.1 and have played with maybe a dozen or more distros/versions and perhaps installs that exceed 100, just to give an indication of my familiarity. I consider myself a newbie.
 
Old 12-07-2004, 03:28 AM   #15
DrRider
LQ Newbie
 
Registered: Dec 2004
Location: AUS
Distribution: Yoper
Posts: 16

Rep: Reputation: 0
Actually, I have this problem for a time. It was randomly freezed after 'shutdown' launched, especially with command line (with KDE shutdown, it was shutdown flawlessly). I've observed that it freezed mostly after sending TERM signal and shutting down the PCMCIA. My laptop freezed 1 out of 5 times after the shutdown command is launched and I don't know why.

By the way, about the permission problem with Orbit-[user] and other gnome apps, just remove the problem ones from your /tmp.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
how to halt a system with private ip from a system in other net work seabark99 Linux - Networking 3 03-20-2005 08:36 AM
All users can halt system Equin Linux - Security 2 10-17-2004 01:15 PM
Halt System Kaninchen Mandriva 5 05-11-2004 03:01 PM
poweroff will not halt system ceph Linux - General 1 11-06-2003 02:44 PM
Halt system kpraveen Linux - General 2 08-10-2002 08:40 AM


All times are GMT -5. The time now is 06:29 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration