wviewweather.com Forum Index wviewweather.com
wview and Weather Topics
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

cannot stat /usr/local/bin/wviewsqld

 
Post new topic   Reply to topic    wviewweather.com Forum Index -> wview Installation
View previous topic :: View next topic  
Author Message
jensjk



Joined: 27 Feb 2006
Posts: 31
Location: Greenland

PostPosted: Sat Mar 04, 2006 11:38 am    Post subject: cannot stat /usr/local/bin/wviewsqld Reply with quote

I have spent quite a lot of hours installing wview on my SuSE 10.0 system. Everything went fine until start, when ramdrouted would not start. I sought the forum and found the solution in a modifivation of the wview start script for SuSE.

i can now start the system - but it cannot find wviewsqld:

linux:/home/jjk/wview-3.1.4 # /etc/init.d/wview start
Starting wview daemons:
9582
9586
9590
startproc: cannot stat /usr/local/bin/wviewsqld: No such file or directory
startproc: exit status of parent of /usr/local/bin/wvalarmd: 2
startproc: exit status of parent of /usr/local/bin/wvcwopd: 2
startproc: exit status of parent of /usr/local/bin/wviewftpd: 2
startproc: exit status of parent of /usr/local/bin/wviewsshd: 2




- and now I cannot stop wview. I get:

linux:/home/jjk/wview-3.1.4 # /etc/init.d/wview stop
Shutting down wview daemonskillproc: cannot stat /usr/local/bin/wvwunderd: No such file or directory
killproc: cannot stat /usr/local/bin/wviewsqld: No such file or directory

- I did NOT use the wunderground option
I have tried to remove the stratup wview script and restart the pc - no solution. Recompiling wview - same trouble.

Also tried to remove all wview directories an the wview scipt and reboot - at last, I managed to stop wview. Recompile and do it all over again - still:

startproc: cannot stat /usr/local/bin/wviewsqld: No such file or directory

/var/log/messages empty

Help needed from Greenland - jensjk.dk
Back to top
View user's profile Send private message Send e-mail Visit poster's website
cw



Joined: 25 Jul 2005
Posts: 8
Location: Lindon, Utah

PostPosted: Sat Mar 04, 2006 3:34 pm    Post subject: Reply with quote

Your message doesn't make it clear as to if you want the sql demon to be running or not. If you want it you have to enable it when you make. My guess is that you did not use the --enable-mysql or --enable-pgresql options to build the sql demon. Then when you ran the config script you set the SQLDB_ENABLE=1 etc. This would set up the files in /etc/wview to start up the demon that was not built. look at the bottom of /etc/wview/wview.conf to see what the setting is.


Clarence
Back to top
View user's profile Send private message Visit poster's website
jensjk



Joined: 27 Feb 2006
Posts: 31
Location: Greenland

PostPosted: Sun Mar 05, 2006 6:46 am    Post subject: Reply with quote

No - I did NOT configure with sql - confirmed in wviewconfig - so - ?
Back to top
View user's profile Send private message Send e-mail Visit poster's website
bhnb



Joined: 28 Nov 2005
Posts: 127

PostPosted: Sun Mar 05, 2006 6:50 am    Post subject: Reply with quote

You need build and install both radlib and wview with mysql support.
Back to top
View user's profile Send private message
jensjk



Joined: 27 Feb 2006
Posts: 31
Location: Greenland

PostPosted: Sun Mar 05, 2006 7:52 am    Post subject: Reply with quote

But I do not need sql support - have not asked for it, not configured with it - still, wview is trying to start the sql daemon - ?
The problem may be specific to SuSE. When I first tried out wview, it was on FC 2, I did not have that problem - but now I switched to Suse 10 for some other reasons -
Back to top
View user's profile Send private message Send e-mail Visit poster's website
mteel



Joined: 30 Jun 2005
Posts: 435
Location: Collinsville, TX

PostPosted: Sun Mar 05, 2006 10:34 am    Post subject: Reply with quote

Darn-it, I wish I had seen this before releasing 3.2.0 (minutes ago)...

It is a bug in the SuSE start script.

Until the next release, download: http://www.wviewweather.com/wview.sh
and copy it to /etc/init.d/wview.

Mark
Back to top
View user's profile Send private message Send e-mail Visit poster's website
mteel



Joined: 30 Jun 2005
Posts: 435
Location: Collinsville, TX

PostPosted: Sun Mar 05, 2006 10:48 am    Post subject: Reply with quote

Grab it again - I missed the "stop" fixes the first time...
Back to top
View user's profile Send private message Send e-mail Visit poster's website
jensjk



Joined: 27 Feb 2006
Posts: 31
Location: Greenland

PostPosted: Sun Mar 05, 2006 10:48 am    Post subject: Reply with quote

But you are anyway doing a very good job!
So, now I can start wview, runs fine - but still there is a small bug - sorry to let you know:

linux:/home/jjk/wview-3.1.4 # /etc/init.d/wview.sh start
Starting wview daemons:
5810
5814
5818
startproc: exit status of parent of /usr/local/bin/wvalarmd: 2
startproc: exit status of parent of /usr/local/bin/wvcwopd: 2
startproc: exit status of parent of /usr/local/bin/wviewftpd: 2
startproc: exit status of parent of /usr/local/bin/wviewsshd: 2
done
linux:/home/jjk/wview-3.1.4 # /etc/init.d/wview.sh stop
Shutting down wview daemonskillproc: cannot stat /usr/local/bin/wvwunderd: No such file or directory
killproc: cannot stat /usr/local/bin/wviewsqld: No such file or directory
done
linux:/home/jjk/wview-3.1.4 #

- but wview stops all right - so it may be only a cosmetic problem -

Thamk you from Greenland
Back to top
View user's profile Send private message Send e-mail Visit poster's website
mteel



Joined: 30 Jun 2005
Posts: 435
Location: Collinsville, TX

PostPosted: Sun Mar 05, 2006 10:50 am    Post subject: Reply with quote

It is cosmetic, but re-download the wview.sh file, I fixed the cosmetics...
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    wviewweather.com Forum Index -> wview Installation All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group