| View previous topic :: View next topic | 
	
	
		| Author | Message | 
	
		| jensjk 
 
 
 Joined: 27 Feb 2006
 Posts: 31
 Location: Greenland
 
 | 
			
				|  Posted: Sat Mar 04, 2006 11:38 am    Post subject: cannot stat /usr/local/bin/wviewsqld |   |  
				| 
 |  
				| 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 |  | 
	
		|  | 
	
		| cw 
 
 
 Joined: 25 Jul 2005
 Posts: 8
 Location: Lindon, Utah
 
 | 
			
				|  Posted: Sat Mar 04, 2006 3:34 pm    Post subject: |   |  
				| 
 |  
				| 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 |  | 
	
		|  | 
	
		| jensjk 
 
 
 Joined: 27 Feb 2006
 Posts: 31
 Location: Greenland
 
 | 
			
				|  Posted: Sun Mar 05, 2006 6:46 am    Post subject: |   |  
				| 
 |  
				| No - I did NOT configure with sql - confirmed in wviewconfig - so - ? |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| bhnb 
 
 
 Joined: 28 Nov 2005
 Posts: 127
 
 
 | 
			
				|  Posted: Sun Mar 05, 2006 6:50 am    Post subject: |   |  
				| 
 |  
				| You need build and install both radlib and wview with mysql support. |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| jensjk 
 
 
 Joined: 27 Feb 2006
 Posts: 31
 Location: Greenland
 
 | 
			
				|  Posted: Sun Mar 05, 2006 7:52 am    Post subject: |   |  
				| 
 |  
				| 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 |  | 
	
		|  | 
	
		| mteel 
 
  
 Joined: 30 Jun 2005
 Posts: 435
 Location: Collinsville, TX
 
 | 
			
				|  Posted: Sun Mar 05, 2006 10:34 am    Post subject: |   |  
				| 
 |  
				| 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 |  | 
	
		|  | 
	
		| mteel 
 
  
 Joined: 30 Jun 2005
 Posts: 435
 Location: Collinsville, TX
 
 | 
			
				|  Posted: Sun Mar 05, 2006 10:48 am    Post subject: |   |  
				| 
 |  
				| Grab it again - I missed the "stop" fixes the first time... |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| jensjk 
 
 
 Joined: 27 Feb 2006
 Posts: 31
 Location: Greenland
 
 | 
			
				|  Posted: Sun Mar 05, 2006 10:48 am    Post subject: |   |  
				| 
 |  
				| 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 |  | 
	
		|  | 
	
		| mteel 
 
  
 Joined: 30 Jun 2005
 Posts: 435
 Location: Collinsville, TX
 
 | 
			
				|  Posted: Sun Mar 05, 2006 10:50 am    Post subject: |   |  
				| 
 |  
				| It is cosmetic, but re-download the wview.sh file, I fixed the cosmetics... |  | 
	
		| Back to top |  | 
	
		|  | 
	
		|  |