It looks like another service (or old running Artifactory) is using the port
8081 needed by Jetty.
You should look for java/jetty processes running "ps -ef | grep java" and
kill them before starting Artifactory.

HTH,

On Tue, Dec 1, 2009 at 1:42 PM, Tranquil <[email protected]> wrote:

>
> i'm attaching both log files.
>
> suspicious lines are:
>
> NO JSP Support for /artifactory, did not find
> org.apache.jasper.servlet.JspServlet
>
> 2009-12-01 13:34:18,873 [main] [WARN ] (o.m.log             :76) - failed
> [email protected]:8081: java.net.BindException: Address
> already
> in use
> 2009-12-01 13:34:18,874 [main] [WARN ] (o.m.log             :76) - failed
> ser...@1277ffa: java.net.BindException: Address already in use
> Could not start the Jetty server: java.net.BindException: Address already
> in
> use
> java.net.BindException: Address already in use
>        at sun.nio.ch.Net.bind(Native Method)
>        at
> sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:119)
>        at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59)
>        at
>
> org.mortbay.jetty.nio.SelectChannelConnector.open(SelectChannelConnector.java:216)
>        at
>
> org.mortbay.jetty.nio.SelectChannelConnector.doStart(SelectChannelConnector.java:315)
>        at
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
>        at org.mortbay.jetty.Server.doStart(Server.java:235)
>        at
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
>        at org.artifactory.standalone.main.Main.main(Main.java:74)
>
> it looks like a problem with jetty or something...
>
> :confused:
>
>
>
> freddy33 wrote:
> >
> > There should be an error log in the file
> > "/opt/artifactory/current/logs/artifactory.log"
> > if not can you try to look in
> /opt/artifactory/current/logs/consoleout.log
> > for error about artifactory webapp.
> >
> > The Artifactory webapp did not start for some reason (file access
> > usually),
> > and that should be visible in the above files (hopefully :).
> >
> > HTH,
> > Fred.
> >
> > On Tue, Dec 1, 2009 at 9:39 AM, Tranquil <[email protected]> wrote:
> >
> >>
> >> i install artifactory on /opt/artifactory/current (where current is a
> >> soft
> >> link to the actual dir).
> >> updated the /etc/artifactory/default also.
> >> ./bin/install.sh completed succesfully.
> >> javascript:Nabble.smiley('anim_working.gif',':working:')
> >>
> >> i run the service: service artifactory start:
> >>
> >> # service artifactory start
> >> Created output file /opt/artifactory/current/logs/consoleout.log
> >> Starting Jetty:
> >> Artifactory home=/opt/artifactory/current
> >> Jetty running pid=11828
> >> # nohup: redirecting stderr to stdout
> >>
> >>
> >> when i try to access the web via: http://localhost:8081/artifactory
> >>
> >> i get a 404 msg:
> >>
> >> Problem accessing /artifactory. Reason:
> >>
> >>    NOT_FOUND
> >>
> >> Powered by Jetty://
> >>
> >>
> >> here's the output of check:
> >>
> >> # service artifactory check
> >> Created output file /opt/artifactory/current/logs/consoleout.log
> >> Checking arguments to Artifactory on Jetty:
> >> ARTIFACTORY_HOME     =  /opt/artifactory/current
> >> JETTY_CONF           =
> >> ARTIFACTORY_USER     =  artifactory
> >> ARTIFACTORY_RUN      =  /var/run
> >> ARTIFACTORY_PID      =  /var/run/artifactory.pid
> >> ARTIFACTORY_CONSOLE  =  /opt/artifactory/current/logs/consoleout.log
> >> JETTY_PORT           =
> >> JETTY_ARGS           =
> >> CONFIGS              =  /opt/artifactory/current/etc/jetty.xml
> >> JAVA_OPTIONS         =  -server -Xms300m -Xmx1g -Xss256k
> >> -XX:PermSize=128m
> >> -XX:MaxPermSize=128m -Djava.awt.headless=true
> >> JAVA                 =  /usr/java/jdk1.6.0_16/bin/java
> >> CLASSPATH            =
> >> RUN_CMD              =  /opt/artifactory/current/bin/artifactory.init
> >> /opt/artifactory/current/etc/jetty.xml
> >>
> >>
> >> any ideas?
> >> :working:
> >> --
> >> View this message in context:
> >>
> http://old.nabble.com/can%27t-run-artifactory-2.1.2-on-fedora-8-32bit-tp26587729p26587729.html
> >> Sent from the Artifactory-Users mailing list archive at Nabble.com.
> >>
> >>
> >>
> >>
> ------------------------------------------------------------------------------
> >> Join us December 9, 2009 for the Red Hat Virtual Experience,
> >> a free event focused on virtualization and cloud computing.
> >> Attend in-depth sessions from your desk. Your couch. Anywhere.
> >> http://p.sf.net/sfu/redhat-sfdev2dev
> >> _______________________________________________
> >> Artifactory-users mailing list
> >> [email protected]
> >> https://lists.sourceforge.net/lists/listinfo/artifactory-users
> >>
> >
> >
> >
> > --
> > Co. Founder and Chief Architect
> > JFrog Ltd
> > http://www.jfrog.org/
> > http://twitter.com/freddy33
> >
> >
> ------------------------------------------------------------------------------
> > Join us December 9, 2009 for the Red Hat Virtual Experience,
> > a free event focused on virtualization and cloud computing.
> > Attend in-depth sessions from your desk. Your couch. Anywhere.
> > http://p.sf.net/sfu/redhat-sfdev2dev
> > _______________________________________________
> > Artifactory-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/artifactory-users
> >
> >
> http://old.nabble.com/file/p26590492/artifactory.log artifactory.log
> http://old.nabble.com/file/p26590492/consoleout.log consoleout.log
> --
> View this message in context:
> http://old.nabble.com/can%27t-run-artifactory-2.1.2-on-fedora-8-32bit-tp26587729p26590492.html
> Sent from the Artifactory-Users mailing list archive at Nabble.com.
>
>
>
> ------------------------------------------------------------------------------
> Join us December 9, 2009 for the Red Hat Virtual Experience,
> a free event focused on virtualization and cloud computing.
> Attend in-depth sessions from your desk. Your couch. Anywhere.
> http://p.sf.net/sfu/redhat-sfdev2dev
> _______________________________________________
> Artifactory-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>



-- 
Co. Founder and Chief Architect
JFrog Ltd
http://www.jfrog.org/
http://twitter.com/freddy33
------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users

Reply via email to