KDE 3.4 Network Error: Unable to create io-slave

I did a portupgrade a few weeks ago, and can't get a network a connection through KDE with Konqueror and Kopete. For instance if I try to got to http"//www.sun.com I get the following error:

An error occured while loading http://www.sun.com:

Could not start process Unable to create io-slave:
klauncher said: Error loading 'kio_http'.

I did another portupgrade yesterday, and still having problems. I even set (clear_tmp_enable="YES") and restarted to clear out all temp files that might have been causing any problems, because some KDE ports where upgraded during the portupgrade.
SquigAsked:
Who is Participating?
 
gheistConnect With a Mentor Commented:
-funroll-loops is known to cause problems with dlopen() etc. I hope -O2 has this option removed in bootstrap compiler ( or gcc 3.x does not suffer from that )
0
 
gheistCommented:
from /usr/ports/UPDATING

20041229:
  AFFECTS: users of x11/kdebase3, x11-servers/xorg-server
  AUTHOR: lofi@freebsd.org

  If KDE does not start anymore after upgrading Xorg to version 6.8.1
  (X restarts when the KDE splash screen has reached the third icon),
  please check whether the directory /tmp/.ICE-unix exists, is owned by root
  and has permissions 1777 (read/write/access for everybody + sticky bit).

  To make sure everything is in working order, do (as root):
  mkdir -p /tmp/.ICE-unix && chmod 1777 /tmp/.ICE-unix &&
  chown root:wheel /tmp/.ICE-unix

  Also, make sure you do NOT have clear_tmp_enable="YES" set in /etc/rc.conf,
  as it will remove the directory on every reboot and applications will re-
  create it with the wrong ownership.

  Users of daily_clean_tmps_enable in /etc/periodic.conf should make sure
  daily_clean_tmps_ignore contains /tmp/.ICE-unix.
0
 
SquigAuthor Commented:
I tied that, but still having problems. I'm able to log in, just the networking problems. Even as root, I'm still getting network problems. below you can see the ownership of the fles you mentioned:

drwxrwxrwt  2 root   wheel  512 May  5 09:21 .ICE-unix
-r--r--r--  1 root   wheel   11 May  5 09:21 .X0-lock
drwxrwxrwt  2 root   wheel  512 May  5 09:21 .X11-unix
-rw-------  1 www    wheel    0 May  4 17:14 apr5VdiPZ
-rw-------  1 root   wheel    0 May  4 10:44 courier-authlib.locktest.6kelc
-rw-------  1 root   wheel    0 May  4 10:33 courier-authlib.locktest.BtEc4
-rw-------  1 root   wheel    0 May  4 10:47 courier-authlib.locktest.CUBZm
-rw-------  1 root   wheel    0 May  4 10:50 courier-authlib.locktest.DQ0kt
-rw-------  1 root   wheel    0 May  4 10:33 courier-authlib.locktest.EwO7v
-rw-------  1 root   wheel    0 May  4 12:26 courier-authlib.locktest.GIcrS
-rw-------  1 root   wheel    0 May  4 10:33 courier-authlib.locktest.RRrCt
-rw-------  1 root   wheel    0 May  4 12:41 courier-authlib.locktest.Skecf
-rw-------  1 root   wheel    0 May  4 12:38 courier-authlib.locktest.UgVJq
-rw-------  1 root   wheel    0 May  4 12:26 courier-authlib.locktest.nwZ2E
-rw-------  1 root   wheel    0 May  4 10:33 courier-authlib.locktest.rp8NW
-rw-------  1 root   wheel    0 May  4 12:26 courier-authlib.locktest.vOAyx
-rw-------  1 root   wheel    0 May  4 12:44 courier-authlib.locktest.xCCEq
-rw-------  1 root   wheel    0 May  4 12:26 courier-authlib.locktest.ys7eR
drwxr-xr-x  2 robbs  wheel  512 May  4 16:29 hsperfdata_robbs
drwxr-xr-x  2 www    wheel  512 May  4 17:14 hsperfdata_www
drwx------  2 robbs  wheel  512 May  5 09:21 kde-robbs
drwx------  2 root   wheel  512 May  4 11:16 kde-root
drwx------  2 robbs  wheel  512 May  5 09:22 ksocket-robbs
drwx------  2 root   wheel  512 May  4 11:16 ksocket-root
drwx------  3 robbs  wheel  512 May  5 09:21 mcop-robbs
drwx------  3 root   wheel  512 May  4 11:16 mcop-root
srwxrwxrwx  1 mysql  wheel    0 May  4 17:14 mysql.sock
0
Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

 
gheistCommented:
drwxrwxrwt  2 root   wheel  512 May  5 09:21 .ICE-unix

your permissions are wrong, thank you
0
 
gheistCommented:
try running konqueror in konsole to see if there are no library mismatches etc.
0
 
SquigAuthor Commented:
Does are the permissions I get when I run the commans from above. Even if I delete the directories and start fresh logging in from root, I still get the error. Also, when I start Konqueror from console, it doesn't say anything about libraries. It gives the same error message.
0
 
SquigAuthor Commented:
Ok, so how's the safest way to remove KDE? I'm going to re-install it. Is it to do a:
pkg_delete kde* arts* qt*
0
 
gheistCommented:
install portupgrade port and force it to fetch upgraded binaries from official archive ... fast and easy
(cvsup-ing ports may be necessary)
this kioslave is in kdebase, links to libraries from kdelibs and qt and some more, run ldd kio_http.so to find out.

0
 
gheistCommented:
stop any kdm and other kde components before doing so ...
0
 
SquigAuthor Commented:
Kewl, I got portupgrade already installed as I use when I'm upgrading ports. I already switched off kdm. I just realised earlier that 5.4 has been released, now I'm temped to upgrade, but I usually prefer doing a clean install :).
0
 
gheistCommented:
you can do 5.3->5.4 in place. there are no problems solved by *clean install*
0
 
SquigAuthor Commented:
Yeah, I just realised. I think the nice weather is getting to me. Thanks for th ehelp, I'll post if I gett he kde network problem solved when I'm all done.
0
 
SquigAuthor Commented:
Ok, I removed kde completely and reinstalled it, when I did it the first time through the ports I still got the error. I removed it again, and then did a binary install using "pkg_add -r kde" and it worked. However, when I did a port upgrade the error is now here again.
0
 
gheistCommented:
port upgrade or sysutils/portupgrade ????
later never broke my kde ( FreeBSD 5.2 -> RELENG_5  - KDE 3.0-> 3.4 , many interim updates, never failed heavily )
1) I update kernel
2) I update world
3) I portupgrade -rR kdelibs ( you can add -P here if your computer us slow )
0
 
SquigAuthor Commented:
I find it weird also, as it's the first I'm having this kind of error. It's a fast computer, a P4 1.80MHZ, 512MB ram. I'm gonna double check my make.conf, I'm not sure if it might be my compiler flags. I might use Gnome, as the machine is mainly a server and I don't do much work on it, and I actually ssh in most of the time from my workstation.
0
 
gheistCommented:
And what are these compiler flags ???
0
 
gheistCommented:
what does ulimit -a say ???
0
 
SquigAuthor Commented:
In short here's my compiler flags from make.conf

CPUTYPE=P4
CFLAGS= -O2 -pipe -funroll-loops
COPTFLAGS= -O2 -pipe

# rest of the stuff for cvsing ports and system
0
 
gheistCommented:
just type info gcc
then type
/-O2
/
and look for yourself ( q exits)
0
 
SquigAuthor Commented:
Ok, I'm recompiling without the funroll-loops to see if i would still have the problem. I also did what you said above "info gcc" then typing /-O2 and I see it. I'm not sure what this mean though, it seems as an info page. It's on a line that seems to have the possible options with -O. But I'll see if I still get the error, now that I removed funroll-loops.
0
 
gheistCommented:
you have to rebuild all libraries that are not directly linked ....
portupgrade -rR probably
0
 
SquigAuthor Commented:
Ok, it seems it was the "-funrool-loops" that was causing problems.
0
 
gheistCommented:
they seem to support -O0 -O1 and -O2 with -O1 being default
-O1 has the advantage that you can still debug the code, for example to find where optimizer broke things.
fairly inpossible with -O2 and up
0
All Courses

From novice to tech pro — start learning today.