On Mon, Oct 24, 2011 at 11:36 AM, Ali Al-Shabibi <[email protected]> wrote: > In this case, run make install again and re-initialize your password. If > that doesn't work, we'll dig deeper.
Also, the 'fvconfig' command has a `reset password` option that just uses unix file permissions for authorization. Don't run it on a running flowvisor. - Rob . > -- > Ali Al-Shabibi > On 24 oct. 2011, at 10:51, Harry Sbg <[email protected]> wrote: > > Ali/Rob, > I was thrown off by http-alt ... Doing "netstat -a -n", now I see port > 8080. > Flowvisor is using v6 stack apparently ... > > tcp6 0 0 :::6633 :::* > LISTEN > tcp6 0 0 :::8080 :::* > LISTEN > > Yes, fvctl prompts for fvadmin password. I typed in what I think is the > correct > password and got the following. Somewhat baffled ... > > Enter fvadmin's passwd: > error: org.apache.xmlrpc.client.XmlRpcHttpTransportException: HTTP server > returned unexpected status: Unauthorized > > > ________________________________ > From: Ali Al-Shabibi <[email protected]> > To: Rob Sherwood <[email protected]> > Cc: Harry Sbg <[email protected]>; > "[email protected]" <[email protected]> > Sent: Monday, October 24, 2011 8:19 AM > Subject: Re: [openflow-discuss] Flowvisor question > > Did fvctl prompt you for a password at all? > > -- > Ali Al-Shabibi > > On Oct 24, 2011, at 8:14, Rob Sherwood <[email protected]> wrote: > >> Harry, >> >> The error you're getting is 'NotAuthorized', which would only happen >> if fvctl is correctly connecting to port 8080 (check netstat again?), >> parsing your paswsword, and telling you that it's not correct. >> >> HTH, >> >> - Rob >> . >> >> On Mon, Oct 24, 2011 at 7:44 AM, Harry Sbg <[email protected]> >> wrote: >>> Thanks, Ali. >>> >>> Omitting the passwd-file option didn't help. >>> I tried "netstat -a". I saw ports 6633 but not 8080. >>> Is this a clue that somehow my flowvisor isn't installed (or configured) >>> properly ? >>> >>> ________________________________ >>> From: Ali Al-Shabibi <[email protected]> >>> To: Harry Sbg <[email protected]> >>> Cc: "[email protected]" >>> <[email protected]> >>> Sent: Monday, October 24, 2011 7:27 AM >>> Subject: Re: [openflow-discuss] Flowvisor question >>> >>> Hi Harry, >>> >>> During the install process you were prompted to enter a password. Did you >>> put that password in your .fvp file? Otherwise you could just drop the >>> --passwd-file option, at which point fvctl will prompt you for password. >>> Let me know if this helps. >>> >>> -- >>> Ali Al-Shabibi >>> On Oct 23, 2011, at 23:28, Harry Sbg <[email protected]> wrote: >>> >>> Hi, >>> I just installed flowvisor 0.8.1.2 on my Ubuntu 11.10 with 3.0.0-12 >>> kernel. >>> I started flowvisor as follows: >>> sudo /usr/sbin/flowvisor /usr/etc/flowvisor/config.xml -v >>> Running with FV_JVM_ARGS=-server -Xms100M -Xmx1000M >>> -XX:OnError=flowvisor-crash-logger -XX:+UseConcMarkSweepGC >>> --- Setting logging level to NOTE >>> >>> then I tried connecting using fvctl as follows (and got the http >>> transport >>> error): >>> >>> fvctl --passwd-file=.fvp listFlowSpace >>> error: org.apache.xmlrpc.client.XmlRpcHttpTransportException: HTTP server >>> returned unexpected status: Unauthorized >>> >>> and the flowvisor logs the following: >>> >>> Oct 23, 2011 4:17:53 PM org.apache.xmlrpc.server.XmlRpcErrorLogger log >>> SEVERE: Not authorized >>> org.apache.xmlrpc.common.XmlRpcNotAuthorizedException: Not authorized >>> at >>> >>> org.apache.xmlrpc.server.ReflectiveXmlRpcHandler.execute(ReflectiveXmlRpcHandler.java:84) >>> at >>> >>> org.apache.xmlrpc.server.XmlRpcServerWorker.execute(XmlRpcServerWorker.java:46) >>> at org.apache.xmlrpc.server.XmlRpcServer.execute(XmlRpcServer.java:86) >>> at >>> >>> org.apache.xmlrpc.server.XmlRpcStreamServer.execute(XmlRpcStreamServer.java:200) >>> at org.apache.xmlrpc.webserver.Connection.run(Connection.java:208) >>> at >>> org.apache.xmlrpc.util.ThreadPool$Poolable$1.run(ThreadPool.java:68) >>> >>> Can you help ? Thanks ! >>> >>> _______________________________________________ >>> openflow-discuss mailing list >>> [email protected] >>> https://mailman.stanford.edu/mailman/listinfo/openflow-discuss >>> >>> >>> >>> _______________________________________________ >>> openflow-discuss mailing list >>> [email protected] >>> https://mailman.stanford.edu/mailman/listinfo/openflow-discuss >>> >>> > > > _______________________________________________ openflow-discuss mailing list [email protected] https://mailman.stanford.edu/mailman/listinfo/openflow-discuss
