View previous topic :: View next topic |
Author |
Message |
Jean-Paul SEVESTRE
Joined: 09 Feb 2006 Posts: 30 Location: Fontanes, France
|
Posted: Thu Feb 09, 2006 4:06 am Post subject: Wview installation |
|
|
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 |
|
|
chrisale
Joined: 09 Nov 2005 Posts: 187
|
Posted: Thu Feb 09, 2006 2:15 pm Post subject: |
|
|
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 |
|
|
Jean-Paul SEVESTRE
Joined: 09 Feb 2006 Posts: 30 Location: Fontanes, France
|
Posted: Fri Feb 10, 2006 1:38 am Post subject: |
|
|
I do /etc/rc.d/init.d/wview start as root |
|
Back to top |
|
|
chrisale
Joined: 09 Nov 2005 Posts: 187
|
Posted: Sat Feb 11, 2006 8:58 am Post subject: |
|
|
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 |
|
|
bhnb
Joined: 28 Nov 2005 Posts: 127
|
Posted: Sat Feb 11, 2006 12:23 pm Post subject: |
|
|
Hi Jean-Paul
Like Chris, I'll start with something simple.
Did you run 'make install-env' ?
Regards
Jon |
|
Back to top |
|
|
Jean-Paul SEVESTRE
Joined: 09 Feb 2006 Posts: 30 Location: Fontanes, France
|
Posted: Sat Feb 11, 2006 12:24 pm Post subject: |
|
|
Sorry Chris but I don't know what the cp driver is... If you could tell me a bit more... |
|
Back to top |
|
|
Jean-Paul SEVESTRE
Joined: 09 Feb 2006 Posts: 30 Location: Fontanes, France
|
Posted: Sat Feb 11, 2006 2:07 pm Post subject: |
|
|
No I only did "make install". Should I do make install-env? And what sort of environnement? Just -env? |
|
Back to top |
|
|
bhnb
Joined: 28 Nov 2005 Posts: 127
|
Posted: Sat Feb 11, 2006 2:41 pm Post subject: |
|
|
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 |
|
|
Jean-Paul SEVESTRE
Joined: 09 Feb 2006 Posts: 30 Location: Fontanes, France
|
Posted: Sat Feb 11, 2006 3:28 pm Post subject: |
|
|
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 |
|
|
Jean-Paul SEVESTRE
Joined: 09 Feb 2006 Posts: 30 Location: Fontanes, France
|
Posted: Sun Feb 12, 2006 4:57 am Post subject: |
|
|
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 |
|
|
bhnb
Joined: 28 Nov 2005 Posts: 127
|
Posted: Sun Feb 12, 2006 5:13 am Post subject: |
|
|
Is there anything relevant in your messages file? |
|
Back to top |
|
|
mteel
Joined: 30 Jun 2005 Posts: 435 Location: Collinsville, TX
|
Posted: Sun Feb 12, 2006 8:08 am Post subject: |
|
|
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 |
|
|
Jean-Paul SEVESTRE
Joined: 09 Feb 2006 Posts: 30 Location: Fontanes, France
|
Posted: Sun Feb 12, 2006 11:43 am Post subject: |
|
|
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 |
|
|
mteel
Joined: 30 Jun 2005 Posts: 435 Location: Collinsville, TX
|
Posted: Sun Feb 12, 2006 11:56 am Post subject: |
|
|
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 |
|
|
Jean-Paul SEVESTRE
Joined: 09 Feb 2006 Posts: 30 Location: Fontanes, France
|
Posted: Sun Feb 12, 2006 1:52 pm Post subject: |
|
|
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 |
|
|
|