Re: How-to: Installing Torrent-Flux
Quote:
Originally Posted by
jbtito03
There is a problem with your apache modules config or something.
Post your /var/log/apache2/error.log
:D
JB
Code:
[Wed Nov 29 20:10:16 2006] [notice] Apache/2.0.55 (Ubuntu) configured -- resuming normal operations
[Wed Nov 29 20:10:46 2006] [error] [client 127.0.0.1] File does not exist: /var/www/favicon.ico
[Wed Nov 29 21:03:40 2006] [notice] caught SIGTERM, shutting down
[Wed Nov 29 21:03:41 2006] [notice] Apache/2.0.55 (Ubuntu) configured -- resuming normal operations
[Wed Nov 29 21:50:55 2006] [notice] caught SIGTERM, shutting down
[Wed Nov 29 21:50:56 2006] [notice] Apache/2.0.55 (Ubuntu) configured -- resuming normal operations
[Wed Nov 29 23:38:03 2006] [notice] Apache/2.0.55 (Ubuntu) configured -- resuming normal operations
No mention of anything php related.
Re: How-to: Installing Torrent-Flux
Re: How-to: Installing Torrent-Flux
Hi I fixed my php problem but I have a new one. When I browse to http://localhost/torrentflux/html/ (my files are located there, don't know why) I get a 404 even thhough the files ARE there. ](*,)
Re: How-to: Installing Torrent-Flux
Hi,
I installed torrentflux on my Ubuntu Server machine but I can't get my torrent downloads to get some speed.
I'm using the default port range 49160-49300 but when I try to connect by telnet to test if those ports are open, I get a connection refused error.
So I assume it's a port related problem.
I'm not using any firewall, and I have apache and sshd running successfully, which is even more strange.
Thank you for your help.
Re: How-to: Installing Torrent-Flux
Re: How-to: Installing Torrent-Flux
Re: How-to: Installing Torrent-Flux
Great tutorial!! I have always wanted to do this. The only thing different for me was everything was in the torrentflux.html folder. Other than that it works perfect. Thank-you!!!
Re: How-to: Installing Torrent-Flux
Quote:
Originally Posted by
tee2
Hi I fixed my php problem but I have a new one. When I browse to
http://localhost/torrentflux/html/ (my files are located there, don't know why) I get a 404 even thhough the files ARE there. ](*,)
First check the permissions on your files, and the directory containing them:
Code:
$ ls /var/www/ -laF
$ ls /var/www/torrentflux/ -laF
The files should have the world read bit set (the permissions should be something like -rwxr--r--). If they are not set right use:
Code:
$ sudo chmod 744 /var/www/torrentflux/ -R
If that's not the problem, then post more information about your setup. Are you operating on a non-standard port? (In which case, don't forget to put it in the URL, like http://localhost:8000/torrentflux/html/ or whatever.) Also, does http://localhost/test.php work now? If so, does http://localhost/torrentflux/html/index.php work? (i.e.: explicitly go to the index.php file, instead of just going to the directory).
Re: How-to: Installing Torrent-Flux
Quote:
Originally Posted by
simao
Hi,
I installed torrentflux on my Ubuntu Server machine but I can't get my torrent downloads to get some speed.
I'm using the default port range 49160-49300 but when I try to connect by telnet to test if those ports are open, I get a connection refused error.
So I assume it's a port related problem.
I'm not using any firewall, and I have apache and sshd running successfully, which is even more strange.
Thank you for your help.
Try using a different port range. Some ISPs may be blocking port ranges typically used for bit-torrent. So try a different range (remember it has to be greater than 1024), like 21000-22000 or whatever.
You said you don't have a router, but perhaps you do? Some DSL modems, for instance, have internal router-like functions, complete with configuration panels that you can access in the usual way (often by navigating to a page like http://192.168.0.1/). Check out your hardware.
If it's not an ISP issue, and not a router issue, it's possible that it's an iptables issue (the internal Linux firewall system). In a default Ubuntu install, this shouldn't be a problem, though (unless you installed additional packages? SELinux or something?).
Lastly, are you sure that the port problem is really the problem? When you run torrentflux, do the "indicating dots" to the left of downloading torrents turn green... or do they stay red/yellow?
Hope that helps.
Re: How-to: Installing Torrent-Flux
Quote:
Originally Posted by
rigor
if i try do go to
http://localhost/test.php, obtain this message
Code:
Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0
Warning: Unknown: Failed opening '/var/www/test.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in Unknown on line 0
if i try
Code:
sudo /etc/init.d/apache2 start
* Starting apache 2.0 web server...
apache2: Could not determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
httpd (pid 6243) already running
[ ok ]
please, i'm very newbie, any ideas???
tks a lot
Not sure if this query is still relevant, but here's some advice:
Instead of doing "sudo /etc/init.d/apache2 start" you should use "sudo /etc/init.d/apache2 restart" to re-initialize the server (i.e.: shut it down and start a new instance). If this also gives an error then it's an apache-level issue to be fixed. If apache loads properly but you still get the above error when going to "test.php" then take a look at my recent post (above) where I mention file permissions. It may simply be that the file in question is not "world readable" ... which you need for web pages.
Hope that helps.