Page 11 of 44 FirstFirst ... 91011121321 ... LastLast
Results 101 to 110 of 435

Thread: How-to: Installing Torrent-Flux

  1. #101
    Join Date
    Aug 2007
    Beans
    31

    Re: How-to: Installing Torrent-Flux

    it worked! many thanks.
    Now I just have an issue with my initial login, I seem to have not entered a username a pwd it liked.
    Basically it either hangs or tells me 'login failed please try again'

    Any thoughts?
    Last edited by mcdeath; August 28th, 2007 at 04:02 PM.

  2. #102
    Join Date
    Aug 2006
    Beans
    923
    Distro
    Kubuntu 8.04 Hardy Heron

    Re: How-to: Installing Torrent-Flux

    Quote Originally Posted by mcdeath View Post
    it worked! many thanks.
    Now I just have an issue with my initial login, I seem to have not entered a username a pwd it liked.
    Basically it either hangs or tells me 'login failed please try again'

    Any thoughts?
    Hmm... the primary user account is generated on your initial login. Maybe this got messed up because of the other error.

    You could probably go into MySQL and delete the user profile from the torrentflux database. Then go to the page and it will probably re-prompt you. To do so, access your database in phpmyadmin, find the "tf_users" table, and delete the user that is there. (Also, by looking at the user_id field you can see what the username is set to.)

    If you don't have phpmyadmin installed, you can do the same thing on the commandline like so:

    Code:
    mysql -uroot -p
    (then enter your MySQL root password). Then go:
    Code:
    mysql> USE torrentflux;
    mysql> SELECT uid, user_id, password FROM tf_users;
    +-----+---------+----------------------------------+
    | uid | user_id | password                         |
    +-----+---------+----------------------------------+
    |   1 | kebes     | xliufejs90v8jsf2jfs9084j09fj93 |
    +-----+---------+----------------------------------+
    1 row in set (0.00 sec)
    The password is encrypted, so it won't look like anything. But you can at least see what usernames exist ("kebes" in the above example). Then if you want to try deleting the user you can just go:
    Code:
    mysql> DELETE FROM tf_users WHERE uid = 1 LIMIT 1;
    Then go back to torrentflux and invent a new user/pass:
    http://localhost/torrentflux/

    You can also erase the entire torrentflux database and re-create it. (Go back to the step of the guide where you run the MySQL script that generates the database.) Or create a second database (torflux2 or whatever) and update your "config.php" file accordingly.

  3. #103
    Join Date
    Aug 2007
    Beans
    31

    Re: How-to: Installing Torrent-Flux

    Just to let you know Kebes all went well, I'm now 100% up and running.
    Thank you very much my friend.

  4. #104
    Join Date
    Apr 2007
    Location
    Ottawa, Canada
    Beans
    740
    Distro
    Kubuntu Development Release

    Re: How-to: Installing Torrent-Flux

    After getting it installed I got to http://192.168.1.4/torrentflux and I get this error: "Database error: Access denied for user 'torrentflux'@'localhost' to database 'torrentflux'" I go into my FTP client and go into the torrentflux folder and there's nothing there.

  5. #105
    Join Date
    Aug 2006
    Beans
    923
    Distro
    Kubuntu 8.04 Hardy Heron

    Re: How-to: Installing Torrent-Flux

    Quote Originally Posted by Jordanwb View Post
    After getting it installed I got to http://192.168.1.4/torrentflux and I get this error: "Database error: Access denied for user 'torrentflux'@'localhost' to database 'torrentflux'" I go into my FTP client and go into the torrentflux folder and there's nothing there.
    This error usually means that the username/password that you set in your MySQL database isn't the same username/password that you have set in your config file.

    Check the file:

    /var/www/torrentflux/config.php

    and make sure you update the lines:
    Code:
    $cfg["db_type"] = "mysql";       // mysql, postgres7 view adodb/drivers/
    $cfg["db_host"] = "localhost";   // DB host computer name or IP
    $cfg["db_name"] = "torrentflux"; // Name of the Database
    $cfg["db_user"] = "torrentflux";        // username for your MySQL database
    $cfg["db_pass"] = "secret";            // password for database

    The user "torfluxuser" and password ("secret" in the above example), must be the same as what you created in the MySQL database. Check out the steps outlined in part 4.b. and 4.c. of this how-to, and see if you skipped a step somehow.

    You can check to see if the database "torrentflux" exists, and whether the MySQL user "torrentflux" exists by using phpmyadmin. If you don't have phpmyadmin installed, you can also check using the commandline:
    Code:
    $ mysql -uroot -p
    (Enter your MySQL root password, which is probably not the same as your login password.) You can list the databases that exist by going:
    Code:
    mysql> show databases;
    It should list "torrentflux" (or whatever you decided to call it) among them. Then check that you have a torrentflux user:
    Code:
    mysql> use mysql;
    mysql> SELECT user FROM user;
    It will list the users. Make sure "torrentflux" is among them. If not, then add the necessary user. If the user exists, then you need to update the password or privileges (again, see the how-to).



    I hope that helps. If anything requires clarification, let me know.

  6. #106
    Join Date
    Apr 2007
    Location
    Ottawa, Canada
    Beans
    740
    Distro
    Kubuntu Development Release

    Re: How-to: Installing Torrent-Flux

    Quote Originally Posted by Jordanwb View Post
    I go into my FTP client and go into the torrentflux folder and there's nothing there.
    So...

    I was able to get passed that error by setting the config manually in /etc/torrentflux/config-db.php but now it's saying it can't find a a table: "Database error: Table 'torrentflux.tf_settings' doesn't exist" I know what that means I know how to use MySQL (to some extent) but shouldn't Torrentflux create those tables on installation?

  7. #107
    Join Date
    Aug 2006
    Beans
    923
    Distro
    Kubuntu 8.04 Hardy Heron

    Re: How-to: Installing Torrent-Flux

    Quote Originally Posted by Jordanwb View Post
    So...

    I was able to get passed that error by setting the config manually in /etc/torrentflux/config-db.php but now it's saying it can't find a a table: "Database error: Table 'torrentflux.tf_settings' doesn't exist" I know what that means I know how to use MySQL (to some extent) but shouldn't Torrentflux create those tables on installation?
    If you installed torrentflux using apt-get (or Synaptic), then yes it should be automatically created.

    If you installed manually (just copying the php files to the directory /var/www/torrentflux/) then, no, you have to manually create the database. In this case you just use a MySQL script that is included in tar file for torrentflux. (See step 4.b. in the how-to.)

    In either case, you can use the MySQL commands I mentioned in my last post to figure out if the database actually exists. If not, then create it!

  8. #108
    Join Date
    Apr 2007
    Location
    Ottawa, Canada
    Beans
    740
    Distro
    Kubuntu Development Release

    Re: How-to: Installing Torrent-Flux

    I'll try everything from the beginning. It'll probably work this time. It always works that way for me.

  9. #109
    Join Date
    Aug 2007
    Beans
    31

    Re: How-to: Installing Torrent-Flux

    Oh noes I've broken my torrentflux, basically all I'm getting now when I connect to my web page is.

    You don't have permission to access /torrentflux/ on this server

    Also when I did have it running every time I aadded a new torrent it would say torrent failed?

    Have I messed up my permissions somewhere?

    Any input here is appricated.

    Code:
    PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20051025/msql.so' - /usr/lib/php5/20051025/msql.so: cannot$
    [Mon Sep 03 21:57:21 2007] [notice] Apache/2.0.55 (Ubuntu) PHP/5.1.6 configured -- resuming normal operations
    [Mon Sep 03 21:57:45 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.html denied
    [Mon Sep 03 21:57:45 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.cgi denied
    [Mon Sep 03 21:57:45 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.pl denied
    [Mon Sep 03 21:57:45 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.php denied
    [Mon Sep 03 21:57:45 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.xhtml denied
    [Mon Sep 03 21:58:10 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.html denied
    [Mon Sep 03 21:58:10 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.cgi denied
    [Mon Sep 03 21:58:10 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.pl denied
    [Mon Sep 03 21:58:10 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.php denied
    [Mon Sep 03 21:58:10 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.xhtml denied
    [Mon Sep 03 21:58:11 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.html denied
    [Mon Sep 03 21:58:11 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.cgi denied
    [Mon Sep 03 21:58:11 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.pl denied
    [Mon Sep 03 21:58:11 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.php denied
    [Mon Sep 03 21:58:11 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.xhtml denied
    [Mon Sep 03 22:00:05 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.html denied
    [Mon Sep 03 22:00:05 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.cgi denied
    [Mon Sep 03 22:00:05 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.pl denied
    [Mon Sep 03 22:00:05 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.php denied
    [Mon Sep 03 22:00:05 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.xhtml denied
    [Mon Sep 03 22:00:12 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.html denied
    [Mon Sep 03 22:00:12 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.cgi denied
    [Mon Sep 03 22:00:12 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.pl denied
    [Mon Sep 03 22:00:12 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.php denied
    [Mon Sep 03 22:00:12 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.xhtml denied
    [Mon Sep 03 22:01:56 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.html denied
    [Mon Sep 03 22:01:56 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.cgi denied
    [Mon Sep 03 22:01:56 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.pl denied
    [Mon Sep 03 22:01:56 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.php denied
    [Mon Sep 03 22:01:56 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.xhtml denied
    [Mon Sep 03 22:02:05 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.html denied
    [Mon Sep 03 22:02:05 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.cgi denied
    [Mon Sep 03 22:02:05 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.pl denied
    [Mon Sep 03 22:02:05 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.php denied
    [Mon Sep 03 22:02:05 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.xhtml denied
    [Mon Sep 03 22:03:13 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.html denied
    [Mon Sep 03 22:03:13 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.cgi denied
    [Mon Sep 03 22:03:13 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.pl denied
    [Mon Sep 03 22:03:13 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.php denied
    [Mon Sep 03 22:03:13 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.xhtml denied
    [Mon Sep 03 22:03:14 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.html denied
    [Mon Sep 03 22:03:14 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.cgi denied
    [Mon Sep 03 22:03:14 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.pl denied
    [Mon Sep 03 22:03:14 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.php denied
    [Mon Sep 03 22:03:14 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.xhtml denied
    [Mon Sep 03 22:06:20 2007] [notice] caught SIGTERM, shutting down
    PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20051025/msql.so' - /usr/lib/php5/20051025/msql.so: cannot$
    [Mon Sep 03 22:06:21 2007] [notice] Apache/2.0.55 (Ubuntu) PHP/5.1.6 configured -- resuming normal operations
    [Mon Sep 03 22:06:33 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.html denied
    [Mon Sep 03 22:06:33 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.cgi denied
    [Mon Sep 03 22:06:33 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.pl denied
    [Mon Sep 03 22:06:33 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.php denied
    [Mon Sep 03 22:06:33 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.xhtml denied
    [Mon Sep 03 22:06:40 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.html denied
    [Mon Sep 03 22:06:40 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.cgi denied
    [Mon Sep 03 22:06:40 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.pl denied
    [Mon Sep 03 22:06:40 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.php denied
    [Mon Sep 03 22:06:40 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.xhtml denied
    [Mon Sep 03 22:08:07 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.html denied
    [Mon Sep 03 22:08:07 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.cgi denied
    [Mon Sep 03 22:08:07 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.pl denied
    [Mon Sep 03 22:08:07 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.php denied
    [Mon Sep 03 22:08:07 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.xhtml denied
    [Mon Sep 03 22:08:13 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.html denied
    [Mon Sep 03 22:08:13 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.cgi denied
    [Mon Sep 03 22:08:13 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.pl denied
    [Mon Sep 03 22:08:13 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.php denied
    [Mon Sep 03 22:08:13 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.xhtml denied
    [Mon Sep 03 22:09:17 2007] [notice] caught SIGTERM, shutting down
    PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20051025/msql.so' - /usr/lib/php5/20051025/msql.so: cannot$
    [Mon Sep 03 22:09:19 2007] [notice] Apache/2.0.55 (Ubuntu) PHP/5.1.6 configured -- resuming normal operations
    [Mon Sep 03 22:09:26 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.html denied
    [Mon Sep 03 22:09:26 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.cgi denied
    [Mon Sep 03 22:09:26 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.pl denied
    [Mon Sep 03 22:09:26 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.php denied
    [Mon Sep 03 22:09:26 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.xhtml denied
    [Mon Sep 03 22:15:36 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.html denied
    [Mon Sep 03 22:15:40 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.html denied
    [Mon Sep 03 22:15:40 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.cgi denied
    [Mon Sep 03 22:15:40 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.pl denied
      GNU nano 1.3.12                         File: /var/log/apache2/error.log                                                          
    
    [Mon Sep 03 22:15:40 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.php denied
    [Mon Sep 03 22:15:40 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.xhtml denied
    [Mon Sep 03 22:15:42 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.html denied
    [Mon Sep 03 22:15:42 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.cgi denied
    [Mon Sep 03 22:15:42 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.pl denied
    [Mon Sep 03 22:15:42 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.php denied
    [Mon Sep 03 22:15:42 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.xhtml denied
    [Mon Sep 03 22:24:17 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.html denied
    [Mon Sep 03 22:24:17 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.cgi denied
    [Mon Sep 03 22:24:17 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.pl denied
    [Mon Sep 03 22:24:17 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.php denied
    [Mon Sep 03 22:24:17 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.xhtml denied
    [Mon Sep 03 22:24:25 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.html denied
    [Mon Sep 03 22:24:27 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.html denied
    [Mon Sep 03 22:24:27 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.cgi denied
    [Mon Sep 03 22:24:27 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.pl denied
    [Mon Sep 03 22:24:27 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.php denied
    [Mon Sep 03 22:24:27 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.xhtml denied
    [Mon Sep 03 22:33:55 2007] [notice] caught SIGTERM, shutting down
    PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20051025/msql.so' - /usr/lib/php5/20051025/msql.so: cannot$
    [Mon Sep 03 22:33:56 2007] [notice] Apache/2.0.55 (Ubuntu) PHP/5.1.6 configured -- resuming normal operations
    [Mon Sep 03 22:35:15 2007] [notice] caught SIGTERM, shutting down
    PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20051025/msql.so' - /usr/lib/php5/20051025/msql.so: cannot$
    [Mon Sep 03 22:36:05 2007] [notice] Apache/2.0.55 (Ubuntu) PHP/5.1.6 configured -- resuming normal operations
    [Mon Sep 03 22:40:32 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.html denied
    [Mon Sep 03 22:40:32 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.cgi denied
    [Mon Sep 03 22:40:32 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.pl denied
    [Mon Sep 03 22:40:32 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.php denied
    [Mon Sep 03 22:40:32 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.xhtml denied
    [Mon Sep 03 22:40:54 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.html denied
    [Mon Sep 03 22:40:54 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.cgi denied
    [Mon Sep 03 22:40:54 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.pl denied
    [Mon Sep 03 22:40:54 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.php denied
    [Mon Sep 03 22:40:54 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.xhtml denied
    [Mon Sep 03 22:41:03 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.html denied
    [Mon Sep 03 22:41:03 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.cgi denied
    [Mon Sep 03 22:41:03 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.pl denied
    [Mon Sep 03 22:41:03 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.php denied
    [Mon Sep 03 22:41:03 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.xhtml denied
    [Mon Sep 03 22:41:33 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.php denied
    [Mon Sep 03 22:41:39 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.html denied
    [Mon Sep 03 22:41:39 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.cgi denied
    [Mon Sep 03 22:41:39 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.pl denied
    [Mon Sep 03 22:41:39 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.php denied
    [Mon Sep 03 22:41:39 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.xhtml denied
    [Mon Sep 03 22:42:10 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.html denied
    [Mon Sep 03 22:42:10 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.cgi denied
    [Mon Sep 03 22:42:10 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.pl denied
    [Mon Sep 03 22:42:10 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.php denied
    [Mon Sep 03 22:42:10 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.xhtml denied
    [Mon Sep 03 22:42:11 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.html denied
    [Mon Sep 03 22:42:11 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.cgi denied
    [Mon Sep 03 22:42:11 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.pl denied
    [Mon Sep 03 22:42:11 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.php denied
    [Mon Sep 03 22:42:11 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.xhtml denied
    [Mon Sep 03 22:42:12 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.html denied
    [Mon Sep 03 22:42:12 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.cgi denied
    [Mon Sep 03 22:42:12 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.pl denied
    [Mon Sep 03 22:42:12 2007] [error] [client 192.168.1.7] (13): access to /torrentflux/index.php denied
    
    ^G Get Help           ^O WriteOut           ^R Read File          ^Y Prev Page          ^K Cut Text           ^C Cur Pos
    ^X Exit               ^J Justify            ^W Where Is           ^V Next Page

  10. #110
    Join Date
    Aug 2006
    Beans
    923
    Distro
    Kubuntu 8.04 Hardy Heron

    Re: How-to: Installing Torrent-Flux

    Quote Originally Posted by mcdeath View Post
    You don't have permission to access /torrentflux/ on this server
    That's alot of errors! Did you change anything recently?



    Yes, first thing to check is permissions. The webserver (which usually runs as user "www-data" needs to be able to read the torrentflux directory, and needs write access to the directory where the files are supposed to be written.

    So:

    Code:
    cd /var/www/
    ls -laF
    Make sure your torrentflux directory has permissions "drwxr-xr-x" so that the webserver can read it. (Alternately you can set permissions "drwx------" if the directory is owned by "www-data".) Use the command "chmod" to alter permissions and "chown" to alter ownership. For example:
    Code:
    chmod 755 torrentflux
    Should fix it.

    The files contained within the torrentflux folder should similarly have read permission:
    Code:
    cd /var/www/torrentflux/
    ls -laF
    If they don't have "-rwxr--r--" then fix it:
    Code:
    chmod +r * -R
    And, as I said, make sure the "downloads" directory has write permission for "www-data":
    Code:
    chmod 777 downloads

Page 11 of 44 FirstFirst ... 91011121321 ... LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •