Installing Galleon on Linux

Discussion in 'TiVo Home Media Features & TiVoToGo' started by smoothtivo, Nov 8, 2005.

  1. Oct 1, 2007 #101 of 138
    seanatki

    seanatki New Member

    5
    0
    Sep 27, 2007

    Advertisements

    I posted this over in the "Galleon Development Restarting" thread, but it's getting ignored. I guess it's more appropriate for this thread.


    I'm having an issues with the wrapper in Ubuntu.

    I see "Galleon 2.5.1 is starting," but after 2 minutes, it spits out alot of mess. The beginning of that mess is indicated in the log file as:

    "Startup failed: Timed out waiting for signal from JVM."

    The wrapper then tries again with a different JVM. This continues unless I stop it.

    Any ideas on what would cause this error?

    Edit: Hear is a txt file of the jvm dump after the hang
     

    Attached Files:

  2. Oct 1, 2007 #102 of 138
    windracer

    windracer joined the 10k club

    12,275
    219
    Jan 3, 2003
    St. Pete, FL
    No idea, sorry! What version of java are you using? Is there anything else in the wrapper or Galleon log files?
     
  3. Oct 1, 2007 #103 of 138
    seanatki

    seanatki New Member

    5
    0
    Sep 27, 2007
    On a whim, I made the timeout value 500 seconds instead of the default 120 seconds in wrapper.conf. This reports back that the Galleon is ready. I guess it needed more time!

    Now I have the same problem I had before, in that the server is running, but now the GUI won't run. Is it possible to run the GUI on a computer other than the server?
     
  4. Oct 1, 2007 #104 of 138
    s2kdave

    s2kdave New Member

    515
    0
    Jan 27, 2005
    I don't think it will run across machines. I've tried it a couple times. It's really annoying. I'm sure it can be changed so it will run across machines, but it will take some debugging and code changes. I wish it was just a web page rather than a java GUI that used RMI.

    I have a headless linux install so what I did was run galleon on another machine to generate the configure.xml file, then copy that file over to my linux machine.
     
  5. Oct 1, 2007 #105 of 138
    s2kdave

    s2kdave New Member

    515
    0
    Jan 27, 2005

    Advertisements

    One thing to check is your firewall for denies. The GUI uses RMI to connect to the server so it might be blocking that port. The default for RMI is 1099, not sure if Galleon changed the port number or not. Also don't attempt to start the GUI until after you see the Galleon started message in the log or it hangs.
     
  6. juanian

    juanian Member

    486
    0
    Oct 1, 2002
    Chandler, AZ
    I haven't used the latest version of Galleon, but with earlier versions, I was able to run the GUI on a different machine than the one the server was running on. I had the server running on a Windows 98 machine, and ran the GUI on a Mac running OS X.

    I had to make a change to the gui.sh file; I added $1 to the end of the java line, then ran the GUI as follows:
    cd <Galleon bin directory>; ./gui.sh <ip address of server>

    The only problem I had was if I modified the preferences; if I did, it changed the format of the 'skin' value from PC format to Unix format.

    I don't think this ability would have been disabled, but I must admit I haven't used it in a while.
     
  7. ocntscha

    ocntscha Member

    149
    0
    Oct 22, 2003
    You can run practically any graphical program on a "headless" Linux box and have the graphics displayed on and receive input from (mouse and keyboard) another computer. Its easy. I Googled X11 display export for you guys, the second link looks pretty good, lf222, UNIXBasics: Running applications remotely with X11 Also, check out ssh -Y or ssh -X.
     
  8. windracer

    windracer joined the 10k club

    12,275
    219
    Jan 3, 2003
    St. Pete, FL
  9. windracer

    windracer joined the 10k club

    12,275
    219
    Jan 3, 2003
    St. Pete, FL
  10. txGeekGod

    txGeekGod New Member

    28
    0
    Jun 12, 2004
    Texas
    Have you tried issuing "xhost +" from a command line on the box?

    If that works, don't forget to "xhost -" when you're done.

    Bill
     
  11. TiVoter123

    TiVoter123 New Member

    146
    0
    Jan 1, 2001
    Orange, CA
    Malibyte,

    Did you ever find a fix for this? I am having the same problem trying to install on Ubuntu.
     
  12. s2kdave

    s2kdave New Member

    515
    0
    Jan 27, 2005
    My first guess is that your multicast broadcast address isn't set up on your linux. The stack trace shows it's trying to send the UDP packets out to broadcast to all your tivos on your LAN about the new applications. I would double check to see if that interface has multicast running doing an "ifconfig". You should see something like this:

    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

    and it should have a broadcast IP for "Bcast:"
     
  13. s2kdave

    s2kdave New Member

    515
    0
    Jan 27, 2005
    You could also try manually connecting your tivo to your IP. It doesn't need UDP in that case to see if it works.
     
  14. TiVoter123

    TiVoter123 New Member

    146
    0
    Jan 1, 2001
    Orange, CA
    Code:
    root@userver:/usr/share/galleon/logs# ifconfig
    eth1      Link encap:Ethernet  HWaddr 00:14:2A:02:17:93
              inet addr:192.168.1.204  Bcast:192.168.1.255  Mask:255.255.255.0
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:114968237 errors:0 dropped:0 overruns:0 frame:0
              TX packets:113391983 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:3862276664 (3.5 GiB)  TX bytes:1334907307 (1.2 GiB)
              Interrupt:18 Base address:0xe400
    
    lo        Link encap:Local Loopback
              inet addr:127.0.0.1  Mask:255.0.0.0
              UP LOOPBACK RUNNING  MTU:16436  Metric:1
              RX packets:3911 errors:0 dropped:0 overruns:0 frame:0
              TX packets:3911 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0
              RX bytes:1356864 (1.2 MiB)  TX bytes:1356864 (1.2 MiB)
    
    Looks like broadcast is running. Also, manually adding server at 192.168.1.204 on the tivo doesn't seem to work -- trying to connect to it tivo tells me that it can't find a server at that address.
     
  15. s2kdave

    s2kdave New Member

    515
    0
    Jan 27, 2005
    actually, looking at the stack again, the exception is most likely preventing the app from opening the socket so a manual connection won't work unless you can get rid of that stack trace either by disabling the multicast jmdns or fixing the udp problem. I suppose it's also possible that the jmdns is trying to bind to the loopback address to do the broadcast which doesn't have multicast (and shouldn't)

    Are you running SELinux? if so, check the secure log for any denies when creating the udp packet.
     
  16. TiVoter123

    TiVoter123 New Member

    146
    0
    Jan 1, 2001
    Orange, CA
    I'm not running SELinux -- I'm running Ubuntu (Feisty Fawn).

    I am not sure how to do this? I did a quick google and didn't see anything...

    There could be something going on here. If i disable the loopback connection (ifdown lo), when I start the galleon server, it doesn't generate any logs except for wrapper.log, which contains only:

    Code:
    STATUS | wrapper  | 2007/10/24 16:43:17 | --> Wrapper Started as Daemon
    STATUS | wrapper  | 2007/10/24 16:43:17 | Launching a JVM...
    INFO   | jvm 1    | 2007/10/24 16:43:17 | Wrapper (Version 3.2.3) http://wrapper
    .tanukisoftware.org
    INFO   | jvm 1    | 2007/10/24 16:43:17 |   Copyright 1999-2006 Tanuki Software,
     Inc.  All Rights Reserved.
    INFO   | jvm 1    | 2007/10/24 16:43:17 |
    
    Trying to start up the gui in this scenario results in just the splash image coming up, but nothing else, not even a box trying to connect to the server and failing.
     
  17. Malibyte

    Malibyte Took the red pill

    128
    0
    Jun 12, 2005
    Simi Valley, CA
    Yes. I had been trying to run it on a box that was also acting as a firewall for my network. Since I moved it to another machine on my internal network (my media server) - it's been working fine.

    HTH
    Bob
     
  18. lrhorer

    lrhorer Active Member

    6,933
    10
    Aug 31, 2003
    San...
    I'm running Galleon 2.4.0 Alpha under Debian Sarge, and I just tried to upgrade to 2.5.1. The old version of Galleon resides in /Galleon. I put the install package into /Galleon_2.5, and copied the /Galleon/conf directory to /etc/galleon. When I su to root and run "make upgrade" I get the following output:

    LinuxServer:/Galleon_2.5# make upgrade
    cp -f /etc/galleon/configure.xml /tmp/configure.xml.save
    chkconfig --del galleon
    make: chkconfig: Command not found
    make: *** [uninstall] Error 127

    If I try running "make install", I get some directories created, some files copied, some chmod commands, some links created and then the output"

    chkconfig --add galleon
    make: chkconfig: Command not found
    make: *** [install] Error 127

    OK, so now what? I'm not familiar with the chkconfig command.
     
  19. nrc

    nrc Cracker Soul

    2,490
    35
    Nov 17, 1999
    Living in a...
    chkconfig is a command used in some distros (RedHat/Fedora/others) to activate and deactivate startup scripts by linking them from /etc/init.d into the appropriate rc directory.

    This thread contains a fix to replace chkconfig with update-rc.d. http://www.tivocommunity.com/tivo-vb/showthread.php?t=369945
     
  20. TiVoter123

    TiVoter123 New Member

    146
    0
    Jan 1, 2001
    Orange, CA
    Heh... look at that... disabled my firewall (forgot that it was even running) and all of a sudden everything works :)

    Thanks for the trigger-reminder!
     

Share This Page

spam firewall

Advertisements