[Wien] for the second time problem with w2web"Error - Failed to open file"

Peter Blaha pblaha at theochem.tuwien.ac.at
Fri May 13 13:37:15 CEST 2011


>    first:i have this _make: *** No rule to make target `clean'.  Stop.
>    make: *** No targets.  Stop _in compil.msg  in  the folder SCR_w2web

This is ok. No error.


>     sufyan2020 at sufyan:~/WIEN2k/SRC_w2web/bin$ ./w2web
>     w2web failed to bind port 7890 - port already in use!
>     You may want to try w2web -p portnumber
>     sufyan2020 at sufyan:~/WIEN2k/SRC_w2web/bin$ ./w2web -p 8890
>     w2web failed to bind port 8890 - port already in use!
>     You may want to try w2web -p portnumber
>     sufyan2020 at sufyan:~/WIEN2k/SRC_w2web/bin$ ./w2web -p 8880
>     w2web server started, now point your web browser to
>     http://sufyan:8880 <http://sufyan:8880/>
>     sufyan2020 at sufyan:~/WIEN2k/SRC_w2web/bin$ ,
>     after that when i point  my web browser to http://sufyan:8880 <http://sufyan:8880/>
>       .....
>       but  i have this
>
>
>       Error - Failed to open file

I suggest:

ps -ef | grep w2web

kill -9  pid      (where this line should be repeated to all pids of all w2web lines found above)

cd
rm -r .w2web   (notice the "." before w2web)

w2web

You should start w2web ONLY ONCE, not try to start it several times using different ports.


-- 

                                       P.Blaha
--------------------------------------------------------------------------
Peter BLAHA, Inst.f. Materials Chemistry, TU Vienna, A-1060 Vienna
Phone: +43-1-58801-15671             FAX: +43-1-58801-15698
Email: blaha at theochem.tuwien.ac.at    WWW: http://info.tuwien.ac.at/theochem/
--------------------------------------------------------------------------


More information about the Wien mailing list