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 

Wview installation
Goto page 1, 2  Next
 
Post new topic   Reply to topic    wviewweather.com Forum Index -> Troubleshooting
View previous topic :: View next topic  
Author Message
Jean-Paul SEVESTRE



Joined: 09 Feb 2006
Posts: 30
Location: Fontanes, France

PostPosted: Thu Feb 09, 2006 4:06 am    Post subject: Wview installation Reply with quote

Hello everybody, I am new here,
Thanks to Mark Steel and Chris Alemany for their help.
I am painfully trying to set up Wview on a Mandriva 2006 machine to publish a web page.
So far Wview seems to be installed OK but I cannot start it.
This is either due because I have done something wrong or because I used the RedHat start script since there is no Mandiva start script already done.
When doing /etc/rc.d/init.d/wview start I get the following:
Starting wview daemons:

radmrouted: radProcessInit failed: radmrouted

wviewsqld[19971]: <1311077951> : wview daemon lock file /var/wview/wviewd.pid does not exist - aborting!
htmlgend[19972]: <1311078096> : system init failed!

Any idea what I could do to start Wview please??
Back to top
View user's profile Send private message Visit poster's website
chrisale



Joined: 09 Nov 2005
Posts: 187

PostPosted: Thu Feb 09, 2006 2:15 pm    Post subject: Reply with quote

Something simple first...

are you starting the script as your own user, or as root/sudo?

I have to start mine via:

sudo /etc/init.d/wview

to get it to go... it has to run as "root" user.
Back to top
View user's profile Send private message MSN Messenger
Jean-Paul SEVESTRE



Joined: 09 Feb 2006
Posts: 30
Location: Fontanes, France

PostPosted: Fri Feb 10, 2006 1:38 am    Post subject: Reply with quote

I do /etc/rc.d/init.d/wview start as root
Back to top
View user's profile Send private message Visit poster's website
chrisale



Joined: 09 Nov 2005
Posts: 187

PostPosted: Sat Feb 11, 2006 8:58 am    Post subject: Reply with quote

Hi Jean-Paul,

It looks to me at least that the script seems to be working for you but it's hanging up on something. The way I understand it... everything is started in a specific sequence, so if radmrouted doesn't start, nothing else will start either.

Did you load the cp driver again? (if you restarted in between, you may have to load it again)

hopefully others can provide a little more help.

good luck
Back to top
View user's profile Send private message MSN Messenger
bhnb



Joined: 28 Nov 2005
Posts: 127

PostPosted: Sat Feb 11, 2006 12:23 pm    Post subject: Reply with quote

Hi Jean-Paul

Like Chris, I'll start with something simple.

Did you run 'make install-env' ?

Regards

Jon
Back to top
View user's profile Send private message
Jean-Paul SEVESTRE



Joined: 09 Feb 2006
Posts: 30
Location: Fontanes, France

PostPosted: Sat Feb 11, 2006 12:24 pm    Post subject: Reply with quote

Sorry Chris but I don't know what the cp driver is... If you could tell me a bit more...
Back to top
View user's profile Send private message Visit poster's website
Jean-Paul SEVESTRE



Joined: 09 Feb 2006
Posts: 30
Location: Fontanes, France

PostPosted: Sat Feb 11, 2006 2:07 pm    Post subject: Reply with quote

No I only did "make install". Should I do make install-env? And what sort of environnement? Just -env?
Back to top
View user's profile Send private message Visit poster's website
bhnb



Joined: 28 Nov 2005
Posts: 127

PostPosted: Sat Feb 11, 2006 2:41 pm    Post subject: Reply with quote

From section 4.5 of the User Manual:
If this is a new install or you want to obtain new wview templates, images
and config files, install binaries and create the run environment.
make install-env

Hopefully this should fix it.
Back to top
View user's profile Send private message
Jean-Paul SEVESTRE



Joined: 09 Feb 2006
Posts: 30
Location: Fontanes, France

PostPosted: Sat Feb 11, 2006 3:28 pm    Post subject: Reply with quote

I tried install-env
and then /etc/rc.d/init.d/wview start
and I got:

Starting wview daemons:
radlib router pid file /var/wview/radmrouted.pid exists - killing existing process
/etc/rc.d/init.d/wview: line 58: kill: (25648) - Aucun processus de ce type
wviewd pid file /var/wview/wviewd.pid exists - killing existing process
/etc/rc.d/init.d/wview: line 63: kill: (25652) - Aucun processus de ce type

Thanks anyway and I am sure that with all these cooperative brains working for me I should be able to start Wview shortly.

Bye for now. I'll look at the board tomorrow morning.
Back to top
View user's profile Send private message Visit poster's website
Jean-Paul SEVESTRE



Joined: 09 Feb 2006
Posts: 30
Location: Fontanes, France

PostPosted: Sun Feb 12, 2006 4:57 am    Post subject: Reply with quote

I restarted my machine and ran "/etc/rc.d/init.d/wview start" again
This time the answer was:
Starting wview daemons:

So it looks like things are improving but thereis still no Wview program in sight...
Back to top
View user's profile Send private message Visit poster's website
bhnb



Joined: 28 Nov 2005
Posts: 127

PostPosted: Sun Feb 12, 2006 5:13 am    Post subject: Reply with quote

Is there anything relevant in your messages file?
Back to top
View user's profile Send private message
mteel



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

PostPosted: Sun Feb 12, 2006 8:08 am    Post subject: Reply with quote

You do realize that wview is a collection of daemons - by definition "not in sight".

If /var/log/messages output looks similar to the example output in the User Manual (Troubleshooting), then you may be in business.

If you want wview to be "in sight", open a browser on your /var/wview/img/index.html file...

If it behaved better after a reboot, you probably had rogue daemons and IPC data from earlier failed attempts hanging aroud. Again, the UM Troubleshooting section addresses clean stops and starts of wview.

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



Joined: 09 Feb 2006
Posts: 30
Location: Fontanes, France

PostPosted: Sun Feb 12, 2006 11:43 am    Post subject: Reply with quote

Thanks Mark,
I do reallise now deamons job and pleased to "see" something with /var/wview/img/index.html
It is not yet good at all, but at least it does exist. In particular units are not the ones I want.

I stopped and started Wview again and looked at /var/log/messages. Everething goes fine until the following:
wviewsqld[11254]: <1599073085> : raddatabaseOpen: mysql_real_connect(): error 1045 (Access denied for user 'sqlusername'@'localhost' (using password: YES))

It looks like I should tell the mysql database a user name and a password. I am wrong? How to do that?
Back to top
View user's profile Send private message Visit poster's website
mteel



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

PostPosted: Sun Feb 12, 2006 11:56 am    Post subject: Reply with quote

Read the User Manual - it has detailed info about setting up the database.

There are even separate sections for MySQL and PostGres...

The User Manual is your friend!

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



Joined: 09 Feb 2006
Posts: 30
Location: Fontanes, France

PostPosted: Sun Feb 12, 2006 1:52 pm    Post subject: Reply with quote

Unfortunately mysql -u root -p does not let me in.
I tried root password.
I tried "sqlpassword"
I tried myself password
I tried mysql -u mysqlusername -p and "sqlpassword"
No way, and I do not remember ever setting up a username and password for Mysql data base. If it where the case, where should I look for to find it?
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    wviewweather.com Forum Index -> Troubleshooting All times are GMT - 6 Hours
Goto page 1, 2  Next
Page 1 of 2

 
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