View previous topic :: View next topic |
Author |
Message |
wbrokow1 Guru
Joined: 03 Jan 2005 Posts: 372
|
Posted: Sun May 01, 2005 10:06 pm Post subject: lisa problem |
|
|
I have lisa emerged but I cant seem to run it.
I get an error:
brokow1 root # /etc/init.d/lisa start
* Starting lisa...
start-stop-daemon: stat /usr/kde/3.3/bin/lisa: No such file or directory
* Failed to start lisa
I am using kde 3.4
Any help troubleshooting would be appreciated. |
|
Back to top |
|
|
jdgill0 Veteran
Joined: 25 Mar 2003 Posts: 1366 Location: Lexington, Ky -- USA
|
Posted: Mon May 02, 2005 3:43 am Post subject: Re: lisa problem |
|
|
wbrokow1 wrote: | I have lisa emerged but I cant seem to run it.
I get an error:
brokow1 root # /etc/init.d/lisa start
* Starting lisa...
start-stop-daemon: stat /usr/kde/3.3/bin/lisa: No such file or directory
* Failed to start lisa
I am using kde 3.4
Any help troubleshooting would be appreciated. |
For starters, it could be that /etc/init.d/lisa is looking in the wrong KDE directory -- /usr/kde/3.3... given you said you were using KDE 3.4. I suspect you might have some environment variables gone crazy ... what do you get from
[EDIT]
OK, I should have looked at /etc/init.d/lisa before I posted. At any rate it seems /etc/init.d/lisa is hardcoded for kde3.3. _________________ Vim has excellent syntax highlighting for configuration files: emerge gentoo-syntax
Learn how to use Vim: vimtutor |
|
Back to top |
|
|
jdgill0 Veteran
Joined: 25 Mar 2003 Posts: 1366 Location: Lexington, Ky -- USA
|
Posted: Mon May 02, 2005 3:52 am Post subject: |
|
|
OK, well I had not emerged lisa myself under KDE 3.4 until now ... and now that I have done it, I see an update with etc-udpate ... the diff shows changing from 3.3 to 3.4 in /etc/init.d/lisa ...
So, when you emerged the kde 3.4 lisa, did you run etc-udpate and accept the changes?
[EDIT]
I still had /etc/init.d/lisa from my previous KDE 3.3 install, which was what I was going by in my previous post. _________________ Vim has excellent syntax highlighting for configuration files: emerge gentoo-syntax
Learn how to use Vim: vimtutor |
|
Back to top |
|
|
wbrokow1 Guru
Joined: 03 Jan 2005 Posts: 372
|
Posted: Mon May 02, 2005 10:28 pm Post subject: |
|
|
I went back and ran etc-update. used the -3 option.
I still get the same error. Should I re-emerge lisa?
THanks for all your help. |
|
Back to top |
|
|
jdgill0 Veteran
Joined: 25 Mar 2003 Posts: 1366 Location: Lexington, Ky -- USA
|
Posted: Mon May 02, 2005 10:45 pm Post subject: |
|
|
I don't remember what -3 is specifically, and I don't have anything to update so I can't check at this time.
You should be able to re-emerge lisa and get the needed change in /etc/init.d/lisa, however if I am not mistaken you can probably just edit /etc/init.d/lisa and change 3.3 to 3.4 -- am not 100% positive, but that could be the only difference in /etc/init.d/lisa for KDE 3.3 and 3.4. Of course, if your machine is not too slow, it doesn't take too long to re-emerge lisa.
Actually, I post here the contents of my /etc/init.d/lisa ... you decide what you want to do, but a re-emerge followed by an etc-update will give you the following
Code: | #!/sbin/runscript
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-base/lisa/files/lisa,v 1.1 2005/01/15 02:24:41 danarmak Exp $
depend() {
use net
}
start() {
ebegin "Starting lisa"
start-stop-daemon --start -x /usr/kde/3.4/bin/lisa -q -- $LISACONF 1>/dev/null
eend $? "Failed to start lisa"
}
stop() {
ebegin "Stopping lisa"
start-stop-daemon --stop -x /usr/kde/3.4/bin/lisa -q
eend $? "Failed to stop lisa"
}
|
_________________ Vim has excellent syntax highlighting for configuration files: emerge gentoo-syntax
Learn how to use Vim: vimtutor |
|
Back to top |
|
|
wbrokow1 Guru
Joined: 03 Jan 2005 Posts: 372
|
Posted: Tue May 03, 2005 1:17 am Post subject: |
|
|
Thanks, it worked!
I edited the script to read 3.4 instead of 3.3.
Again, many thanks!!! |
|
Back to top |
|
|
FishB8 l33t
Joined: 17 Mar 2003 Posts: 820
|
Posted: Tue May 03, 2005 4:38 am Post subject: |
|
|
There are often problems like this with various versions of KDE and hardwired scripts. It's usually a good idea to create a soft link from old KDE installation directories to the new ones in order to get around little problems like this that pop up in unexpected places. _________________ "...as we enjoy great advantages from the inventions of others, we should be glad of an opportunity to serve others by any invention of ours, and this we should do freely and generously." -Benjamin Franklin |
|
Back to top |
|
|
wbrokow1 Guru
Joined: 03 Jan 2005 Posts: 372
|
Posted: Wed May 04, 2005 3:22 pm Post subject: |
|
|
How do I create that soft link?
What should the syntax look like?
Thank you for your time and for your response, I am new to linux. |
|
Back to top |
|
|
jdgill0 Veteran
Joined: 25 Mar 2003 Posts: 1366 Location: Lexington, Ky -- USA
|
Posted: Wed May 04, 2005 4:51 pm Post subject: |
|
|
To create softlink (also known as a symbolic link or symlink) use the following format
Code: | ln -s /some/file/you/want/to/link/to/elsewhere /the/link/is/made/here/
.. i.e. ln -s original_file symlink_file
for example
ln -s /usr/kde/3.3/bin/some_file /usr/kde/3.4/bin/some_file
... this creates a symlink to /usr/kde/3.3/bin/some_file in /usr/kde/3.4/bin/
|
You can do this for you /etc/init.d/lisa .. however, yoiu can just replace your lisa script with what I posted, as that is what should have happened with an etc-update after emerging KDE 3.4. I personally don't like the idea of softlinking from kde 3.3 to 3.4, as it will add problems should you remove kde 3.3 -- but whatever suits the individual _________________ Vim has excellent syntax highlighting for configuration files: emerge gentoo-syntax
Learn how to use Vim: vimtutor |
|
Back to top |
|
|
FishB8 l33t
Joined: 17 Mar 2003 Posts: 820
|
Posted: Thu May 05, 2005 5:52 pm Post subject: |
|
|
Quote: | You can do this for you /etc/init.d/lisa |
Most definately (I would also recommend this)
I should have clarified: The soft linking is just for other cases where this might happen that you don't know about yet. Think of it as a preemptive work-around. If you installed kde 3.4 _AND_ uninstalled kde 3.3 then creating the soft link shouldn't cause any problems. If you have both 3.3 and 3.4 installed in parallel, then _DON'T_ do this, it will really screw things up. _________________ "...as we enjoy great advantages from the inventions of others, we should be glad of an opportunity to serve others by any invention of ours, and this we should do freely and generously." -Benjamin Franklin |
|
Back to top |
|
|
|