LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-15-2004, 09:38 PM   #1
spudge
LQ Newbie
 
Registered: Aug 2004
Location: Everett, WA USA
Distribution: SuSE 9.1 Personal
Posts: 2

Rep: Reputation: 0
What's up with YaST not loading...


Yeah, so I just got SuSE 9.1 up and running last night, and everything was good, until earlier today when I was going into YaST to uninstall some jazz. I click the "Install/Remove Software" button and I get a wait cursor for a few seconds, then nothing happens. Kind of frustrating. So I tried getting at it from the shell. But when I type "yast" in the shell it gets half of an ascii gui up and then spits out this error message:

segmentation fault at /usr/share/YaST/clients/menu.ycp:38

I googled it and found that ncurses, or lack thereof could be the culprit, so I re-installed the rpm from the CD, but still no luck on either front.

I'm so lost, but it's not super urgent either.

- Nick
 
Old 08-15-2004, 10:01 PM   #2
bruno buys
Senior Member
 
Registered: Sep 2003
Location: Rio
Distribution: Debian
Posts: 1,513

Rep: Reputation: 46
Notice that there's yast and yast2. If you launch yast from the cli, you get a cli yast. yast2 from the cli will give you a gui yast2.
Did both crash?
 
Old 08-15-2004, 10:08 PM   #3
spudge
LQ Newbie
 
Registered: Aug 2004
Location: Everett, WA USA
Distribution: SuSE 9.1 Personal
Posts: 2

Original Poster
Rep: Reputation: 0
Hmm good call... didn't know how to launch the gui version from the shell. But yes, both fail. The other one has a slightly different error, here it is:

pooper:~ # yast2
Command: /sbin/yast2 sw_single &
Segmentation fault at SlideShow.ycp:52
/sbin/yast2: line 185: 4343 Segmentation fault $ybindir/y2base $module "$@ " qt -geometry "$Y2_GEOMETRY" $Y2QT_ARGS
Segmentation fault at SlideShow.ycp:52
/sbin/yast2: line 185: 4368 Segmentation fault $ybindir/y2base $module "$@ " qt -geometry "$Y2_GEOMETRY" $Y2QT_ARGS

It's good to see a new error. I'm going to google the heck out of that now :-)
 
Old 09-24-2004, 10:09 AM   #4
gcscheepers
LQ Newbie
 
Registered: Sep 2004
Posts: 5

Rep: Reputation: 0
Hi
I had the same kind of problem, only that the segmentation fault is in line 436. I have not managed to fix it. I tried 2 things, to no avail:

1. re-install ncurses
2. re-install yast packager which contains SlideShow.ycp

What is the solution?
 
Old 09-24-2004, 05:35 PM   #5
ithawtewrong
Member
 
Registered: Jul 2004
Location: Mile High
Posts: 161

Rep: Reputation: 30
I had similar problems before. The only way I found to fix it was to download the RPM's from SuSE's site (new YaST modules were placed recently). I had to install by typing

rpm -Uvh filename.rpm

Once you get them all installed then YaST should function fine from the GUI and command line.
 
Old 09-27-2004, 03:28 AM   #6
gcscheepers
LQ Newbie
 
Registered: Sep 2004
Posts: 5

Rep: Reputation: 0
Thanks for your help.

My system was recently (week or two ago) updated through YOU. The update also disabled my internet connection, modem and lan, but that's another story. It is a previous update that disabled some yast modules. Let's concentrate on yast first.

The following updates for yast was on suse's site:

yast2-core-2.9.94-1.3.i586.rpm
yast2-ncurses-2.9.26-0.3.i586.rpm
yast2-packagemanager-2.9.52-0.2.i586.rpm
yast2-qt-2.9.24-0.4.i586.rpm

All of them were already installed. So I re-installed them through
rpm -Uvh --force *.rpm

No luck, the problem persists. I get the same message:

Segmentation fault at SlideShow.ycp:436
 
Old 09-27-2004, 03:44 AM   #7
micxz
Senior Member
 
Registered: Sep 2002
Location: CA
Distribution: openSuSE, Cent OS, Slackware
Posts: 1,131

Rep: Reputation: 75
use "yast" in the command line. and not yast2. (as " bruno buys" says)
 
Old 10-01-2004, 01:30 AM   #8
gcscheepers
LQ Newbie
 
Registered: Sep 2004
Posts: 5

Rep: Reputation: 0
Both yast and yast2 do not work. Here are the error messages for both:

Yast

Segmentation fault at /usr/share/YaST2/clients/sw_single.ycp:162
sbin/yast: line 185: 15070 Segmentation fault $ybindir/y2base menu ncurses

Yast2

Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
y2controlcenter: cannot connect to X server :0.0

At least the error messages have changed. Previously, yast and yast2 had a segmentation fault in SlideShow.ycp and not sw_single.ycp
 
Old 10-11-2004, 02:03 PM   #9
scsro
LQ Newbie
 
Registered: Oct 2004
Location: Romania
Distribution: Fedora Core
Posts: 1

Rep: Reputation: 0
I had the same problem with my firefox . It did't run anymore. All I could get after running firefox from xterm was "segmentation fault".
After I removed firefox (rpm -e firefox) and re-install in (rpm -Uhv firefox???.rpm) everything became normal again
 
Old 10-11-2004, 02:09 PM   #10
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
Quote:
Originally posted by gcscheepers
Both yast and yast2 do not work. Here are the error messages for both:

Yast

Segmentation fault at /usr/share/YaST2/clients/sw_single.ycp:162
sbin/yast: line 185: 15070 Segmentation fault $ybindir/y2base menu ncurses

Yast2

Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
y2controlcenter: cannot connect to X server :0.0

At least the error messages have changed. Previously, yast and yast2 had a segmentation fault in SlideShow.ycp and not sw_single.ycp
Open a terminal then type:

xhost +

then login as root with su:

su

then try to fire up YaST2 again:

yast2

Hopefully that will work... hopefully...

Last edited by Mega Man X; 10-11-2004 at 02:10 PM.
 
Old 10-12-2004, 12:04 PM   #11
leadazide
Member
 
Registered: Apr 2004
Location: Germany
Distribution: SuSE 11.0, Ubuntu 7.10
Posts: 390

Rep: Reputation: 30
Same problem here after installing Yast2 2.9 on Suse 9.0
 
Old 10-13-2004, 02:25 AM   #12
gcscheepers
LQ Newbie
 
Registered: Sep 2004
Posts: 5

Rep: Reputation: 0
Hi megaman and scsro
megaman, after doing xhost +, yast did open, but the segmentation fault is still there when trying to open some modules.

scsro, i have re-installed and updated the yast packages previously, but it did not work. My system is up to date. I do online updates regularly.
 
Old 10-15-2004, 01:12 PM   #13
ithawtewrong
Member
 
Registered: Jul 2004
Location: Mile High
Posts: 161

Rep: Reputation: 30
Try the kdelibs*.rpm's see if that fixes it. I have seen several post on lots of forums about this. I have had the same problem in the past,
but after applying all updates to all packages it works again.
You will probably end up in dependency hell too so make sure you've got a couple of carbonated beverages close by.
 
Old 10-23-2004, 01:57 PM   #14
rshaw
Senior Member
 
Registered: Apr 2001
Location: Perry, Iowa
Distribution: Mepis , Debian
Posts: 2,692

Rep: Reputation: 45
http://portal.suse.com/sdb/en/2004/0...tafteryou.html
 
Old 11-18-2004, 03:04 AM   #15
klodoma
LQ Newbie
 
Registered: Nov 2004
Posts: 12

Rep: Reputation: 0
Hi!

I have the same problem. This is what I get.

Segmentation fault at /usr/share/YaST2/clients/sw_single.ycp:162
/sbin/yast2: line 185: 8786 Segmentation fault $ybindir/y2base menu ncurses

I tried to reinstall the packages, but still nothing. The yast2 works okay, only the pockage manager fails.

I need to fix it. Success for anyone??

Andy.
 
  


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
YaST .pot files and customizing YaST strangedub SUSE / openSUSE 0 05-12-2005 04:41 PM
GRUB Error When Loading From Yast linuxdawg SUSE / openSUSE 3 02-07-2005 11:37 PM
YaST not loading rampid360 SUSE / openSUSE 4 10-14-2004 03:45 AM
Problem at Yast is loading Philipt Linux - Newbie 2 04-25-2004 08:02 AM
Finding Module Dependencies...(Still loading...still loading..still loading..HANG!!!) Aeudian Linux - General 3 08-11-2003 03:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:05 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