Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 19th May 2012, 08:22 PM
sdlor Offline
Registered User
 
Join Date: Mar 2008
Location: The Great Inland Northwest
Posts: 207
linuxchrome
Services, Samba, Firewall and some other Apps will not open.

Hi All. ..Have already spent hours trying to figure this out. Basically, here's what I'm seeing:
(F16-PAE, 32 bit; GeForce GT 430)
Code:
 [root@Rock /]# system-config-services
Illegal instruction
[root@Rock /]# system-config-firewall
Illegal instruction
[root@Rock /]# system-config-samba
Illegal instruction
[root@Rock /]#
And cannot open them with the graphical prompts either. Have tried to open them in Gnome-shell, gnome-fallback mode and in MATE DE.. no joy.. (the mouse cursor spins for several seconds then stops)

These two do work, and the graphical applications open up:
Code:
[root@Rock /]# system-config-httpd
/usr/share/system-config-httpd/ApacheConf.py:66: GtkWarning: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
  xml = gtk.glade.XML (glade_file, domain=PROGNAME)
Code:
[root@Rock /]# system-config-firewall-tui
[root@Rock /]#
Can anybody point me in the right direction?.. (Have seen a lot of threads about dbus stuff; but they're all fairly old).. My thanks- in advance- to any replies..

Some more info:
Code:
[root@Rock /]# system-config-services
No protocol specified
Traceback (most recent call last):
  File "/usr/sbin/system-config-services", line 34, in <module>
    import gtk
  File "/usr/lib/python2.7/site-packages/gtk-2.0/gtk/__init__.py", line 64, in <module>
    _init()
  File "/usr/lib/python2.7/site-packages/gtk-2.0/gtk/__init__.py", line 52, in _init
    _gtk.init_check()
RuntimeError: could not open display
[root@Rock /]#

[root@Rock /]# system-config-samba
No protocol specified
system-config-samba requires an X-Window display.
[root@Rock /]#
__________________
F17-PAE, 32 bit; GeForce GT 430

Last edited by sdlor; 19th May 2012 at 09:10 PM. Reason: Grammatical and/or spelling..
Reply With Quote
  #2  
Old 20th May 2012, 11:47 AM
george_toolan Online
Registered User
 
Join Date: Dec 2006
Posts: 1,719
linuxfirefox
Re: Services, Samba, Firewall and some other Apps will not open.

You can't run it from a text console, because the gui needs a X server to connect to.

Please check your python configuration

Code:
ls -l `which system-config-services`
less `which system-config-services`

ls -l /usr/bin/python
ls -l /usr/bin/python2
To find out more about the illegal instruction:

Code:
strace system-config-services
Reply With Quote
  #3  
Old 20th May 2012, 05:53 PM
sdlor Offline
Registered User
 
Join Date: Mar 2008
Location: The Great Inland Northwest
Posts: 207
linuxchrome
Re: Services, Samba, Firewall and some other Apps will not open.

Re: Post # 2, ..Thank you so much for the quick reply.
The xserver is running. Shouldn't the command: "system-config-services" (normally) call the x-server and open up a gui session, just as in selecting "services" from a gui menu? (Which doesn't work either).
Code:
[root@Rock /]# ls -l `which system-config-services`
lrwxrwxrwx 1 root root 38 May 19 08:43 /usr/sbin/system-config-services -> ../share/system-config-services/gui.py
"less 'which system-config-services'" displays "gui.py". (usr/share/system-config-services/gui.py) .. (Did not want to paste the whole program, but here is a part of it (showing line # 34)):
Code:
#!/usr/bin/python
# -*- coding: utf-8 -*-

# gui.py
# Copyright © 2008, 2009, 2011 Red Hat, Inc.

23 """ system-config-services: This module contains GUI functionality. """
24
25 import scservices.config as config
26 from scservices.core.systemd.manager import SystemDManager
27 from scservices.core.systemd.unit import SystemDService
28 from scservices.core.systemd.util import check_systemd_active
29
30 import os.path
31 import sys
32
33 import gobject
34 import gtk
35 import gtk.glade
36
37 import slip.dbus.polkit
38 import slip.gtk
Code:
[root@Rock /]# ls -l /usr/bin/python
lrwxrwxrwx 1 root root 7 May  6 06:25 /usr/bin/python -> python2
[root@Rock /]# ls -l /usr/bin/python2
lrwxrwxrwx 1 root root 9 May  6 06:25 /usr/bin/python2 -> python2.7
[root@Rock /]#
The command: "strace system-config-services" opens up a very, very long display with lots of lines that say: "No such file or directory" and (literally) hundreds of other things.. Looks to me like I may have to give up on this one. Have been able to do Yum Upgrades for the last few Fedora versions (including this one; which did work fairly well, up until a couple of weeks ago). But- when F17 finally comes out- may have to do a fresh install.. Still, if anybody has any suggestions on how to fix this, I sure would appreciate any replies.
__________________
F17-PAE, 32 bit; GeForce GT 430
Reply With Quote
  #4  
Old 1st June 2012, 12:44 AM
sdlor Offline
Registered User
 
Join Date: Mar 2008
Location: The Great Inland Northwest
Posts: 207
linuxchrome
Re: Services, Samba, Firewall and some other Apps will not open.

Hi All,
Gonna mark this one as solved. Never did figure out how to fix it. But, did a DVD upgrade to Fedora 17; and all the problems went away..
__________________
F17-PAE, 32 bit; GeForce GT 430
Reply With Quote
Reply

Tags
apps, firewall, open, samba, services

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Add custom trusted services to firewall? Paavo Servers & Networking 1 20th January 2010 10:35 PM
System>Administration>Services won't open zackd Using Fedora 6 18th December 2008 07:17 PM
Services (samba) bookie Using Fedora 2 8th December 2008 12:37 PM
Problems with firewall and other apps cdubks88 Security and Privacy 0 20th August 2005 02:45 PM
open office apps wont open carneyc Fedora Core 4 Test 7 5th May 2005 11:29 AM


Current GMT-time: 13:04 (Monday, 20-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat