Capturing an Array (PHP)

The script below prints out a list of words from a table
named
px_glossary, field Word...
$result = mysql_query('select count(*) from px_glossary');
if (($result) && (mysql_result ($result , 0) > 0))
} else {
die('Invalid query: ' . mysql_error());
$Wor = mysql_query ("SELECT Word FROM px_glossary GROUP BY
Word");
while ($rowSR = mysql_fetch_array($Wor, MYSQL_ASSOC))
$Words = str_replace($rowSR['Word'], '<a
href="/Reference/Glossary/'.$rowSR["Word"].'">'.$rowSR["Word"].'</a>',
$rowSR['Word']);
echo $Words;
A str_replace function at the bottom links each word to
itself. (This is
a static page at MySite/Reference/Glossary, so the word "war"
would be
hyperlinked to MySite/Reference/Glossary/war.)
I can then display the entire list of linked words with echo
$Words.
However, my main script is a totally separate query that
displays
definitions and examples of a particular word that matches a
dynamic
page's ID. If the page is MySite/Reference/Glossary/war, then
only
definitions relating to the word war are displayed.
However, those definitions may include other words in the
glossary, and
I'd like to hyperlink those words, thus the first script I
listed. Now
I'm just trying to figure out how to make them work together.
If I paste echo $Words inside the second script - inside or
outside that
script's WHERE loop, it doesn't work. My ultimate goal is to
do a
str_replace on the second script that targets every word in
the
definitions and examples that match words in the database.
Anyway, is there some way to modify $Words in the first
script so that
it will still recognize every word in the glossary when I
move it
outside its loop to a second script?
I tried moving the last bracket from the first script to the
end of the
second script. In other words, I placed the second query and
WHERE loop
inside the first WHERE loop, but that caused all kinds of
problems.
Thanks.

Although you can give arbitrary names to the parameters, naming it quantity[ ] will not make it an array.
You've got it right in the sense you've given the same name to all the text fields.
<input type="text" name="quantity">
<input type="text" name="quantity">
<input type="text" name="quantity">
Name them something like the above. On submission, on the server side do a
String[] qValues = getParameterValues("quantity");
it will return you an array of strings, over which you iterate and get the values.
Good Luck.

Similar Messages

  • Search issue with dynamic dropdown array - PHP

    I'm currently trying to set up a search with a couple of
    dynamic dropdowns, basically to search for cars - so the parent
    list is car make, and the child is car model.
    I've gotten as far as a page with the dynamic array working,
    but not the search :
    dynamic array
    working
    (Ignore the cars and vans radio buttons)
    For testing there's an Audi A3 and and Audi A6, but this
    search doesn't work.
    The select code looks like :
    <select name="Model">
    <option value="" <?php if (!(strcmp("",
    $row_rsModels['Model']))) {echo "selected=\"selected\"";}
    ?>>Select a Model</option>
    </select>
    And the array code looks like :
    <?php
    if ($row_rsModels) {
    echo "<SC" . "RIPT>\n";
    echo "var WAJA = new Array();\n";
    $oldmainid = 0;
    $newmainid = $row_rsModels["Make"];
    if ($oldmainid == $newmainid) {
    $oldmainid = "";
    $n = 0;
    while ($row_rsModels) {
    if ($oldmainid != $newmainid) {
    echo "WAJA[".$n."] = new Array();\n";
    echo "WAJA[".$n."][0] = '".WA_DD_Replace($newmainid)."';\n";
    $m = 1;
    echo "WAJA[".$n."][".$m."] = new Array();\n";
    echo "WAJA[".$n."][".$m."][0] =
    "."'".WA_DD_Replace($row_rsModels["ModelID"])."'".";\n";
    echo "WAJA[".$n."][".$m."][1] =
    "."'".WA_DD_Replace($row_rsModels["Model"])."'".";\n";
    $m++;
    if ($oldmainid == 0) {
    $oldmainid = $newmainid;
    $oldmainid = $newmainid;
    $row_rsModels = mysql_fetch_assoc($rsModels);
    if ($row_rsModels) {
    $newmainid = $row_rsModels["Make"];
    if ($oldmainid != $newmainid) {
    $n++;
    echo "var rsModels_WAJA = WAJA;\n";
    echo "WAJA = null;\n";
    echo "</SC" . "RIPT>\n";
    function WA_DD_Replace($startStr) {
    $startStr = str_replace("'", "|WA|", $startStr);
    $startStr = str_replace("\\", "\\\\", $startStr);
    $startStr = preg_replace("/[\r\n]{1,}/", " ", $startStr);
    return $startStr;
    ?>
    ..to try and find the root of the problem, I've gotten as far
    as a similar page, without the dynamic
    array, with the child dropdown populated dynaically from the
    recordset :
    search working
    This seems to work exactly as advertised - all the car models
    are listed from the recordset, and if
    you search for Audi and A3, then it gets returned correctly.
    The select code here looks like :
    <select name="Model" id="Model">
    <option value="">Select a Model</option>
    <?php
    do {
    ?>
    <option value="<?php echo
    $row_rsModels['Model']?>"><?php echo
    $row_rsModels['Model']?
    ></option>
    <?php
    } while ($row_rsModels = mysql_fetch_assoc($rsModels));
    $rows = mysql_num_rows($rsModels);
    if($rows > 0) {
    mysql_data_seek($rsModels, 0);
    $row_rsModels = mysql_fetch_assoc($rsModels);
    ?>
    </select>
    ..so I guess the search is set up OK, but the issue is with
    how to pass the model from the select code generated by the dynamic
    array correctly....
    Its presumably because the option value is empty :
    <option value="" <?php if (!(strcmp("",
    $row_rsModels['Model']))) {echo "selected=\"selected\"";}
    ?>>Select a Model</option>
    So I've been trying various possibilities with no joy, such
    as :
    <?php if (!(strcmp("", $row_rsModels['Model']))) {echo
    "selected=\"selected\"";} ?>
    but without success.
    Even then, I'd have though if the value was empty, "", then
    it would return all results, rather than no results....?
    hope that makes some sense, and someone can shed some
    light...
    Cheers.

    Thomas Jung wrote:>
    > >
    Chris Paine wrote:
    > > That's a shame!
    > >
    > > Does this mean that using a drop down by index in an ALV is limited to having the same dropdown in every row of the table (it would certainly seem that this is the case).
    > >
    > > Cheers,
    > >
    > > Chris
    >
    > I would assume so as I can't think of a way around the subnode limitation. The system will actually allow you to have a subnode and everything works fine until you sort the ALV - then you get a short dump.
    >
    > I suppose you would have to fall back to using a regular table in this case.
    But how come the class documentation says its possible.
    Functionality
    Using class CL_SALV_WD_UIE_DROPDOWN_BY_IDX, you make all the settings for the UI element index-based dropdown list box, from which the user can select from a range of values.
    *You use the index-based dropdown list box if the dropdown list boxes in each cell of the column are to contain different entries.*
    You use the key-based dropdown list box if the dropdown list boxes in each cell of the column are to contain the same entries.
    To specify the entries in the dropdown list boxes, the context of your application requires an attribute for which the data type satisfies the following requirements:
    The attribute is a table
    The structure of this table contains at least one KEY column and a VALUE column.
    Note
    We recommend that you use the type WDY_KEY_VALUE_TABLE here.

  • Php page won't display the first record

    I have the following code, but it always skip the first row of the records pull from an Oracle table:
    include "utility_functions.php";
    // Form the query and execute it
    $sql = "select * from dept where cid=".$_GET['q'];
    $result_array = execute_sql_in_oracle ($sql);
    $result = $result_array["flag"];
    $cursor = $result_array["cursor"];
    if ($result == false){
      display_oracle_error_message($cursor);
      die("Client Query Failed.");
    // Display the query results
    echo "<ul class=\"nav\">";
    $values = oci_fetch_array ($cursor);
    //echo $values[0];
    // Fetch the result from the cursor one by one
    while ($values = oci_fetch_array($cursor)){
      $did = $values[0];
      $dname = $values[1];
      echo("<li><a href=\"showdetail.php?did=$did\">$dname</a></li> ");
    oci_free_statement($cursor);
    echo "</ul>";
    for example, I have the following in dept table:
    did    dname
    1     Business
    2     Education
    3     Math
    4     English
    It will only list: education, math, and english.  Any clues?

    What does execute_sql_in_oracle() do?
    Try following example code, such as from:
            http://www.php.net/manual/en/oci8.examples.php
            http://www.php.net/manual/en/function.oci-fetch-array.php
            http://www.php.net/manual/en/function.oci-bind-by-name.php
    It's extremely insecure (and slow) to do a query made up with string concatenation like:
      $sql = "select * from dept where cid=".$_GET['q'];
    You probably need to first sanitize $_GET to remove anything malicious.  Then you must use a bind variable on the sanitized result.

  • Sorting an array of filenames by filetype?

    I have an array of filenames read from a directory list. I
    can parse the
    file type from each filename using a function. How would I
    then sort the
    array by their respective file type, so that all PDF files
    sort together in
    the array, for example? Or would it be easier to just loop
    through the
    array by filetype, printing each matching array value?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================

    That's exactly the code I am using except without the
    multisort. It should
    be an easy retrofit!
    Thanks, Joe!
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "Joe Makowiec" <[email protected]> wrote in
    message
    news:[email protected]...
    > On 14 Apr 2008 in macromedia.dreamweaver.appdev, Joe
    Makowiec wrote:
    >
    >> On 14 Apr 2008 in macromedia.dreamweaver.appdev,
    Murray *ACE* wrote:
    >>
    >>> I have an array of filenames read from a
    directory list. I can
    >>> parse the file type from each filename using a
    function. How would
    >>> I then sort the array by their respective file
    type, so that all
    >>> PDF files sort together in the array, for
    example? Or would it be
    >>> easier to just loop through the array by
    filetype, printing each
    >>> matching array value?
    >>
    >>
    http://www.php.net/manual/en/ref.array.php
    >>
    >> There are a bunch of sorting functions there.
    array_multisort and
    >> uasort both look interesting. Got code?
    >
    > Dropin for a directory listing in a <ul>:
    >
    > <pre>
    > <?php
    > $files2 = array();
    > if ($handle = opendir('.')) {
    > echo "Input: .\n";
    > echo "Directory handle: $handle\n";
    > /* This is the correct way to loop over the directory.
    > while (false !== ($file = readdir($handle))) {
    > $files[] = $file;
    > if (substr($file, 0, 1) != '.') {
    > $separator = split('\.', $file);
    > $files2[] = array('filename' => $separator[0], 'ext'
    =>
    > $separator[1]);
    > }
    > echo "$file\n";
    > }
    > closedir($handle);
    >
    > // print_r($files);
    > // print_r($files2);
    >
    > foreach ($files2 as $key => $row) {
    > $filename[$key] = $row['filename'];
    > $ext[$key] = $row['ext'];
    > }
    >
    > array_multisort($ext, SORT_ASC, $filename, SORT_DESC,
    $files2);
    >
    > // print_r($files2);
    >
    > reset($files2);
    >
    > }
    > ?>
    > </pre>
    > <ul>
    > <?php
    > foreach ($files2 as $myfile) {
    > echo "\t<li>";
    > echo $myfile['filename'];
    > echo (empty($myfile['ext'])) ? '' : '.' .
    $myfile['ext'];
    > echo "</li>\n";
    > }
    > ?>
    > </ul>
    >
    > Code's probably uglier than it needs to be, but it
    works.
    >
    > --
    > Joe Makowiec
    >
    http://makowiec.net/
    > Email:
    http://makowiec.net/contact.php

  • Quick help in .php would be great!

    I am having a problem with a contact submit form. When a client submits a contact form from my website, I receive an e-mail that has fields that are completely blank. I am using a website template for my photography site and a family member is hosting it for me, but I am doing the editing in Dreamweaver CS4 and my family member is out of the country and cannot help right now. Any suggestions would be greatly appreciated. I have tried to copy and paste the script into this thread but it won't let me for some reason.

    davidanthonyphoto wrote:
    When a client submits a contact form from my website, I receive an e-mail that has fields that are completely blank.
    One very likely reason for this is that the script used to process the form input is ancient and relies on a setting called register_globals.
    In the bad, old days, the value of form fields was captured automatically by PHP variables that consisted of the field name preceded by a dollar sign. That no longer works, unless the site has very insecure settings. Now, you need to use $_POST['fieldName'] or $_GET['fieldName'], depending on whether the form's action is set to POST or GET (replace fieldname with the name of the actual form field).
    On the other hand, it could be something completely different. Without seeing the code, it's purely guesswork.

  • Ask the Expert: Packet Capture Capabilities of Cisco Routers and Switches

    With Rahul Rammanohar 
    Welcome to the Cisco Support Community Ask the Expert conversation. This is an opportunity to learn and ask questions about packet capture capabilities of Cisco routers and switches.
    In May 2013, we created a video that included packet capture capabilities across multiple Cisco routers and switches. For each product, we began with a discussion about the theory of the capabilities, followed by an explanation of the commands, and we concluded with a demo on real devices. In this Ask the Expert event, you’re encouraged to ask questions about the packet capture capabilities of these Cisco devices:
    •       7600/6500: mini protocol analyzer (MPA), ELAM, and Netdr
    •       ASR9k: network processor capture
    •       7200/ISRs: embedded packet capture
    •       Cisco Nexus 7K, 5K, and 3K: Ethanalyzer
    •       Cisco Nexus 7K: ELAM
    •       CRS: show captured packets
    •       ASR1K: embedded packet capture
    More Information
    Blog URL: Packet Capture Capabilities of Cisco Routers and Switches
    Watch the Video:  https://supportforums.cisco.com/videos/6226
    Hitesh Kumar is a customer support engineer in the High-Touch Technical Services team at Cisco specializing in routing protocols. He has been supporting major service providers and enterprise customers in routing, Multiprotocol Label Switching (MPLS), multicast, and Layer 2 VPN (L2VPN) issues on routing platforms for more than three years. He has more than six years of experience in the IT industry and holds a CCIE certification (number 38757) in service. 
    Rahul Rammanohar is a technical leader with the High-Touch Technical Support Team in India. He handles escalations in the area of routing protocols and large-scale architectures for devices running Cisco IOS, IOS-XR, and IOS-XE Software. He has been supporting major service providers and large enterprise customers for routing, MPLS, multicast, and L2VPN issues on all routing platforms. He has more than 13 years of experience and holds a CCIE certification (number 13015) in routing/switching and service provider.
    Remember to use the rating system to let Hitesh and Rahul know if you have received an adequate response.  
    Because of the volume expected during this event, Hitesh and Rahul might not be able to answer each question. Remember that you can continue the conversation in the Service Provider, sub-community forum shortly after the event. This event lasts through November 1, 2013. Visit this forum often to view responses to your questions and the questions of other Cisco Support Community members.

    Hello Erick
        Thanks for the topology. The trigger will be different for labelled  packet as you would need to mention the values of labels too in the  trigger.
         Below are two examples of one or two labels being  used, it depends on where you are capturing the packet in mplsvpn  scenario which will decide teh number of labels being imposed on the  packet.
    Trigger for one label. (if the router on which you are capturing the packet PHP is being performed)
    VPN label - 5678
    Source Address - 111.111.111.111
    Destination Address - 123.123.123.123
    show platform capture elam trigger dbus others if data = 0 0 0 0x88470162 0xE0000000 0 0 0x00006F6F 0x6F6F 7B7B 0x7B7B0000 [ 0 0 0 0xffffffff 0xf0000000 0 0 0x0000ffff 0xffffffff 0xffff0000 ]
    Trigger for two labels. (for other core routers)
    IGP label - 1234
    VPN label - 5678
    Source Address - 111.111.111.111
    Destination Address - 123.123.123.123
    show platform capture elam trigger dbus others if data = 0 0 0 0x8847004D 0x20000162 0xE0000000 0 0 0x00006F6F 0x6F6F7B7B 0x7B7B0000 [ 0 0 0 0xffffffff 0xf000ffff 0xf0000000 0 0 0x0000ffff 0xffffffff 0xffff0000 ]
        You can check the labels being used (by using show ip cef <> details) and covert their values to hex and change the trigger accordingly.
         I have changed the colors for better understanding. If you notice carefully in the trigger the values for ip address, labels have just been converted to their respective hex values which could be replaced.
         Please let me know if this helps.
    Thanks & Regards
    Hitesh & Rahul

  • Basic php string operations

    Example
    <?php
    $url = '
    http://username:password@hostname/path?arg=value#anchor';
    print_r(parse_url($url));
    echo parse_url($url, PHP_URL_PATH);
    ?>
    output:
    Array
    [scheme] => http
    [host] => hostname
    [user] => username
    [pass] => password
    [path] => /path
    [query] => arg=value
    [fragment] => anchor
    /path
    Question:
    For example, I want to do something with the host, like run
    some string replace operations on it, but how do I access
    it?

    .oO(ttdevelop)
    >Example
    > <?php
    > $url = '
    http://username:password@hostname/path?arg=value#anchor';
    >
    > print_r(parse_url($url));
    >
    > echo parse_url($url, PHP_URL_PATH);
    > ?>
    >
    > output:
    >
    > Array
    > (
    > [scheme] => http
    > [host] => hostname
    > [user] => username
    > [pass] => password
    > [path] => /path
    > [query] => arg=value
    > [fragment] => anchor
    > )
    > /path
    >
    > Question:
    > For example, I want to do something with the host, like
    run some string
    >replace operations on it, but how do I access it?
    You should read about how to use variables and arrays or use
    the second
    parameter of parse_url() to only return the host name as a
    string like
    you did in the second example (see the manual for details).
    Then assign
    the return value to a variable and you can do whatever you
    want with it.
    Variables
    http://www.php.net/manual/en/language.variables.php
    Arrays
    http://www.php.net/manual/en/language.types.array.php
    parse_url
    http://www.php.net/manual/en/function.parse-url.php
    Micha

  • Looking for proper rand/array syntax...

    I'm trying to make a link take a user to one of thirty possible pages, chosen randomly.
    I can imagine this is do-able via rand/array (php) but have no idea what the precise syntax would be. The various rand/array examples I've Googled do more than what I need, which is pretty basic... but I don't know PHP enough to customize myself.
    Say I have a normal <a href> tag... I just want it to randomly go to one of many selected pages. Nothing more. I don't want the link name to change.
    What would be the syntax for that?

    This one use JavaScript and an array of links.  You could put the script in an external file if desired.
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>Random Link</title>
    <script type="text/javascript">
    //The array. Specify links below. You can have as many as you want
    var randomlinks=new Array()
    randomlinks[0]="http://google.com"
    randomlinks[1]="http://yahoo.com"
    randomlinks[2]="http://dynamicdrive.com"
    randomlinks[3]="http://cnn.com"
    randomlinks[4]="http://msn.com"
    randomlinks[5]="http://bing.com"
    randomlinks[6]="http://youtube.com"
    function randomlink(){
    window.location=randomlinks[Math.floor(Math.random()*randomlinks.length)]
    //-->
    </script>
    </head>
    <body>
    <a href="javascript:randomlink()">Random Link</a>
    </body>
    </html>
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb

  • Php- odbc_fetch_array isn't there?

    OK, this may be the most niche question I've ever posted, but does anyone know how it is that we have php 5.2.4 out of the box, iodbc included, but the odbcfetcharray function isn't there?
    It should be: http://us.php.net/manual/en/function.odbc-fetch-array.php
    It's making migrating one of my scripts to 10.5 a real pain in the rear.

    SQL> create or replace procedure get_nxtprcid(p_rptreqstid out varchar2)
    as
    begin
       p_rptreqstid := '1'; --Parameter hardcoded to '1'
       if (p_rptreqstid = '1')
       then
          dbms_output.put_line('You are right');
       else
          -- LINE 45. this else bit won't be processed since  p_rptReqstId hardcoded to '1'
          dbms_output.put_line('p_rptReqstId is ' || p_rptreqstid);
       end if;
    end get_nxtprcid;
    Procedure created.
    SQL> set serveroutput on
    SQL> declare
       my_id   varchar2(5) := 'a';
    begin
       get_nxtprcid(my_id);
    end;
    You are right
    PL/SQL procedure successfully completed.
    SQL>Regards
    Peter
    Edit:
    Ouch, missed the point that OP's code is executed in a LOOP. John Spencer got it correct below
    Edited by: Peter on Feb 16, 2009 1:45 PM

  • [Regression] KDE4 does not load anymore after recent kernel update.

    Hi,
    I have updated my system to latest packages and now KDE4 does not load. i get a Blank Screen.
    I can't reach virtual terminals(I tried ALT+F1 to F11, but no response)
    Control + ALT + BACKSPACE does not work.
    even magic SysRq key(Alt+SysRq+REISUB) has no effect.
    So I had to hard reset my machine. somehow I managed to get logs.
    /var/log/Xorg.o
    X.Org X Server 1.6.2
    Release Date: 2009-7-7
    X Protocol Version 11, Revision 0
    Build Operating System: Linux 2.6.30-ARCH x86_64
    Current Operating System: Linux moody 2.6.30-ARCH #1 SMP PREEMPT Mon Jul 20 07:46:03 CEST 2009 x86_64
    Build Date: 18 July 2009 03:49:37PM
    Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
    Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    (==) Log file: "/var/log/Xorg.0.log", Time: Thu Jul 30 06:43:33 2009
    (==) Using config file: "/etc/X11/xorg.conf"
    (==) ServerLayout "Layout0"
    (**) |-->Screen "Screen0" (0)
    (**) | |-->Monitor "Monitor0"
    (**) | |-->Device "Device0"
    (**) |-->Input Device "Keyboard0"
    (**) |-->Input Device "Mouse0"
    (**) Option "Xinerama" "0"
    (**) Option "AutoAddDevices" "False"
    (**) Not automatically adding devices
    (==) Automatically enabling devices
    (==) FontPath set to:
    /usr/share/fonts/misc,
    /usr/share/fonts/100dpi:unscaled,
    /usr/share/fonts/75dpi:unscaled,
    /usr/share/fonts/TTF,
    /usr/share/fonts/Type1,
    built-ins
    (==) ModulePath set to "/usr/lib/xorg/modules"
    (II) Loader magic: 0xb40
    (II) Module ABI versions:
    X.Org ANSI C Emulation: 0.4
    X.Org Video Driver: 5.0
    X.Org XInput driver : 4.0
    X.Org Server Extension : 2.0
    (II) Loader running on linux
    (++) using VT number 7
    (--) PCI:*(0:1:0:0) 10de:00f3:0000:0000 nVidia Corporation NV43 [GeForce 6200] rev 162, Mem @ 0xf8000000/16777216, 0xe0000000/268435456, 0xf9000000/16777216, BIOS @ 0x????????/131072
    (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
    (II) No APM support in BIOS or kernel
    (II) System resource ranges:
    [0] -1 0 0xffffffff - 0xffffffff (0x1) MX[b]
    [1] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[b]
    [2] -1 0 0x000c0000 - 0x000effff (0x30000) MX[b]
    [3] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[b]
    [4] -1 0 0xffffffff - 0xffffffff (0x1) MX[b]
    [5] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[b]
    [6] -1 0 0x000c0000 - 0x000effff (0x30000) MX[b]
    [7] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[b]
    [8] -1 0 0xffffffff - 0xffffffff (0x1) MX[b]
    [9] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[b]
    [10] -1 0 0x000c0000 - 0x000effff (0x30000) MX[b]
    [11] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[b]
    [12] -1 0 0xffffffff - 0xffffffff (0x1) MX[b]
    [13] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[b]
    [14] -1 0 0x000c0000 - 0x000effff (0x30000) MX[b]
    [15] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[b]
    [16] -1 0 0xffffffff - 0xffffffff (0x1) MX[b]
    [17] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[b]
    [18] -1 0 0x000c0000 - 0x000effff (0x30000) MX[b]
    [19] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[b]
    [20] -1 0 0xffffffff - 0xffffffff (0x1) MX[b]
    [21] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[b]
    [22] -1 0 0x000c0000 - 0x000effff (0x30000) MX[b]
    [23] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[b]
    [24] -1 0 0xffffffff - 0xffffffff (0x1) MX[b]
    [25] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[b]
    [26] -1 0 0x000c0000 - 0x000effff (0x30000) MX[b]
    [27] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[b]
    [28] -1 0 0xffffffff - 0xffffffff (0x1) MX[b]
    [29] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[b]
    [30] -1 0 0x000c0000 - 0x000effff (0x30000) MX[b]
    [31] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[b]
    [32] -1 0 0xffffffff - 0xffffffff (0x1) MX[b]
    [33] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[b]
    [34] -1 0 0x000c0000 - 0x000effff (0x30000) MX[b]
    [35] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[b]
    [36] -1 0 0xffffffff - 0xffffffff (0x1) MX[b]
    [37] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[b]
    [38] -1 0 0x000c0000 - 0x000effff (0x30000) MX[b]
    [39] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[b]
    [40] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[b]
    [41] -1 0 0x00000000 - 0x00000000 (0x1) IX[b]
    [42] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[b]
    [43] -1 0 0x00000000 - 0x00000000 (0x1) IX[b]
    [44] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[b]
    [45] -1 0 0x00000000 - 0x00000000 (0x1) IX[b]
    [46] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[b]
    [47] -1 0 0x00000000 - 0x00000000 (0x1) IX[b]
    [48] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[b]
    [49] -1 0 0x00000000 - 0x00000000 (0x1) IX[b]
    [50] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[b]
    [51] -1 0 0x00000000 - 0x00000000 (0x1) IX[b]
    [52] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[b]
    [53] -1 0 0x00000000 - 0x00000000 (0x1) IX[b]
    [54] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[b]
    [55] -1 0 0x00000000 - 0x00000000 (0x1) IX[b]
    [56] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[b]
    [57] -1 0 0x00000000 - 0x00000000 (0x1) IX[b]
    [58] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[b]
    [59] -1 0 0x00000000 - 0x00000000 (0x1) IX[b]
    (II) "extmod" will be loaded. This was enabled by default and also specified in the config file.
    (II) "dbe" will be loaded. This was enabled by default and also specified in the config file.
    (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
    (II) "record" will be loaded by default.
    (II) "dri" will be loaded by default.
    (II) "dri2" will be loaded by default.
    (II) LoadModule: "dbe"
    (II) Loading /usr/lib/xorg/modules/extensions//libdbe.so
    (II) Module dbe: vendor="X.Org Foundation"
    compiled for 1.6.2, module version = 1.0.0
    Module class: X.Org Server Extension
    ABI class: X.Org Server Extension, version 2.0
    (II) Loading extension DOUBLE-BUFFER
    (II) LoadModule: "extmod"
    (II) Loading /usr/lib/xorg/modules/extensions//libextmod.so
    (II) Module extmod: vendor="X.Org Foundation"
    compiled for 1.6.2, module version = 1.0.0
    Module class: X.Org Server Extension
    ABI class: X.Org Server Extension, version 2.0
    (II) Loading extension MIT-SCREEN-SAVER
    (II) Loading extension XFree86-VidModeExtension
    (II) Loading extension XFree86-DGA
    (II) Loading extension DPMS
    (II) Loading extension XVideo
    (II) Loading extension XVideo-MotionCompensation
    (II) Loading extension X-Resource
    (II) LoadModule: "freetype"
    (WW) Warning, couldn't open module freetype
    (II) UnloadModule: "freetype"
    (EE) Failed to load module "freetype" (module does not exist, 0)
    (II) LoadModule: "glx"
    (II) Loading /usr/lib/xorg/modules/extensions//libglx.so
    (II) Module glx: vendor="NVIDIA Corporation"
    compiled for 4.0.2, module version = 1.0.0
    Module class: X.Org Server Extension
    (II) NVIDIA GLX Module 185.18.14 Wed May 27 01:53:56 PDT 2009
    (II) Loading extension GLX
    (II) LoadModule: "record"
    (II) Loading /usr/lib/xorg/modules/extensions//librecord.so
    (II) Module record: vendor="X.Org Foundation"
    compiled for 1.6.2, module version = 1.13.0
    Module class: X.Org Server Extension
    ABI class: X.Org Server Extension, version 2.0
    (II) Loading extension RECORD
    (II) LoadModule: "dri"
    (II) Loading /usr/lib/xorg/modules/extensions//libdri.so
    (II) Module dri: vendor="X.Org Foundation"
    compiled for 1.6.2, module version = 1.0.0
    ABI class: X.Org Server Extension, version 2.0
    (II) Loading extension XFree86-DRI
    (II) LoadModule: "dri2"
    (II) Loading /usr/lib/xorg/modules/extensions//libdri2.so
    (II) Module dri2: vendor="X.Org Foundation"
    compiled for 1.6.2, module version = 1.1.0
    ABI class: X.Org Server Extension, version 2.0
    (II) Loading extension DRI2
    (II) LoadModule: "nvidia"
    (II) Loading /usr/lib/xorg/modules/drivers//nvidia_drv.so
    (II) Module nvidia: vendor="NVIDIA Corporation"
    compiled for 4.0.2, module version = 1.0.0
    Module class: X.Org Video Driver
    (II) LoadModule: "kbd"
    (II) Loading /usr/lib/xorg/modules/input//kbd_drv.so
    (II) Module kbd: vendor="X.Org Foundation"
    compiled for 1.6.0, module version = 1.3.2
    Module class: X.Org XInput Driver
    ABI class: X.Org XInput driver, version 4.0
    (II) LoadModule: "mouse"
    (II) Loading /usr/lib/xorg/modules/input//mouse_drv.so
    (II) Module mouse: vendor="X.Org Foundation"
    compiled for 1.6.0, module version = 1.4.0
    Module class: X.Org XInput Driver
    ABI class: X.Org XInput driver, version 4.0
    (II) NVIDIA dlloader X Driver 185.18.14 Wed May 27 01:30:19 PDT 2009
    (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
    (II) Primary Device is: PCI 01@00:00:0
    (II) Loading sub module "fb"
    (II) LoadModule: "fb"
    (II) Loading /usr/lib/xorg/modules//libfb.so
    (II) Module fb: vendor="X.Org Foundation"
    compiled for 1.6.2, module version = 1.0.0
    ABI class: X.Org ANSI C Emulation, version 0.4
    (II) Loading sub module "wfb"
    (II) LoadModule: "wfb"
    (II) Loading /usr/lib/xorg/modules//libwfb.so
    (II) Module wfb: vendor="X.Org Foundation"
    compiled for 1.6.2, module version = 1.0.0
    ABI class: X.Org ANSI C Emulation, version 0.4
    (II) Loading sub module "ramdac"
    (II) LoadModule: "ramdac"
    (II) Module "ramdac" already built-in
    (II) resource ranges after probing:
    [0] -1 0 0xffffffff - 0xffffffff (0x1) MX[b]
    [1] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[b]
    [2] -1 0 0x000c0000 - 0x000effff (0x30000) MX[b]
    [3] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[b]
    [4] -1 0 0xffffffff - 0xffffffff (0x1) MX[b]
    [5] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[b]
    [6] -1 0 0x000c0000 - 0x000effff (0x30000) MX[b]
    [7] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[b]
    [8] -1 0 0xffffffff - 0xffffffff (0x1) MX[b]
    [9] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[b]
    [10] -1 0 0x000c0000 - 0x000effff (0x30000) MX[b]
    [11] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[b]
    [12] -1 0 0xffffffff - 0xffffffff (0x1) MX[b]
    [13] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[b]
    [14] -1 0 0x000c0000 - 0x000effff (0x30000) MX[b]
    [15] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[b]
    [16] -1 0 0xffffffff - 0xffffffff (0x1) MX[b]
    [17] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[b]
    [18] -1 0 0x000c0000 - 0x000effff (0x30000) MX[b]
    [19] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[b]
    [20] -1 0 0xffffffff - 0xffffffff (0x1) MX[b]
    [21] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[b]
    [22] -1 0 0x000c0000 - 0x000effff (0x30000) MX[b]
    [23] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[b]
    [24] -1 0 0xffffffff - 0xffffffff (0x1) MX[b]
    [25] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[b]
    [26] -1 0 0x000c0000 - 0x000effff (0x30000) MX[b]
    [27] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[b]
    [28] -1 0 0xffffffff - 0xffffffff (0x1) MX[b]
    [29] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[b]
    [30] -1 0 0x000c0000 - 0x000effff (0x30000) MX[b]
    [31] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[b]
    [32] -1 0 0xffffffff - 0xffffffff (0x1) MX[b]
    [33] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[b]
    [34] -1 0 0x000c0000 - 0x000effff (0x30000) MX[b]
    [35] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[b]
    [36] -1 0 0xffffffff - 0xffffffff (0x1) MX[b]
    [37] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[b]
    [38] -1 0 0x000c0000 - 0x000effff (0x30000) MX[b]
    [39] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[b]
    [40] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[b]
    [41] -1 0 0x00000000 - 0x00000000 (0x1) IX[b]
    [42] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[b]
    [43] -1 0 0x00000000 - 0x00000000 (0x1) IX[b]
    [44] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[b]
    [45] -1 0 0x00000000 - 0x00000000 (0x1) IX[b]
    [46] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[b]
    [47] -1 0 0x00000000 - 0x00000000 (0x1) IX[b]
    [48] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[b]
    [49] -1 0 0x00000000 - 0x00000000 (0x1) IX[b]
    [50] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[b]
    [51] -1 0 0x00000000 - 0x00000000 (0x1) IX[b]
    [52] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[b]
    [53] -1 0 0x00000000 - 0x00000000 (0x1) IX[b]
    [54] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[b]
    [55] -1 0 0x00000000 - 0x00000000 (0x1) IX[b]
    [56] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[b]
    [57] -1 0 0x00000000 - 0x00000000 (0x1) IX[b]
    [58] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[b]
    [59] -1 0 0x00000000 - 0x00000000 (0x1) IX[b]
    (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
    (==) NVIDIA(0): RGB weight 888
    (==) NVIDIA(0): Default visual is TrueColor
    (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
    (**) NVIDIA(0): Option "NoLogo" "True"
    (**) NVIDIA(0): Option "RenderAccel" "True"
    (**) NVIDIA(0): Option "TwinView" "0"
    (**) NVIDIA(0): Option "MetaModes" "1280x1024 +0+0"
    (**) NVIDIA(0): Option "TwinViewXineramaInfoOrder" "CRT-0"
    (**) NVIDIA(0): Option "TripleBuffer" "True"
    (**) NVIDIA(0): Option "OnDemandVBlankInterrupts" "True"
    (**) NVIDIA(0): Option "PixmapCacheSize" "300000"
    (**) NVIDIA(0): Enabling RENDER acceleration
    (II) NVIDIA(0): Support for GLX with the Damage and Composite X extensions is
    (II) NVIDIA(0): enabled.
    (II) NVIDIA(0): NVIDIA GPU GeForce 6200 (NV43) at PCI:1:0:0 (GPU-0)
    (--) NVIDIA(0): Memory: 131072 kBytes
    (--) NVIDIA(0): VideoBIOS: 05.43.02.80.00
    (II) NVIDIA(0): Detected AGP rate: 8X
    (--) NVIDIA(0): Interlaced video modes are supported on this GPU
    (--) NVIDIA(0): Connected display device(s) on GeForce 6200 at PCI:1:0:0:
    (--) NVIDIA(0): Samsung SyncMaster (CRT-0)
    (--) NVIDIA(0): Samsung SyncMaster (CRT-0): 400.0 MHz maximum pixel clock
    (II) NVIDIA(0): Assigned Display Device: CRT-0
    (II) NVIDIA(0): Validated modes:
    (II) NVIDIA(0): "1280x1024+0+0"
    (II) NVIDIA(0): Virtual screen size determined to be 1280 x 1024
    (--) NVIDIA(0): DPI set to (104, 113); computed from "UseEdidDpi" X config
    (--) NVIDIA(0): option
    (==) NVIDIA(0): Enabling 32-bit ARGB GLX visuals.
    (--) Depth 24 pixmap format is 32 bpp
    (II) do I need RAC? No, I don't.
    (II) resource ranges after preInit:
    [0] -1 0 0xffffffff - 0xffffffff (0x1) MX[b]
    [1] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[b]
    [2] -1 0 0x000c0000 - 0x000effff (0x30000) MX[b]
    [3] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[b]
    [4] -1 0 0xffffffff - 0xffffffff (0x1) MX[b]
    [5] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[b]
    [6] -1 0 0x000c0000 - 0x000effff (0x30000) MX[b]
    [7] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[b]
    [8] -1 0 0xffffffff - 0xffffffff (0x1) MX[b]
    [9] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[b]
    [10] -1 0 0x000c0000 - 0x000effff (0x30000) MX[b]
    [11] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[b]
    [12] -1 0 0xffffffff - 0xffffffff (0x1) MX[b]
    [13] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[b]
    [14] -1 0 0x000c0000 - 0x000effff (0x30000) MX[b]
    [15] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[b]
    [16] -1 0 0xffffffff - 0xffffffff (0x1) MX[b]
    [17] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[b]
    [18] -1 0 0x000c0000 - 0x000effff (0x30000) MX[b]
    [19] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[b]
    [20] -1 0 0xffffffff - 0xffffffff (0x1) MX[b]
    [21] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[b]
    [22] -1 0 0x000c0000 - 0x000effff (0x30000) MX[b]
    [23] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[b]
    [24] -1 0 0xffffffff - 0xffffffff (0x1) MX[b]
    [25] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[b]
    [26] -1 0 0x000c0000 - 0x000effff (0x30000) MX[b]
    [27] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[b]
    [28] -1 0 0xffffffff - 0xffffffff (0x1) MX[b]
    [29] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[b]
    [30] -1 0 0x000c0000 - 0x000effff (0x30000) MX[b]
    [31] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[b]
    [32] -1 0 0xffffffff - 0xffffffff (0x1) MX[b]
    [33] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[b]
    [34] -1 0 0x000c0000 - 0x000effff (0x30000) MX[b]
    [35] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[b]
    [36] -1 0 0xffffffff - 0xffffffff (0x1) MX[b]
    [37] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[b]
    [38] -1 0 0x000c0000 - 0x000effff (0x30000) MX[b]
    [39] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[b]
    [40] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[b]
    [41] -1 0 0x00000000 - 0x00000000 (0x1) IX[b]
    [42] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[b]
    [43] -1 0 0x00000000 - 0x00000000 (0x1) IX[b]
    [44] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[b]
    [45] -1 0 0x00000000 - 0x00000000 (0x1) IX[b]
    [46] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[b]
    [47] -1 0 0x00000000 - 0x00000000 (0x1) IX[b]
    [48] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[b]
    [49] -1 0 0x00000000 - 0x00000000 (0x1) IX[b]
    [50] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[b]
    [51] -1 0 0x00000000 - 0x00000000 (0x1) IX[b]
    [52] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[b]
    [53] -1 0 0x00000000 - 0x00000000 (0x1) IX[b]
    [54] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[b]
    [55] -1 0 0x00000000 - 0x00000000 (0x1) IX[b]
    [56] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[b]
    [57] -1 0 0x00000000 - 0x00000000 (0x1) IX[b]
    [58] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[b]
    [59] -1 0 0x00000000 - 0x00000000 (0x1) IX[b]
    (II) NVIDIA(0): Initialized AGP GART.
    (II) NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon
    (II) NVIDIA(0): may not be running or the "AcpidSocketPath" X
    (II) NVIDIA(0): configuration option may not be set correctly. When the
    (II) NVIDIA(0): ACPI event daemon is available, the NVIDIA X driver will
    (II) NVIDIA(0): try to use it to receive ACPI event notifications. For
    (II) NVIDIA(0): details, please see the "ConnectToAcpid" and
    (II) NVIDIA(0): "AcpidSocketPath" X configuration options in Appendix B: X
    (II) NVIDIA(0): Config Options in the README.
    (II) NVIDIA(0): Initialized AGP GART.
    (II) NVIDIA(0): Initialized AGP GART.
    (II) NVIDIA(0): Initialized AGP GART.
    (II) NVIDIA(0): Initialized AGP GART.
    (II) NVIDIA(0): Initialized AGP GART.
    (II) NVIDIA(0): Initialized AGP GART.
    (II) NVIDIA(0): Initialized AGP GART.
    /var/log/errors.log
    Jul 27 12:08:50 moody kernel: NVRM: Xid (0001:00): 6, PE0000 18d8 e46e72b0 00000000 ffffffff 00000000
    Jul 27 12:08:50 moody kernel: NVRM: Xid (0001:00): 6, PE0000 18d8 e46e72b0 00000000 ffffffff 00000000
    Jul 27 12:08:50 moody kernel: NVRM: Xid (0001:00): 6, PE0000 18d8 e46e72b0 00000000 ffffffff 00000000
    Jul 27 12:08:50 moody kernel: NVRM: Xid (0001:00): 6, PE0000 18d8 e46e72b0 00000000 ffffffff 00000000
    Jul 27 12:08:50 moody kernel: NVRM: Xid (0001:00): 6, PE0000 18d8 e46e72b0 00000000 ffffffff 00000000
    Jul 27 12:08:54 moody kernel: NVRM: Xid (0001:00): 6, PE0000 18d8 e46e72b0 00000000 ffffffff 00000000
    Jul 27 12:09:04 moody kdm[4164]: X server startup timeout, terminating
    Jul 30 06:43:36 moody kernel: NVRM: Xid (0001:00): 6, PE0000 18d8 e46e72b0 00000000 ffffffff 00000000
    Jul 30 06:43:36 moody kernel: NVRM: Xid (0001:00): 6, PE0000 18d8 e46e72b0 00000000 ffffffff 00000000
    Jul 30 06:43:36 moody kernel: NVRM: Xid (0001:00): 6, PE0000 18d8 e46e72b0 00000000 ffffffff 00000000
    Jul 30 06:43:36 moody kernel: NVRM: Xid (0001:00): 6, PE0000 18d8 e46e72b0 00000000 ffffffff 00000000
    Jul 30 06:43:36 moody kernel: NVRM: Xid (0001:00): 6, PE0000 18d8 e46e72b0 00000000 ffffffff 00000000
    Jul 30 06:43:36 moody kernel: NVRM: Xid (0001:00): 6, PE0000 18d8 e46e72b0 00000000 ffffffff 00000000
    Jul 30 06:43:40 moody kernel: NVRM: Xid (0001:00): 6, PE0000 18d8 e46e72b0 00000000 ffffffff 00000000
    Jul 30 06:43:50 moody kdm[4165]: X server startup timeout, terminating
    Jul 30 06:44:15 moody kdm[4165]: X server for display :0 cannot be started, session disabled
    /etc/X11/xorg.conf
    # nvidia-settings: X configuration file generated by nvidia-settings
    # nvidia-settings: version 1.0 (buildmeister@builder62) Tue Jan 6 09:44:34 PST 2009
    # nvidia-xconfig: X configuration file generated by nvidia-xconfig
    # nvidia-xconfig: version 1.0 (buildmeister@builder58) Wed Oct 1 15:12:53 PDT 2008
    Section "ServerLayout"
    Identifier "Layout0"
    Screen 0 "Screen0" 0 0
    InputDevice "Keyboard0" "CoreKeyboard"
    InputDevice "Mouse0" "CorePointer"
    EndSection
    Section "Files"
    EndSection
    Section "Module"
    Load "dbe"
    Load "extmod"
    # Load "type1"
    Load "freetype"
    Load "glx"
    EndSection
    Section "ServerFlags"
    Option "AutoAddDevices" "False"
    Option "Xinerama" "0"
    EndSection
    Section "InputDevice"
    # generated from default
    Identifier "Mouse0"
    Driver "mouse"
    Option "Protocol" "auto"
    Option "Device" "/dev/psaux"
    Option "Emulate3Buttons" "no"
    Option "ZAxisMapping" "4 5"
    EndSection
    Section "InputDevice"
    # generated from default
    Identifier "Keyboard0"
    Driver "kbd"
    EndSection
    Section "Monitor"
    Identifier "Monitor0"
    VendorName "Unknown"
    ModelName "Samsung SyncMaster"
    HorizSync 30.0 - 71.0
    VertRefresh 50.0 - 160.0
    Option "DPMS"
    EndSection
    Section "Device"
    Identifier "Device0"
    Driver "nvidia"
    VendorName "NVIDIA Corporation"
    BoardName "GeForce 6200"
    Option "NoLogo" "True"
    Option "RenderAccel" "True"
    Option "TripleBuffer" "True"
    Option "BackingStore" "True"
    Option "PixmapCacheSize" "300000"
    Option "OnDemandVBlankInterrupts" "True"
    EndSection
    Section "Screen"
    Identifier "Screen0"
    Device "Device0"
    Monitor "Monitor0"
    DefaultDepth 24
    Option "TwinView" "0"
    Option "TwinViewXineramaInfoOrder" "CRT-0"
    Option "metamodes" "1280x1024 +0+0"
    SubSection "Display"
    Depth 24
    EndSubSection
    EndSection
    Looks like X server is not starting for some reason and this is the root cause of the problem.
    Here is the list of Packages which were Updated
    /var/log/pacman.log
    [2009-07-25 07:36] synchronizing package lists
    [2009-07-25 07:37] starting full system upgrade
    [2009-07-25 10:03] synchronizing package lists
    [2009-07-25 10:03] starting full system upgrade
    [2009-07-25 10:07] upgraded boost (1.39.0-1 -> 1.39.0-2)
    [2009-07-25 10:07] upgraded cups (1.3.10-3 -> 1.3.11-1)
    [2009-07-25 10:07] upgraded device-mapper (1.02.32-2 -> 1.02.33-1)
    [2009-07-25 10:07] upgraded dmapi (2.2.10-1 -> 2.2.10-2)
    [2009-07-25 10:07] upgraded dri2proto (2.0-1 -> 2.1-1)
    [2009-07-25 10:07] upgraded gcc-libs (4.4.0-5 -> 4.4.1-1)
    [2009-07-25 10:08] upgraded gcc (4.4.0-5 -> 4.4.1-1)
    [2009-07-25 10:08] upgraded hwdetect (2009.07-1 -> 2009.07-2)
    [2009-07-25 10:08] upgraded kbd (1.15-1 -> 1.15-2)
    [2009-07-25 10:08] >>> Updating module dependencies. Please wait ...
    [2009-07-25 10:08] >>> MKINITCPIO SETUP
    [2009-07-25 10:08] >>> ----------------
    [2009-07-25 10:08] >>> If you use LVM2, Encrypted root or software RAID,
    [2009-07-25 10:08] >>> Ensure you enable support in /etc/mkinitcpio.conf .
    [2009-07-25 10:08] >>> More information about mkinitcpio setup can be found here:
    [2009-07-25 10:08] >>> http://wiki.archlinux.org/index.php/Mkinitcpio
    [2009-07-25 10:08]
    [2009-07-25 10:08] >>> Generating initial ramdisk, using mkinitcpio. Please wait...
    [2009-07-25 10:08] ==> Building image "default"
    [2009-07-25 10:08] ==> Running command: /sbin/mkinitcpio -k 2.6.30-ARCH -c /etc/mkinitcpio.conf -g /boot/kernel26.img
    [2009-07-25 10:08] :: Begin build
    [2009-07-25 10:08] :: Parsing hook [base]
    [2009-07-25 10:08] :: Parsing hook [udev]
    [2009-07-25 10:08] :: Parsing hook [autodetect]
    [2009-07-25 10:08] :: Parsing hook [ide]
    [2009-07-25 10:08] :: Parsing hook [scsi]
    [2009-07-25 10:08] :: Parsing hook [sata]
    [2009-07-25 10:08] :: Parsing hook [usb]
    [2009-07-25 10:08] :: Parsing hook [usbinput]
    [2009-07-25 10:08] :: Parsing hook [keymap]
    [2009-07-25 10:08] :: Parsing hook [filesystems]
    [2009-07-25 10:08] :: Generating module dependencies
    [2009-07-25 10:08] :: Generating image '/boot/kernel26.img'...SUCCESS
    [2009-07-25 10:08] ==> SUCCESS
    [2009-07-25 10:08] ==> Building image "fallback"
    [2009-07-25 10:08] ==> Running command: /sbin/mkinitcpio -k 2.6.30-ARCH -c /etc/mkinitcpio.conf -g /boot/kernel26-fallback.img -S autodetect
    [2009-07-25 10:08] :: Begin build
    [2009-07-25 10:08] :: Parsing hook [base]
    [2009-07-25 10:09] :: Parsing hook [udev]
    [2009-07-25 10:09] :: Parsing hook [ide]
    [2009-07-25 10:09] :: Parsing hook [scsi]
    [2009-07-25 10:09] :: Parsing hook [sata]
    [2009-07-25 10:09] :: Parsing hook [usb]
    [2009-07-25 10:09] :: Parsing hook [usbinput]
    [2009-07-25 10:09] :: Parsing hook [keymap]
    [2009-07-25 10:09] :: Parsing hook [filesystems]
    [2009-07-25 10:10] :: Generating module dependencies
    [2009-07-25 10:10] :: Generating image '/boot/kernel26-fallback.img'...SUCCESS
    [2009-07-25 10:10] ==> SUCCESS
    [2009-07-25 10:10] upgraded kernel26 (2.6.30.1-1 -> 2.6.30.2-1)
    [2009-07-25 10:10] upgraded lib32-libgl (7.4.4-1 -> 7.5-1)
    [2009-07-25 10:10] upgraded lib32-libpng (1.2.37-1 -> 1.2.38-1)
    [2009-07-25 10:10] upgraded lib32-mesa (7.4.4-1 -> 7.5-1)
    [2009-07-25 10:10] upgraded lib32-pango (1.24.4-2 -> 1.24.5-1)
    [2009-07-25 10:10] upgraded libtool (2.2.6a-2 -> 2.2.6a-3)
    [2009-07-25 10:10] upgraded libv4l (0.5.99-1 -> 0.6.0-1)
    [2009-07-25 10:10] upgraded lvm2 (2.02.47-2 -> 2.02.48-1)
    [2009-07-25 10:10] upgraded mesa (7.4.4-1 -> 7.5-1)
    [2009-07-25 10:10] upgraded pango (1.24.4-2 -> 1.24.5-1)
    [2009-07-25 10:10] upgraded perl-html-parser (3.60-1 -> 3.61-1)
    [2009-07-25 10:10] upgraded perl-libwww (5.825-1 -> 5.829-1)
    [2009-07-25 10:10] upgraded qtcurve-gtk2 (0.65.3-1 -> 0.66.0-1)
    [2009-07-25 10:10] upgraded qtcurve-kde4 (0.65.4-1 -> 0.66.1-1)
    [2009-07-25 10:10] upgraded smplayer (0.6.7-1 -> 0.6.8-1)
    [2009-07-25 10:10] upgraded xorg-server (1.6.1.901-3 -> 1.6.2-1)
    System Config:
    AMD Athlon 64 3000+
    Archlinux 2.6.30.2 X86_64
    KDE 4.2 Unstable
    Nvidia Geforce 6200 Video card
    please tell me how to get my desktop back.:)
    Last edited by cool (2009-07-30 17:06:32)

    Installed the nvidia-beta driver from AUR. version:190.18. it crashed on me.
    [code]____________________________________________
    Start of NVIDIA bug report log file.  Please include this file
    when reporting a graphics driver bug via the nV News NVIDIA
    Linux forum (see www.nvnews.net) or by sending email to
    '[email protected]'.
    nvidia-bug-report.sh Version: 3969188
    Date: Sat Aug  1 18:50:38 PDT 2009
    uname: Linux moody 2.6.30-ARCH #1 SMP PREEMPT Mon Jul 20 07:46:03 CEST 2009 x86_64 AMD Athlon(tm) 64 Processor 3000+ AuthenticAMD GNU/Linux
    X.Org X Server 1.6.2
    Release Date: 2009-7-7
    X Protocol Version 11, Revision 0
    Build Operating System: Linux 2.6.30-ARCH x86_64
    Current Operating System: Linux moody 2.6.30-ARCH #1 SMP PREEMPT Mon Jul 20 07:46:03 CEST 2009 x86_64
    Build Date: 18 July 2009  03:49:37PM
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
    Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    (==) Log file: "/var/log/Xorg.0.log", Time: Sat Aug  1 18:30:08 2009
    (==) Using config file: "/etc/X11/xorg.conf"
    (==) ServerLayout "Layout0"
    (**) |-->Screen "Screen0" (0)
    (**) |   |-->Monitor "Monitor0"
    (**) |   |-->Device "Device0"
    (**) |-->Input Device "Keyboard0"
    (**) |-->Input Device "Mouse0"
    (**) Option "Xinerama" "0"
    (**) Option "AllowEmptyInput" "off"
    (**) Option "AutoAddDevices" "False"
    (**) Not automatically adding devices
    (==) Automatically enabling devices
    (==) FontPath set to:
        /usr/share/fonts/misc,
        /usr/share/fonts/100dpi:unscaled,
        /usr/share/fonts/75dpi:unscaled,
        /usr/share/fonts/TTF,
        /usr/share/fonts/Type1,
        built-ins
    (==) ModulePath set to "/usr/lib/xorg/modules"
    (II) Loader magic: 0xb40
    (II) Module ABI versions:
        X.Org ANSI C Emulation: 0.4
        X.Org Video Driver: 5.0
        X.Org XInput driver : 4.0
        X.Org Server Extension : 2.0
    (II) Loader running on linux
    (--) using VT number 7
    (--) PCI:*(0:1:0:0) 10de:00f3:0000:0000 nVidia Corporation NV43 [GeForce 6200] rev 162, Mem @ 0xf8000000/16777216, 0xe0000000/268435456, 0xf9000000/16777216, BIOS @ 0x????????/131072
    (II) Open ACPI successful (/var/run/acpid.socket)
    (II) System resource ranges:
        [0] -1    0    0xffffffff - 0xffffffff (0x1) MX[b]
        [1] -1    0    0x000f0000 - 0x000fffff (0x10000) MX[b]
        [2] -1    0    0x000c0000 - 0x000effff (0x30000) MX[b]
        [3] -1    0    0x00000000 - 0x0009ffff (0xa0000) MX[b]
        [4] -1    0    0xffffffff - 0xffffffff (0x1) MX[b]
        [5] -1    0    0x000f0000 - 0x000fffff (0x10000) MX[b]
        [6] -1    0    0x000c0000 - 0x000effff (0x30000) MX[b]
        [7] -1    0    0x00000000 - 0x0009ffff (0xa0000) MX[b]
        [8] -1    0    0xffffffff - 0xffffffff (0x1) MX[b]
        [9] -1    0    0x000f0000 - 0x000fffff (0x10000) MX[b]
        [10] -1    0    0x000c0000 - 0x000effff (0x30000) MX[b]
        [11] -1    0    0x00000000 - 0x0009ffff (0xa0000) MX[b]
        [12] -1    0    0xffffffff - 0xffffffff (0x1) MX[b]
        [13] -1    0    0x000f0000 - 0x000fffff (0x10000) MX[b]
        [14] -1    0    0x000c0000 - 0x000effff (0x30000) MX[b]
        [15] -1    0    0x00000000 - 0x0009ffff (0xa0000) MX[b]
        [16] -1    0    0xffffffff - 0xffffffff (0x1) MX[b]
        [17] -1    0    0x000f0000 - 0x000fffff (0x10000) MX[b]
        [18] -1    0    0x000c0000 - 0x000effff (0x30000) MX[b]
        [19] -1    0    0x00000000 - 0x0009ffff (0xa0000) MX[b]
        [20] -1    0    0xffffffff - 0xffffffff (0x1) MX[b]
        [21] -1    0    0x000f0000 - 0x000fffff (0x10000) MX[b]
        [22] -1    0    0x000c0000 - 0x000effff (0x30000) MX[b]
        [23] -1    0    0x00000000 - 0x0009ffff (0xa0000) MX[b]
        [24] -1    0    0xffffffff - 0xffffffff (0x1) MX[b]
        [25] -1    0    0x000f0000 - 0x000fffff (0x10000) MX[b]
        [26] -1    0    0x000c0000 - 0x000effff (0x30000) MX[b]
        [27] -1    0    0x00000000 - 0x0009ffff (0xa0000) MX[b]
        [28] -1    0    0xffffffff - 0xffffffff (0x1) MX[b]
        [29] -1    0    0x000f0000 - 0x000fffff (0x10000) MX[b]
        [30] -1    0    0x000c0000 - 0x000effff (0x30000) MX[b]
        [31] -1    0    0x00000000 - 0x0009ffff (0xa0000) MX[b]
        [32] -1    0    0xffffffff - 0xffffffff (0x1) MX[b]
        [33] -1    0    0x000f0000 - 0x000fffff (0x10000) MX[b]
        [34] -1    0    0x000c0000 - 0x000effff (0x30000) MX[b]
        [35] -1    0    0x00000000 - 0x0009ffff (0xa0000) MX[b]
        [36] -1    0    0xffffffff - 0xffffffff (0x1) MX[b]
        [37] -1    0    0x000f0000 - 0x000fffff (0x10000) MX[b]
        [38] -1    0    0x000c0000 - 0x000effff (0x30000) MX[b]
        [39] -1    0    0x00000000 - 0x0009ffff (0xa0000) MX[b]
        [40] -1    0    0x0000ffff - 0x0000ffff (0x1) IX[b]
        [41] -1    0    0x00000000 - 0x00000000 (0x1) IX[b]
        [42] -1    0    0x0000ffff - 0x0000ffff (0x1) IX[b]
        [43] -1    0    0x00000000 - 0x00000000 (0x1) IX[b]
        [44] -1    0    0x0000ffff - 0x0000ffff (0x1) IX[b]
        [45] -1    0    0x00000000 - 0x00000000 (0x1) IX[b]
        [46] -1    0    0x0000ffff - 0x0000ffff (0x1) IX[b]
        [47] -1    0    0x00000000 - 0x00000000 (0x1) IX[b]
        [48] -1    0    0x0000ffff - 0x0000ffff (0x1) IX[b]
        [49] -1    0    0x00000000 - 0x00000000 (0x1) IX[b]
        [50] -1    0    0x0000ffff - 0x0000ffff (0x1) IX[b]
        [51] -1    0    0x00000000 - 0x00000000 (0x1) IX[b]
        [52] -1    0    0x0000ffff - 0x0000ffff (0x1) IX[b]
        [53] -1    0    0x00000000 - 0x00000000 (0x1) IX[b]
        [54] -1    0    0x0000ffff - 0x0000ffff (0x1) IX[b]
        [55] -1    0    0x00000000 - 0x00000000 (0x1) IX[b]
        [56] -1    0    0x0000ffff - 0x0000ffff (0x1) IX[b]
        [57] -1    0    0x00000000 - 0x00000000 (0x1) IX[b]
        [58] -1    0    0x0000ffff - 0x0000ffff (0x1) IX[b]
        [59] -1    0    0x00000000 - 0x00000000 (0x1) IX[b]
    (II) "extmod" will be loaded. This was enabled by default and also specified in the config file.
    (II) "dbe" will be loaded. This was enabled by default and also specified in the config file.
    (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
    (II) "record" will be loaded by default.
    (II) "dri" will be loaded by default.
    (II) "dri2" will be loaded by default.
    (II) LoadModule: "dbe"
    (II) Loading /usr/lib/xorg/modules/extensions//libdbe.so
    (II) Module dbe: vendor="X.Org Foundation"
        compiled for 1.6.2, module version = 1.0.0
        Module class: X.Org Server Extension
        ABI class: X.Org Server Extension, version 2.0
    (II) Loading extension DOUBLE-BUFFER
    (II) LoadModule: "extmod"
    (II) Loading /usr/lib/xorg/modules/extensions//libextmod.so
    (II) Module extmod: vendor="X.Org Foundation"
        compiled for 1.6.2, module version = 1.0.0
        Module class: X.Org Server Extension
        ABI class: X.Org Server Extension, version 2.0
    (II) Loading extension MIT-SCREEN-SAVER
    (II) Loading extension XFree86-VidModeExtension
    (II) Loading extension XFree86-DGA
    (II) Loading extension DPMS
    (II) Loading extension XVideo
    (II) Loading extension XVideo-MotionCompensation
    (II) Loading extension X-Resource
    (II) LoadModule: "freetype"
    (WW) Warning, couldn't open module freetype
    (II) UnloadModule: "freetype"
    (EE) Failed to load module "freetype" (module does not exist, 0)
    (II) LoadModule: "glx"
    (II) Loading /usr/lib/xorg/modules/extensions//libglx.so
    (II) Module glx: vendor="NVIDIA Corporation"
        compiled for 4.0.2, module version = 1.0.0
        Module class: X.Org Server Extension
    (II) NVIDIA GLX Module  190.18  Wed Jul 22 16:35:50 PDT 2009
    (II) Loading extension GLX
    (II) LoadModule: "record"
    (II) Loading /usr/lib/xorg/modules/extensions//librecord.so
    (II) Module record: vendor="X.Org Foundation"
        compiled for 1.6.2, module version = 1.13.0
        Module class: X.Org Server Extension
        ABI class: X.Org Server Extension, version 2.0
    (II) Loading extension RECORD
    (II) LoadModule: "dri"
    (II) Loading /usr/lib/xorg/modules/extensions//libdri.so
    (II) Module dri: vendor="X.Org Foundation"
        compiled for 1.6.2, module version = 1.0.0
        ABI class: X.Org Server Extension, version 2.0
    (II) Loading extension XFree86-DRI
    (II) LoadModule: "dri2"
    (II) Loading /usr/lib/xorg/modules/extensions//libdri2.so
    (II) Module dri2: vendor="X.Org Foundation"
        compiled for 1.6.2, module version = 1.1.0
        ABI class: X.Org Server Extension, version 2.0
    (II) Loading extension DRI2
    (II) LoadModule: "nvidia"
    (II) Loading /usr/lib/xorg/modules/drivers//nvidia_drv.so
    (II) Module nvidia: vendor="NVIDIA Corporation"
        compiled for 4.0.2, module version = 1.0.0
        Module class: X.Org Video Driver
    (II) LoadModule: "kbd"
    (II) Loading /usr/lib/xorg/modules/input//kbd_drv.so
    (II) Module kbd: vendor="X.Org Foundation"
        compiled for 1.6.0, module version = 1.3.2
        Module class: X.Org XInput Driver
        ABI class: X.Org XInput driver, version 4.0
    (II) LoadModule: "mouse"
    (II) Loading /usr/lib/xorg/modules/input//mouse_drv.so
    (II) Module mouse: vendor="X.Org Foundation"
        compiled for 1.6.0, module version = 1.4.0
        Module class: X.Org XInput Driver
        ABI class: X.Org XInput driver, version 4.0
    (II) NVIDIA dlloader X Driver  190.18  Wed Jul 22 15:47:48 PDT 2009
    (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
    (II) Primary Device is: PCI 01@00:00:0
    (II) Loading sub module "fb"
    (II) LoadModule: "fb"
    (II) Loading /usr/lib/xorg/modules//libfb.so
    (II) Module fb: vendor="X.Org Foundation"
        compiled for 1.6.2, module version = 1.0.0
        ABI class: X.Org ANSI C Emulation, version 0.4
    (II) Loading sub module "wfb"
    (II) LoadModule: "wfb"
    (II) Loading /usr/lib/xorg/modules//libwfb.so
    (II) Module wfb: vendor="X.Org Foundation"
        compiled for 1.6.2, module version = 1.0.0
        ABI class: X.Org ANSI C Emulation, version 0.4
    (II) Loading sub module "ramdac"
    (II) LoadModule: "ramdac"
    (II) Module "ramdac" already built-in
    (II) resource ranges after probing:
        [0] -1    0    0xffffffff - 0xffffffff (0x1) MX[b]
        [1] -1    0    0x000f0000 - 0x000fffff (0x10000) MX[b]
        [2] -1    0    0x000c0000 - 0x000effff (0x30000) MX[b]
        [3] -1    0    0x00000000 - 0x0009ffff (0xa0000) MX[b]
        [4] -1    0    0xffffffff - 0xffffffff (0x1) MX[b]
        [5] -1    0    0x000f0000 - 0x000fffff (0x10000) MX[b]
        [6] -1    0    0x000c0000 - 0x000effff (0x30000) MX[b]
        [7] -1    0    0x00000000 - 0x0009ffff (0xa0000) MX[b]
        [8] -1    0    0xffffffff - 0xffffffff (0x1) MX[b]
        [9] -1    0    0x000f0000 - 0x000fffff (0x10000) MX[b]
        [10] -1    0    0x000c0000 - 0x000effff (0x30000) MX[b]
        [11] -1    0    0x00000000 - 0x0009ffff (0xa0000) MX[b]
        [12] -1    0    0xffffffff - 0xffffffff (0x1) MX[b]
        [13] -1    0    0x000f0000 - 0x000fffff (0x10000) MX[b]
        [14] -1    0    0x000c0000 - 0x000effff (0x30000) MX[b]
        [15] -1    0    0x00000000 - 0x0009ffff (0xa0000) MX[b]
        [16] -1    0    0xffffffff - 0xffffffff (0x1) MX[b]
        [17] -1    0    0x000f0000 - 0x000fffff (0x10000) MX[b]
        [18] -1    0    0x000c0000 - 0x000effff (0x30000) MX[b]
        [19] -1    0    0x00000000 - 0x0009ffff (0xa0000) MX[b]
        [20] -1    0    0xffffffff - 0xffffffff (0x1) MX[b]
        [21] -1    0    0x000f0000 - 0x000fffff (0x10000) MX[b]
        [22] -1    0    0x000c0000 - 0x000effff (0x30000) MX[b]
        [23] -1    0    0x00000000 - 0x0009ffff (0xa0000) MX[b]
        [24] -1    0    0xffffffff - 0xffffffff (0x1) MX[b]
        [25] -1    0    0x000f0000 - 0x000fffff (0x10000) MX[b]
        [26] -1    0    0x000c0000 - 0x000effff (0x30000) MX[b]
        [27] -1    0    0x00000000 - 0x0009ffff (0xa0000) MX[b]
        [28] -1    0    0xffffffff - 0xffffffff (0x1) MX[b]
        [29] -1    0    0x000f0000 - 0x000fffff (0x10000) MX[b]
        [30] -1    0    0x000c0000 - 0x000effff (0x30000) MX[b]
        [31] -1    0    0x00000000 - 0x0009ffff (0xa0000) MX[b]
        [32] -1    0    0xffffffff - 0xffffffff (0x1) MX[b]
        [33] -1    0    0x000f0000 - 0x000fffff (0x10000) MX[b]
        [34] -1    0    0x000c0000 - 0x000effff (0x30000) MX[b]
        [35] -1    0    0x00000000 - 0x0009ffff (0xa0000) MX[b]
        [36] -1    0    0xffffffff - 0xffffffff (0x1) MX[b]
        [37] -1    0    0x000f0000 - 0x000fffff (0x10000) MX[b]
        [38] -1    0    0x000c0000 - 0x000effff (0x30000) MX[b]
        [39] -1    0    0x00000000 - 0x0009ffff (0xa0000) MX[b]
        [40] -1    0    0x0000ffff - 0x0000ffff (0x1) IX[b]
        [41] -1    0    0x00000000 - 0x00000000 (0x1) IX[b]
        [42] -1    0    0x0000ffff - 0x0000ffff (0x1) IX[b]
        [43] -1    0    0x00000000 - 0x00000000 (0x1) IX[b]
        [44] -1    0    0x0000ffff - 0x0000ffff (0x1) IX[b]
        [45] -1    0    0x00000000 - 0x00000000 (0x1) IX[b]
        [46] -1    0    0x0000ffff - 0x0000ffff (0x1) IX[b]
        [47] -1    0    0x00000000 - 0x00000000 (0x1) IX[b]
        [48] -1    0    0x0000ffff - 0x0000ffff (0x1) IX[b]
        [49] -1    0    0x00000000 - 0x00000000 (0x1) IX[b]
        [50] -1    0    0x0000ffff - 0x0000ffff (0x1) IX[b]
        [51] -1    0    0x00000000 - 0x00000000 (0x1) IX[b]
        [52] -1    0    0x0000ffff - 0x0000ffff (0x1) IX[b]
        [53] -1    0    0x00000000 - 0x00000000 (0x1) IX[b]
        [54] -1    0    0x0000ffff - 0x0000ffff (0x1) IX[b]
        [55] -1    0    0x00000000 - 0x00000000 (0x1) IX[b]
        [56] -1    0    0x0000ffff - 0x0000ffff (0x1) IX[b]
        [57] -1    0    0x00000000 - 0x00000000 (0x1) IX[b]
        [58] -1    0    0x0000ffff - 0x0000ffff (0x1) IX[b]
        [59] -1    0    0x00000000 - 0x00000000 (0x1) IX[b]
    (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
    (==) NVIDIA(0): RGB weight 888
    (==) NVIDIA(0): Default visual is TrueColor
    (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
    (**) NVIDIA(0): Option "NoLogo" "True"
    (**) NVIDIA(0): Option "RenderAccel" "True"
    (**) NVIDIA(0): Option "TwinView" "0"
    (**) NVIDIA(0): Option "MetaModes" "1280x1024 +0+0"
    (**) NVIDIA(0): Option "TwinViewXineramaInfoOrder" "CRT-0"
    (**) NVIDIA(0): Option "TripleBuffer" "True"
    (**) NVIDIA(0): Option "OnDemandVBlankInterrupts" "True"
    (**) NVIDIA(0): Option "PixmapCacheSize" "300000"
    (**) Aug 01 18:30:10 NVIDIA(0): Enabling RENDER acceleration
    (II) Aug 01 18:30:10 NVIDIA(0): Support for GLX with the Damage and Composite X extensions is
    (II) Aug 01 18:30:10 NVIDIA(0):     enabled.
    (II) Aug 01 18:30:12 NVIDIA(0): NVIDIA GPU GeForce 6200 (NV43) at PCI:1:0:0 (GPU-0)
    (--) Aug 01 18:30:12 NVIDIA(0): Memory: 131072 kBytes
    (--) Aug 01 18:30:12 NVIDIA(0): VideoBIOS: 05.43.02.80.00
    (II) Aug 01 18:30:12 NVIDIA(0): Detected AGP rate: 8X
    (--) Aug 01 18:30:12 NVIDIA(0): Interlaced video modes are supported on this GPU
    (--) Aug 01 18:30:12 NVIDIA(0): Connected display device(s) on GeForce 6200 at PCI:1:0:0:
    (--) Aug 01 18:30:12 NVIDIA(0):     Samsung SyncMaster (CRT-0)
    (--) Aug 01 18:30:12 NVIDIA(0): Samsung SyncMaster (CRT-0): 400.0 MHz maximum pixel clock
    (II) Aug 01 18:30:12 NVIDIA(0): Assigned Display Device: CRT-0
    (II) Aug 01 18:30:12 NVIDIA(0): Validated modes:
    (II) Aug 01 18:30:12 NVIDIA(0):     "1280x1024+0+0"
    (II) Aug 01 18:30:12 NVIDIA(0): Virtual screen size determined to be 1280 x 1024
    (--) Aug 01 18:30:12 NVIDIA(0): DPI set to (104, 113); computed from "UseEdidDpi" X config
    (--) Aug 01 18:30:12 NVIDIA(0):     option
    (==) Aug 01 18:30:12 NVIDIA(0): Enabling 32-bit ARGB GLX visuals.
    (--) Depth 24 pixmap format is 32 bpp
    (II) do I need RAC?  No, I don't.
    (II) resource ranges after preInit:
        [0] -1    0    0xffffffff - 0xffffffff (0x1) MX[b]
        [1] -1    0    0x000f0000 - 0x000fffff (0x10000) MX[b]
        [2] -1    0    0x000c0000 - 0x000effff (0x30000) MX[b]
        [3] -1    0    0x00000000 - 0x0009ffff (0xa0000) MX[b]
        [4] -1    0    0xffffffff - 0xffffffff (0x1) MX[b]
        [5] -1    0    0x000f0000 - 0x000fffff (0x10000) MX[b]
        [6] -1    0    0x000c0000 - 0x000effff (0x30000) MX[b]
        [7] -1    0    0x00000000 - 0x0009ffff (0xa0000) MX[b]
        [8] -1    0    0xffffffff - 0xffffffff (0x1) MX[b]
        [9] -1    0    0x000f0000 - 0x000fffff (0x10000) MX[b]
        [10] -1    0    0x000c0000 - 0x000effff (0x30000) MX[b]
        [11] -1    0    0x00000000 - 0x0009ffff (0xa0000) MX[b]
        [12] -1    0    0xffffffff - 0xffffffff (0x1) MX[b]
        [13] -1    0    0x000f0000 - 0x000fffff (0x10000) MX[b]
        [14] -1    0    0x000c0000 - 0x000effff (0x30000) MX[b]
        [15] -1    0    0x00000000 - 0x0009ffff (0xa0000) MX[b]
        [16] -1    0    0xffffffff - 0xffffffff (0x1) MX[b]
        [17] -1    0    0x000f0000 - 0x000fffff (0x10000) MX[b]
        [18] -1    0    0x000c0000 - 0x000effff (0x30000) MX[b]
        [19] -1    0    0x00000000 - 0x0009ffff (0xa0000) MX[b]
        [20] -1    0    0xffffffff - 0xffffffff (0x1) MX[b]
        [21] -1    0    0x000f0000 - 0x000fffff (0x10000) MX[b]
        [22] -1    0    0x000c0000 - 0x000effff (0x30000) MX[b]
        [23] -1    0    0x00000000 - 0x0009ffff (0xa0000) MX[b]
        [24] -1    0    0xffffffff - 0xffffffff (0x1) MX[b]
        [25] -1    0    0x000f0000 - 0x000fffff (0x10000) MX[b]
        [26] -1    0    0x000c0000 - 0x000effff (0x30000) MX[b]
        [27] -1    0    0x00000000 - 0x0009ffff (0xa0000) MX[b]
        [28] -1    0    0xffffffff - 0xffffffff (0x1) MX[b]
        [29] -1    0    0x000f0000 - 0x000fffff (0x10000) MX[b]
        [30] -1    0    0x000c0000 - 0x000effff (0x30000) MX[b]
        [31] -1    0    0x00000000 - 0x0009ffff (0xa0000) MX[b]
        [32] -1    0    0xffffffff - 0xffffffff (0x1) MX[b]
        [33] -1    0    0x000f0000 - 0x000fffff (0x10000) MX[b]
        [34] -1    0    0x000c0000 - 0x000effff (0x30000) MX[b]
        [35] -1    0    0x00000000 - 0x0009ffff (0xa0000) MX[b]
        [36] -1    0    0xffffffff - 0xffffffff (0x1) MX[b]
        [37] -1    0    0x000f0000 - 0x000fffff (0x10000) MX[b]
        [38] -1    0    0x000c0000 - 0x000effff (0x30000) MX[b]
        [39] -1    0    0x00000000 - 0x0009ffff (0xa0000) MX[b]
        [40] -1    0    0x0000ffff - 0x0000ffff (0x1) IX[b]
        [41] -1    0    0x00000000 - 0x00000000 (0x1) IX[b]
        [42] -1    0    0x0000ffff - 0x0000ffff (0x1) IX[b]
        [43] -1    0    0x00000000 - 0x00000000 (0x1) IX[b]
        [44] -1    0    0x0000ffff - 0x0000ffff (0x1) IX[b]
        [45] -1    0    0x00000000 - 0x00000000 (0x1) IX[b]
        [46] -1    0    0x0000ffff - 0x0000ffff (0x1) IX[b]
        [47] -1    0    0x00000000 - 0x00000000 (0x1) IX[b]
        [48] -1    0    0x0000ffff - 0x0000ffff (0x1) IX[b]
        [49] -1    0    0x00000000 - 0x00000000 (0x1) IX[b]
        [50] -1    0    0x0000ffff - 0x0000ffff (0x1) IX[b]
        [51] -1    0    0x00000000 - 0x00000000 (0x1) IX[b]
        [52] -1    0    0x0000ffff - 0x0000ffff (0x1) IX[b]
        [53] -1    0    0x00000000 - 0x00000000 (0x1) IX[b]
        [54] -1    0    0x0000ffff - 0x0000ffff (0x1) IX[b]
        [55] -1    0    0x00000000 - 0x00000000 (0x1) IX[b]
        [56] -1    0    0x0000ffff - 0x0000ffff (0x1) IX[b]
        [57] -1    0    0x00000000 - 0x00000000 (0x1) IX[b]
        [58] -1    0    0x0000ffff - 0x0000ffff (0x1) IX[b]
        [59] -1    0    0x00000000 - 0x00000000 (0x1) IX[b]
    (WW) Aug 01 18:30:12 NVIDIA(0): Failed to allocate GLX video capture device array.
    (II) Aug 01 18:30:12 NVIDIA(0): Initialized AGP GART.
    (II) Aug 01 18:30:12 NVIDIA(0): Setting mode "1280x1024+0+0"
    Backtrace:
    0: /usr/bin/X(xorg_backtrace+0x26) [0x4ee2e6]
    1: /usr/bin/X(xf86SigHandler+0x6f) [0x47b1cf]
    2: /lib/libc.so.6 [0x7f4b2a26cf90]
    3: /usr/lib/xorg/modules/drivers//nvidia_drv.so(_nv000988X+0x23) [0x7f4b27067893]
    4: /usr/lib/xorg/modules/drivers//nvidia_drv.so [0x7f4b2702f988]
    5: /usr/lib/xorg/modules/drivers//nvidia_drv.so(_nv001911X+0x2e) [0x7f4b2707975e]
    6: /usr/lib/xorg/modules/drivers//nvidia_drv.so [0x7f4b27075814]
    7: /usr/lib/xorg/modules/drivers//nvidia_drv.so(_nv002497X+0xaa) [0x7f4b27075faa]
    8: /usr/lib/xorg/modules/drivers//nvidia_drv.so(_nv000979X+0x19d) [0x7f4b270503fd]
    9: /usr/lib/xorg/modules/drivers//nvidia_drv.so [0x7f4b2704cf69]
    10: /usr/lib/xorg/modules/drivers//nvidia_drv.so [0x7f4b272a9d88]
    11: /usr/lib/xorg/modules/drivers//nvidia_drv.so [0x7f4b272aa53e]
    12: /usr/lib/xorg/modules/drivers//nvidia_drv.so [0x7f4b2729b0bc]
    13: /usr/bin/X(AddScreen+0x1d4) [0x433114]
    14: /usr/bin/X(InitOutput+0x76f) [0x46e12f]
    15: /usr/bin/X(main+0x1fe) [0x43381e]
    16: /lib/libc.so.6(__libc_start_main+0xfd) [0x7f4b2a2599ed]
    17: /usr/bin/X [0x432e59]
    Fatal server error:
    Caught signal 11.  Server aborting
    Please consult the The X.Org Foundation support
         at http://wiki.x.org
    for help.
    Please also check the log file at "/var/log/Xorg.0.log" for additional information.
    /etc/X11/xorg.conf
    # nvidia-settings: X configuration file generated by nvidia-settings
    # nvidia-settings:  version 1.0  (buildmeister@builder62)  Tue Jan  6 09:44:34 PST 2009
    # nvidia-xconfig: X configuration file generated by nvidia-xconfig
    # nvidia-xconfig:  version 1.0  (buildmeister@builder58)  Wed Oct  1 15:12:53 PDT 2008
    Section "ServerLayout"
        Identifier     "Layout0"
        Screen      0  "Screen0" 0 0
        InputDevice    "Keyboard0" "CoreKeyboard"
        InputDevice    "Mouse0" "CorePointer"
    EndSection
    Section "Files"
    EndSection
    Section "Module"
        Load           "dbe"
        Load           "extmod"
    #    Load           "type1"
        Load           "freetype"
        Load           "glx"
    EndSection
    Section "ServerFlags"
        Option         "AutoAddDevices" "False"
        Option         "Xinerama" "0"
        Option       "AllowEmptyInput" "off"
    EndSection
    Section "InputDevice"
        # generated from default
        Identifier     "Mouse0"
        Driver         "mouse"
        Option         "Protocol" "auto"
        Option         "Device" "/dev/psaux"
        Option         "Emulate3Buttons" "no"
        Option         "ZAxisMapping" "4 5"
    EndSection
    Section "InputDevice"
        # generated from default
        Identifier     "Keyboard0"
        Driver         "kbd"
    EndSection
    Section "Monitor"
        Identifier     "Monitor0"
        VendorName     "Unknown"
        ModelName      "Samsung SyncMaster"
        HorizSync       30.0 - 71.0
        VertRefresh     50.0 - 160.0
        Option         "DPMS"
    EndSection
    Section "Device"
        Identifier     "Device0"
        Driver         "nvidia"
        VendorName     "NVIDIA Corporation"
        BoardName      "GeForce 6200"
        Option         "NoLogo" "True"
        Option         "RenderAccel" "True"
        Option         "TripleBuffer" "True"
        Option         "BackingStore" "True"
        Option         "PixmapCacheSize" "300000"
        Option         "OnDemandVBlankInterrupts" "True"
    EndSection
    Section "Screen"
        Identifier     "Screen0"
        Device         "Device0"
        Monitor        "Monitor0"
        DefaultDepth    24
        Option         "TwinView" "0"
        Option         "TwinViewXineramaInfoOrder" "CRT-0"
        Option         "metamodes" "1280x1024 +0+0"
        SubSection     "Display"
            Depth       24
        EndSubSection
    EndSection
    ldd /usr/bin/glxinfo
        linux-vdso.so.1 =>  (0x00007fff7bdff000)
        libGL.so.1 => /usr/lib/libGL.so.1 (0x00007f02ea6dc000)
        libm.so.6 => /lib/libm.so.6 (0x00007f02ea45a000)
        libc.so.6 => /lib/libc.so.6 (0x00007f02ea107000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0x00007f02e9dcc000)
        libGLcore.so.1 => /usr/lib/libGLcore.so.1 (0x00007f02e89a2000)
        libnvidia-tls.so.1 => /usr/lib/libnvidia-tls.so.1 (0x00007f02ea9b8000)
        libXext.so.6 => /usr/lib/libXext.so.6 (0x00007f02e8790000)
        libdl.so.2 => /lib/libdl.so.2 (0x00007f02e858c000)
        /lib/ld-linux-x86-64.so.2 (0x00007f02ea8cb000)
        libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00007f02e8370000)
        libXau.so.6 => /usr/lib/libXau.so.6 (0x00007f02e816e000)
        libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00007f02e7f69000)
    /usr/sbin/lspci -d "10de:*" -v -xxx
    01:00.0 VGA compatible controller: nVidia Corporation NV43 [GeForce 6200] (rev a2) (prog-if 00 [VGA controller])
        Flags: bus master, 66MHz, medium devsel, latency 248, IRQ 16
        Memory at f8000000 (32-bit, non-prefetchable) [size=16M]
        Memory at e0000000 (32-bit, prefetchable) [size=256M]
        Memory at f9000000 (32-bit, non-prefetchable) [size=16M]
        [virtual] Expansion ROM at fa000000 [disabled] [size=128K]
        Capabilities: [60] Power Management version 2
        Capabilities: [44] AGP version 3.0
        Kernel driver in use: nvidia
        Kernel modules: nvidia, nvidiafb
    00: de 10 f3 00 07 00 b0 02 a2 00 00 03 00 f8 00 00
    10: 00 00 00 f8 08 00 00 e0 00 00 00 f9 00 00 00 00
    20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    30: 00 00 00 00 60 00 00 00 00 00 00 00 0a 01 05 01
    40: 00 00 00 00 02 00 30 00 1b 0e 00 ff 02 03 00 1f
    50: 00 00 00 00 01 00 00 00 ce d6 23 00 0f 00 00 00
    60: 01 44 02 00 00 00 00 00 00 00 00 00 00 00 00 00
    70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    90: 00 00 00 00 00 80 00 00 01 04 40 c1 00 00 00 00
    a0: 08 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    /usr/sbin/lspci -t
    -[0000:00]-+-00.0
               +-00.1
               +-00.2
               +-00.3
               +-00.4
               +-00.7
               +-01.0-[0000:01]----00.0
               +-0f.0
               +-0f.1
               +-10.0
               +-10.1
               +-10.2
               +-10.3
               +-10.4
               +-11.0
               +-11.5
               +-12.0
               +-18.0
               +-18.1
               +-18.2
               \-18.3
    /usr/sbin/dmidecode
    # dmidecode 2.10
    SMBIOS 2.3 present.
    33 structures occupying 998 bytes.
    Table at 0x000F0800.
    Handle 0x0000, DMI type 0, 20 bytes
    BIOS Information
        Vendor: Phoenix Technologies, LTD
        Version: 6.00 PG
        Release Date: 06/01/2005
        Address: 0xE0000
        Runtime Size: 128 kB
        ROM Size: 512 kB
        Characteristics:
            ISA is supported
            PCI is supported
            PNP is supported
            APM is supported
            BIOS is upgradeable
            BIOS shadowing is allowed
            ESCD support is available
            Boot from CD is supported
            Selectable boot is supported
            BIOS ROM is socketed
            EDD is supported
            5.25"/360 kB floppy services are supported (int 13h)
            5.25"/1.2 MB floppy services are supported (int 13h)
            3.5"/720 kB floppy services are supported (int 13h)
            3.5"/2.88 MB floppy services are supported (int 13h)
            Print screen service is supported (int 5h)
            8042 keyboard services are supported (int 9h)
            Serial services are supported (int 14h)
            Printer services are supported (int 17h)
            CGA/mono video services are supported (int 10h)
            ACPI is supported
            USB legacy is supported
            AGP is supported
            LS-120 boot is supported
            ATAPI Zip drive boot is supported
            BIOS boot specification is supported
    Handle 0x0001, DMI type 1, 25 bytes
    System Information
        Manufacturer: MICRO-STAR INTERNATIONAL CO., LTD
        Product Name: MS-7142
        Version: 1.00
        Serial Number: 
        UUID: Not Present
        Wake-up Type: Power Switch
    Handle 0x0002, DMI type 2, 8 bytes
    Base Board Information
        Manufacturer: MICRO-STAR INTERNATIONAL CO., LTD
        Product Name: MS-7142
        Version: 1.00
        Serial Number: 
    Handle 0x0003, DMI type 3, 17 bytes
    Chassis Information
        Manufacturer: 
        Type: Desktop
        Lock: Not Present
        Version: 
        Serial Number: 
        Asset Tag: 
        Boot-up State: Unknown
        Power Supply State: Unknown
        Thermal State: Unknown
        Security Status: Unknown
        OEM Information: 0x00000000
    Handle 0x0004, DMI type 4, 35 bytes
    Processor Information
        Socket Designation: Socket 754
        Type: Central Processor
        Family: Athlon 64
        Manufacturer: AMD
        ID: C0 0F 00 00 FF FB 8B 07
        Signature: Family 15, Model 12, Stepping 0
        Flags:
            FPU (Floating-point unit on-chip)
            VME (Virtual mode extension)
            DE (Debugging extension)
            PSE (Page size extension)
            TSC (Time stamp counter)
            MSR (Model specific registers)
            PAE (Physical address extension)
            MCE (Machine check exception)
            CX8 (CMPXCHG8 instruction supported)
            APIC (On-chip APIC hardware supported)
            SEP (Fast system call)
            MTRR (Memory type range registers)
            PGE (Page global enable)
            MCA (Machine check architecture)
            CMOV (Conditional move instruction supported)
            PAT (Page attribute table)
            PSE-36 (36-bit page size extension)
            CLFSH (CLFLUSH instruction supported)
            MMX (MMX technology supported)
            FXSR (Fast floating-point save and restore)
            SSE (Streaming SIMD extensions)
            SSE2 (Streaming SIMD extensions 2)
        Version: AMD Athlon(tm) 64 Processor 3000+
        Voltage: 1.5 V
        External Clock: 200 MHz
        Max Speed: 3000 MHz
        Current Speed: 2000 MHz
        Status: Populated, Enabled
        Upgrade: Socket 754
        L1 Cache Handle: 0x0008
        L2 Cache Handle: 0x0009
        L3 Cache Handle: Not Provided
        Serial Number: 
        Asset Tag: 
        Part Number: 
    Handle 0x0005, DMI type 5, 20 bytes
    Memory Controller Information
        Error Detecting Method: 64-bit ECC
        Error Correcting Capabilities:
            None
        Supported Interleave: One-way Interleave
        Current Interleave: One-way Interleave
        Maximum Memory Module Size: 4096 MB
        Maximum Total Memory Size: 8192 MB
        Supported Speeds:
            70 ns
            60 ns
            50 ns
        Supported Memory Types:
            Standard
            DIMM
        Memory Module Voltage: 2.9 V
        Associated Memory Slots: 2
            0x0006
            0x0007
        Enabled Error Correcting Capabilities: None
    Handle 0x0006, DMI type 6, 12 bytes
    Memory Module Information
        Socket Designation: A0
        Bank Connections: None
        Current Speed: 5 ns
        Type: Unknown EDO
        Installed Size: Not Installed
        Enabled Size: Not Installed
        Error Status: OK
    Handle 0x0007, DMI type 6, 12 bytes
    Memory Module Information
        Socket Designation: A1
        Bank Connections: 2 3
        Current Speed: 5 ns
        Type: Unknown EDO
        Installed Size: 1024 MB (Double-bank Connection)
        Enabled Size: 1024 MB (Double-bank Connection)
        Error Status: OK
    Handle 0x0008, DMI type 7, 19 bytes
    Cache Information
        Socket Designation: Internal Cache
        Configuration: Enabled, Not Socketed, Level 1
        Operational Mode: Write Back
        Location: Internal
        Installed Size: 128 kB
        Maximum Size: 128 kB
        Supported SRAM Types:
            Synchronous
        Installed SRAM Type: Synchronous
        Speed: Unknown
        Error Correction Type: Unknown
        System Type: Unknown
        Associativity: Unknown
    Handle 0x0009, DMI type 7, 19 bytes
    Cache Information
        Socket Designation: External Cache
        Configuration: Enabled, Not Socketed, Level 2
        Operational Mode: Write Back
        Location: Internal
        Installed Size: 512 kB
        Maximum Size: 512 kB
        Supported SRAM Types:
            Synchronous
        Installed SRAM Type: Synchronous
        Speed: Unknown
        Error Correction Type: Unknown
        System Type: Unknown
        Associativity: Unknown
    Handle 0x000A, DMI type 8, 9 bytes
    Port Connector Information
        Internal Reference Designator: PRIMARY IDE
        Internal Connector Type: On Board IDE
        External Reference Designator: Not Specified
        External Connector Type: None
        Port Type: Other
    Handle 0x000B, DMI type 8, 9 bytes
    Port Connector Information
        Internal Reference Designator: SECONDARY IDE
        Internal Connector Type: On Board IDE
        External Reference Designator: Not Specified
        External Connector Type: None
        Port Type: Other
    Handle 0x000C, DMI type 8, 9 bytes
    Port Connector Information
        Internal Reference Designator: FDD
        Internal Connector Type: On Board Floppy
        External Reference Designator: Not Specified
        External Connector Type: None
        Port Type: 8251 FIFO Compatible
    Handle 0x000D, DMI type 8, 9 bytes
    Port Connector Information
        Internal Reference Designator: COM1
        Internal Connector Type: 9 Pin Dual Inline (pin 10 cut)
        External Reference Designator: 
        External Connector Type: DB-9 male
        Port Type: Serial Port 16450 Compatible
    Handle 0x000E, DMI type 8, 9 bytes
    Port Connector Information
        Internal Reference Designator: COM2
        Internal Connector Type: 9 Pin Dual Inline (pin 10 cut)
        External Reference Designator: 
        External Connector Type: DB-9 male
        Port Type: Serial Port 16450 Compatible
    Handle 0x000F, DMI type 8, 9 bytes
    Port Connector Information
        Internal Reference Designator: LPT1
        Internal Connector Type: DB-25 female
        External Reference Designator: 
        External Connector Type: DB-25 female
        Port Type: Parallel Port ECP/EPP
    Handle 0x0010, DMI type 8, 9 bytes
    Port Connector Information
        Internal Reference Designator: Keyboard
        Internal Connector Type: PS/2
        External Reference Designator: 
        External Connector Type: PS/2
        Port Type: Keyboard Port
    Handle 0x0011, DMI type 8, 9 bytes
    Port Connector Information
        Internal Reference Designator: PS/2 Mouse
        Internal Connector Type: PS/2
        External Reference Designator: 
        External Connector Type: PS/2
        Port Type: Mouse Port
    Handle 0x0012, DMI type 8, 9 bytes
    Port Connector Information
        Internal Reference Designator: Not Specified
        Internal Connector Type: None
        External Reference Designator: USB0
        External Connector Type: Other
        Port Type: USB
    Handle 0x0013, DMI type 9, 13 bytes
    System Slot Information
        Designation: PCI0
        Type: 32-bit PCI
        Current Usage: Available
        Length: Long
        ID: 1
        Characteristics:
            5.0 V is provided
            PME signal is supported
    Handle 0x0014, DMI type 9, 13 bytes
    System Slot Information
        Designation: PCI1
        Type: 32-bit PCI
        Current Usage: Available
        Length: Long
        ID: 2
        Characteristics:
            5.0 V is provided
            PME signal is supported
    Handle 0x0015, DMI type 9, 13 bytes
    System Slot Information
        Designation: PCI2
        Type: 32-bit PCI
        Current Usage: Available
        Length: Long
        ID: 3
        Characteristics:
            5.0 V is provided
            PME signal is supported
    Handle 0x0016, DMI type 9, 13 bytes
    System Slot Information
        Designation: PCI3
        Type: 32-bit PCI
        Current Usage: In Use
        Length: Long
        ID: 0
        Characteristics:
            5.0 V is provided
            PME signal is supported
    Handle 0x0017, DMI type 9, 13 bytes
    System Slot Information
        Designation: AGP
        Type: 32-bit AGP
        Current Usage: In Use
        Length: Long
        ID: 8
        Characteristics:
            5.0 V is provided
    Handle 0x0018, DMI type 13, 22 bytes
    BIOS Language Information
        Installable Languages: 3
            n|US|iso8859-1
            n|US|iso8859-1
            r|CA|iso8859-1
        Currently Installed Language: n|US|iso8859-1
    Handle 0x0019, DMI type 16, 15 bytes
    Physical Memory Array
        Location: System Board Or Motherboard
        Use: System Memory
        Error Correction Type: None
        Maximum Capacity: 8 GB
        Error Information Handle: Not Provided
        Number Of Devices: 2
    Handle 0x001A, DMI type 17, 27 bytes
    Memory Device
        Array Handle: 0x0019
        Error Information Handle: Not Provided
        Total Width: 64 bits
        Data Width: 64 bits
        Size: No Module Installed
        Form Factor: DIMM
        Set: None
        Locator: A0
        Bank Locator: Bank0/1
        Type: Unknown
        Type Detail: None
        Speed: Unknown
        Manufacturer: None
        Serial Number: None
        Asset Tag: None
        Part Number: None
    Handle 0x001B, DMI type 17, 27 bytes
    Memory Device
        Array Handle: 0x0019
        Error Information Handle: Not Provided
        Total Width: 64 bits
        Data Width: 64 bits
        Size: 1024 MB
        Form Factor: DIMM
        Set: None
        Locator: A1
        Bank Locator: Bank2/3
        Type: Unknown
        Type Detail: None
        Speed: Unknown
        Manufacturer: None
        Serial Number: None
        Asset Tag: None
        Part Number: None
    Handle 0x001C, DMI type 19, 15 bytes
    Memory Array Mapped Address
        Starting Address: 0x00000000000
        Ending Address: 0x0003FFFFFFF
        Range Size: 1 GB
        Physical Array Handle: 0x0019
        Partition Width: 0
    Handle 0x001D, DMI type 20, 19 bytes
    Memory Device Mapped Address
        Starting Address: 0x00000000000
        Ending Address: 0x000000003FF
        Range Size: 1 kB
        Physical Device Handle: 0x001A
        Memory Array Mapped Address Handle: 0x001C
        Partition Row Position: 1
    Handle 0x001E, DMI type 20, 19 bytes
    Memory Device Mapped Address
        Starting Address: 0x00000000000
        Ending Address: 0x0003FFFFFFF
        Range Size: 1 GB
        Physical Device Handle: 0x001B
        Memory Array Mapped Address Handle: 0x001C
        Partition Row Position: 1
    Handle 0x001F, DMI type 32, 11 bytes
    System Boot Information
        Status: No errors detected
    Handle 0x0020, DMI type 127, 4 bytes
    End Of Table
    /sbin/modinfo nvidia | grep vermagic
    vermagic:       2.6.30-ARCH SMP preempt mod_unload
    Scanning kernel log files for NVRM messages:
    /var/log/messages is not readable
      /var/log/kernel.log:
    Aug  1 17:43:55 moody kernel: NVRM: loading NVIDIA UNIX x86_64 Kernel Module  185.18.14  Wed May 27 01:23:47 PDT 2009
    Aug  1 18:26:08 moody kernel: NVRM: API mismatch: the client has the version 190.18, but
    Aug  1 18:26:08 moody kernel: NVRM: this kernel module has the version 185.18.14.  Please
    Aug  1 18:26:08 moody kernel: NVRM: make sure that this kernel module and all NVIDIA driver
    Aug  1 18:26:08 moody kernel: NVRM: components have the same version.
    Aug  1 18:27:04 moody kernel: NVRM: API mismatch: the client has the version 190.18, but
    Aug  1 18:27:04 moody kernel: NVRM: this kernel module has the version 185.18.14.  Please
    Aug  1 18:27:04 moody kernel: NVRM: make sure that this kernel module and all NVIDIA driver
    Aug  1 18:27:04 moody kernel: NVRM: components have the same version.
    Aug  1 18:29:30 moody kernel: NVRM: loading NVIDIA UNIX x86_64 Kernel Module  190.18  Wed Jul 22 15:36:09 PDT 2009
    Aug  1 18:30:12 moody kernel: NVRM: Xid (0001:00): 6, PE0000 0104 00000000 00000000 ffffffff 00000000
    Aug  1 18:30:12 moody kernel: NVRM: Xid (0001:00): 6, PE0000 0104 00000000 00000000 ffffffff 00000000
    dmesg:
    Linux version 2.6.30-ARCH (root@T-POWA-LX) (gcc version 4.4.0 20090630 (prerelease) (GCC) ) #1 SMP PREEMPT Mon Jul 20 07:46:03 CEST 2009
    Command line: root=/dev/disk/by-uuid/ee4f81b6-1e0f-4ab9-a1e2-d6109732dbc5 ro
    KERNEL supported cpus:
      Intel GenuineIntel
      AMD AuthenticAMD
      Centaur CentaurHauls
    BIOS-provided physical RAM map:
    BIOS-e820: 0000000000000000 - 000000000009f400 (usable)
    BIOS-e820: 000000000009f400 - 00000000000a0000 (reserved)
    BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
    BIOS-e820: 0000000000100000 - 000000003fff0000 (usable)
    BIOS-e820: 000000003fff0000 - 000000003fff3000 (ACPI NVS)
    BIOS-e820: 000000003fff3000 - 0000000040000000 (ACPI data)
    BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)
    BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
    BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
    DMI 2.3 present.
    Phoenix BIOS detected: BIOS may corrupt low RAM, working around it.
    e820 update range: 0000000000000000 - 0000000000010000 (usable) ==> (reserved)
    last_pfn = 0x3fff0 max_arch_pfn = 0x100000000
    MTRR default type: uncachable
    MTRR fixed ranges enabled:
      00000-9FFFF write-back
      A0000-BFFFF uncachable
      C0000-C7FFF write-protect
      C8000-CFFFF uncachable
      D0000-D7FFF write-back
      D8000-FFFFF uncachable
    MTRR variable ranges enabled:
      0 base 0000000000 mask FFC0000000 write-back
      1 base 00F0000000 mask FFF8000000 write-combining
      2 disabled
      3 disabled
      4 disabled
      5 disabled
      6 disabled
      7 disabled
    x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106
    Scanning 0 areas for low memory corruption
    modified physical RAM map:
    modified: 0000000000000000 - 0000000000010000 (reserved)
    modified: 0000000000010000 - 000000000009f400 (usable)
    modified: 000000000009f400 - 00000000000a0000 (reserved)
    modified: 00000000000f0000 - 0000000000100000 (reserved)
    modified: 0000000000100000 - 000000003fff0000 (usable)
    modified: 000000003fff0000 - 000000003fff3000 (ACPI NVS)
    modified: 000000003fff3000 - 0000000040000000 (ACPI data)
    modified: 00000000fec00000 - 00000000fec01000 (reserved)
    modified: 00000000fee00000 - 00000000fee01000 (reserved)
    modified: 00000000ffff0000 - 0000000100000000 (reserved)
    init_memory_mapping: 0000000000000000-000000003fff0000
    0000000000 - 003fe00000 page 2M
    003fe00000 - 003fff0000 page 4k
    kernel direct mapping tables up to 3fff0000 @ 10000-13000
    RAMDISK: 37f00000 - 37fefc8d
    ACPI: RSDP 00000000000f6b80 00014 (v00 VIAK8M)
    ACPI: RSDT 000000003fff3040 0002C (v01 VIAK8M AWRDACPI 42302E31 AWRD 00000000)
    ACPI: FACP 000000003fff30c0 00074 (v01 VIAK8M AWRDACPI 42302E31 AWRD 00000000)
    ACPI: DSDT 000000003fff3180 04D34 (v01 VIAK8M AWRDACPI 00001000 MSFT 0100000E)
    ACPI: FACS 000000003fff0000 00040
    ACPI: APIC 000000003fff7f00 0005A (v01 VIAK8M AWRDACPI 42302E31 AWRD 00000000)
    ACPI: Local APIC address 0xfee00000
    (7 early reservations) ==> bootmem [0000000000 - 003fff0000]
      #0 [0000000000 - 0000001000]   BIOS data page ==> [0000000000 - 0000001000]
      #1 [0000006000 - 0000008000]       TRAMPOLINE ==> [0000006000 - 0000008000]
      #2 [0000200000 - 000082c0d0]    TEXT DATA BSS ==> [0000200000 - 000082c0d0]
      #3 [0037f00000 - 0037fefc8d]          RAMDISK ==> [0037f00000 - 0037fefc8d]
      #4 [000009f400 - 0000100000]    BIOS reserved ==> [000009f400 - 0000100000]
      #5 [000082d000 - 000082d0b6]              BRK ==> [000082d000 - 000082d0b6]
      #6 [0000010000 - 0000011000]          PGTABLE ==> [0000010000 - 0000011000]
    found SMP MP-table at [ffff8800000f4b80] f4b80
    [ffffe20000000000-ffffe20000dfffff] PMD -> [ffff880001200000-ffff880001ffffff] on node 0
    Zone PFN ranges:
      DMA      0x00000010 -> 0x00001000
      DMA32    0x00001000 -> 0x00100000
      Normal   0x00100000 -> 0x00100000
    Movable zone start PFN for each node
    early_node_map[2] active PFN ranges
        0: 0x00000010 -> 0x0000009f
        0: 0x00000100 -> 0x0003fff0
    On node 0 totalpages: 262015
      DMA zone: 56 pages used for memmap
      DMA zone: 1680 pages reserved
      DMA zone: 2247 pages, LIFO batch:0
      DMA32 zone: 3528 pages used for memmap
      DMA32 zone: 254504 pages, LIFO batch:31
    ACPI: PM-Timer IO Port: 0x4008
    ACPI: Local APIC address 0xfee00000
    ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
    ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
    ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])
    IOAPIC[0]: apic_id 2, version 0, address 0xfec00000, GSI 0-23
    ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
    ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 low level)
    ACPI: IRQ0 used by override.
    ACPI: IRQ2 used by override.
    ACPI: IRQ9 used by override.
    Using ACPI (MADT) for SMP configuration information
    SMP: Allowing 1 CPUs, 0 hotplug CPUs
    nr_irqs_gsi: 24
    PM: Registered nosave memory: 000000000009f000 - 00000000000a0000
    PM: Registered nosave memory: 00000000000a0000 - 00000000000f0000
    PM: Registered nosave memory: 00000000000f0000 - 0000000000100000
    Allocating PCI resources starting at 50000000 (gap: 40000000:bec00000)
    NR_CPUS:16 nr_cpumask_bits:16 nr_cpu_ids:1 nr_node_ids:1
    PERCPU: Embedded 25 pages at ffff88000100a000, static data 72352 bytes
    Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 256751
    Kernel command line: root=/dev/disk/by-uuid/ee4f81b6-1e0f-4ab9-a1e2-d6109732dbc5 ro
    Initializing CPU#0
    NR_IRQS:768
    PID hash table entries: 4096 (order: 12, 32768 bytes)
    Fast TSC calibration using PIT
    Detected 1999.604 MHz processor.
    Console: colour VGA+ 80x25
    console [tty0] enabled
    Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
    Inode-cache hash table entries: 65536 (order: 7, 524288 bytes)
    Checking aperture...
    AGP bridge at 00:00:00
    Aperture from AGP @ f0000000 old size 32 MB
    Aperture from AGP @ f0000000 size 128 MB (APSIZE f20)
    Node 0: aperture @ f0000000 size 128 MB
    Memory: 1024112k/1048512k available (3409k kernel code, 452k absent, 23372k reserved, 1239k data, 460k init)
    SLUB: Genslabs=13, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    Calibrating delay loop (skipped), value calculated using timer frequency.. 4000.84 BogoMIPS (lpj=6665346)
    Security Framework initialized
    Mount-cache hash table entries: 256
    CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
    CPU: L2 Cache: 512K (64 bytes/line)
    tseg: 0000000000
    SMP alternatives: switching to UP code
    Freeing SMP alternatives: 20k freed
    ACPI: Core revision 20090320
    Setting APIC routing to flat
    ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=0 pin2=0
    CPU0: AMD Athlon(tm) 64 Processor 3000+ stepping 00
    Brought up 1 CPUs
    Total of 1 processors activated (4000.84 BogoMIPS).
    CPU0 attaching NULL sched-domain.
    net_namespace: 1888 bytes
    Booting paravirtualized kernel on bare hardware
    NET: Registered protocol family 16
    node 0 link 0: io port [1000, fffff]
    TOM: 0000000040000000 aka 1024M
    node 0 link 0: mmio [a0000, bffff]
    node 0 link 0: mmio [40000000, ff70ffff]
    bus: [00,ff] on node 0 link 0
    bus: 00 index 0 io port: [0, ffff]
    bus: 00 index 1 mmio: [a0000, bffff]
    bus: 00 index 2 mmio: [40000000, fcffffffff]
    ACPI: bus type pci registered
    PCI: Using configuration type 1 for base access
    bio: create slab <bio-0> at 0
    ACPI: EC: Look up EC in DSDT
    ACPI Warning (dsobject-0502): Package List length (6) larger than NumElements count (3), truncated
    [20090320]
    ACPI: Interpreter enabled
    ACPI: (supports S0 S1 S4 S5)
    ACPI: Using IOAPIC for interrupt routing
    ACPI: No dock devices found.
    ACPI: PCI Root Bridge [PCI0] (0000:00)
    pci 0000:00:00.0: reg 10 32bit mmio: [0xf0000000-0xf7ffffff]
    pci 0000:00:01.0: supports D1
    pci 0000:00:0f.0: reg 10 io port: [0xe000-0xe007]
    pci 0000:00:0f.0: reg 14 io port: [0xe100-0xe103]
    pci 0000:00:0f.0: reg 18 io port: [0xe200-0xe207]
    pci 0000:00:0f.0: reg 1c io port: [0xe300-0xe303]
    pci 0000:00:0f.0: reg 20 io port: [0xe400-0xe40f]
    pci 0000:00:0f.0: reg 24 io port: [0xe500-0xe5ff]
    pci 0000:00:0f.1: reg 20 io port: [0xe600-0xe60f]
    pci 0000:00:10.0: reg 20 io port: [0xe700-0xe71f]
    pci 0000:00:10.0: supports D1 D2
    pci 0000:00:10.0: PME# supported from D0 D1 D2 D3hot D3cold
    pci 0000:00:10.0: PME# disabled
    pci 0000:00:10.1: reg 20 io port: [0xe800-0xe81f]
    pci 0000:00:10.1: supports D1 D2
    pci 0000:00:10.1: PME# supported from D0 D1 D2 D3hot D3cold
    pci 0000:00:10.1: PME# disabled
    pci 0000:00:10.2: reg 20 io port: [0xe900-0xe91f]
    pci 0000:00:10.2: supports D1 D2
    pci 0000:00:10.2: PME# supported from D0 D1 D2 D3hot D3cold
    pci 0000:00:10.2: PME# disabled
    pci 0000:00:10.3: reg 20 io port: [0xea00-0xea1f]
    pci 0000:00:10.3: supports D1 D2
    pci 0000:00:10.3: PME# supported from D0 D1 D2 D3hot D3cold
    pci 0000:00:10.3: PME# disabled
    pci 0000:00:10.4: reg 10 32bit mmio: [0xfb000000-0xfb0000ff]
    pci 0000:00:10.4: supports D1 D2
    pci 0000:00:10.4: PME# supported from D0 D1 D2 D3hot D3cold
    pci 0000:00:10.4: PME# disabled
    HPET not enabled in BIOS. You might try hpet=force boot option
    pci 0000:00:11.5: reg 10 io port: [0xeb00-0xebff]
    pci 0000:00:11.5: supports D1 D2
    pci 0000:00:12.0: reg 10 io port: [0xec00-0xecff]
    pci 0000:00:12.0: reg 14 32bit mmio: [0xfb001000-0xfb0010ff]
    pci 0000:00:12.0: supports D1 D2
    pci 0000:00:12.0: PME# supported from D0 D1 D2 D3hot D3cold
    pci 0000:00:12.0: PME# disabled
    pci 0000:01:00.0: reg 10 32bit mmio: [0xf8000000-0xf8ffffff]
    pci 0000:01:00.0: reg 14 32bit mmio: [0xe0000000-0xefffffff]
    pci 0000:01:00.0: reg 18 32bit mmio: [0xf9000000-0xf9ffffff]
    pci 0000:01:00.0: reg 30 32bit mmio: [0x000000-0x01ffff]
    pci 0000:00:01.0: bridge 32bit mmio: [0xf8000000-0xfaffffff]
    pci 0000:00:01.0: bridge 32bit mmio pref: [0xe0000000-0xefffffff]
    pci_bus 0000:00: on NUMA node 0
    ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
    ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 6 7 *10 11 12)
    ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 6 7 10 *11 12)
    ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 6 7 10 11 *12)
    ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 6 7 10 11 12) *0, disabled.
    ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 6 7 10 11 12) *0, disabled.
    ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 6 7 10 11 12) *0, disabled.
    ACPI: PCI Interrupt Link [LNK0] (IRQs 3 4 6 7 10 11 12) *0, disabled.
    ACPI: PCI Interrupt Link [LNK1] (IRQs 3 4 6 7 10 11 12) *0, disabled.
    ACPI: PCI Interrupt Link [ALKA] (IRQs *20)
    ACPI: PCI Interrupt Link [ALKB] (IRQs *21)
    ACPI: PCI Interrupt Link [ALKC] (IRQs *22)
    ACPI: PCI Interrupt Link [ALKD] (IRQs *23)
    PCI: Using ACPI for IRQ routing
    pci 0000:00:00.0: BAR 0: can't allocate resource
    NetLabel: Initializing
    NetLabel:  domain hash size = 128
    NetLabel:  protocols = UNLABELED CIPSOv4
    NetLabel:  unlabeled traffic allowed by default
    agpgart-amd64 0000:00:00.0: AGP bridge [1106/0204]
    agpgart-amd64 0000:00:00.0: AGP aperture is 128M @ 0xf0000000
    pnp: PnP ACPI init
    ACPI: bus type pnp registered
    pnp 00:00: mem resource (0xdcc00-0xdffff) overlaps 0000:00:00.0 BAR 0 (0x0-0x7ffffff), disabling
    pnp 00:00: mem resource (0xf0000-0xf7fff) overlaps 0000:00:00.0 BAR 0 (0x0-0x7ffffff), disabling
    pnp 00:00: mem resource (0xf8000-0xfbfff) overlaps 0000:00:00.0 BAR 0 (0x0-0x7ffffff), disabling
    pnp 00:00: mem resource (0xfc000-0xfffff) overlaps 0000:00:00.0 BAR 0 (0x0-0x7ffffff), disabling
    pnp 00:00: mem resource (0x0-0x9ffff) overlaps 0000:00:00.0 BAR 0 (0x0-0x7ffffff), disabling
    pnp 00:00: mem resource (0x100000-0x3ffeffff) overlaps 0000:00:00.0 BAR 0 (0x0-0x7ffffff), disabling
    pnp: PnP ACPI: found 12 devices
    ACPI: ACPI bus type pnp unregistered
    system 00:00: iomem range 0x3fff0000-0x3fffffff could not be reserved
    system 00:00: iomem range 0xffff0000-0xffffffff has been reserved
    system 00:00: iomem range 0xfec00000-0xfec00fff has been reserved
    system 00:00: iomem range 0xfee00000-0xfee00fff has been reserved
    system 00:00: iomem range 0xfff80000-0xfffeffff has been reserved
    system 00:02: ioport range 0x4000-0x407f has been reserved
    system 00:02: ioport range 0x5000-0x500f has been reserved
    system 00:03: ioport range 0xb78-0xb7b has been reserved
    system 00:03: ioport range 0xf78-0xf7b has been reserved
    system 00:03: ioport range 0xa78-0xa7b has been reserved
    system 00:03: ioport range 0xe78-0xe7b has been reserved
    system 00:03: ioport range 0xbbc-0xbbf has been reserved
    system 00:03: ioport range 0xfbc-0xfbf has been reserved
    system 00:03: ioport range 0x4d0-0x4d1 has been reserved
    system 00:03: ioport range 0x290-0x297 has been reserved
    pci 0000:00:01.0: PCI bridge, secondary bus 0000:01
    pci 0000:00:01.0:   IO window: disabled
    pci 0000:00:01.0:   MEM window: 0xf8000000-0xfaffffff
    pci 0000:00:01.0:   PREFETCH window: 0x000000e0000000-0x000000efffffff
    pci 0000:00:01.0: setting latency timer to 64
    pci_bus 0000:00: resource 0 io:  [0x00-0xffff]
    pci_bus 0000:00: resource 1 mem: [0x000000-0xffffffffffffffff]
    pci_bus 0000:01: resource 1 mem: [0xf8000000-0xfaffffff]
    pci_bus 0000:01: resource 2 pref mem [0xe0000000-0xefffffff]
    NET: Registered protocol family 2
    IP route cache hash table entries: 32768 (order: 6, 262144 bytes)
    TCP established hash table entries: 131072 (order: 9, 2097152 bytes)
    TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
    TCP: Hash tables configured (established 131072 bind 65536)
    TCP reno registered
    NET: Registered protocol family 1
    Unpacking initramfs...
    Freeing initrd memory: 959k freed
    Scanning for low memory corruption every 60 seconds
    audit: initializing netlink socket (disabled)
    type=2000 audit(1249151352.183:1): initialized
    VFS: Disk quotas dquot_6.5.2
    Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
    msgmni has been set to 2003
    alg: No test for stdrng (krng)
    Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
    io scheduler noop registered
    io scheduler anticipatory registered
    io scheduler deadline registered
    io scheduler cfq registered (default)
    pci 0000:00:01.0: disabling DAC on VIA PCI bridge
    pci 0000:01:00.0: Boot video device
    Linux agpgart interface v0.103
    Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
    serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
    serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
    00:08: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
    00:09: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
    input: Macintosh mouse button emulation as /devices/virtual/input/input0
    PNP: PS/2 Controller [PNP0303:PS2K] at 0x60,0x64 irq 1
    PNP: PS/2 appears to have AUX port disabled, if this is incorrect please boot with i8042.nopnp
    serio: i8042 KBD port at 0x60,0x64 irq 1
    mice: PS/2 mouse device common for all mice
    cpuidle: using governor ladder
    cpuidle: using governor menu
    TCP cubic registered
    NET: Registered protocol family 17
    registered taskstats version 1
    Initalizing network drop monitor service
    Freeing unused kernel memory: 460k freed
    Uniform Multi-Platform E-IDE driver
    input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input1
    via82cxxx 0000:00:0f.1: VIA vt8237 (rev 00) IDE UDMA133
    via82cxxx 0000:00:0f.1: IDE controller (0x1106:0x0571 rev 0x06)
    ACPI: PCI Interrupt Link [ALKA] enabled at IRQ 20
    VIA_IDE 0000:00:0f.1: PCI INT A -> Link[ALKA] -> GSI 20 (level, low) -> IRQ 20
    via82cxxx 0000:00:0f.1: not 100% native mode: will probe irqs later
        ide0: BM-DMA at 0xe600-0xe607
        ide1: BM-DMA at 0xe608-0xe60f
    Probing IDE interface ide0...
    Switched to high resolution mode on CPU 0
    Probing IDE interface ide1...
    hdc: BENQ DVD DD DW1650, ATAPI CD/DVD-ROM drive
    hdc: host max PIO5 wanted PIO255(auto-tune) selected PIO4
    hdc: UDMA/33 mode selected
    ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
    ide1 at 0x170-0x177,0x376 on irq 15
    SCSI subsystem initialized
    libata version 3.00 loaded.
    sata_via 0000:00:0f.0: version 2.4
    sata_via 0000:00:0f.0: PCI INT B -> Link[ALKA] -> GSI 20 (level, low) -> IRQ 20
    sata_via 0000:00:0f.0: routed to hard irq line 11
    scsi0 : sata_via
    scsi1 : sata_via
    ata1: SATA max UDMA/133 cmd 0xe000 ctl 0xe100 bmdma 0xe400 irq 20
    ata2: SATA max UDMA/133 cmd 0xe200 ctl 0xe300 bmdma 0xe408 irq 20
    ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
    ata1.00: ATA-7: ST380815AS, 4.AAB, max UDMA/133
    ata1.00: 156301488 sectors, multi 16: LBA48 NCQ (depth 0/32)
    ata1.00: configured for UDMA/133
    scsi 0:0:0:0: Direct-Access     ATA      ST380815AS       4.AA PQ: 0 ANSI: 5
    ata2: SATA link down 1.5 Gbps (SStatus 0 SControl 300)
    ide-cd driver 5.00
    usbcore: registered new interface driver usbfs
    usbcore: registered new interface driver hub
    usbcore: registered new device driver usb
    ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    ACPI: PCI Interrupt Link [ALKB] enabled at IRQ 21
    ehci_hcd 0000:00:10.4: PCI INT C -> Link[ALKB] -> GSI 21 (level, low) -> IRQ 21
    ehci_hcd 0000:00:10.4: EHCI Host Controller
    ehci_hcd 0000:00:10.4: new USB bus registered, assigned bus number 1
    ehci_hcd 0000:00:10.4: irq 21, io mem 0xfb000000
    ehci_hcd 0000:00:10.4: USB 2.0 started, EHCI 1.00
    usb usb1: configuration #1 chosen from 1 choice
    hub 1-0:1.0: USB hub found
    hub 1-0:1.0: 8 ports detected
    Driver 'sd' needs updating - please use bus_type methods
    sd 0:0:0:0: [sda] 156301488 512-byte hardware sectors: (80.0 GB/74.5 GiB)
    sd 0:0:0:0: [sda] Write Protect is off
    sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
    sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
    sda:<6>ide-cd: hdc: ATAPI 48X DVD-ROM DVD-R CD-R/RW drive, 2048kB Cache
    Uniform CD-ROM driver Revision: 3.20
    sda1 sda2 sda3 sda4
    sd 0:0:0:0: [sda] Attached SCSI disk
    uhci_hcd: USB Universal Host Controller Interface driver
    uhci_hcd 0000:00:10.0: PCI INT A -> Link[ALKB] -> GSI 21 (level, low) -> IRQ 21
    uhci_hcd 0000:00:10.0: UHCI Host Controller
    uhci_hcd 0000:00:10.0: new USB bus registered, assigned bus number 2
    uhci_hcd 0000:00:10.0: irq 21, io base 0x0000e700
    usb usb2: configuration #1 chosen from 1 choice
    hub 2-0:1.0: USB hub found
    hub 2-0:1.0: 2 ports detected
    uhci_hcd 0000:00:10.1: PCI INT A -> Link[ALKB] -> GSI 21 (level, low) -> IRQ 21
    uhci_hcd 0000:00:10.1: UHCI Host Controller
    uhci_hcd 0000:00:10.1: new USB bus registered, assigned bus number 3
    uhci_hcd 0000:00:10.1: irq 21, io base 0x0000e800
    usb usb3: configuration #1 chosen from 1 choice
    hub 3-0:1.0: USB hub found
    hub 3-0:1.0: 2 ports detected
    uhci_hcd 0000:00:10.2: PCI INT B -> Link[ALKB] -> GSI 21 (level, low) -> IRQ 21
    uhci_hcd 0000:00:10.2: UHCI Host Controller
    uhci_hcd 0000:00:10.2: new USB bus registered, assigned bus number 4
    uhci_hcd 0000:00:10.2: irq 21, io base 0x0000e900
    usb usb4: configuration #1 chosen from 1 choice
    hub 4-0:1.0: USB hub found
    hub 4-0:1.0: 2 ports detected
    uhci_hcd 0000:00:10.3: PCI INT B -> Link[ALKB] -> GSI 21 (level, low) -> IRQ 21
    uhci_hcd 0000:00:10.3: UHCI Host Controller
    uhci_hcd 0000:00:10.3: new USB bus registered, assigned bus number 5
    uhci_hcd 0000:00:10.3: irq 21, io base 0x0000ea00
    usb usb5: configuration #1 chosen from 1 choice
    hub 5-0:1.0: USB hub found
    hub 5-0:1.0: 2 ports detected
    usb 1-5: new high speed USB device using ehci_hcd and address 3
    usb 1-5: configuration #1 chosen from 1 choice
    Initializing USB Mass Storage driver...
    scsi2 : SCSI emulation for USB Mass Storage devices
    usbcore: registered new interface driver usb-storage
    USB Mass Storage support registered.
    usb-storage: device found at 3
    usb-storage: waiting for device to settle before scanning
    kjournald starting.  Commit interval 5 seconds
    EXT3-fs: mounted filesystem with writeback data mode.
    usb 2-2: new low speed USB device using uhci_hcd and address 2
    usb 2-2: configuration #1 chosen from 1 choice
    rtc_cmos 00:05: RTC can wake from S4
    rtc_cmos 00:05: rtc core: registered rtc_cmos as rtc0
    rtc0: alarms up to one year, y3k, 242 bytes nvram
    udev: starting version 141
    via-rhine.c:v1.10-LK1.4.3 2007-03-06 Written by Donald Becker
    via-rhine: Broken BIOS detected, avoid_D3 enabled.
    ACPI: PCI Interrupt Link [ALKD] enabled at IRQ 23
    via-rhine 0000:00:12.0: PCI INT A -> Link[ALKD] -> GSI 23 (level, low) -> IRQ 23
    eth0: VIA Rhine II at 0x1ec00, 00:11:09:06:18:c6, IRQ 23.
    eth0: MII PHY found at address 1, status 0x786d advertising 05e1 Link 41e1.
    ACPI: PCI Interrupt Link [ALKC] enabled at IRQ 22
    VIA 82xx Audio 0000:00:11.5: PCI INT C -> Link[ALKC] -> GSI 22 (level, low) -> IRQ 22
    VIA 82xx Audio 0000:00:11.5: setting latency timer to 64
    vboxdrv: Trying to deactivate the NMI watchdog permanently...
    vboxdrv: Successfully done.
    vboxdrv: Found 1 processor cores.
    VBoxDrv: dbg - g_abExecMemory=ffffffffa02a36a0
    vboxdrv: TSC mode is 'synchronous', kernel timer mode is 'normal'.
    vboxdrv: Successfully loaded version 3.0.2 (interface 0x000e0000).
    VBoxNetFlt: dbg - g_abExecMemory=ffffffffa0447ec0
    input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input2
    ACPI: Power Button [PWRF]
    input: Power Button as /devices/LNXSYSTM:00/device:00/PNP0C0C:00/input/input3
    ACPI: Power Button [PWRB]
    processor ACPI_CPU:00: registered

  • A little help with rutorrent

    Hi comrades,
    I use rtorrent in terminal without problems but recently I got interested in rutorrent.
    I've been following the rtorrent wiki and rutorrent wiki to get to this point.
    First of all rtorrent is working fine in terminal, but with rutorrent I only get to this far: http://i637.photobucket.com/albums/uu93 … 1403737709
    As you can see in the upeer right of the image it's trying to connect and in the log section is throwing me this:
    [25.06.2014 18:37:22] WebUI started.
    [25.06.2014 18:37:23] Bad response from server: (200 [parsererror,getplugins]) <?php require_once( "util.php" ); require_once( "settings.php" ); function pluginsSort($a, $b) { $lvl1 = (float) $a["info"]["plugin.runlevel"]; $lvl2 = (float) $b["info"]["plugin.runlevel"]; if($lvl1>$lvl2) return(1); if($lvl1<$lvl2) return(-1); return( strcmp($a["name"],$b["name"]) ); } function getFlag($permissions,$pname,$fname) { $ret = true; if(array_key_exists($pname,$permissions) && array_key_exists($fname,$permissions[$pname])) $ret = $permissions[$pname][$fname]; else if(array_key_exists("default",$permissions) && array_key_exists($fname,$permissions["default"])) $ret = $permissions["default"][$fname]; return($ret); } function getPluginInfo( $name, $permissions ) { $info = array( 'rtorrent.need'=>1, 'rtorrent.remote'=>'ok', 'rtorrent.external.warning'=>array(), 'rtorrent.external.error'=>array(), 'rtorrent.script.error'=>array(), 'rtorrent.php.error'=>array(), 'rtorrent.version'=>0x802, 'rtorrent.version.readable'=>'0.8.2', 'plugin.may_be_shutdowned'=>1, 'plugin.may_be_launched'=>1, 'plugin.runlevel'=>10.0, 'plugin.description'=>'', 'plugin.author'=>'unknown', 'plugin.dependencies'=>array(), 'php.version'=>0x50000, 'php.version.readable'=>'5.0.0', 'php.extensions.warning'=>array(), 'php.extensions.error'=>array(), 'web.external.warning'=>array(), 'web.external.error'=>array(), 'plugin.help'=>'', ); $fname = "../plugins/".$name."/plugin.info"; if(is_readable($fname)) { $lines = file($fname); foreach($lines as $line) { $fields = explode(":",$line,2); if(count($fields)==2) { $value = addcslashes(trim($fields[1]),"\\\'\"\n\r\t"); $field = trim($fields[0]); switch($field) { case "plugin.help": case "plugin.author": case "plugin.description": case "rtorrent.remote": { $info[$field] = $value; break; } case "plugin.may_be_shutdowned": case "plugin.may_be_launched": case "rtorrent.need": { $info[$field] = intval($value); break; } case "plugin.version": case "plugin.runlevel": { $info[$field] = floatval($value); break; } case "rtorrent.version": case "php.version": { $version = explode('.', $value); $info[$field] = (intval($version[0])<<16) + (intval($version[1])<<8) + intval($version[2]); $info[$field.'.readable'] = $value; break; } case "plugin.dependencies": case "rtorrent.external.warning": case "rtorrent.external.error": case "rtorrent.script.error": case "rtorrent.php.error": case "web.external.warning": case "web.external.error": case "php.extensions.warning": case "php.extensions.error": { $info[$field] = explode(',', $value); break; } // for compatibility case "author": case "description": { $info['plugin.'.$field] = $value; break; } case "remote": { $info['rtorrent.remote'] = $value; break; } case "need_rtorrent": { $info['rtorrent.need'] = intval($value); break; } case "version": case "runlevel": { $info['plugin.'.$field] = floatval($value); break; } } } } $perms = 0; if($permissions!==false) { if(!getFlag($permissions,$name,"enabled")) return(false); $flags = array( "canChangeToolbar" => 0x0001, "canChangeMenu" => 0x0002, "canChangeOptions" => 0x0004, "canChangeTabs" => 0x0008, "canChangeColumns" => 0x0010, "canChangeStatusBar" => 0x0020, "canChangeCategory" => 0x0040, "canBeShutdowned" => 0x0080, /* "canBeLaunched" => 0x0100, */ ); foreach($flags as $flagName=>$flagVal) if(!getFlag($permissions,$name,$flagName)) $perms|=$flagVal; if(!$info["plugin.may_be_shutdowned"]) $perms|=$flags["canBeShutdowned"]; } $info["perms"] = $perms; } return(array_key_exists("plugin.version",$info) ? $info : false); } function findRemoteEXE( $exe, $err, &$remoteRequests ) { $st = getSettingsPath().'/'.rand(); if(!array_key_exists($exe,$remoteRequests)) { $path=realpath(dirname('.')); global $pathToExternals; $add = ''; if(isset($pathToExternals[$exe]) && !empty($pathToExternals[$exe])) $add = " ".escapeshellarg($pathToExternals[$exe]); $req = new rXMLRPCRequest(new rXMLRPCCommand("execute", array( "sh", "-c", escapeshellarg(addslash($path)."test.sh")." ".$exe." ".escapeshellarg($st).$add))); $req->run(); $remoteRequests[$exe] = array( "path"=>$st, "err"=>array() ); } $remoteRequests[$exe]["err"][] = $err; } function testRemoteRequests($remoteRequests) { $ret = ""; foreach($remoteRequests as $exe=>$info) { $file = $info["path"].$exe.".found"; if(!is_file($file)) { foreach($info["err"] as $err) $ret.=$err; } else @unlink($file); } return($ret); } $jResult = "theWebUI.deltaTime = 0;\n"; $access = getConfFile('access.ini'); if(!$access) $access = "../conf/access.ini"; $permissions = parse_ini_file($access); $settingsFlags = array( "showDownloadsPage" => 0x0001, "showConnectionPage" => 0x0002, "showBittorentPage" => 0x0004, "showAdvancedPage" => 0x0008, "showPluginsTab" => 0x0010, "canChangeULRate" => 0x0020, "canChangeDLRate" => 0x0040, "canChangeTorrentProperties" => 0x0080, ); $perms = 0; foreach($settingsFlags as $flagName=>$flagVal) if(array_key_exists($flagName,$permissions) && $permissions[$flagName]) $perms|=$flagVal; $jResult .= "theWebUI.showFlags = ".$perms.";\n"; $jResult .= "theURLs.XMLRPCMountPoint = '".$XMLRPCMountPoint."';\n"; $jResult.="theWebUI.systemInfo = {};\ntheWebUI.systemInfo.php = { canHandleBigFiles : ".((PHP_INT_SIZE<=4) ? "false" : "true")." };\n"; if($handle = opendir('../plugins')) { ignore_user_abort(true); set_time_limit(0); makeDirectory(getTempDirectory()); if(!@file_exists($tempDirectory.'/.') || !is_readable($tempDirectory) || !is_writable($tempDirectory)) $jResult.="noty(theUILang.badTempPath+' (".$tempDirectory.")','error');"; if(!function_exists('preg_match_all')) { $jResult.="noty(theUILang.PCRENotFound,'error');"; $jResult.="theWebUI.systemInfo.rTorrent = { started: false, iVersion : 0, version : '?', libVersion : '?' };\n"; } else { $remoteRequests = array(); $theSettings = rTorrentSettings::get(true); if(!$theSettings->linkExist) { $jResult.="noty(theUILang.badLinkTorTorrent,'error');"; $jResult.="theWebUI.systemInfo.rTorrent = { started: false, iVersion : 0, version : '?', libVersion : '?', apiVersion : 0 };\n"; } else { if($theSettings->idNotFound) $jResult.="noty(theUILang.idNotFound,'error');"; $jResult.="theWebUI.systemInfo.rTorrent = { started: true, iVersion : ".$theSettings->iVersion.", version : '". $theSettings->version."', libVersion : '".$theSettings->libVersion."', apiVersion : ".$theSettings->apiVersion." };\n"; if($theSettings->mostOfMethodsRenamed) $jResult.="theWebUI.systemInfo.rTorrent.newMethodsSet = true;\n"; if($do_diagnostic) { $up = getUploadsPath(); $st = getSettingsPath(); @chmod($up,$profileMask); @chmod($st,$profileMask); @chmod('./test.sh',$profileMask & 0755); if(PHP_USE_GZIP && (findEXE('gzip')===false)) { @define('PHP_USE_GZIP', false); $jResult.="noty(theUILang.gzipNotFound,'error');"; } if(PHP_INT_SIZE<=4) { if(findEXE('stat')===false) $jResult.="noty(theUILang.statNotFoundW,'error');"; findRemoteEXE('stat',"noty(theUILang.statNotFound,'error');",$remoteRequests); } if(!@file_exists($up.'/.') || !is_readable($up) || !is_writable($up)) $jResult.="noty(theUILang.badUploadsPath+' (".$up.")','error');"; if(!@file_exists($st.'/.') || !is_readable($st) || !is_writable($st)) $jResult.="noty(theUILang.badSettingsPath+' (".$st.")','error');"; if(isLocalMode() && !$theSettings->idNotFound) { if($theSettings->uid<0) $jResult.="noty(theUILang.cantObtainUser,'error');"; else { if(!isUserHavePermission($theSettings->uid,$theSettings->gid,$tempDirectory,0x0007)) $jResult.="noty(theUILang.badTempPath2+' (".$tempDirectory.")','error');"; if(!isUserHavePermission($theSettings->uid,$theSettings->gid,$up,0x0007)) $jResult.="noty(theUILang.badUploadsPath2+' (".$up.")','error');"; if(!isUserHavePermission($theSettings->uid,$theSettings->gid,$st,0x0007)) $jResult.="noty(theUILang.badSettingsPath2+' (".$st.")','error');"; if(!isUserHavePermission($theSettings->uid,$theSettings->gid,'./test.sh',0x0005)) $jResult.="noty(theUILang.badTestPath+' (".realpath('./test.sh').")','error');"; } } if($theSettings->badXMLRPCVersion) $jResult.="noty(theUILang.badXMLRPCVersion,'error');"; } } $plg = getConfFile('plugins.ini'); if(!$plg) $plg = "../conf/plugins.ini"; $permissions = parse_ini_file($plg,true); $init = array(); $names = array(); $disabled = array(); $phpVersion = phpversion(); if( ($pos=strpos($phpVersion, '-'))!==false ) $phpVersion = substr($phpVersion,0,$pos); $phpIVersion = explode('.',$phpVersion); $phpIVersion = (intval($phpIVersion[0])<<16) + (intval($phpIVersion[1])<<8) + intval($phpIVersion[2]); $phpRequired = false; $userPermissions = array( "__hash__"=>"plugins.dat" ); $cache = new rCache(); $cache->get($userPermissions); $cantBeShutdowned = 0x0080; $canBeLaunched = 0x0100; $disabledByUser = 0x8000; $loadedExtensions = array_map("strtolower",get_loaded_extensions()); while(false !== ($file = readdir($handle))) { if($file != "." && $file != ".." && is_dir('../plugins/'.$file)) { if(!array_key_exists($file,$userPermissions)) $userPermissions[$file] = true; $info = getPluginInfo( $file, $permissions ); if($info) { if( $info["plugin.may_be_launched"] && getFlag($permissions,$file,"enabled")=="user-defined") { $info["perms"] |= $canBeLaunched; if(!$userPermissions[$file]) { $info["perms"] |= $disabledByUser; $disabled[$file] = $info; $info = false; } } else $info["perms"] |= $cantBeShutdowned; } if($info!==false) { if(!$theSettings->linkExist && $info["rtorrent.need"]) { $disabled[$file] = $info; continue; } if($info['php.version']>$phpIVersion) { $jResult.="noty('".$file.": '+theUILang.badPHPVersion+' '+'".$info['php.version.readable']."'+'.','error');"; $disabled[$file] = $info; continue; } $extError = false; foreach( $info['php.extensions.error'] as $extension ) if(!in_array( $extension, $loadedExtensions )) { $jResult.="noty('".$file.": '+theUILang.phpExtensionNotFoundError+' ('+'".$extension."'+').','error');"; $extError = true; } if($extError) { $disabled[$file] = $info; continue; } if(count($info['web.external.error']) || count($info['web.external.warning']) || count($info['rtorrent.external.error']) || count($info['rtorrent.external.warning'])) eval( getPluginConf( $file ) ); foreach( $info['web.external.error'] as $external ) { if(findEXE($external)==false) { $jResult.="noty('".$file.": '+theUILang.webExternalNotFoundError+' ('+'".$external."'+').','error');"; $extError = true; } else if($external=='php') $phpRequired = true; } if($extError) { $disabled[$file] = $info; continue; } if($theSettings->linkExist) { if($info['rtorrent.version']>$theSettings->iVersion) { $jResult.="noty('".$file.": '+theUILang.badrTorrentVersion+' '+'".$info['rtorrent.version.readable']."'+'.','error');"; $disabled[$file] = $info; continue; } foreach( $info['rtorrent.external.error'] as $external ) { findRemoteEXE($external,"noty('".$file.": '+theUILang.rTorrentExternalNotFoundError+' ('+'".$external."'+').','error'); thePlugins.get('".$file."').disable();",$remoteRequests); if($external=='php') $phpRequired = true; } foreach( $info['rtorrent.script.error'] as $external ) { $fname = $rootPath.'/plugins/'.$file.'/'.$external; @chmod($fname,$profileMask & 0755); if(!isUserHavePermission($theSettings->uid,$theSettings->gid,$fname,0x0005)) { $jResult.="noty('".$file.": '+theUILang.rTorrentBadScriptPath+' ('+'".$fname."'+').','error');"; $extError = true; } } if($extError) { $disabled[$file] = $info; continue; } foreach( $info['rtorrent.php.error'] as $external ) { $fname = $rootPath.'/plugins/'.$file.'/'.$external; @chmod($fname,$profileMask & 0644); if(!isUserHavePermission($theSettings->uid,$theSettings->gid,$fname,0x0004)) { $jResult.="noty('".$file.": '+theUILang.rTorrentBadPHPScriptPath+' ('+'".$fname."'+').','error');"; $extError = true; } } if($extError) { $disabled[$file] = $info; continue; } if(!isLocalMode()) { if($info["rtorrent.remote"]=="error") { $jResult.="noty('".$file.": '+theUILang.errMustBeInSomeHost,'error');"; $disabled[$file] = $info; continue; } if($do_diagnostic && ($info["rtorrent.remote"]=="warning")) $jResult.="noty('".$file.": '+theUILang.warnMustBeInSomeHost,'error');"; } } if($do_diagnostic) { if($theSettings->linkExist) foreach( $info['rtorrent.external.warning'] as $external ) findRemoteEXE($external,"noty('".$file.": '+theUILang.rTorrentExternalNotFoundWarning+' ('+'".$external."'+').','error');",$remoteRequests); foreach( $info['web.external.warning'] as $external ) if(findEXE($external)==false) $jResult.="noty('".$file.": '+theUILang.webExternalNotFoundWarning+' ('+'".$external."'+').','error');"; foreach( $info['php.extensions.warning'] as $extension ) if(!in_array( $extension, $loadedExtensions )) $jResult.="noty('".$file.": '+theUILang.phpExtensionNotFoundWarning+' ('+'".$extension."'+').','error');"; } $js = "../plugins/".$file."/init.js"; if(!is_readable($js)) $js = NULL; $php = "../plugins/".$file."/init.php"; if(!is_readable($php)) $php = NULL; $init[] = array( "js" => $js, "php" => $php, "info" => $info, "name" => $file ); $names[] = $file; } } } if($phpRequired) { $val = strtoupper(ini_get("register_argc_argv")); if( $val!=='' && $val!='ON' && $val!='1' && $val!='TRUE' ) $jResult.="noty(theUILang.phpParameterUnavailable,'error');"; } usort($init,"pluginsSort"); foreach($init as $plugin) { $jEnd = ''; $pInfo = $plugin["info"]; $deps = array_diff( $pInfo["plugin.dependencies"], $names ); if(count($deps)) { $jResult.="noty('".$plugin["name"].": '+theUILang.dependenceError+' ".implode(",",$deps)."','error');"; $disabled[$plugin["name"]] = $pInfo; continue; } $jResult.="(function () { var plugin = new rPlugin( '".$plugin["name"]."',".$pInfo["plugin.version"]. ",'".$pInfo["plugin.author"]."','".$pInfo["plugin.description"]."',".$pInfo["perms"].",'".$pInfo["plugin.help"]."' );\n"; if($plugin["php"]) require_once( $plugin["php"] ); else $theSettings->registerPlugin($plugin["name"],$pInfo["perms"]); if($plugin["js"]) { $js = file_get_contents($plugin["js"]); if($theSettings->isPluginRegistered($plugin["name"])) $jResult.=$js; else { if(strpos($js,"plugin.loadLang()")!==false) $jResult.="plugin.loadLang();"; } $jResult.="\n"; } $jResult.=$jEnd; $jResult.="\n})();"; } foreach($disabled as $name=>$pInfo) { $jResult.="(function () { var plugin = new rPlugin( '".$name."',".$pInfo["plugin.version"]. ",'".$pInfo["plugin.author"]."','".$pInfo["plugin.description"]."',".$pInfo["perms"].",'".$pInfo["plugin.help"]."' );\n"; $jResult.="plugin.disable(); "; if($pInfo["perms"] & $disabledByUser) $jResult.="plugin.unlaunch(); "; $jResult.="\n})();"; } $jResult.=testRemoteRequests($remoteRequests); $theSettings->store(); } closedir($handle); } cachedEcho($jResult,"application/javascript",true);
    [25.06.2014 18:37:23] Bad response from server: (200 [parsererror,getuisettings]) <?php require_once( 'util.php' ); $s = '{}'; $fname = getSettingsPath()."/uisettings.json"; $fo = fopen($fname, 'r'); if($fo!==false) { if(flock($fo, LOCK_SH)) { $s = @file_get_contents($fname); if($s==false) $s = '{}'; flock($fo, LOCK_UN); } fclose($fo); } cachedEcho($s,"application/json",true);
    For that log I believe I've a problem with permission, or rutorrent plugins.
    Here are my configuration files
    /etc/webapps/rutorrent/conf/config.php
    <?php
    // configuration parameters
    // for snoopy client
    @define('HTTP_USER_AGENT', 'Mozilla/5.0 (Windows NT 6.0; WOW64; rv:12.0) Gecko/20100101 Firefox/12.0', true);
    @define('HTTP_TIME_OUT', 30, true); // in seconds
    @define('HTTP_USE_GZIP', true, true);
    $httpIP = null; // IP string. Or null for any.
    @define('RPC_TIME_OUT', 5, true); // in seconds
    @define('LOG_RPC_CALLS', false, true);
    @define('LOG_RPC_FAULTS', true, true);
    // for php
    @define('PHP_USE_GZIP', false, true);
    @define('PHP_GZIP_LEVEL', 2, true);
    $schedule_rand = 10; // rand for schedulers start, +0..X seconds
    $do_diagnostic = true;
    $log_file = '/tmp/errors.log'; // path to log file (comment or leave blank to disable logging)
    $saveUploadedTorrents = true; // Save uploaded torrents to profile/torrents directory or not
    $overwriteUploadedTorrents = false; // Overwrite existing uploaded torrents in profile/torrents directory or make unique name
    $topDirectory = '/'; // Upper available directory. Absolute path with trail slash.
    $forbidUserSettings = false;
    $scgi_port = 5000;
    $scgi_host = "127.0.0.1";
    // For web->rtorrent link through unix domain socket
    // (scgi_local in rtorrent conf file), change variables
    // above to something like this:
    // $scgi_port = 0;
    // $scgi_host = "unix:///tmp/rpc.socket";
    $XMLRPCMountPoint = "/RPC2"; // DO NOT DELETE THIS LINE!!! DO NOT COMMENT THIS LINE!!!
    $pathToExternals = array(
    "php" => '/usr/bin/php', // Something like /usr/bin/php. If empty, will be found in PATH.
    "curl" => '/usr/bin/curl', // Something like /usr/bin/curl. If empty, will be found in PATH.
    "gzip" => '/usr/bin/gzip', // Something like /usr/bin/gzip. If empty, will be found in PATH.
    "id" => '/usr/bin/id', // Something like /usr/bin/id. If empty, will be found in PATH.
    "stat" => '/usr/bin/stat', // Something like /usr/bin/stat. If empty, will be found in PATH.
    $localhosts = array( // list of local interfaces
    "127.0.0.1",
    "localhost",
    $profilePath = '../share'; // Path to user profiles
    $profileMask = 0777; // Mask for files and directory creation in user profiles.
    // Both Webserver and rtorrent users must have read-write access to it.
    // For example, if Webserver and rtorrent users are in the same group then the value may be 0770.
    $tempDirectory = null; // Temp directory. Absolute path with trail slash. If null, then autodetect will be used.
    ~/.rtorrent.rc
    scgi_port = localhost:5000
    directory = /home/milo/Downloads
    session = /home/milo/.rutorrent/.session
    schedule = watch_directory,5,5,load_start=/home/milo/Downloads/*.torrent
    schedule = low_diskspace,5,60,close_low_diskspace=100M
    port_range = 49152-50000
    check_hash = no
    encryption = allow_incoming,try_outgoing,enable_retry
    dht = auto
    dht_port = 6881
    peer_exchange = yes
    /etc/php/php.ini
    [PHP]
    ; About php.ini ;
    ; PHP's initialization file, generally called php.ini, is responsible for
    ; configuring many of the aspects of PHP's behavior.
    ; PHP attempts to find and load this configuration from a number of locations.
    ; The following is a summary of its search order:
    ; 1. SAPI module specific location.
    ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    ; 4. Current working directory (except CLI)
    ; 5. The web server's directory (for SAPI modules), or directory of PHP
    ; (otherwise in Windows)
    ; 6. The directory from the --with-config-file-path compile time option, or the
    ; Windows directory (C:\windows or C:\winnt)
    ; See the PHP docs for more specific information.
    ; http://php.net/configuration.file
    ; The syntax of the file is extremely simple. Whitespace and lines
    ; beginning with a semicolon are silently ignored (as you probably guessed).
    ; Section headers (e.g. [Foo]) are also silently ignored, even though
    ; they might mean something in the future.
    ; Directives following the section heading [PATH=/www/mysite] only
    ; apply to PHP files in the /www/mysite directory. Directives
    ; following the section heading [HOST=www.example.com] only apply to
    ; PHP files served from www.example.com. Directives set in these
    ; special sections cannot be overridden by user-defined INI files or
    ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    ; CGI/FastCGI.
    ; http://php.net/ini.sections
    ; Directives are specified using the following syntax:
    ; directive = value
    ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    ; Directives are variables used to configure PHP or PHP extensions.
    ; There is no name validation. If PHP can't find an expected
    ; directive because it is not set or is mistyped, a default value will be used.
    ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    ; previously set variable or directive (e.g. ${foo})
    ; Expressions in the INI file are limited to bitwise operators and parentheses:
    ; | bitwise OR
    ; ^ bitwise XOR
    ; & bitwise AND
    ; ~ bitwise NOT
    ; ! boolean NOT
    ; Boolean flags can be turned on using the values 1, On, True or Yes.
    ; They can be turned off using the values 0, Off, False or No.
    ; An empty string can be denoted by simply not writing anything after the equal
    ; sign, or by using the None keyword:
    ; foo = ; sets foo to an empty string
    ; foo = None ; sets foo to an empty string
    ; foo = "None" ; sets foo to the string 'None'
    ; If you use constants in your value, and these constants belong to a
    ; dynamically loaded extension (either a PHP extension or a Zend extension),
    ; you may only use these constants *after* the line that loads the extension.
    ; About this file ;
    ; PHP comes packaged with two INI files. One that is recommended to be used
    ; in production environments and one that is recommended to be used in
    ; development environments.
    ; php.ini-production contains settings which hold security, performance and
    ; best practices at its core. But please be aware, these settings may break
    ; compatibility with older or less security conscience applications. We
    ; recommending using the production ini in production and testing environments.
    ; php.ini-development is very similar to its production variant, except it's
    ; much more verbose when it comes to errors. We recommending using the
    ; development version only in development environments as errors shown to
    ; application users can inadvertently leak otherwise secure information.
    ; This is php.ini-production INI file.
    ; Quick Reference ;
    ; The following are all the settings which are different in either the production
    ; or development versions of the INIs with respect to PHP's default behavior.
    ; Please see the actual settings later in the document for more details as to why
    ; we recommend these changes in PHP's behavior.
    ; display_errors
    ; Default Value: On
    ; Development Value: On
    ; Production Value: Off
    ; display_startup_errors
    ; Default Value: Off
    ; Development Value: On
    ; Production Value: Off
    ; error_reporting
    ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    ; Development Value: E_ALL
    ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    ; html_errors
    ; Default Value: On
    ; Development Value: On
    ; Production value: On
    ; log_errors
    ; Default Value: Off
    ; Development Value: On
    ; Production Value: On
    ; max_input_time
    ; Default Value: -1 (Unlimited)
    ; Development Value: 60 (60 seconds)
    ; Production Value: 60 (60 seconds)
    ; output_buffering
    ; Default Value: Off
    ; Development Value: 4096
    ; Production Value: 4096
    ; register_argc_argv
    ; Default Value: On
    ; Development Value: Off
    ; Production Value: Off
    ; request_order
    ; Default Value: None
    ; Development Value: "GP"
    ; Production Value: "GP"
    ; session.gc_divisor
    ; Default Value: 100
    ; Development Value: 1000
    ; Production Value: 1000
    ; session.hash_bits_per_character
    ; Default Value: 4
    ; Development Value: 5
    ; Production Value: 5
    ; short_open_tag
    ; Default Value: On
    ; Development Value: Off
    ; Production Value: Off
    ; track_errors
    ; Default Value: Off
    ; Development Value: On
    ; Production Value: Off
    ; url_rewriter.tags
    ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ; variables_order
    ; Default Value: "EGPCS"
    ; Development Value: "GPCS"
    ; Production Value: "GPCS"
    ; php.ini Options ;
    ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    ;user_ini.filename = ".user.ini"
    ; To disable this feature set this option to empty value
    ;user_ini.filename =
    ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    ;user_ini.cache_ttl = 300
    ; Language Options ;
    ; Enable the PHP scripting language engine under Apache.
    ; http://php.net/engine
    engine = On
    ; This directive determines whether or not PHP will recognize code between
    ; <? and ?> tags as PHP source which should be processed as such. It is
    ; generally recommended that <?php and ?> should be used and that this feature
    ; should be disabled, as enabling it may result in issues when generating XML
    ; documents, however this remains supported for backward compatibility reasons.
    ; Note that this directive does not control the <?= shorthand tag, which can be
    ; used regardless of this directive.
    ; Default Value: On
    ; Development Value: Off
    ; Production Value: Off
    ; http://php.net/short-open-tag
    short_open_tag = Off
    ; Allow ASP-style <% %> tags.
    ; http://php.net/asp-tags
    asp_tags = Off
    ; The number of significant digits displayed in floating point numbers.
    ; http://php.net/precision
    precision = 14
    ; Output buffering is a mechanism for controlling how much output data
    ; (excluding headers and cookies) PHP should keep internally before pushing that
    ; data to the client. If your application's output exceeds this setting, PHP
    ; will send that data in chunks of roughly the size you specify.
    ; Turning on this setting and managing its maximum buffer size can yield some
    ; interesting side-effects depending on your application and web server.
    ; You may be able to send headers and cookies after you've already sent output
    ; through print or echo. You also may see performance benefits if your server is
    ; emitting less packets due to buffered output versus PHP streaming the output
    ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    ; reasons.
    ; Note: Output buffering can also be controlled via Output Buffering Control
    ; functions.
    ; Possible Values:
    ; On = Enabled and buffer is unlimited. (Use with caution)
    ; Off = Disabled
    ; Integer = Enables the buffer and sets its maximum size in bytes.
    ; Note: This directive is hardcoded to Off for the CLI SAPI
    ; Default Value: Off
    ; Development Value: 4096
    ; Production Value: 4096
    ; http://php.net/output-buffering
    output_buffering = 4096
    ; You can redirect all of the output of your scripts to a function. For
    ; example, if you set output_handler to "mb_output_handler", character
    ; encoding will be transparently converted to the specified encoding.
    ; Setting any output handler automatically turns on output buffering.
    ; Note: People who wrote portable scripts should not depend on this ini
    ; directive. Instead, explicitly set the output handler using ob_start().
    ; Using this ini directive may cause problems unless you know what script
    ; is doing.
    ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    ; and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    ; Note: output_handler must be empty if this is set 'On' !!!!
    ; Instead you must use zlib.output_handler.
    ; http://php.net/output-handler
    ;output_handler =
    ; Transparent output compression using the zlib library
    ; Valid values for this option are 'off', 'on', or a specific buffer size
    ; to be used for compression (default is 4KB)
    ; Note: Resulting chunk size may vary due to nature of compression. PHP
    ; outputs chunks that are few hundreds bytes each as a result of
    ; compression. If you prefer a larger chunk size for better
    ; performance, enable output_buffering in addition.
    ; Note: You need to use zlib.output_handler instead of the standard
    ; output_handler, or otherwise the output will be corrupted.
    ; http://php.net/zlib.output-compression
    zlib.output_compression = Off
    ; http://php.net/zlib.output-compression-level
    ;zlib.output_compression_level = -1
    ; You cannot specify additional output handlers if zlib.output_compression
    ; is activated here. This setting does the same as output_handler but in
    ; a different order.
    ; http://php.net/zlib.output-handler
    ;zlib.output_handler =
    ; Implicit flush tells PHP to tell the output layer to flush itself
    ; automatically after every output block. This is equivalent to calling the
    ; PHP function flush() after each and every call to print() or echo() and each
    ; and every HTML block. Turning this option on has serious performance
    ; implications and is generally recommended for debugging purposes only.
    ; http://php.net/implicit-flush
    ; Note: This directive is hardcoded to On for the CLI SAPI
    implicit_flush = Off
    ; The unserialize callback function will be called (with the undefined class'
    ; name as parameter), if the unserializer finds an undefined class
    ; which should be instantiated. A warning appears if the specified function is
    ; not defined, or if the function doesn't include/implement the missing class.
    ; So only set this entry, if you really want to implement such a
    ; callback-function.
    unserialize_callback_func =
    ; When floats & doubles are serialized store serialize_precision significant
    ; digits after the floating point. The default value ensures that when floats
    ; are decoded with unserialize, the data will remain the same.
    serialize_precision = 17
    ; open_basedir, if set, limits all file operations to the defined directory
    ; and below. This directive makes most sense if used in a per-directory
    ; or per-virtualhost web server configuration file. This directive is
    ; *NOT* affected by whether Safe Mode is turned On or Off.
    ; http://php.net/open-basedir
    open_basedir = /srv/http/:/home/:/tmp/:/usr/share/pear/:/usr/share/webapps/:/etc/webapps/rutorrent/conf/:/usr/share/webapps/rutorrent/php/:/usr/share/webapps/rutorrent/
    ; This directive allows you to disable certain functions for security reasons.
    ; It receives a comma-delimited list of function names. This directive is
    ; *NOT* affected by whether Safe Mode is turned On or Off.
    ; http://php.net/disable-functions
    disable_functions =
    ; This directive allows you to disable certain classes for security reasons.
    ; It receives a comma-delimited list of class names. This directive is
    ; *NOT* affected by whether Safe Mode is turned On or Off.
    ; http://php.net/disable-classes
    disable_classes =
    ; Colors for Syntax Highlighting mode. Anything that's acceptable in
    ; <span style="color: ???????"> would work.
    ; http://php.net/syntax-highlighting
    ;highlight.string = #DD0000
    ;highlight.comment = #FF9900
    ;highlight.keyword = #007700
    ;highlight.default = #0000BB
    ;highlight.html = #000000
    ; If enabled, the request will be allowed to complete even if the user aborts
    ; the request. Consider enabling it if executing long requests, which may end up
    ; being interrupted by the user or a browser timing out. PHP's default behavior
    ; is to disable this feature.
    ; http://php.net/ignore-user-abort
    ;ignore_user_abort = On
    ; Determines the size of the realpath cache to be used by PHP. This value should
    ; be increased on systems where PHP opens many files to reflect the quantity of
    ; the file operations performed.
    ; http://php.net/realpath-cache-size
    ;realpath_cache_size = 16k
    ; Duration of time, in seconds for which to cache realpath information for a given
    ; file or directory. For systems with rarely changing files, consider increasing this
    ; value.
    ; http://php.net/realpath-cache-ttl
    ;realpath_cache_ttl = 120
    ; Enables or disables the circular reference collector.
    ; http://php.net/zend.enable-gc
    zend.enable_gc = On
    ; If enabled, scripts may be written in encodings that are incompatible with
    ; the scanner. CP936, Big5, CP949 and Shift_JIS are the examples of such
    ; encodings. To use this feature, mbstring extension must be enabled.
    ; Default: Off
    ;zend.multibyte = Off
    ; Allows to set the default encoding for the scripts. This value will be used
    ; unless "declare(encoding=...)" directive appears at the top of the script.
    ; Only affects if zend.multibyte is set.
    ; Default: ""
    ;zend.script_encoding =
    ; Miscellaneous ;
    ; Decides whether PHP may expose the fact that it is installed on the server
    ; (e.g. by adding its signature to the Web server header). It is no security
    ; threat in any way, but it makes it possible to determine whether you use PHP
    ; on your server or not.
    ; http://php.net/expose-php
    expose_php = On
    ; Resource Limits ;
    ; Maximum execution time of each script, in seconds
    ; http://php.net/max-execution-time
    ; Note: This directive is hardcoded to 0 for the CLI SAPI
    max_execution_time = 30
    ; Maximum amount of time each script may spend parsing request data. It's a good
    ; idea to limit this time on productions servers in order to eliminate unexpectedly
    ; long running scripts.
    ; Note: This directive is hardcoded to -1 for the CLI SAPI
    ; Default Value: -1 (Unlimited)
    ; Development Value: 60 (60 seconds)
    ; Production Value: 60 (60 seconds)
    ; http://php.net/max-input-time
    max_input_time = 60
    ; Maximum input variable nesting level
    ; http://php.net/max-input-nesting-level
    ;max_input_nesting_level = 64
    ; How many GET/POST/COOKIE input variables may be accepted
    ; max_input_vars = 1000
    ; Maximum amount of memory a script may consume (128MB)
    ; http://php.net/memory-limit
    memory_limit = 128M
    ; Error handling and logging ;
    ; This directive informs PHP of which errors, warnings and notices you would like
    ; it to take action for. The recommended way of setting values for this
    ; directive is through the use of the error level constants and bitwise
    ; operators. The error level constants are below here for convenience as well as
    ; some common settings and their meanings.
    ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    ; recommended coding standards in PHP. For performance reasons, this is the
    ; recommend error reporting setting. Your production server shouldn't be wasting
    ; resources complaining about best practices and coding standards. That's what
    ; development servers and development settings are for.
    ; Note: The php.ini-development file has this setting as E_ALL. This
    ; means it pretty much reports everything which is exactly what you want during
    ; development and early testing.
    ; Error Level Constants:
    ; E_ALL - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    ; E_ERROR - fatal run-time errors
    ; E_RECOVERABLE_ERROR - almost fatal run-time errors
    ; E_WARNING - run-time warnings (non-fatal errors)
    ; E_PARSE - compile-time parse errors
    ; E_NOTICE - run-time notices (these are warnings which often result
    ; from a bug in your code, but it's possible that it was
    ; intentional (e.g., using an uninitialized variable and
    ; relying on the fact it's automatically initialized to an
    ; empty string)
    ; E_STRICT - run-time notices, enable to have PHP suggest changes
    ; to your code which will ensure the best interoperability
    ; and forward compatibility of your code
    ; E_CORE_ERROR - fatal errors that occur during PHP's initial startup
    ; E_CORE_WARNING - warnings (non-fatal errors) that occur during PHP's
    ; initial startup
    ; E_COMPILE_ERROR - fatal compile-time errors
    ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    ; E_USER_ERROR - user-generated error message
    ; E_USER_WARNING - user-generated warning message
    ; E_USER_NOTICE - user-generated notice message
    ; E_DEPRECATED - warn about code that will not work in future versions
    ; of PHP
    ; E_USER_DEPRECATED - user-generated deprecation warnings
    ; Common Values:
    ; E_ALL (Show all errors, warnings and notices including coding standards.)
    ; E_ALL & ~E_NOTICE (Show all errors, except for notices)
    ; E_ALL & ~E_NOTICE & ~E_STRICT (Show all errors, except for notices and coding standards warnings.)
    ; E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR (Show only errors)
    ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    ; Development Value: E_ALL
    ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    ; http://php.net/error-reporting
    error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT
    ; This directive controls whether or not and where PHP will output errors,
    ; notices and warnings too. Error output is very useful during development, but
    ; it could be very dangerous in production environments. Depending on the code
    ; which is triggering the error, sensitive information could potentially leak
    ; out of your application such as database usernames and passwords or worse.
    ; It's recommended that errors be logged on production servers rather than
    ; having the errors sent to STDOUT.
    ; Possible Values:
    ; Off = Do not display any errors
    ; stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    ; On or stdout = Display errors to STDOUT
    ; Default Value: On
    ; Development Value: On
    ; Production Value: Off
    ; http://php.net/display-errors
    display_errors = Off
    ; The display of errors which occur during PHP's startup sequence are handled
    ; separately from display_errors. PHP's default behavior is to suppress those
    ; errors from clients. Turning the display of startup errors on can be useful in
    ; debugging configuration problems. But, it's strongly recommended that you
    ; leave this setting off on production servers.
    ; Default Value: Off
    ; Development Value: On
    ; Production Value: Off
    ; http://php.net/display-startup-errors
    display_startup_errors = Off
    ; Besides displaying errors, PHP can also log errors to locations such as a
    ; server-specific log, STDERR, or a location specified by the error_log
    ; directive found below. While errors should not be displayed on productions
    ; servers they should still be monitored and logging is a great way to do that.
    ; Default Value: Off
    ; Development Value: On
    ; Production Value: On
    ; http://php.net/log-errors
    log_errors = On
    ; Set maximum length of log_errors. In error_log information about the source is
    ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    ; http://php.net/log-errors-max-len
    log_errors_max_len = 1024
    ; Do not log repeated messages. Repeated errors must occur in same file on same
    ; line unless ignore_repeated_source is set true.
    ; http://php.net/ignore-repeated-errors
    ignore_repeated_errors = Off
    ; Ignore source of message when ignoring repeated messages. When this setting
    ; is On you will not log errors with repeated messages from different files or
    ; source lines.
    ; http://php.net/ignore-repeated-source
    ignore_repeated_source = Off
    ; If this parameter is set to Off, then memory leaks will not be shown (on
    ; stdout or in the log). This has only effect in a debug compile, and if
    ; error reporting includes E_WARNING in the allowed list
    ; http://php.net/report-memleaks
    report_memleaks = On
    ; This setting is on by default.
    ;report_zend_debug = 0
    ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    ; to On can assist in debugging and is appropriate for development servers. It should
    ; however be disabled on production servers.
    ; Default Value: Off
    ; Development Value: On
    ; Production Value: Off
    ; http://php.net/track-errors
    track_errors = Off
    ; Turn off normal error reporting and emit XML-RPC error XML
    ; http://php.net/xmlrpc-errors
    ;xmlrpc_errors = 0
    ; An XML-RPC faultCode
    ;xmlrpc_error_number = 0
    ; When PHP displays or logs an error, it has the capability of formatting the
    ; error message as HTML for easier reading. This directive controls whether
    ; the error message is formatted as HTML or not.
    ; Note: This directive is hardcoded to Off for the CLI SAPI
    ; Default Value: On
    ; Development Value: On
    ; Production value: On
    ; http://php.net/html-errors
    html_errors = On
    ; If html_errors is set to On *and* docref_root is not empty, then PHP
    ; produces clickable error messages that direct to a page describing the error
    ; or function causing the error in detail.
    ; You can download a copy of the PHP manual from http://php.net/docs
    ; and change docref_root to the base URL of your local copy including the
    ; leading '/'. You must also specify the file extension being used including
    ; the dot. PHP's default behavior is to leave these settings empty, in which
    ; case no links to documentation are generated.
    ; Note: Never use this feature for production boxes.
    ; http://php.net/docref-root
    ; Examples
    ;docref_root = "/phpmanual/"
    ; http://php.net/docref-ext
    ;docref_ext = .html
    ; String to output before an error message. PHP's default behavior is to leave
    ; this setting blank.
    ; http://php.net/error-prepend-string
    ; Example:
    ;error_prepend_string = "<span style='color: #ff0000'>"
    ; String to output after an error message. PHP's default behavior is to leave
    ; this setting blank.
    ; http://php.net/error-append-string
    ; Example:
    ;error_append_string = "</span>"
    ; Log errors to specified file. PHP's default behavior is to leave this value
    ; empty.
    ; http://php.net/error-log
    ; Example:
    ;error_log = php_errors.log
    ; Log errors to syslog (Event Log on Windows).
    ;error_log = syslog
    ;windows.show_crt_warning
    ; Default value: 0
    ; Development value: 0
    ; Production value: 0
    ; Data Handling ;
    ; The separator used in PHP generated URLs to separate arguments.
    ; PHP's default setting is "&".
    ; http://php.net/arg-separator.output
    ; Example:
    ;arg_separator.output = "&amp;"
    ; List of separator(s) used by PHP to parse input URLs into variables.
    ; PHP's default setting is "&".
    ; NOTE: Every character in this directive is considered as separator!
    ; http://php.net/arg-separator.input
    ; Example:
    ;arg_separator.input = ";&"
    ; This directive determines which super global arrays are registered when PHP
    ; starts up. G,P,C,E & S are abbreviations for the following respective super
    ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    ; paid for the registration of these arrays and because ENV is not as commonly
    ; used as the others, ENV is not recommended on productions servers. You
    ; can still get access to the environment variables through getenv() should you
    ; need to.
    ; Default Value: "EGPCS"
    ; Development Value: "GPCS"
    ; Production Value: "GPCS";
    ; http://php.net/variables-order
    variables_order = "GPCS"
    ; This directive determines which super global data (G,P,C,E & S) should
    ; be registered into the super global array REQUEST. If so, it also determines
    ; the order in which that data is registered. The values for this directive are
    ; specified in the same manner as the variables_order directive, EXCEPT one.
    ; Leaving this value empty will cause PHP to use the value set in the
    ; variables_order directive. It does not mean it will leave the super globals
    ; array REQUEST empty.
    ; Default Value: None
    ; Development Value: "GP"
    ; Production Value: "GP"
    ; http://php.net/request-order
    request_order = "GP"
    ; This directive determines whether PHP registers $argv & $argc each time it
    ; runs. $argv contains an array of all the arguments passed to PHP when a script
    ; is invoked. $argc contains an integer representing the number of arguments
    ; that were passed when the script was invoked. These arrays are extremely
    ; useful when running scripts from the command line. When this directive is
    ; enabled, registering these variables consumes CPU cycles and memory each time
    ; a script is executed. For performance reasons, this feature should be disabled
    ; on production servers.
    ; Note: This directive is hardcoded to On for the CLI SAPI
    ; Default Value: On
    ; Development Value: Off
    ; Production Value: Off
    ; http://php.net/register-argc-argv
    register_argc_argv = Off
    ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    ; first used (Just In Time) instead of when the script starts. If these
    ; variables are not used within a script, having this directive on will result
    ; in a performance gain. The PHP directive register_argc_argv must be disabled
    ; for this directive to have any affect.
    ; http://php.net/auto-globals-jit
    auto_globals_jit = On
    ; Whether PHP will read the POST data.
    ; This option is enabled by default.
    ; Most likely, you won't want to disable this option globally. It causes $_POST
    ; and $_FILES to always be empty; the only way you will be able to read the
    ; POST data will be through the php://input stream wrapper. This can be useful
    ; to proxy requests or to process the POST data in a memory efficient fashion.
    ; http://php.net/enable-post-data-reading
    ;enable_post_data_reading = Off
    ; Maximum size of POST data that PHP will accept.
    ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    ; is disabled through enable_post_data_reading.
    ; http://php.net/post-max-size
    post_max_size = 8M
    ; Automatically add files before PHP document.
    ; http://php.net/auto-prepend-file
    auto_prepend_file =
    ; Automatically add files after PHP document.
    ; http://php.net/auto-append-file
    auto_append_file =
    ; By default, PHP will output a character encoding using
    ; the Content-type: header. To disable sending of the charset, simply
    ; set it to be empty.
    ; PHP's built-in default is text/html
    ; http://php.net/default-mimetype
    default_mimetype = "text/html"
    ; PHP's default character set is set to empty.
    ; http://php.net/default-charset
    ;default_charset = "UTF-8"
    ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is
    ; to disable this feature. If post reading is disabled through
    ; enable_post_data_reading, $HTTP_RAW_POST_DATA is *NOT* populated.
    ; http://php.net/always-populate-raw-post-data
    ;always_populate_raw_post_data = On
    ; Paths and Directories ;
    ; UNIX: "/path1:/path2"
    include_path = ".:/usr/share/pear"
    ; Windows: "\path1;\path2"
    ;include_path = ".;c:\php\includes"
    ; PHP's default setting for include_path is ".;/path/to/php/pear"
    ; http://php.net/include-path
    ; The root of the PHP pages, used only if nonempty.
    ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    ; if you are running php as a CGI under any web server (other than IIS)
    ; see documentation for security issues. The alternate is to use the
    ; cgi.force_redirect configuration below
    ; http://php.net/doc-root
    doc_root =
    ; The directory under which PHP opens the script using /~username used only
    ; if nonempty.
    ; http://php.net/user-dir
    user_dir =
    ; Directory in which the loadable extensions (modules) reside.
    ; http://php.net/extension-dir
    extension_dir = "/usr/lib/php/modules/"
    ; On windows:
    ; extension_dir = "ext"
    ; Directory where the temporary files should be placed.
    ; Defaults to the system default (see sys_get_temp_dir)
    ; sys_temp_dir = "/tmp"
    ; Whether or not to enable the dl() function. The dl() function does NOT work
    ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    ; disabled on them.
    ; http://php.net/enable-dl
    enable_dl = Off
    ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    ; most web servers. Left undefined, PHP turns this on by default. You can
    ; turn it off here AT YOUR OWN RISK
    ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    ; http://php.net/cgi.force-redirect
    ;cgi.force_redirect = 1
    ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    ; every request. PHP's default behavior is to disable this feature.
    ;cgi.nph = 1
    ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    ; will look for to know it is OK to continue execution. Setting this variable MAY
    ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    ; http://php.net/cgi.redirect-status-env
    ;cgi.redirect_status_env =
    ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI. PHP's
    ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    ; what PATH_INFO is. For more information on PATH_INFO, see the cgi specs. Setting
    ; this to 1 will cause PHP CGI to fix its paths to conform to the spec. A setting
    ; of zero causes PHP to behave as before. Default is 1. You should fix your scripts
    ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    ; http://php.net/cgi.fix-pathinfo
    ;cgi.fix_pathinfo=1
    ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    ; security tokens of the calling client. This allows IIS to define the
    ; security context that the request runs under. mod_fastcgi under Apache
    ; does not currently support this feature (03/17/2002)
    ; Set to 1 if running under IIS. Default is zero.
    ; http://php.net/fastcgi.impersonate
    ;fastcgi.impersonate = 1
    ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    ; this feature.
    ;fastcgi.logging = 0
    ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    ; use when sending HTTP response code. If it's set 0 PHP sends Status: header that
    ; is supported by Apache. When this option is set to 1 PHP will send
    ; RFC2616 compliant header.
    ; Default is zero.
    ; http://php.net/cgi.rfc2616-headers
    ;cgi.rfc2616_headers = 0
    ; File Uploads ;
    ; Whether to allow HTTP file uploads.
    ; http://php.net/file-uploads
    file_uploads = On
    ; Temporary directory for HTTP uploaded files (will use system default if not
    ; specified).
    ; http://php.net/upload-tmp-dir
    ;upload_tmp_dir =
    ; Maximum allowed size for uploaded files.
    ; http://php.net/upload-max-filesize
    upload_max_filesize = 2M
    ; Maximum number of files that can be uploaded via a single request
    max_file_uploads = 20
    ; Fopen wrappers ;
    ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    ; http://php.net/allow-url-fopen
    allow_url_fopen = On
    ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    ; http://php.net/allow-url-include
    allow_url_include = Off
    ; Define the anonymous ftp password (your email address). PHP's default setting
    ; for this is empty.
    ; http://php.net/from
    ;from="[email protected]"
    ; Define the User-Agent string. PHP's default setting for this is empty.
    ; http://php.net/user-agent
    ;user_agent="PHP"
    ; Default timeout for socket based streams (seconds)
    ; http://php.net/default-socket-timeout
    default_socket_timeout = 60
    ; If your scripts have to deal with files from Macintosh systems,
    ; or you are running on a Mac and need to deal with files from
    ; unix or win32 systems, setting this flag will cause PHP to
    ; automatically detect the EOL character in those files so that
    ; fgets() and file() will work regardless of the source of the file.
    ; http://php.net/auto-detect-line-endings
    ;auto_detect_line_endings = Off
    ; Dynamic Extensions ;
    ; If you wish to have an extension loaded automatically, use the following
    ; syntax:
    ; extension=modulename.extension
    ; For example, on Windows:
    ; extension=msql.dll
    ; ... or under UNIX:
    ; extension=msql.so
    ; ... or with a path:
    ; extension=/path/to/extension/msql.so
    ; If you only provide the name of the extension, PHP will look for it in its
    ; default extension directory.
    ;extension=bcmath.so
    ;extension=bz2.so
    ;extension=calendar.so
    extension=curl.so
    ;extension=dba.so
    ;extension=enchant.so
    ;extension=exif.so
    ;extension=ftp.so
    ;extension=gd.so
    extension=gettext.so
    ;extension=gmp.so
    ;extension=iconv.so
    ;extension=imap.so
    ;extension=intl.so
    ;extension=ldap.so
    ;extension=mcrypt.so
    ;extension=mssql.so
    ;extension=mysqli.so
    ;extension=mysql.so
    ;extension=odbc.so
    ;zend_extension=opcache.so
    ;extension=openssl.so
    ;extension=pdo_mysql.so
    ;extension=pdo_odbc.so
    ;extension=pdo_pgsql.so
    ;extension=pdo_sqlite.so
    ;extension=pgsql.so
    ;extension=phar.so
    ;extension=posix.so
    ;extension=pspell.so
    ;extension=shmop.so
    ;extension=snmp.so
    ;extension=soap.so
    ;extension=sockets.so
    ;extension=sqlite3.so
    ;extension=sysvmsg.so
    ;extension=sysvsem.so
    ;extension=sysvshm.so
    ;extension=tidy.so
    ;extension=xmlrpc.so
    ;extension=xsl.so
    ;extension=zip.so
    ; Module Settings ;
    [CLI Server]
    ; Whether the CLI web server uses ANSI color coding in its terminal output.
    cli_server.color = On
    [Date]
    ; Defines the default timezone used by the date functions
    ; http://php.net/date.timezone
    ;date.timezone =
    ; http://php.net/date.default-latitude
    ;date.default_latitude = 31.7667
    ; http://php.net/date.default-longitude
    ;date.default_longitude = 35.2333
    ; http://php.net/date.sunrise-zenith
    ;date.sunrise_zenith = 90.583333
    ; http://php.net/date.sunset-zenith
    ;date.sunset_zenith = 90.583333
    [filter]
    ; http://php.net/filter.default
    ;filter.default = unsafe_raw
    ; http://php.net/filter.default-flags
    ;filter.default_flags =
    [iconv]
    ;iconv.input_encoding = ISO-8859-1
    ;iconv.internal_encoding = ISO-8859-1
    ;iconv.output_encoding = ISO-8859-1
    [intl]
    ;intl.default_locale =
    ; This directive allows you to produce PHP errors when some error
    ; happens within intl functions. The value is the level of the error produced.
    ; Default is 0, which does not produce any errors.
    ;intl.error_level = E_WARNING
    [sqlite]
    ; http://php.net/sqlite.assoc-case
    ;sqlite.assoc_case = 0
    [sqlite3]
    ;sqlite3.extension_dir =
    [Pcre]
    ;PCRE library backtracking limit.
    ; http://php.net/pcre.backtrack-limit
    ;pcre.backtrack_limit=100000
    ;PCRE library recursion limit.
    ;Please note that if you set this value to a high number you may consume all
    ;the available process stack and eventually crash PHP (due to reaching the
    ;stack size limit imposed by the Operating System).
    ; http://php.net/pcre.recursion-limit
    ;pcre.recursion_limit=100000
    [Pdo]
    ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    ; http://php.net/pdo-odbc.connection-pooling
    ;pdo_odbc.connection_pooling=strict
    ;pdo_odbc.db2_instance_name
    [Pdo_mysql]
    ; If mysqlnd is used: Number of cache slots for the internal result set cache
    ; http://php.net/pdo_mysql.cache_size
    pdo_mysql.cache_size = 2000
    ; Default socket name for local MySQL connects. If empty, uses the built-in
    ; MySQL defaults.
    ; http://php.net/pdo_mysql.default-socket
    pdo_mysql.default_socket=
    [Phar]
    ; http://php.net/phar.readonly
    ;phar.readonly = On
    ; http://php.net/phar.require-hash
    ;phar.require_hash = On
    ;phar.cache_list =
    [mail function]
    ; For Win32 only.
    ; http://php.net/smtp
    SMTP = localhost
    ; http://php.net/smtp-port
    smtp_port = 25
    ; For Win32 only.
    ; http://php.net/sendmail-from
    ;sendmail_from = [email protected]
    ; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
    ; http://php.net/sendmail-path
    ;sendmail_path =
    ; Force the addition of the specified parameters to be passed as extra parameters
    ; to the sendmail binary. These parameters will always replace the value of
    ; the 5th parameter to mail(), even in safe mode.
    ;mail.force_extra_parameters =
    ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    mail.add_x_header = On
    ; The path to a log file that will log all mail() calls. Log entries include
    ; the full path of the script, line number, To address and headers.
    ;mail.log =
    ; Log mail to syslog (Event Log on Windows).
    ;mail.log = syslog
    [SQL]
    ; http://php.net/sql.safe-mode
    sql.safe_mode = Off
    [ODBC]
    ; http://php.net/odbc.default-db
    ;odbc.default_db = Not yet implemented
    ; http://php.net/odbc.default-user
    ;odbc.default_user = Not yet implemented
    ; http://php.net/odbc.default-pw
    ;odbc.default_pw = Not yet implemented
    ; Controls the ODBC cursor model.
    ; Default: SQL_CURSOR_STATIC (default).
    ;odbc.default_cursortype
    ; Allow or prevent persistent links.
    ; http://php.net/odbc.allow-persistent
    odbc.allow_persistent = On
    ; Check that a connection is still valid before reuse.
    ; http://php.net/odbc.check-persistent
    odbc.check_persistent = On
    ; Maximum number of persistent links. -1 means no limit.
    ; http://php.net/odbc.max-persistent
    odbc.max_persistent = -1
    ; Maximum number of links (persistent + non-persistent). -1 means no limit.
    ; http://php.net/odbc.max-links
    odbc.max_links = -1
    ; Handling of LONG fields. Returns number of bytes to variables. 0 means
    ; passthru.
    ; http://php.net/odbc.defaultlrl
    odbc.defaultlrl = 4096
    ; Handling of binary data. 0 means passthru, 1 return as is, 2 convert to char.
    ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    ; of odbc.defaultlrl and odbc.defaultbinmode
    ; http://php.net/odbc.defaultbinmode
    odbc.defaultbinmode = 1
    ;birdstep.max_links = -1
    [Interbase]
    ; Allow or prevent persistent links.
    ibase.allow_persistent = 1
    ; Maximum number of persistent links. -1 means no limit.
    ibase.max_persistent = -1
    ; Maximum number of links (persistent + non-persistent). -1 means no limit.
    ibase.max_links = -1
    ; Default database name for ibase_connect().
    ;ibase.default_db =
    ; Default username for ibase_connect().
    ;ibase.default_user =
    ; Default password for ibase_connect().
    ;ibase.default_password =
    ; Default charset for ibase_connect().
    ;ibase.default_charset =
    ; Default timestamp format.
    ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    ; Default date format.
    ibase.dateformat = "%Y-%m-%d"
    ; Default time format.
    ibase.timeformat = "%H:%M:%S"
    [MySQL]
    ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    ; http://php.net/mysql.allow_local_infile
    mysql.allow_local_infile = On
    ; Allow or prevent persistent links.
    ; http://php.net/mysql.allow-persistent
    mysql.allow_persistent = On
    ; If mysqlnd is used: Number of cache slots for the internal result set cache
    ; http://php.net/mysql.cache_size
    mysql.cache_size = 2000
    ; Maximum number of persistent links. -1 means no limit.
    ; http://php.net/mysql.max-persistent
    mysql.max_persistent = -1
    ; Maximum number of links (persistent + non-persistent). -1 means no limit.
    ; http://php.net/mysql.max-links
    mysql.max_links = -1
    ; Default port number for mysql_connect(). If unset, mysql_connect() will use
    ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    ; compile-time value defined MYSQL_PORT (in that order). Win32 will only look
    ; at MYSQL_PORT.
    ; http://php.net/mysql.default-port
    mysql.default_port =
    ; Default socket name for local MySQL connects. If empty, uses the built-in
    ; MySQL defaults.
    ; http://php.net/mysql.default-socket
    mysql.default_socket =
    ; Default host for mysql_connect() (doesn't apply in safe mode).
    ; http://php.net/mysql.default-host
    mysql.default_host =
    ; Default user for mysql_connect() (doesn't apply in safe mode).
    ; http://php.net/mysql.default-user
    mysql.default_user =
    ; Default password for mysql_connect() (doesn't apply in safe mode).
    ; Note that this is generally a *bad* idea to store passwords in this file.
    ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
    ; and reveal this password! And of course, any users with read access to this
    ; file will be able to reveal the password as well.
    ; http://php.net/mysql.default-password
    mysql.default_password =
    ; Maximum time (in seconds) for connect timeout. -1 means no limit
    ; http://php.net/mysql.connect-timeout
    mysql.connect_timeout = 60
    ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
    ; SQL-Errors will be displayed.
    ; http://php.net/mysql.trace-mode
    mysql.trace_mode = Off
    [MySQLi]
    ; Maximum number of persistent links. -1 means no limit.
    ; http://php.net/mysqli.max-persistent
    mysqli.max_persistent = -1
    ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    ; http://php.net/mysqli.allow_local_infile
    ;mysqli.allow_local_infile = On
    ; Allow or prevent persistent links.
    ; http://php.net/mysqli.allow-persistent
    mysqli.allow_persistent = On
    ; Maximum number of links. -1 means no limit.
    ; http://php.net/mysqli.max-links
    mysqli.max_links = -1
    ; If mysqlnd is used: Number of cache slots for the internal result set cache
    ; http://php.net/mysqli.cache_size
    mysqli.cache_size = 2000
    ; Default port number for mysqli_connect(). If unset, mysqli_connect() will use
    ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    ; compile-time value defined MYSQL_PORT (in that order). Win32 will only look
    ; at MYSQL_PORT.
    ; http://php.net/mysqli.default-port
    mysqli.default_port = 3306
    ; Default socket name for local MySQL connects. If empty, uses the built-in
    ; MySQL defaults.
    ; http://php.net/mysqli.default-socket
    mysqli.default_socket =
    ; Default host for mysql_connect() (doesn't apply in safe mode).
    ; http://php.net/mysqli.default-host
    mysqli.default_host =
    ; Default user for mysql_connect() (doesn't apply in safe mode).
    ; http://php.net/mysqli.default-user
    mysqli.default_user =
    ; Default password for mysqli_connect() (doesn't apply in safe mode).
    ; Note that this is generally a *bad* idea to store passwords in this file.
    ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    ; and reveal this password! And of course, any users with read access to this
    ; file will be able to reveal the password as well.
    ; http://php.net/mysqli.default-pw
    mysqli.default_pw =
    ; Allow or prevent reconnect
    mysqli.reconnect = Off
    [mysqlnd]
    ; Enable / Disable collection of general statistics by mysqlnd which can be
    ; used to tune and monitor MySQL operations.
    ; http://php.net/mysqlnd.collect_statistics
    mysqlnd.collect_statistics = On
    ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    ; used to tune and monitor MySQL operations.
    ; http://php.net/mysqlnd.collect_memory_statistics
    mysqlnd.collect_memory_statistics = Off
    ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    ; http://php.net/mysqlnd.net_cmd_buffer_size
    ;mysqlnd.net_cmd_buffer_size = 2048
    ; Size of a pre-allocated buffer used for reading data sent by the server in
    ; bytes.
    ; http://php.net/mysqlnd.net_read_buffer_size
    ;mysqlnd.net_read_buffer_size = 32768
    [OCI8]
    ; Connection: Enables privileged connections using external
    ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    ; http://php.net/oci8.privileged-connect
    ;oci8.privileged_connect = Off
    ; Connection: The maximum number of persistent OCI8 connections per
    ; process. Using -1 means no limit.
    ; http://php.net/oci8.max-persistent
    ;oci8.max_persistent = -1
    ; Connection: The maximum number of seconds a process is allowed to
    ; maintain an idle persistent connection. Using -1 means idle
    ; persistent connections will be maintained forever.
    ; http://php.net/oci8.persistent-timeout
    ;oci8.persistent_timeout = -1
    ; Connection: The number of seconds that must pass before issuing a
    ; ping during oci_pconnect() to check the connection validity. When
    ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    ; pings completely.
    ; http://php.net/oci8.ping-interval
    ;oci8.ping_interval = 60
    ; Connection: Set this to a user chosen connection class to be used
    ; for all pooled server requests with Oracle 11g Database Resident
    ; Connection Pooling (DRCP). To use DRCP, this value should be set to
    ; the same string for all web servers running the same application,
    ; the database pool must be configured, and the connection string must
    ; specify to use a pooled server.
    ;oci8.connection_class =
    ; High Availability: Using On lets PHP receive Fast Application
    ; Notification (FAN) events generated when a database node fails. The
    ; database must also be configured to post FAN events.
    ;oci8.events = Off
    ; Tuning: This option enables statement

    Hi comrades,
    I use rtorrent in terminal without problems but recently I got interested in rutorrent.
    I've been following the rtorrent wiki and rutorrent wiki to get to this point.
    First of all rtorrent is working fine in terminal, but with rutorrent I only get to this far: http://i637.photobucket.com/albums/uu93 … 1403737709
    As you can see in the upeer right of the image it's trying to connect and in the log section is throwing me this:
    [25.06.2014 18:37:22] WebUI started.
    [25.06.2014 18:37:23] Bad response from server: (200 [parsererror,getplugins]) <?php require_once( "util.php" ); require_once( "settings.php" ); function pluginsSort($a, $b) { $lvl1 = (float) $a["info"]["plugin.runlevel"]; $lvl2 = (float) $b["info"]["plugin.runlevel"]; if($lvl1>$lvl2) return(1); if($lvl1<$lvl2) return(-1); return( strcmp($a["name"],$b["name"]) ); } function getFlag($permissions,$pname,$fname) { $ret = true; if(array_key_exists($pname,$permissions) && array_key_exists($fname,$permissions[$pname])) $ret = $permissions[$pname][$fname]; else if(array_key_exists("default",$permissions) && array_key_exists($fname,$permissions["default"])) $ret = $permissions["default"][$fname]; return($ret); } function getPluginInfo( $name, $permissions ) { $info = array( 'rtorrent.need'=>1, 'rtorrent.remote'=>'ok', 'rtorrent.external.warning'=>array(), 'rtorrent.external.error'=>array(), 'rtorrent.script.error'=>array(), 'rtorrent.php.error'=>array(), 'rtorrent.version'=>0x802, 'rtorrent.version.readable'=>'0.8.2', 'plugin.may_be_shutdowned'=>1, 'plugin.may_be_launched'=>1, 'plugin.runlevel'=>10.0, 'plugin.description'=>'', 'plugin.author'=>'unknown', 'plugin.dependencies'=>array(), 'php.version'=>0x50000, 'php.version.readable'=>'5.0.0', 'php.extensions.warning'=>array(), 'php.extensions.error'=>array(), 'web.external.warning'=>array(), 'web.external.error'=>array(), 'plugin.help'=>'', ); $fname = "../plugins/".$name."/plugin.info"; if(is_readable($fname)) { $lines = file($fname); foreach($lines as $line) { $fields = explode(":",$line,2); if(count($fields)==2) { $value = addcslashes(trim($fields[1]),"\\\'\"\n\r\t"); $field = trim($fields[0]); switch($field) { case "plugin.help": case "plugin.author": case "plugin.description": case "rtorrent.remote": { $info[$field] = $value; break; } case "plugin.may_be_shutdowned": case "plugin.may_be_launched": case "rtorrent.need": { $info[$field] = intval($value); break; } case "plugin.version": case "plugin.runlevel": { $info[$field] = floatval($value); break; } case "rtorrent.version": case "php.version": { $version = explode('.', $value); $info[$field] = (intval($version[0])<<16) + (intval($version[1])<<8) + intval($version[2]); $info[$field.'.readable'] = $value; break; } case "plugin.dependencies": case "rtorrent.external.warning": case "rtorrent.external.error": case "rtorrent.script.error": case "rtorrent.php.error": case "web.external.warning": case "web.external.error": case "php.extensions.warning": case "php.extensions.error": { $info[$field] = explode(',', $value); break; } // for compatibility case "author": case "description": { $info['plugin.'.$field] = $value; break; } case "remote": { $info['rtorrent.remote'] = $value; break; } case "need_rtorrent": { $info['rtorrent.need'] = intval($value); break; } case "version": case "runlevel": { $info['plugin.'.$field] = floatval($value); break; } } } } $perms = 0; if($permissions!==false) { if(!getFlag($permissions,$name,"enabled")) return(false); $flags = array( "canChangeToolbar" => 0x0001, "canChangeMenu" => 0x0002, "canChangeOptions" => 0x0004, "canChangeTabs" => 0x0008, "canChangeColumns" => 0x0010, "canChangeStatusBar" => 0x0020, "canChangeCategory" => 0x0040, "canBeShutdowned" => 0x0080, /* "canBeLaunched" => 0x0100, */ ); foreach($flags as $flagName=>$flagVal) if(!getFlag($permissions,$name,$flagName)) $perms|=$flagVal; if(!$info["plugin.may_be_shutdowned"]) $perms|=$flags["canBeShutdowned"]; } $info["perms"] = $perms; } return(array_key_exists("plugin.version",$info) ? $info : false); } function findRemoteEXE( $exe, $err, &$remoteRequests ) { $st = getSettingsPath().'/'.rand(); if(!array_key_exists($exe,$remoteRequests)) { $path=realpath(dirname('.')); global $pathToExternals; $add = ''; if(isset($pathToExternals[$exe]) && !empty($pathToExternals[$exe])) $add = " ".escapeshellarg($pathToExternals[$exe]); $req = new rXMLRPCRequest(new rXMLRPCCommand("execute", array( "sh", "-c", escapeshellarg(addslash($path)."test.sh")." ".$exe." ".escapeshellarg($st).$add))); $req->run(); $remoteRequests[$exe] = array( "path"=>$st, "err"=>array() ); } $remoteRequests[$exe]["err"][] = $err; } function testRemoteRequests($remoteRequests) { $ret = ""; foreach($remoteRequests as $exe=>$info) { $file = $info["path"].$exe.".found"; if(!is_file($file)) { foreach($info["err"] as $err) $ret.=$err; } else @unlink($file); } return($ret); } $jResult = "theWebUI.deltaTime = 0;\n"; $access = getConfFile('access.ini'); if(!$access) $access = "../conf/access.ini"; $permissions = parse_ini_file($access); $settingsFlags = array( "showDownloadsPage" => 0x0001, "showConnectionPage" => 0x0002, "showBittorentPage" => 0x0004, "showAdvancedPage" => 0x0008, "showPluginsTab" => 0x0010, "canChangeULRate" => 0x0020, "canChangeDLRate" => 0x0040, "canChangeTorrentProperties" => 0x0080, ); $perms = 0; foreach($settingsFlags as $flagName=>$flagVal) if(array_key_exists($flagName,$permissions) && $permissions[$flagName]) $perms|=$flagVal; $jResult .= "theWebUI.showFlags = ".$perms.";\n"; $jResult .= "theURLs.XMLRPCMountPoint = '".$XMLRPCMountPoint."';\n"; $jResult.="theWebUI.systemInfo = {};\ntheWebUI.systemInfo.php = { canHandleBigFiles : ".((PHP_INT_SIZE<=4) ? "false" : "true")." };\n"; if($handle = opendir('../plugins')) { ignore_user_abort(true); set_time_limit(0); makeDirectory(getTempDirectory()); if(!@file_exists($tempDirectory.'/.') || !is_readable($tempDirectory) || !is_writable($tempDirectory)) $jResult.="noty(theUILang.badTempPath+' (".$tempDirectory.")','error');"; if(!function_exists('preg_match_all')) { $jResult.="noty(theUILang.PCRENotFound,'error');"; $jResult.="theWebUI.systemInfo.rTorrent = { started: false, iVersion : 0, version : '?', libVersion : '?' };\n"; } else { $remoteRequests = array(); $theSettings = rTorrentSettings::get(true); if(!$theSettings->linkExist) { $jResult.="noty(theUILang.badLinkTorTorrent,'error');"; $jResult.="theWebUI.systemInfo.rTorrent = { started: false, iVersion : 0, version : '?', libVersion : '?', apiVersion : 0 };\n"; } else { if($theSettings->idNotFound) $jResult.="noty(theUILang.idNotFound,'error');"; $jResult.="theWebUI.systemInfo.rTorrent = { started: true, iVersion : ".$theSettings->iVersion.", version : '". $theSettings->version."', libVersion : '".$theSettings->libVersion."', apiVersion : ".$theSettings->apiVersion." };\n"; if($theSettings->mostOfMethodsRenamed) $jResult.="theWebUI.systemInfo.rTorrent.newMethodsSet = true;\n"; if($do_diagnostic) { $up = getUploadsPath(); $st = getSettingsPath(); @chmod($up,$profileMask); @chmod($st,$profileMask); @chmod('./test.sh',$profileMask & 0755); if(PHP_USE_GZIP && (findEXE('gzip')===false)) { @define('PHP_USE_GZIP', false); $jResult.="noty(theUILang.gzipNotFound,'error');"; } if(PHP_INT_SIZE<=4) { if(findEXE('stat')===false) $jResult.="noty(theUILang.statNotFoundW,'error');"; findRemoteEXE('stat',"noty(theUILang.statNotFound,'error');",$remoteRequests); } if(!@file_exists($up.'/.') || !is_readable($up) || !is_writable($up)) $jResult.="noty(theUILang.badUploadsPath+' (".$up.")','error');"; if(!@file_exists($st.'/.') || !is_readable($st) || !is_writable($st)) $jResult.="noty(theUILang.badSettingsPath+' (".$st.")','error');"; if(isLocalMode() && !$theSettings->idNotFound) { if($theSettings->uid<0) $jResult.="noty(theUILang.cantObtainUser,'error');"; else { if(!isUserHavePermission($theSettings->uid,$theSettings->gid,$tempDirectory,0x0007)) $jResult.="noty(theUILang.badTempPath2+' (".$tempDirectory.")','error');"; if(!isUserHavePermission($theSettings->uid,$theSettings->gid,$up,0x0007)) $jResult.="noty(theUILang.badUploadsPath2+' (".$up.")','error');"; if(!isUserHavePermission($theSettings->uid,$theSettings->gid,$st,0x0007)) $jResult.="noty(theUILang.badSettingsPath2+' (".$st.")','error');"; if(!isUserHavePermission($theSettings->uid,$theSettings->gid,'./test.sh',0x0005)) $jResult.="noty(theUILang.badTestPath+' (".realpath('./test.sh').")','error');"; } } if($theSettings->badXMLRPCVersion) $jResult.="noty(theUILang.badXMLRPCVersion,'error');"; } } $plg = getConfFile('plugins.ini'); if(!$plg) $plg = "../conf/plugins.ini"; $permissions = parse_ini_file($plg,true); $init = array(); $names = array(); $disabled = array(); $phpVersion = phpversion(); if( ($pos=strpos($phpVersion, '-'))!==false ) $phpVersion = substr($phpVersion,0,$pos); $phpIVersion = explode('.',$phpVersion); $phpIVersion = (intval($phpIVersion[0])<<16) + (intval($phpIVersion[1])<<8) + intval($phpIVersion[2]); $phpRequired = false; $userPermissions = array( "__hash__"=>"plugins.dat" ); $cache = new rCache(); $cache->get($userPermissions); $cantBeShutdowned = 0x0080; $canBeLaunched = 0x0100; $disabledByUser = 0x8000; $loadedExtensions = array_map("strtolower",get_loaded_extensions()); while(false !== ($file = readdir($handle))) { if($file != "." && $file != ".." && is_dir('../plugins/'.$file)) { if(!array_key_exists($file,$userPermissions)) $userPermissions[$file] = true; $info = getPluginInfo( $file, $permissions ); if($info) { if( $info["plugin.may_be_launched"] && getFlag($permissions,$file,"enabled")=="user-defined") { $info["perms"] |= $canBeLaunched; if(!$userPermissions[$file]) { $info["perms"] |= $disabledByUser; $disabled[$file] = $info; $info = false; } } else $info["perms"] |= $cantBeShutdowned; } if($info!==false) { if(!$theSettings->linkExist && $info["rtorrent.need"]) { $disabled[$file] = $info; continue; } if($info['php.version']>$phpIVersion) { $jResult.="noty('".$file.": '+theUILang.badPHPVersion+' '+'".$info['php.version.readable']."'+'.','error');"; $disabled[$file] = $info; continue; } $extError = false; foreach( $info['php.extensions.error'] as $extension ) if(!in_array( $extension, $loadedExtensions )) { $jResult.="noty('".$file.": '+theUILang.phpExtensionNotFoundError+' ('+'".$extension."'+').','error');"; $extError = true; } if($extError) { $disabled[$file] = $info; continue; } if(count($info['web.external.error']) || count($info['web.external.warning']) || count($info['rtorrent.external.error']) || count($info['rtorrent.external.warning'])) eval( getPluginConf( $file ) ); foreach( $info['web.external.error'] as $external ) { if(findEXE($external)==false) { $jResult.="noty('".$file.": '+theUILang.webExternalNotFoundError+' ('+'".$external."'+').','error');"; $extError = true; } else if($external=='php') $phpRequired = true; } if($extError) { $disabled[$file] = $info; continue; } if($theSettings->linkExist) { if($info['rtorrent.version']>$theSettings->iVersion) { $jResult.="noty('".$file.": '+theUILang.badrTorrentVersion+' '+'".$info['rtorrent.version.readable']."'+'.','error');"; $disabled[$file] = $info; continue; } foreach( $info['rtorrent.external.error'] as $external ) { findRemoteEXE($external,"noty('".$file.": '+theUILang.rTorrentExternalNotFoundError+' ('+'".$external."'+').','error'); thePlugins.get('".$file."').disable();",$remoteRequests); if($external=='php') $phpRequired = true; } foreach( $info['rtorrent.script.error'] as $external ) { $fname = $rootPath.'/plugins/'.$file.'/'.$external; @chmod($fname,$profileMask & 0755); if(!isUserHavePermission($theSettings->uid,$theSettings->gid,$fname,0x0005)) { $jResult.="noty('".$file.": '+theUILang.rTorrentBadScriptPath+' ('+'".$fname."'+').','error');"; $extError = true; } } if($extError) { $disabled[$file] = $info; continue; } foreach( $info['rtorrent.php.error'] as $external ) { $fname = $rootPath.'/plugins/'.$file.'/'.$external; @chmod($fname,$profileMask & 0644); if(!isUserHavePermission($theSettings->uid,$theSettings->gid,$fname,0x0004)) { $jResult.="noty('".$file.": '+theUILang.rTorrentBadPHPScriptPath+' ('+'".$fname."'+').','error');"; $extError = true; } } if($extError) { $disabled[$file] = $info; continue; } if(!isLocalMode()) { if($info["rtorrent.remote"]=="error") { $jResult.="noty('".$file.": '+theUILang.errMustBeInSomeHost,'error');"; $disabled[$file] = $info; continue; } if($do_diagnostic && ($info["rtorrent.remote"]=="warning")) $jResult.="noty('".$file.": '+theUILang.warnMustBeInSomeHost,'error');"; } } if($do_diagnostic) { if($theSettings->linkExist) foreach( $info['rtorrent.external.warning'] as $external ) findRemoteEXE($external,"noty('".$file.": '+theUILang.rTorrentExternalNotFoundWarning+' ('+'".$external."'+').','error');",$remoteRequests); foreach( $info['web.external.warning'] as $external ) if(findEXE($external)==false) $jResult.="noty('".$file.": '+theUILang.webExternalNotFoundWarning+' ('+'".$external."'+').','error');"; foreach( $info['php.extensions.warning'] as $extension ) if(!in_array( $extension, $loadedExtensions )) $jResult.="noty('".$file.": '+theUILang.phpExtensionNotFoundWarning+' ('+'".$extension."'+').','error');"; } $js = "../plugins/".$file."/init.js"; if(!is_readable($js)) $js = NULL; $php = "../plugins/".$file."/init.php"; if(!is_readable($php)) $php = NULL; $init[] = array( "js" => $js, "php" => $php, "info" => $info, "name" => $file ); $names[] = $file; } } } if($phpRequired) { $val = strtoupper(ini_get("register_argc_argv")); if( $val!=='' && $val!='ON' && $val!='1' && $val!='TRUE' ) $jResult.="noty(theUILang.phpParameterUnavailable,'error');"; } usort($init,"pluginsSort"); foreach($init as $plugin) { $jEnd = ''; $pInfo = $plugin["info"]; $deps = array_diff( $pInfo["plugin.dependencies"], $names ); if(count($deps)) { $jResult.="noty('".$plugin["name"].": '+theUILang.dependenceError+' ".implode(",",$deps)."','error');"; $disabled[$plugin["name"]] = $pInfo; continue; } $jResult.="(function () { var plugin = new rPlugin( '".$plugin["name"]."',".$pInfo["plugin.version"]. ",'".$pInfo["plugin.author"]."','".$pInfo["plugin.description"]."',".$pInfo["perms"].",'".$pInfo["plugin.help"]."' );\n"; if($plugin["php"]) require_once( $plugin["php"] ); else $theSettings->registerPlugin($plugin["name"],$pInfo["perms"]); if($plugin["js"]) { $js = file_get_contents($plugin["js"]); if($theSettings->isPluginRegistered($plugin["name"])) $jResult.=$js; else { if(strpos($js,"plugin.loadLang()")!==false) $jResult.="plugin.loadLang();"; } $jResult.="\n"; } $jResult.=$jEnd; $jResult.="\n})();"; } foreach($disabled as $name=>$pInfo) { $jResult.="(function () { var plugin = new rPlugin( '".$name."',".$pInfo["plugin.version"]. ",'".$pInfo["plugin.author"]."','".$pInfo["plugin.description"]."',".$pInfo["perms"].",'".$pInfo["plugin.help"]."' );\n"; $jResult.="plugin.disable(); "; if($pInfo["perms"] & $disabledByUser) $jResult.="plugin.unlaunch(); "; $jResult.="\n})();"; } $jResult.=testRemoteRequests($remoteRequests); $theSettings->store(); } closedir($handle); } cachedEcho($jResult,"application/javascript",true);
    [25.06.2014 18:37:23] Bad response from server: (200 [parsererror,getuisettings]) <?php require_once( 'util.php' ); $s = '{}'; $fname = getSettingsPath()."/uisettings.json"; $fo = fopen($fname, 'r'); if($fo!==false) { if(flock($fo, LOCK_SH)) { $s = @file_get_contents($fname); if($s==false) $s = '{}'; flock($fo, LOCK_UN); } fclose($fo); } cachedEcho($s,"application/json",true);
    For that log I believe I've a problem with permission, or rutorrent plugins.
    Here are my configuration files
    /etc/webapps/rutorrent/conf/config.php
    <?php
    // configuration parameters
    // for snoopy client
    @define('HTTP_USER_AGENT', 'Mozilla/5.0 (Windows NT 6.0; WOW64; rv:12.0) Gecko/20100101 Firefox/12.0', true);
    @define('HTTP_TIME_OUT', 30, true); // in seconds
    @define('HTTP_USE_GZIP', true, true);
    $httpIP = null; // IP string. Or null for any.
    @define('RPC_TIME_OUT', 5, true); // in seconds
    @define('LOG_RPC_CALLS', false, true);
    @define('LOG_RPC_FAULTS', true, true);
    // for php
    @define('PHP_USE_GZIP', false, true);
    @define('PHP_GZIP_LEVEL', 2, true);
    $schedule_rand = 10; // rand for schedulers start, +0..X seconds
    $do_diagnostic = true;
    $log_file = '/tmp/errors.log'; // path to log file (comment or leave blank to disable logging)
    $saveUploadedTorrents = true; // Save uploaded torrents to profile/torrents directory or not
    $overwriteUploadedTorrents = false; // Overwrite existing uploaded torrents in profile/torrents directory or make unique name
    $topDirectory = '/'; // Upper available directory. Absolute path with trail slash.
    $forbidUserSettings = false;
    $scgi_port = 5000;
    $scgi_host = "127.0.0.1";
    // For web->rtorrent link through unix domain socket
    // (scgi_local in rtorrent conf file), change variables
    // above to something like this:
    // $scgi_port = 0;
    // $scgi_host = "unix:///tmp/rpc.socket";
    $XMLRPCMountPoint = "/RPC2"; // DO NOT DELETE THIS LINE!!! DO NOT COMMENT THIS LINE!!!
    $pathToExternals = array(
    "php" => '/usr/bin/php', // Something like /usr/bin/php. If empty, will be found in PATH.
    "curl" => '/usr/bin/curl', // Something like /usr/bin/curl. If empty, will be found in PATH.
    "gzip" => '/usr/bin/gzip', // Something like /usr/bin/gzip. If empty, will be found in PATH.
    "id" => '/usr/bin/id', // Something like /usr/bin/id. If empty, will be found in PATH.
    "stat" => '/usr/bin/stat', // Something like /usr/bin/stat. If empty, will be found in PATH.
    $localhosts = array( // list of local interfaces
    "127.0.0.1",
    "localhost",
    $profilePath = '../share'; // Path to user profiles
    $profileMask = 0777; // Mask for files and directory creation in user profiles.
    // Both Webserver and rtorrent users must have read-write access to it.
    // For example, if Webserver and rtorrent users are in the same group then the value may be 0770.
    $tempDirectory = null; // Temp directory. Absolute path with trail slash. If null, then autodetect will be used.
    ~/.rtorrent.rc
    scgi_port = localhost:5000
    directory = /home/milo/Downloads
    session = /home/milo/.rutorrent/.session
    schedule = watch_directory,5,5,load_start=/home/milo/Downloads/*.torrent
    schedule = low_diskspace,5,60,close_low_diskspace=100M
    port_range = 49152-50000
    check_hash = no
    encryption = allow_incoming,try_outgoing,enable_retry
    dht = auto
    dht_port = 6881
    peer_exchange = yes
    /etc/php/php.ini
    [PHP]
    ; About php.ini ;
    ; PHP's initialization file, generally called php.ini, is responsible for
    ; configuring many of the aspects of PHP's behavior.
    ; PHP attempts to find and load this configuration from a number of locations.
    ; The following is a summary of its search order:
    ; 1. SAPI module specific location.
    ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    ; 4. Current working directory (except CLI)
    ; 5. The web server's directory (for SAPI modules), or directory of PHP
    ; (otherwise in Windows)
    ; 6. The directory from the --with-config-file-path compile time option, or the
    ; Windows directory (C:\windows or C:\winnt)
    ; See the PHP docs for more specific information.
    ; http://php.net/configuration.file
    ; The syntax of the file is extremely simple. Whitespace and lines
    ; beginning with a semicolon are silently ignored (as you probably guessed).
    ; Section headers (e.g. [Foo]) are also silently ignored, even though
    ; they might mean something in the future.
    ; Directives following the section heading [PATH=/www/mysite] only
    ; apply to PHP files in the /www/mysite directory. Directives
    ; following the section heading [HOST=www.example.com] only apply to
    ; PHP files served from www.example.com. Directives set in these
    ; special sections cannot be overridden by user-defined INI files or
    ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    ; CGI/FastCGI.
    ; http://php.net/ini.sections
    ; Directives are specified using the following syntax:
    ; directive = value
    ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    ; Directives are variables used to configure PHP or PHP extensions.
    ; There is no name validation. If PHP can't find an expected
    ; directive because it is not set or is mistyped, a default value will be used.
    ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    ; previously set variable or directive (e.g. ${foo})
    ; Expressions in the INI file are limited to bitwise operators and parentheses:
    ; | bitwise OR
    ; ^ bitwise XOR
    ; & bitwise AND
    ; ~ bitwise NOT
    ; ! boolean NOT
    ; Boolean flags can be turned on using the values 1, On, True or Yes.
    ; They can be turned off using the values 0, Off, False or No.
    ; An empty string can be denoted by simply not writing anything after the equal
    ; sign, or by using the None keyword:
    ; foo = ; sets foo to an empty string
    ; foo = None ; sets foo to an empty string
    ; foo = "None" ; sets foo to the string 'None'
    ; If you use constants in your value, and these constants belong to a
    ; dynamically loaded extension (either a PHP extension or a Zend extension),
    ; you may only use these constants *after* the line that loads the extension.
    ; About this file ;
    ; PHP comes packaged with two INI files. One that is recommended to be used
    ; in production environments and one that is recommended to be used in
    ; development environments.
    ; php.ini-production contains settings which hold security, performance and
    ; best practices at its core. But please be aware, these settings may break
    ; compatibility with older or less security conscience applications. We
    ; recommending using the production ini in production and testing environments.
    ; php.ini-development is very similar to its production variant, except it's
    ; much more verbose when it comes to errors. We recommending using the
    ; development version only in development environments as errors shown to
    ; application users can inadvertently leak otherwise secure information.
    ; This is php.ini-production INI file.
    ; Quick Reference ;
    ; The following are all the settings which are different in either the production
    ; or development versions of the INIs with respect to PHP's default behavior.
    ; Please see the actual settings later in the document for more details as to why
    ; we recommend these changes in PHP's behavior.
    ; display_errors
    ; Default Value: On
    ; Development Value: On
    ; Production Value: Off
    ; display_startup_errors
    ; Default Value: Off
    ; Development Value: On
    ; Production Value: Off
    ; error_reporting
    ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    ; Development Value: E_ALL
    ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    ; html_errors
    ; Default Value: On
    ; Development Value: On
    ; Production value: On
    ; log_errors
    ; Default Value: Off
    ; Development Value: On
    ; Production Value: On
    ; max_input_time
    ; Default Value: -1 (Unlimited)
    ; Development Value: 60 (60 seconds)
    ; Production Value: 60 (60 seconds)
    ; output_buffering
    ; Default Value: Off
    ; Development Value: 4096
    ; Production Value: 4096
    ; register_argc_argv
    ; Default Value: On
    ; Development Value: Off
    ; Production Value: Off
    ; request_order
    ; Default Value: None
    ; Development Value: "GP"
    ; Production Value: "GP"
    ; session.gc_divisor
    ; Default Value: 100
    ; Development Value: 1000
    ; Production Value: 1000
    ; session.hash_bits_per_character
    ; Default Value: 4
    ; Development Value: 5
    ; Production Value: 5
    ; short_open_tag
    ; Default Value: On
    ; Development Value: Off
    ; Production Value: Off
    ; track_errors
    ; Default Value: Off
    ; Development Value: On
    ; Production Value: Off
    ; url_rewriter.tags
    ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ; variables_order
    ; Default Value: "EGPCS"
    ; Development Value: "GPCS"
    ; Production Value: "GPCS"
    ; php.ini Options ;
    ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    ;user_ini.filename = ".user.ini"
    ; To disable this feature set this option to empty value
    ;user_ini.filename =
    ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    ;user_ini.cache_ttl = 300
    ; Language Options ;
    ; Enable the PHP scripting language engine under Apache.
    ; http://php.net/engine
    engine = On
    ; This directive determines whether or not PHP will recognize code between
    ; <? and ?> tags as PHP source which should be processed as such. It is
    ; generally recommended that <?php and ?> should be used and that this feature
    ; should be disabled, as enabling it may result in issues when generating XML
    ; documents, however this remains supported for backward compatibility reasons.
    ; Note that this directive does not control the <?= shorthand tag, which can be
    ; used regardless of this directive.
    ; Default Value: On
    ; Development Value: Off
    ; Production Value: Off
    ; http://php.net/short-open-tag
    short_open_tag = Off
    ; Allow ASP-style <% %> tags.
    ; http://php.net/asp-tags
    asp_tags = Off
    ; The number of significant digits displayed in floating point numbers.
    ; http://php.net/precision
    precision = 14
    ; Output buffering is a mechanism for controlling how much output data
    ; (excluding headers and cookies) PHP should keep internally before pushing that
    ; data to the client. If your application's output exceeds this setting, PHP
    ; will send that data in chunks of roughly the size you specify.
    ; Turning on this setting and managing its maximum buffer size can yield some
    ; interesting side-effects depending on your application and web server.
    ; You may be able to send headers and cookies after you've already sent output
    ; through print or echo. You also may see performance benefits if your server is
    ; emitting less packets due to buffered output versus PHP streaming the output
    ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    ; reasons.
    ; Note: Output buffering can also be controlled via Output Buffering Control
    ; functions.
    ; Possible Values:
    ; On = Enabled and buffer is unlimited. (Use with caution)
    ; Off = Disabled
    ; Integer = Enables the buffer and sets its maximum size in bytes.
    ; Note: This directive is hardcoded to Off for the CLI SAPI
    ; Default Value: Off
    ; Development Value: 4096
    ; Production Value: 4096
    ; http://php.net/output-buffering
    output_buffering = 4096
    ; You can redirect all of the output of your scripts to a function. For
    ; example, if you set output_handler to "mb_output_handler", character
    ; encoding will be transparently converted to the specified encoding.
    ; Setting any output handler automatically turns on output buffering.
    ; Note: People who wrote portable scripts should not depend on this ini
    ; directive. Instead, explicitly set the output handler using ob_start().
    ; Using this ini directive may cause problems unless you know what script
    ; is doing.
    ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    ; and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    ; Note: output_handler must be empty if this is set 'On' !!!!
    ; Instead you must use zlib.output_handler.
    ; http://php.net/output-handler
    ;output_handler =
    ; Transparent output compression using the zlib library
    ; Valid values for this option are 'off', 'on', or a specific buffer size
    ; to be used for compression (default is 4KB)
    ; Note: Resulting chunk size may vary due to nature of compression. PHP
    ; outputs chunks that are few hundreds bytes each as a result of
    ; compression. If you prefer a larger chunk size for better
    ; performance, enable output_buffering in addition.
    ; Note: You need to use zlib.output_handler instead of the standard
    ; output_handler, or otherwise the output will be corrupted.
    ; http://php.net/zlib.output-compression
    zlib.output_compression = Off
    ; http://php.net/zlib.output-compression-level
    ;zlib.output_compression_level = -1
    ; You cannot specify additional output handlers if zlib.output_compression
    ; is activated here. This setting does the same as output_handler but in
    ; a different order.
    ; http://php.net/zlib.output-handler
    ;zlib.output_handler =
    ; Implicit flush tells PHP to tell the output layer to flush itself
    ; automatically after every output block. This is equivalent to calling the
    ; PHP function flush() after each and every call to print() or echo() and each
    ; and every HTML block. Turning this option on has serious performance
    ; implications and is generally recommended for debugging purposes only.
    ; http://php.net/implicit-flush
    ; Note: This directive is hardcoded to On for the CLI SAPI
    implicit_flush = Off
    ; The unserialize callback function will be called (with the undefined class'
    ; name as parameter), if the unserializer finds an undefined class
    ; which should be instantiated. A warning appears if the specified function is
    ; not defined, or if the function doesn't include/implement the missing class.
    ; So only set this entry, if you really want to implement such a
    ; callback-function.
    unserialize_callback_func =
    ; When floats & doubles are serialized store serialize_precision significant
    ; digits after the floating point. The default value ensures that when floats
    ; are decoded with unserialize, the data will remain the same.
    serialize_precision = 17
    ; open_basedir, if set, limits all file operations to the defined directory
    ; and below. This directive makes most sense if used in a per-directory
    ; or per-virtualhost web server configuration file. This directive is
    ; *NOT* affected by whether Safe Mode is turned On or Off.
    ; http://php.net/open-basedir
    open_basedir = /srv/http/:/home/:/tmp/:/usr/share/pear/:/usr/share/webapps/:/etc/webapps/rutorrent/conf/:/usr/share/webapps/rutorrent/php/:/usr/share/webapps/rutorrent/
    ; This directive allows you to disable certain functions for security reasons.
    ; It receives a comma-delimited list of function names. This directive is
    ; *NOT* affected by whether Safe Mode is turned On or Off.
    ; http://php.net/disable-functions
    disable_functions =
    ; This directive allows you to disable certain classes for security reasons.
    ; It receives a comma-delimited list of class names. This directive is
    ; *NOT* affected by whether Safe Mode is turned On or Off.
    ; http://php.net/disable-classes
    disable_classes =
    ; Colors for Syntax Highlighting mode. Anything that's acceptable in
    ; <span style="color: ???????"> would work.
    ; http://php.net/syntax-highlighting
    ;highlight.string = #DD0000
    ;highlight.comment = #FF9900
    ;highlight.keyword = #007700
    ;highlight.default = #0000BB
    ;highlight.html = #000000
    ; If enabled, the request will be allowed to complete even if the user aborts
    ; the request. Consider enabling it if executing long requests, which may end up
    ; being interrupted by the user or a browser timing out. PHP's default behavior
    ; is to disable this feature.
    ; http://php.net/ignore-user-abort
    ;ignore_user_abort = On
    ; Determines the size of the realpath cache to be used by PHP. This value should
    ; be increased on systems where PHP opens many files to reflect the quantity of
    ; the file operations performed.
    ; http://php.net/realpath-cache-size
    ;realpath_cache_size = 16k
    ; Duration of time, in seconds for which to cache realpath information for a given
    ; file or directory. For systems with rarely changing files, consider increasing this
    ; value.
    ; http://php.net/realpath-cache-ttl
    ;realpath_cache_ttl = 120
    ; Enables or disables the circular reference collector.
    ; http://php.net/zend.enable-gc
    zend.enable_gc = On
    ; If enabled, scripts may be written in encodings that are incompatible with
    ; the scanner. CP936, Big5, CP949 and Shift_JIS are the examples of such
    ; encodings. To use this feature, mbstring extension must be enabled.
    ; Default: Off
    ;zend.multibyte = Off
    ; Allows to set the default encoding for the scripts. This value will be used
    ; unless "declare(encoding=...)" directive appears at the top of the script.
    ; Only affects if zend.multibyte is set.
    ; Default: ""
    ;zend.script_encoding =
    ; Miscellaneous ;
    ; Decides whether PHP may expose the fact that it is installed on the server
    ; (e.g. by adding its signature to the Web server header). It is no security
    ; threat in any way, but it makes it possible to determine whether you use PHP
    ; on your server or not.
    ; http://php.net/expose-php
    expose_php = On
    ; Resource Limits ;
    ; Maximum execution time of each script, in seconds
    ; http://php.net/max-execution-time
    ; Note: This directive is hardcoded to 0 for the CLI SAPI
    max_execution_time = 30
    ; Maximum amount of time each script may spend parsing request data. It's a good
    ; idea to limit this time on productions servers in order to eliminate unexpectedly
    ; long running scripts.
    ; Note: This directive is hardcoded to -1 for the CLI SAPI
    ; Default Value: -1 (Unlimited)
    ; Development Value: 60 (60 seconds)
    ; Production Value: 60 (60 seconds)
    ; http://php.net/max-input-time
    max_input_time = 60
    ; Maximum input variable nesting level
    ; http://php.net/max-input-nesting-level
    ;max_input_nesting_level = 64
    ; How many GET/POST/COOKIE input variables may be accepted
    ; max_input_vars = 1000
    ; Maximum amount of memory a script may consume (128MB)
    ; http://php.net/memory-limit
    memory_limit = 128M
    ; Error handling and logging ;
    ; This directive informs PHP of which errors, warnings and notices you would like
    ; it to take action for. The recommended way of setting values for this
    ; directive is through the use of the error level constants and bitwise
    ; operators. The error level constants are below here for convenience as well as
    ; some common settings and their meanings.
    ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    ; recommended coding standards in PHP. For performance reasons, this is the
    ; recommend error reporting setting. Your production server shouldn't be wasting
    ; resources complaining about best practices and coding standards. That's what
    ; development servers and development settings are for.
    ; Note: The php.ini-development file has this setting as E_ALL. This
    ; means it pretty much reports everything which is exactly what you want during
    ; development and early testing.
    ; Error Level Constants:
    ; E_ALL - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    ; E_ERROR - fatal run-time errors
    ; E_RECOVERABLE_ERROR - almost fatal run-time errors
    ; E_WARNING - run-time warnings (non-fatal errors)
    ; E_PARSE - compile-time parse errors
    ; E_NOTICE - run-time notices (these are warnings which often result
    ; from a bug in your code, but it's possible that it was
    ; intentional (e.g., using an uninitialized variable and
    ; relying on the fact it's automatically initialized to an
    ; empty string)
    ; E_STRICT - run-time notices, enable to have PHP suggest changes
    ; to your code which will ensure the best interoperability
    ; and forward compatibility of your code
    ; E_CORE_ERROR - fatal errors that occur during PHP's initial startup
    ; E_CORE_WARNING - warnings (non-fatal errors) that occur during PHP's
    ; initial startup
    ; E_COMPILE_ERROR - fatal compile-time errors
    ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    ; E_USER_ERROR - user-generated error message
    ; E_USER_WARNING - user-generated warning message
    ; E_USER_NOTICE - user-generated notice message
    ; E_DEPRECATED - warn about code that will not work in future versions
    ; of PHP
    ; E_USER_DEPRECATED - user-generated deprecation warnings
    ; Common Values:
    ; E_ALL (Show all errors, warnings and notices including coding standards.)
    ; E_ALL & ~E_NOTICE (Show all errors, except for notices)
    ; E_ALL & ~E_NOTICE & ~E_STRICT (Show all errors, except for notices and coding standards warnings.)
    ; E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR (Show only errors)
    ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    ; Development Value: E_ALL
    ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    ; http://php.net/error-reporting
    error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT
    ; This directive controls whether or not and where PHP will output errors,
    ; notices and warnings too. Error output is very useful during development, but
    ; it could be very dangerous in production environments. Depending on the code
    ; which is triggering the error, sensitive information could potentially leak
    ; out of your application such as database usernames and passwords or worse.
    ; It's recommended that errors be logged on production servers rather than
    ; having the errors sent to STDOUT.
    ; Possible Values:
    ; Off = Do not display any errors
    ; stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    ; On or stdout = Display errors to STDOUT
    ; Default Value: On
    ; Development Value: On
    ; Production Value: Off
    ; http://php.net/display-errors
    display_errors = Off
    ; The display of errors which occur during PHP's startup sequence are handled
    ; separately from display_errors. PHP's default behavior is to suppress those
    ; errors from clients. Turning the display of startup errors on can be useful in
    ; debugging configuration problems. But, it's strongly recommended that you
    ; leave this setting off on production servers.
    ; Default Value: Off
    ; Development Value: On
    ; Production Value: Off
    ; http://php.net/display-startup-errors
    display_startup_errors = Off
    ; Besides displaying errors, PHP can also log errors to locations such as a
    ; server-specific log, STDERR, or a location specified by the error_log
    ; directive found below. While errors should not be displayed on productions
    ; servers they should still be monitored and logging is a great way to do that.
    ; Default Value: Off
    ; Development Value: On
    ; Production Value: On
    ; http://php.net/log-errors
    log_errors = On
    ; Set maximum length of log_errors. In error_log information about the source is
    ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    ; http://php.net/log-errors-max-len
    log_errors_max_len = 1024
    ; Do not log repeated messages. Repeated errors must occur in same file on same
    ; line unless ignore_repeated_source is set true.
    ; http://php.net/ignore-repeated-errors
    ignore_repeated_errors = Off
    ; Ignore source of message when ignoring repeated messages. When this setting
    ; is On you will not log errors with repeated messages from different files or
    ; source lines.
    ; http://php.net/ignore-repeated-source
    ignore_repeated_source = Off
    ; If this parameter is set to Off, then memory leaks will not be shown (on
    ; stdout or in the log). This has only effect in a debug compile, and if
    ; error reporting includes E_WARNING in the allowed list
    ; http://php.net/report-memleaks
    report_memleaks = On
    ; This setting is on by default.
    ;report_zend_debug = 0
    ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    ; to On can assist in debugging and is appropriate for development servers. It should
    ; however be disabled on production servers.
    ; Default Value: Off
    ; Development Value: On
    ; Production Value: Off
    ; http://php.net/track-errors
    track_errors = Off
    ; Turn off normal error reporting and emit XML-RPC error XML
    ; http://php.net/xmlrpc-errors
    ;xmlrpc_errors = 0
    ; An XML-RPC faultCode
    ;xmlrpc_error_number = 0
    ; When PHP displays or logs an error, it has the capability of formatting the
    ; error message as HTML for easier reading. This directive controls whether
    ; the error message is formatted as HTML or not.
    ; Note: This directive is hardcoded to Off for the CLI SAPI
    ; Default Value: On
    ; Development Value: On
    ; Production value: On
    ; http://php.net/html-errors
    html_errors = On
    ; If html_errors is set to On *and* docref_root is not empty, then PHP
    ; produces clickable error messages that direct to a page describing the error
    ; or function causing the error in detail.
    ; You can download a copy of the PHP manual from http://php.net/docs
    ; and change docref_root to the base URL of your local copy including the
    ; leading '/'. You must also specify the file extension being used including
    ; the dot. PHP's default behavior is to leave these settings empty, in which
    ; case no links to documentation are generated.
    ; Note: Never use this feature for production boxes.
    ; http://php.net/docref-root
    ; Examples
    ;docref_root = "/phpmanual/"
    ; http://php.net/docref-ext
    ;docref_ext = .html
    ; String to output before an error message. PHP's default behavior is to leave
    ; this setting blank.
    ; http://php.net/error-prepend-string
    ; Example:
    ;error_prepend_string = "<span style='color: #ff0000'>"
    ; String to output after an error message. PHP's default behavior is to leave
    ; this setting blank.
    ; http://php.net/error-append-string
    ; Example:
    ;error_append_string = "</span>"
    ; Log errors to specified file. PHP's default behavior is to leave this value
    ; empty.
    ; http://php.net/error-log
    ; Example:
    ;error_log = php_errors.log
    ; Log errors to syslog (Event Log on Windows).
    ;error_log = syslog
    ;windows.show_crt_warning
    ; Default value: 0
    ; Development value: 0
    ; Production value: 0
    ; Data Handling ;
    ; The separator used in PHP generated URLs to separate arguments.
    ; PHP's default setting is "&".
    ; http://php.net/arg-separator.output
    ; Example:
    ;arg_separator.output = "&amp;"
    ; List of separator(s) used by PHP to parse input URLs into variables.
    ; PHP's default setting is "&".
    ; NOTE: Every character in this directive is considered as separator!
    ; http://php.net/arg-separator.input
    ; Example:
    ;arg_separator.input = ";&"
    ; This directive determines which super global arrays are registered when PHP
    ; starts up. G,P,C,E & S are abbreviations for the following respective super
    ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    ; paid for the registration of these arrays and because ENV is not as commonly
    ; used as the others, ENV is not recommended on productions servers. You
    ; can still get access to the environment variables through getenv() should you
    ; need to.
    ; Default Value: "EGPCS"
    ; Development Value: "GPCS"
    ; Production Value: "GPCS";
    ; http://php.net/variables-order
    variables_order = "GPCS"
    ; This directive determines which super global data (G,P,C,E & S) should
    ; be registered into the super global array REQUEST. If so, it also determines
    ; the order in which that data is registered. The values for this directive are
    ; specified in the same manner as the variables_order directive, EXCEPT one.
    ; Leaving this value empty will cause PHP to use the value set in the
    ; variables_order directive. It does not mean it will leave the super globals
    ; array REQUEST empty.
    ; Default Value: None
    ; Development Value: "GP"
    ; Production Value: "GP"
    ; http://php.net/request-order
    request_order = "GP"
    ; This directive determines whether PHP registers $argv & $argc each time it
    ; runs. $argv contains an array of all the arguments passed to PHP when a script
    ; is invoked. $argc contains an integer representing the number of arguments
    ; that were passed when the script was invoked. These arrays are extremely
    ; useful when running scripts from the command line. When this directive is
    ; enabled, registering these variables consumes CPU cycles and memory each time
    ; a script is executed. For performance reasons, this feature should be disabled
    ; on production servers.
    ; Note: This directive is hardcoded to On for the CLI SAPI
    ; Default Value: On
    ; Development Value: Off
    ; Production Value: Off
    ; http://php.net/register-argc-argv
    register_argc_argv = Off
    ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    ; first used (Just In Time) instead of when the script starts. If these
    ; variables are not used within a script, having this directive on will result
    ; in a performance gain. The PHP directive register_argc_argv must be disabled
    ; for this directive to have any affect.
    ; http://php.net/auto-globals-jit
    auto_globals_jit = On
    ; Whether PHP will read the POST data.
    ; This option is enabled by default.
    ; Most likely, you won't want to disable this option globally. It causes $_POST
    ; and $_FILES to always be empty; the only way you will be able to read the
    ; POST data will be through the php://input stream wrapper. This can be useful
    ; to proxy requests or to process the POST data in a memory efficient fashion.
    ; http://php.net/enable-post-data-reading
    ;enable_post_data_reading = Off
    ; Maximum size of POST data that PHP will accept.
    ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    ; is disabled through enable_post_data_reading.
    ; http://php.net/post-max-size
    post_max_size = 8M
    ; Automatically add files before PHP document.
    ; http://php.net/auto-prepend-file
    auto_prepend_file =
    ; Automatically add files after PHP document.
    ; http://php.net/auto-append-file
    auto_append_file =
    ; By default, PHP will output a character encoding using
    ; the Content-type: header. To disable sending of the charset, simply
    ; set it to be empty.
    ; PHP's built-in default is text/html
    ; http://php.net/default-mimetype
    default_mimetype = "text/html"
    ; PHP's default character set is set to empty.
    ; http://php.net/default-charset
    ;default_charset = "UTF-8"
    ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is
    ; to disable this feature. If post reading is disabled through
    ; enable_post_data_reading, $HTTP_RAW_POST_DATA is *NOT* populated.
    ; http://php.net/always-populate-raw-post-data
    ;always_populate_raw_post_data = On
    ; Paths and Directories ;
    ; UNIX: "/path1:/path2"
    include_path = ".:/usr/share/pear"
    ; Windows: "\path1;\path2"
    ;include_path = ".;c:\php\includes"
    ; PHP's default setting for include_path is ".;/path/to/php/pear"
    ; http://php.net/include-path
    ; The root of the PHP pages, used only if nonempty.
    ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    ; if you are running php as a CGI under any web server (other than IIS)
    ; see documentation for security issues. The alternate is to use the
    ; cgi.force_redirect configuration below
    ; http://php.net/doc-root
    doc_root =
    ; The directory under which PHP opens the script using /~username used only
    ; if nonempty.
    ; http://php.net/user-dir
    user_dir =
    ; Directory in which the loadable extensions (modules) reside.
    ; http://php.net/extension-dir
    extension_dir = "/usr/lib/php/modules/"
    ; On windows:
    ; extension_dir = "ext"
    ; Directory where the temporary files should be placed.
    ; Defaults to the system default (see sys_get_temp_dir)
    ; sys_temp_dir = "/tmp"
    ; Whether or not to enable the dl() function. The dl() function does NOT work
    ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    ; disabled on them.
    ; http://php.net/enable-dl
    enable_dl = Off
    ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    ; most web servers. Left undefined, PHP turns this on by default. You can
    ; turn it off here AT YOUR OWN RISK
    ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    ; http://php.net/cgi.force-redirect
    ;cgi.force_redirect = 1
    ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    ; every request. PHP's default behavior is to disable this feature.
    ;cgi.nph = 1
    ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    ; will look for to know it is OK to continue execution. Setting this variable MAY
    ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    ; http://php.net/cgi.redirect-status-env
    ;cgi.redirect_status_env =
    ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI. PHP's
    ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    ; what PATH_INFO is. For more information on PATH_INFO, see the cgi specs. Setting
    ; this to 1 will cause PHP CGI to fix its paths to conform to the spec. A setting
    ; of zero causes PHP to behave as before. Default is 1. You should fix your scripts
    ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    ; http://php.net/cgi.fix-pathinfo
    ;cgi.fix_pathinfo=1
    ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    ; security tokens of the calling client. This allows IIS to define the
    ; security context that the request runs under. mod_fastcgi under Apache
    ; does not currently support this feature (03/17/2002)
    ; Set to 1 if running under IIS. Default is zero.
    ; http://php.net/fastcgi.impersonate
    ;fastcgi.impersonate = 1
    ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    ; this feature.
    ;fastcgi.logging = 0
    ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    ; use when sending HTTP response code. If it's set 0 PHP sends Status: header that
    ; is supported by Apache. When this option is set to 1 PHP will send
    ; RFC2616 compliant header.
    ; Default is zero.
    ; http://php.net/cgi.rfc2616-headers
    ;cgi.rfc2616_headers = 0
    ; File Uploads ;
    ; Whether to allow HTTP file uploads.
    ; http://php.net/file-uploads
    file_uploads = On
    ; Temporary directory for HTTP uploaded files (will use system default if not
    ; specified).
    ; http://php.net/upload-tmp-dir
    ;upload_tmp_dir =
    ; Maximum allowed size for uploaded files.
    ; http://php.net/upload-max-filesize
    upload_max_filesize = 2M
    ; Maximum number of files that can be uploaded via a single request
    max_file_uploads = 20
    ; Fopen wrappers ;
    ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    ; http://php.net/allow-url-fopen
    allow_url_fopen = On
    ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    ; http://php.net/allow-url-include
    allow_url_include = Off
    ; Define the anonymous ftp password (your email address). PHP's default setting
    ; for this is empty.
    ; http://php.net/from
    ;from="[email protected]"
    ; Define the User-Agent string. PHP's default setting for this is empty.
    ; http://php.net/user-agent
    ;user_agent="PHP"
    ; Default timeout for socket based streams (seconds)
    ; http://php.net/default-socket-timeout
    default_socket_timeout = 60
    ; If your scripts have to deal with files from Macintosh systems,
    ; or you are running on a Mac and need to deal with files from
    ; unix or win32 systems, setting this flag will cause PHP to
    ; automatically detect the EOL character in those files so that
    ; fgets() and file() will work regardless of the source of the file.
    ; http://php.net/auto-detect-line-endings
    ;auto_detect_line_endings = Off
    ; Dynamic Extensions ;
    ; If you wish to have an extension loaded automatically, use the following
    ; syntax:
    ; extension=modulename.extension
    ; For example, on Windows:
    ; extension=msql.dll
    ; ... or under UNIX:
    ; extension=msql.so
    ; ... or with a path:
    ; extension=/path/to/extension/msql.so
    ; If you only provide the name of the extension, PHP will look for it in its
    ; default extension directory.
    ;extension=bcmath.so
    ;extension=bz2.so
    ;extension=calendar.so
    extension=curl.so
    ;extension=dba.so
    ;extension=enchant.so
    ;extension=exif.so
    ;extension=ftp.so
    ;extension=gd.so
    extension=gettext.so
    ;extension=gmp.so
    ;extension=iconv.so
    ;extension=imap.so
    ;extension=intl.so
    ;extension=ldap.so
    ;extension=mcrypt.so
    ;extension=mssql.so
    ;extension=mysqli.so
    ;extension=mysql.so
    ;extension=odbc.so
    ;zend_extension=opcache.so
    ;extension=openssl.so
    ;extension=pdo_mysql.so
    ;extension=pdo_odbc.so
    ;extension=pdo_pgsql.so
    ;extension=pdo_sqlite.so
    ;extension=pgsql.so
    ;extension=phar.so
    ;extension=posix.so
    ;extension=pspell.so
    ;extension=shmop.so
    ;extension=snmp.so
    ;extension=soap.so
    ;extension=sockets.so
    ;extension=sqlite3.so
    ;extension=sysvmsg.so
    ;extension=sysvsem.so
    ;extension=sysvshm.so
    ;extension=tidy.so
    ;extension=xmlrpc.so
    ;extension=xsl.so
    ;extension=zip.so
    ; Module Settings ;
    [CLI Server]
    ; Whether the CLI web server uses ANSI color coding in its terminal output.
    cli_server.color = On
    [Date]
    ; Defines the default timezone used by the date functions
    ; http://php.net/date.timezone
    ;date.timezone =
    ; http://php.net/date.default-latitude
    ;date.default_latitude = 31.7667
    ; http://php.net/date.default-longitude
    ;date.default_longitude = 35.2333
    ; http://php.net/date.sunrise-zenith
    ;date.sunrise_zenith = 90.583333
    ; http://php.net/date.sunset-zenith
    ;date.sunset_zenith = 90.583333
    [filter]
    ; http://php.net/filter.default
    ;filter.default = unsafe_raw
    ; http://php.net/filter.default-flags
    ;filter.default_flags =
    [iconv]
    ;iconv.input_encoding = ISO-8859-1
    ;iconv.internal_encoding = ISO-8859-1
    ;iconv.output_encoding = ISO-8859-1
    [intl]
    ;intl.default_locale =
    ; This directive allows you to produce PHP errors when some error
    ; happens within intl functions. The value is the level of the error produced.
    ; Default is 0, which does not produce any errors.
    ;intl.error_level = E_WARNING
    [sqlite]
    ; http://php.net/sqlite.assoc-case
    ;sqlite.assoc_case = 0
    [sqlite3]
    ;sqlite3.extension_dir =
    [Pcre]
    ;PCRE library backtracking limit.
    ; http://php.net/pcre.backtrack-limit
    ;pcre.backtrack_limit=100000
    ;PCRE library recursion limit.
    ;Please note that if you set this value to a high number you may consume all
    ;the available process stack and eventually crash PHP (due to reaching the
    ;stack size limit imposed by the Operating System).
    ; http://php.net/pcre.recursion-limit
    ;pcre.recursion_limit=100000
    [Pdo]
    ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    ; http://php.net/pdo-odbc.connection-pooling
    ;pdo_odbc.connection_pooling=strict
    ;pdo_odbc.db2_instance_name
    [Pdo_mysql]
    ; If mysqlnd is used: Number of cache slots for the internal result set cache
    ; http://php.net/pdo_mysql.cache_size
    pdo_mysql.cache_size = 2000
    ; Default socket name for local MySQL connects. If empty, uses the built-in
    ; MySQL defaults.
    ; http://php.net/pdo_mysql.default-socket
    pdo_mysql.default_socket=
    [Phar]
    ; http://php.net/phar.readonly
    ;phar.readonly = On
    ; http://php.net/phar.require-hash
    ;phar.require_hash = On
    ;phar.cache_list =
    [mail function]
    ; For Win32 only.
    ; http://php.net/smtp
    SMTP = localhost
    ; http://php.net/smtp-port
    smtp_port = 25
    ; For Win32 only.
    ; http://php.net/sendmail-from
    ;sendmail_from = [email protected]
    ; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
    ; http://php.net/sendmail-path
    ;sendmail_path =
    ; Force the addition of the specified parameters to be passed as extra parameters
    ; to the sendmail binary. These parameters will always replace the value of
    ; the 5th parameter to mail(), even in safe mode.
    ;mail.force_extra_parameters =
    ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    mail.add_x_header = On
    ; The path to a log file that will log all mail() calls. Log entries include
    ; the full path of the script, line number, To address and headers.
    ;mail.log =
    ; Log mail to syslog (Event Log on Windows).
    ;mail.log = syslog
    [SQL]
    ; http://php.net/sql.safe-mode
    sql.safe_mode = Off
    [ODBC]
    ; http://php.net/odbc.default-db
    ;odbc.default_db = Not yet implemented
    ; http://php.net/odbc.default-user
    ;odbc.default_user = Not yet implemented
    ; http://php.net/odbc.default-pw
    ;odbc.default_pw = Not yet implemented
    ; Controls the ODBC cursor model.
    ; Default: SQL_CURSOR_STATIC (default).
    ;odbc.default_cursortype
    ; Allow or prevent persistent links.
    ; http://php.net/odbc.allow-persistent
    odbc.allow_persistent = On
    ; Check that a connection is still valid before reuse.
    ; http://php.net/odbc.check-persistent
    odbc.check_persistent = On
    ; Maximum number of persistent links. -1 means no limit.
    ; http://php.net/odbc.max-persistent
    odbc.max_persistent = -1
    ; Maximum number of links (persistent + non-persistent). -1 means no limit.
    ; http://php.net/odbc.max-links
    odbc.max_links = -1
    ; Handling of LONG fields. Returns number of bytes to variables. 0 means
    ; passthru.
    ; http://php.net/odbc.defaultlrl
    odbc.defaultlrl = 4096
    ; Handling of binary data. 0 means passthru, 1 return as is, 2 convert to char.
    ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    ; of odbc.defaultlrl and odbc.defaultbinmode
    ; http://php.net/odbc.defaultbinmode
    odbc.defaultbinmode = 1
    ;birdstep.max_links = -1
    [Interbase]
    ; Allow or prevent persistent links.
    ibase.allow_persistent = 1
    ; Maximum number of persistent links. -1 means no limit.
    ibase.max_persistent = -1
    ; Maximum number of links (persistent + non-persistent). -1 means no limit.
    ibase.max_links = -1
    ; Default database name for ibase_connect().
    ;ibase.default_db =
    ; Default username for ibase_connect().
    ;ibase.default_user =
    ; Default password for ibase_connect().
    ;ibase.default_password =
    ; Default charset for ibase_connect().
    ;ibase.default_charset =
    ; Default timestamp format.
    ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    ; Default date format.
    ibase.dateformat = "%Y-%m-%d"
    ; Default time format.
    ibase.timeformat = "%H:%M:%S"
    [MySQL]
    ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    ; http://php.net/mysql.allow_local_infile
    mysql.allow_local_infile = On
    ; Allow or prevent persistent links.
    ; http://php.net/mysql.allow-persistent
    mysql.allow_persistent = On
    ; If mysqlnd is used: Number of cache slots for the internal result set cache
    ; http://php.net/mysql.cache_size
    mysql.cache_size = 2000
    ; Maximum number of persistent links. -1 means no limit.
    ; http://php.net/mysql.max-persistent
    mysql.max_persistent = -1
    ; Maximum number of links (persistent + non-persistent). -1 means no limit.
    ; http://php.net/mysql.max-links
    mysql.max_links = -1
    ; Default port number for mysql_connect(). If unset, mysql_connect() will use
    ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    ; compile-time value defined MYSQL_PORT (in that order). Win32 will only look
    ; at MYSQL_PORT.
    ; http://php.net/mysql.default-port
    mysql.default_port =
    ; Default socket name for local MySQL connects. If empty, uses the built-in
    ; MySQL defaults.
    ; http://php.net/mysql.default-socket
    mysql.default_socket =
    ; Default host for mysql_connect() (doesn't apply in safe mode).
    ; http://php.net/mysql.default-host
    mysql.default_host =
    ; Default user for mysql_connect() (doesn't apply in safe mode).
    ; http://php.net/mysql.default-user
    mysql.default_user =
    ; Default password for mysql_connect() (doesn't apply in safe mode).
    ; Note that this is generally a *bad* idea to store passwords in this file.
    ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
    ; and reveal this password! And of course, any users with read access to this
    ; file will be able to reveal the password as well.
    ; http://php.net/mysql.default-password
    mysql.default_password =
    ; Maximum time (in seconds) for connect timeout. -1 means no limit
    ; http://php.net/mysql.connect-timeout
    mysql.connect_timeout = 60
    ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
    ; SQL-Errors will be displayed.
    ; http://php.net/mysql.trace-mode
    mysql.trace_mode = Off
    [MySQLi]
    ; Maximum number of persistent links. -1 means no limit.
    ; http://php.net/mysqli.max-persistent
    mysqli.max_persistent = -1
    ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    ; http://php.net/mysqli.allow_local_infile
    ;mysqli.allow_local_infile = On
    ; Allow or prevent persistent links.
    ; http://php.net/mysqli.allow-persistent
    mysqli.allow_persistent = On
    ; Maximum number of links. -1 means no limit.
    ; http://php.net/mysqli.max-links
    mysqli.max_links = -1
    ; If mysqlnd is used: Number of cache slots for the internal result set cache
    ; http://php.net/mysqli.cache_size
    mysqli.cache_size = 2000
    ; Default port number for mysqli_connect(). If unset, mysqli_connect() will use
    ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    ; compile-time value defined MYSQL_PORT (in that order). Win32 will only look
    ; at MYSQL_PORT.
    ; http://php.net/mysqli.default-port
    mysqli.default_port = 3306
    ; Default socket name for local MySQL connects. If empty, uses the built-in
    ; MySQL defaults.
    ; http://php.net/mysqli.default-socket
    mysqli.default_socket =
    ; Default host for mysql_connect() (doesn't apply in safe mode).
    ; http://php.net/mysqli.default-host
    mysqli.default_host =
    ; Default user for mysql_connect() (doesn't apply in safe mode).
    ; http://php.net/mysqli.default-user
    mysqli.default_user =
    ; Default password for mysqli_connect() (doesn't apply in safe mode).
    ; Note that this is generally a *bad* idea to store passwords in this file.
    ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    ; and reveal this password! And of course, any users with read access to this
    ; file will be able to reveal the password as well.
    ; http://php.net/mysqli.default-pw
    mysqli.default_pw =
    ; Allow or prevent reconnect
    mysqli.reconnect = Off
    [mysqlnd]
    ; Enable / Disable collection of general statistics by mysqlnd which can be
    ; used to tune and monitor MySQL operations.
    ; http://php.net/mysqlnd.collect_statistics
    mysqlnd.collect_statistics = On
    ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    ; used to tune and monitor MySQL operations.
    ; http://php.net/mysqlnd.collect_memory_statistics
    mysqlnd.collect_memory_statistics = Off
    ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    ; http://php.net/mysqlnd.net_cmd_buffer_size
    ;mysqlnd.net_cmd_buffer_size = 2048
    ; Size of a pre-allocated buffer used for reading data sent by the server in
    ; bytes.
    ; http://php.net/mysqlnd.net_read_buffer_size
    ;mysqlnd.net_read_buffer_size = 32768
    [OCI8]
    ; Connection: Enables privileged connections using external
    ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    ; http://php.net/oci8.privileged-connect
    ;oci8.privileged_connect = Off
    ; Connection: The maximum number of persistent OCI8 connections per
    ; process. Using -1 means no limit.
    ; http://php.net/oci8.max-persistent
    ;oci8.max_persistent = -1
    ; Connection: The maximum number of seconds a process is allowed to
    ; maintain an idle persistent connection. Using -1 means idle
    ; persistent connections will be maintained forever.
    ; http://php.net/oci8.persistent-timeout
    ;oci8.persistent_timeout = -1
    ; Connection: The number of seconds that must pass before issuing a
    ; ping during oci_pconnect() to check the connection validity. When
    ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    ; pings completely.
    ; http://php.net/oci8.ping-interval
    ;oci8.ping_interval = 60
    ; Connection: Set this to a user chosen connection class to be used
    ; for all pooled server requests with Oracle 11g Database Resident
    ; Connection Pooling (DRCP). To use DRCP, this value should be set to
    ; the same string for all web servers running the same application,
    ; the database pool must be configured, and the connection string must
    ; specify to use a pooled server.
    ;oci8.connection_class =
    ; High Availability: Using On lets PHP receive Fast Application
    ; Notification (FAN) events generated when a database node fails. The
    ; database must also be configured to post FAN events.
    ;oci8.events = Off
    ; Tuning: This option enables statement

  • Arabic Character set conversion-help needed

    We have our main database running in 10g (Solaris o/s) & planning to move these to RAC 11g.
    One of our old oracle DB(8.0.5)/solaris, which is not used till recently need to upgrade to 10g Rel2.
    I know Supported direct upgrade 8.0.6/8.1.7/9i -> 10g
    Current DB: 8.0.5 (Character Set: AR8ISO8859P6)
    Target DB : 10g Rel 2 (Character Set: AR8MSWIN1256)
    I am thinking to go the following way by using exp/imp
    8.0.5(AR8ISO8859P6) -> 8.1.7(AR8ISO8859P6) -> 10G(AR8MSWIN1256)
    OR
    8.0.5(AR8ISO8859P6) -> 8.1.7(AR8MSWIN1256) -> 10G(AR8MSWIN1256)
    please advice
    thanks

    (1) At source db 8.0.5 (solaris)
    PARAMETER VALUE
    NLS_LANGUAGE AMERICAN
    NLS_TERRITORY AMERICA
    NLS_CALENDAR GREGORIAN
    NLS_DATE_FORMAT DD-MON-YY
    NLS_DATE_LANGUAGE AMERICAN
    NLS_CHARACTERSET AR8ISO8859P6
    NLS_SORT BINARY
    NLS_NCHAR_CHARACTERSE T AR8ISO8859P6
    $set NLS_LANG=AMERICAN_AMERICA.AR8ISO8859P6
    $exp sys/dba file=full251109.dmp full=y
    (2):>> At target db 10g R2 (solaris)
    PARAMETER VALUE
    NLS_LANGUAGE AMERICAN
    NLS_TERRITORY AMERICA
    NLS_CALENDAR GREGORIAN
    NLS_DATE_FORMAT DD-MON-RRRR
    NLS_DATE_LANGUAGE AMERICAN
    NLS_CHARACTERSET AR8ISO8859P6
    NLS_SORT BINARY
    NLS_NCHAR_CHARACTERSET UTF8
    NLS_COMP BINARY
    NLS_LENGTH_SEMANTICS BYTE
    NLS_NCHAR_CONV_EXCP FALSE
    $export NLS_LANG=AMERICAN_AMERICA.AR8ISO8859P6
    $imp testdba/testdba file=full251105.dmp fromuser=PROFINAL touser=PROFINAL
    *$csscan testdba/testdba FULL=Y FROMCHAR=AR8ISO8859P6 TOCHAR=AR8ISO8859P6 LOG=P6check CAPTURE=Y ARRAY=100000 PROCESS=2*
    There is EXCEPTIONAL DATA in .err file+
    clients accessing 8.0.5 dataabase uses characterset AR8IS08859P6, which is SAME as 8.0.5 database
    -CSSCAN result->>[Database Scan Parameters]
    Parameter Value
    CSSCAN Version v2.1
    Instance Name MIG1
    Database Version 10.2.0.1.0
    Scan type Full database
    Scan CHAR data? YES
    Database character set AR8ISO8859P6
    FROMCHAR AR8ISO8859P6
    TOCHAR AR8ISO8859P6
    Scan NCHAR data? NO
    Array fetch buffer size 100000
    Number of processes 2
    Capture convertible data? YES
    [Scan Summary]
    Some character type data in the data dictionary are not convertible to the new
    haracter set Some character type application data are not convertible to the new characters
    [Data Dictionary Conversion Summary]
    Datatype Changeless Convertible Truncation Lossy
    VARCHAR2 2,235,403 0 0 *1,492*
    CHAR 1,097 0 0 0
    LONG 155,188 0 0 6
    CLOB 24,643 0 0 0
    VARRAY 21,352 0 0 0
    Total 2,437,683 0 0 1,498
    Total in percentage 99.939% 0.000% 0.000% 0.061%
    The data dictionary can not be safely migrated using the CSALTER script
    [Application Data Conversion Summary]
    Datatype Changeless Convertible Truncation Lossy
    VARCHAR2 16,986,594 0 0 *1,240,383*
    CHAR 164,114 0 0 0
    LONG 7 0 0 0
    CLOB 1 0 0 0
    VARRAY 1,436 0 0 0
    Total in percentage 93.256% 0.000% 0.000%
    6.744%
    [Distribution of Convertible, Truncated and Lossy Data by Table]
    USER.TABLE Convertible Truncation Lossy
    PROFINAL.BASE_MASTER_DATAS 0 0 *362,003*
    PROFINAL.CODE_ALLOW 0 0 *53*
    PROFINAL.CODE_ALLOWANCE_TYPES 0 0 *1*
    PROFINAL.CODE_BONUS_TYPES 0 0 *2*
    PROFINAL.CODE_BRANCHES 0 0 *2*
    PROFINAL.CODE_CERTIFICATES 0 0 *94*
    Kindly help,,,
    Edited by: userR12 on Nov 25, 2009 1:43 AM
    Edited by: userR12 on Nov 25, 2009 1:52 AM

  • Inserting embeded PDF to database

    Hi,
    I have created a pdf file(a Form) that I would like to put on my website where I could enter the data inside the form's fields, and then save the pdf file to a database(mysql).
    If it can be done, how would I go about doing it?
    What I have tried so far is to embed the pdf on the page; added a server behaviour(Insert Record) to add the file to the database with a column('Form') of type blob.
    But that doesn't work. I get: 'Form' does not get a value

    Flav, PHP is the tool you want to use for this task.
    I can embed or iframe the pdf, but none of the database field types can recognize the file for insertion.
    This is a very bad idea. You're better off building a PHP form to handle the records.
    Could a simple php form include all individual fields(such as name, ordr#,etc..) and save that as one file instead of individually?
    What do you mean by this - there is no file in database. They're only records. Individual records allow for more flexibility in data collation which is good for you in the long run even if you're not anticipating it now.
    You can export and manipulate your data from MySQL Database in many ways - which is not possible from a PDF file.
    There's another way - if you do not want to use a database, you can write the data captured from your PHP form into an XML file or a Plain TXT file on your server - however I wont recommend this method for security reasons.

  • Csscan throws error ORA-01555

    Hi,
    I am trying to change the character set in my Oracle 10.2.0.4 database on AIX.
    when i ran the following csscan command:
    csscan FULL=Y FROMCHAR=WE8ISO8859P1 TOCHAR=WE8ISO8859P1 LOG=P1check CAPTURE=Y ARRAY=1000000 PROCESS=32
    i get a lot of this below error:
    ORA-01555: snapshot too old: rollback segment number 5 with name "_SYSSMU5$" too small
    I do see i have 22Gb of undo table space size and
    SQL> show parameter undo
    NAME TYPE VALUE
    undo_management string AUTO
    undo_retention integer 14400
    undo_tablespace string UNDOTBS1
    I am doing some research but not able to fix it.
    Can someone help me solve this issue.
    Thanks.
    Philip.

    I would say after 5-10 mins of running the csscan command i see these errors....so i had to cancel out the process.
    and here is the long output for the statment:
    select segment_name,tablespace_name,status from dba_rollback_segs;
    SYSTEM     SYSTEM     ONLINE
    _SYSSMU1$     UNDOTBS1     ONLINE
    _SYSSMU2$     UNDOTBS1     ONLINE
    _SYSSMU3$     UNDOTBS1     ONLINE
    _SYSSMU4$     UNDOTBS1     ONLINE
    _SYSSMU5$     UNDOTBS1     ONLINE
    _SYSSMU6$     UNDOTBS1     ONLINE
    _SYSSMU7$     UNDOTBS1     ONLINE
    _SYSSMU8$     UNDOTBS1     ONLINE
    _SYSSMU9$     UNDOTBS1     ONLINE
    _SYSSMU10$     UNDOTBS1     ONLINE
    _SYSSMU11$     UNDOTBS1     OFFLINE
    _SYSSMU12$     UNDOTBS1     OFFLINE
    _SYSSMU13$     UNDOTBS1     OFFLINE
    _SYSSMU14$     UNDOTBS1     OFFLINE
    _SYSSMU15$     UNDOTBS1     OFFLINE
    _SYSSMU16$     UNDOTBS1     OFFLINE
    _SYSSMU17$     UNDOTBS1     OFFLINE
    _SYSSMU18$     UNDOTBS1     OFFLINE
    _SYSSMU19$     UNDOTBS1     OFFLINE
    _SYSSMU20$     UNDOTBS1     OFFLINE
    _SYSSMU21$     UNDOTBS1     OFFLINE
    _SYSSMU22$     UNDOTBS1     OFFLINE
    _SYSSMU23$     UNDOTBS1     OFFLINE
    _SYSSMU24$     UNDOTBS1     OFFLINE
    _SYSSMU25$     UNDOTBS1     OFFLINE
    _SYSSMU26$     UNDOTBS1     OFFLINE
    _SYSSMU27$     UNDOTBS1     OFFLINE
    _SYSSMU28$     UNDOTBS1     OFFLINE
    _SYSSMU29$     UNDOTBS1     OFFLINE
    _SYSSMU30$     UNDOTBS1     OFFLINE
    _SYSSMU31$     UNDOTBS1     OFFLINE
    _SYSSMU32$     UNDOTBS1     OFFLINE
    _SYSSMU33$     UNDOTBS1     OFFLINE
    _SYSSMU34$     UNDOTBS1     OFFLINE
    _SYSSMU35$     UNDOTBS1     OFFLINE
    _SYSSMU36$     UNDOTBS1     OFFLINE
    _SYSSMU37$     UNDOTBS1     OFFLINE
    _SYSSMU38$     UNDOTBS1     OFFLINE
    _SYSSMU39$     UNDOTBS1     OFFLINE
    _SYSSMU40$     UNDOTBS1     OFFLINE
    _SYSSMU41$     UNDOTBS1     OFFLINE
    _SYSSMU42$     UNDOTBS1     OFFLINE
    _SYSSMU43$     UNDOTBS1     OFFLINE
    _SYSSMU44$     UNDOTBS1     OFFLINE
    _SYSSMU45$     UNDOTBS1     OFFLINE
    _SYSSMU46$     UNDOTBS1     OFFLINE
    _SYSSMU47$     UNDOTBS1     OFFLINE
    _SYSSMU48$     UNDOTBS1     OFFLINE
    _SYSSMU49$     UNDOTBS1     OFFLINE
    _SYSSMU50$     UNDOTBS1     OFFLINE
    _SYSSMU51$     UNDOTBS1     OFFLINE
    _SYSSMU52$     UNDOTBS1     OFFLINE
    _SYSSMU53$     UNDOTBS1     OFFLINE
    _SYSSMU54$     UNDOTBS1     OFFLINE
    _SYSSMU55$     UNDOTBS1     OFFLINE
    _SYSSMU56$     UNDOTBS1     OFFLINE
    _SYSSMU57$     UNDOTBS1     OFFLINE
    _SYSSMU58$     UNDOTBS1     OFFLINE
    _SYSSMU59$     UNDOTBS1     OFFLINE
    _SYSSMU60$     UNDOTBS1     OFFLINE
    _SYSSMU61$     UNDOTBS1     OFFLINE
    _SYSSMU62$     UNDOTBS1     OFFLINE
    _SYSSMU63$     UNDOTBS1     OFFLINE
    _SYSSMU64$     UNDOTBS1     OFFLINE
    _SYSSMU65$     UNDOTBS1     OFFLINE
    _SYSSMU66$     UNDOTBS1     OFFLINE
    _SYSSMU67$     UNDOTBS1     OFFLINE
    _SYSSMU68$     UNDOTBS1     OFFLINE
    _SYSSMU69$     UNDOTBS1     OFFLINE
    _SYSSMU70$     UNDOTBS1     OFFLINE
    _SYSSMU71$     UNDOTBS1     OFFLINE
    _SYSSMU72$     UNDOTBS1     OFFLINE
    _SYSSMU73$     UNDOTBS1     OFFLINE
    _SYSSMU74$     UNDOTBS1     OFFLINE
    _SYSSMU75$     UNDOTBS1     OFFLINE
    _SYSSMU76$     UNDOTBS1     OFFLINE
    _SYSSMU77$     UNDOTBS1     OFFLINE
    _SYSSMU78$     UNDOTBS1     OFFLINE
    _SYSSMU79$     UNDOTBS1     OFFLINE
    _SYSSMU80$     UNDOTBS1     OFFLINE
    _SYSSMU81$     UNDOTBS1     OFFLINE
    _SYSSMU82$     UNDOTBS1     OFFLINE
    _SYSSMU83$     UNDOTBS1     OFFLINE
    _SYSSMU84$     UNDOTBS1     OFFLINE
    _SYSSMU85$     UNDOTBS1     OFFLINE
    _SYSSMU86$     UNDOTBS1     OFFLINE
    _SYSSMU87$     UNDOTBS1     OFFLINE
    _SYSSMU88$     UNDOTBS1     OFFLINE
    _SYSSMU89$     UNDOTBS1     OFFLINE
    _SYSSMU90$     UNDOTBS1     OFFLINE
    _SYSSMU91$     UNDOTBS1     OFFLINE
    _SYSSMU92$     UNDOTBS1     OFFLINE
    _SYSSMU93$     UNDOTBS1     OFFLINE
    _SYSSMU94$     UNDOTBS1     OFFLINE
    _SYSSMU95$     UNDOTBS1     OFFLINE
    _SYSSMU96$     UNDOTBS1     OFFLINE
    _SYSSMU97$     UNDOTBS1     OFFLINE
    _SYSSMU98$     UNDOTBS1     OFFLINE
    _SYSSMU99$     UNDOTBS1     OFFLINE
    _SYSSMU100$     UNDOTBS1     OFFLINE
    _SYSSMU101$     UNDOTBS1     OFFLINE
    _SYSSMU102$     UNDOTBS1     OFFLINE
    _SYSSMU103$     UNDOTBS1     OFFLINE
    _SYSSMU104$     UNDOTBS1     OFFLINE
    _SYSSMU105$     UNDOTBS1     OFFLINE
    _SYSSMU106$     UNDOTBS1     OFFLINE
    _SYSSMU107$     UNDOTBS1     OFFLINE
    _SYSSMU108$     UNDOTBS1     OFFLINE
    _SYSSMU109$     UNDOTBS1     OFFLINE
    _SYSSMU110$     UNDOTBS1     OFFLINE
    _SYSSMU111$     UNDOTBS1     OFFLINE
    _SYSSMU112$     UNDOTBS1     OFFLINE
    _SYSSMU113$     UNDOTBS1     OFFLINE
    _SYSSMU114$     UNDOTBS1     OFFLINE
    _SYSSMU115$     UNDOTBS1     OFFLINE
    _SYSSMU116$     UNDOTBS1     OFFLINE
    _SYSSMU117$     UNDOTBS1     OFFLINE
    _SYSSMU118$     UNDOTBS1     OFFLINE
    _SYSSMU119$     UNDOTBS1     OFFLINE
    _SYSSMU120$     UNDOTBS1     OFFLINE
    Edited by: user8898644 on Feb 22, 2010 8:09 AM

  • How to Insert Record with multiple rows

    Hello alls,
    i want to ask something... how to use insert record server behavior -  php myysql, to insert multiple rows from textfiled?
    thanks.

    It would have been more helpful if you had shown me your existing code. However, this shows the basic principles.
    First of all, the name of each input field in the form needs to end in an empty pair of square brackets like this:
    <input type="text" name="field_name[]" . . .
    This results in $_POST['field_name'] being treated as an array of the values in each input field. Change field_name to the actual name of the input field. Without the square brackets, only the last value is submitted by the form.
    The Insert Record server behavior code looks like this:
    if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "form1")) {
      $insertSQL = sprintf("INSERT INTO my_table (field1, field2) VALUES (%s, %s)",
                           GetSQLValueString($_POST['field1'], "int"),
                           GetSQLValueString($_POST['field2'], "text"));
      mysql_select_db($database_connAdmin, $connAdmin);
      $Result1 = mysql_query($insertSQL, $connAdmin) or die(mysql_error());
      $insertGoTo = "another_page.php";
      if (isset($_SERVER['QUERY_STRING'])) {
        $insertGoTo .= (strpos($insertGoTo, '?')) ? "&" : "?";
        $insertGoTo .= $_SERVER['QUERY_STRING'];
      header(sprintf("Location: %s", $insertGoTo));
    You need to amend it like this:
    if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "form1")) {
      mysql_select_db($database_connAdmin, $connAdmin);
      // loop through the input values
      for ($i = 0, $len = count($_POST['field1']); $i < $len; $i++) {
          $insertSQL = sprintf("INSERT INTO my_table (field1, field2) VALUES (%s, %s)",
                                GetSQLValueString($_POST['field1'][$i], "int"),
                                GetSQLValueString($_POST['field2'][$i], "text"));
          $Result1 = mysql_query($insertSQL, $connAdmin) or die(mysql_error());
      } // end loop
      $insertGoTo = "another_page.php";
      if (isset($_SERVER['QUERY_STRING'])) {
        $insertGoTo .= (strpos($insertGoTo, '?')) ? "&" : "?";
        $insertGoTo .= $_SERVER['QUERY_STRING'];
      header(sprintf("Location: %s", $insertGoTo));
    This uses a for loop (see http://docs.php.net/manual/en/control-structures.for.php) to access each element of the $_POST['field1'] and $_POST['field2'] arrays (see http://docs.php.net/manual/en/language.types.array.php).

Maybe you are looking for