pulpTunes Community Forums The Web Server for iTunes

Please login or register.

Login with username, password and session length
Advanced search  

News:

Author Topic: Installing in Linux problems  (Read 865 times)

jredit

  • Padawan
  • **
  • Posts: 5
    • View Profile
Installing in Linux problems
« on: December 13, 2009, 08:39:54 PM »

I read through the FAQs here but I am still unable to install pulptunes.  Hopefully someone can help out.  I have downloaded pulptunes and moved the unzipped folder to my linux machine (Crunchbang OS) but I cannot run pt_linux.sh.  I get the error message

-bash: /home/john/media/pulptunes/pt_linux.sh: Permission denied  OR
-bash: ./pt_linux.sh: Permission denied

I am new to linux (I read an article on MacLife about creating a linux media server and thought it would be fun to set up) so I'm not sure how to fix this error even after a lot of googling.  The readme file says to double click the PulpTunes.jar file but that doesn't work either.  Any ideas?  Thanks.
Logged

alpeb

  • Administrator
  • Grand Master
  • *****
  • Gender: Male
  • Posts: 402
    • View Profile
    • Email
Re: Installing in Linux problems
« Reply #1 on: December 13, 2009, 08:44:18 PM »

I think the problem are file permissions. Do this:
Code: [Select]
chmod a+x pt_linux.shThat should give execution permissions to that file. Let me know if this works out.

Cheers,
Alejandro
Logged

alpeb

  • Administrator
  • Grand Master
  • *****
  • Gender: Male
  • Posts: 402
    • View Profile
    • Email
Re: Installing in Linux problems
« Reply #2 on: December 13, 2009, 08:47:44 PM »

Also, if double-clicking on the PulpTunes.jar file didn't do a thing, it might then be possible you don't have java installed. You need java6 by the way, if you want to use pulpTunes 1.2 beta.
Logged

jredit

  • Padawan
  • **
  • Posts: 5
    • View Profile
Re: Installing in Linux problems
« Reply #3 on: December 13, 2009, 09:44:26 PM »

Installing Java got me a lot closer, thanks.  And thanks for the quick reply.  I'm getting another error message when trying to input where the itunes XML is:
[Fatal Error] :1:1: Content is not allowed in prolog.
so I've got some more research to do on Java to figure it out.  I'm trying to do this using the Terminal on my mac so I'm going to try to install on the server itself to see if that works.
Logged

alpeb

  • Administrator
  • Grand Master
  • *****
  • Gender: Male
  • Posts: 402
    • View Profile
    • Email
Re: Installing in Linux problems
« Reply #4 on: December 13, 2009, 10:02:08 PM »

That error means the XML file is invalid, or is not even an XML file. Is that the case?
Logged

jredit

  • Padawan
  • **
  • Posts: 5
    • View Profile
Re: Installing in Linux problems
« Reply #5 on: December 13, 2009, 10:13:00 PM »

Finally figured it out.  I thought I just had to put the directory the XML file was in.  Turns out I have to include the XML file name as well.  I'm still not 100% sure of myself using the Terminal and command lines so I'm muddling through.  Thanks for the help and I'm sure I'll be back with more questions.
Logged

alpeb

  • Administrator
  • Grand Master
  • *****
  • Gender: Male
  • Posts: 402
    • View Profile
    • Email
Re: Installing in Linux problems
« Reply #6 on: December 14, 2009, 07:23:40 AM »

My pleasure. I saw that article in the maclife site. You know if it made it into the magazine?
Logged

jredit

  • Padawan
  • **
  • Posts: 5
    • View Profile
Re: Installing in Linux problems
« Reply #7 on: December 14, 2009, 10:03:34 AM »

Not sure about the magazine.  It's one of the sites I visit for info.
Logged

jredit

  • Padawan
  • **
  • Posts: 5
    • View Profile
Re: Installing in Linux problems
« Reply #8 on: December 14, 2009, 11:02:49 PM »

Ok, one last question.  I've got Pulptunes up and running, awesome by the way, and it works with both localhost and with the IP address, as well as on my iPhone.  However, it will not work in a browser at my office.  Could this be a firewall issue with the network connection at the office?  I assume so since it works on the iPhone over both wifi and 3G.  How would I go about fixing it if it's a firewall issue?  Thanks again for the help.
Logged

alpeb

  • Administrator
  • Grand Master
  • *****
  • Gender: Male
  • Posts: 402
    • View Profile
    • Email
Re: Installing in Linux problems
« Reply #9 on: December 15, 2009, 09:15:30 AM »

Yeah that sounds like a firewall issue indeed. You'd need to allow connections to port 15000 in your office. To really make sure it's a firewall issue, you can have pulpTunes start on port 80 (set that in Advanced Settings), which is the default port for web sites, so it shouldn't be blocked at your office.
Logged

maclua

  • Guest
Re: Installing in Linux problems
« Reply #10 on: December 20, 2009, 10:36:21 PM »

i installed every thing and after installing java got pulptunes running but every time i try to play a song it says "song could not be loaded" any suggestions
Logged