Announcement

Collapse
No announcement yet.

Inst PTS in Arch linux 64

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Inst PTS in Arch linux 64

    I've got a new AM3 mobo with a Phenom II x3 720 i'm dying to test, but PTS is a no go on Arch linux 64. i've modified my php.ini as follows:


    - uncomment following extensions:
    - extension=gd.so
    - extension=posix.so
    - extension=curl.so
    - add test-suite path to open_basedir
    example: open_basedir = /srv/http/:/home/:/tmp/:/usr/share/pear/:/usr/share/phoronix-test-suite/
    - allow fileuploads
    - allow_url_fopen = On
    - file_uploads = On
    - allow_url_include = On

    When I try to benchmark, it complains that there's no
    downloading application available, here's what I see:

    Code:
    [user@krum ~]$ phoronix-test-suite benchmark super-pi
    
    ====================================
    PHORONIX TEST SUITE - WELCOME
    ====================================
    
    The Phoronix Test Suite is the most comprehensive testing and
    benchmarking platform available for Linux and is designed to
    carry out tests in a clean, reproducible, and easy-to-use manner.
    This software ships with over 90 test profiles and 30 test
    suites, but new tests and suites can be easily added through its
    XML-based test profile system.
    
    - The Phoronix Test Suite is open-source and licensed under the
    GNU GPLv3. However, some tests supported by the PTS are not
    open-source. To see the license of tests, run:
    phoronix-test-suite list-tests.
    
    - The Phoronix Test Suite contains tests which may stress your
    system and in some cases could exhibit stability problems of the
    system's hardware or software configuration. The Phoronix Test
    Suite is provided WITHOUT ANY WARRANTY. Phoronix Media and
    involved parties take no responsibility for misuse of this
    software. Use of the Phoronix Test Suite is at your own risk.
    
    - For enterprise support, sponsorship, or other professional
    inquiries, contact [email protected]. Community support can
    be found in the Phoronix Forums at
    http://www.phoronix.com/forums/.
    
    - If you opt to submit your test results to Phoronix Global, the
    final results as well as basic hardware and software details
    (what is shown in the PTS Results Viewer) will be shared and
    publicly accessible through
    http://global.phoronix-test-suite.com/.
    
    For more information on the Phoronix Test Suite and its
    possibilities, visit http://www.phoronix-test-suite.com/ or view
    the included documentation.
    
    
    Do you agree to these terms and wish to proceed (Y/n)? Y
    
    
    
    ====================================
    Compiler / Development Libraries
    Possible Package Names: gcc
    ====================================
    
    The above dependencies should be installed before proceeding. Press any key when you're ready to continue.
    
    ====================================
    32-bit Libraries For Linux
    Possible Package Names: ia32-libs
    ====================================
    
    The above dependencies should be installed before proceeding. Press any key when you're ready to continue.
    
    ====================================
    Downloading Files For: super-pi
    Estimated Download Size: 0.07 MB
    ====================================
    
    
    
    Downloading File: super_pi.tar.gz
    
    No downloading application available.
    The MD5 check-sum of the downloaded file is incorrect.
    Attempting to re-download from another mirror.
    
    
    Downloading File: super_pi.tar.gz
    
    No downloading application available.
    The MD5 check-sum of the downloaded file is incorrect.
    Would you like to try downloading the file again (Y/n)? 
    
    
    Downloading File: super_pi.tar.gz
    
    No downloading application available.
    The MD5 check-sum of the downloaded file is incorrect.
    Would you like to try downloading the file again (Y/n)? 
    
    
    Downloading File: super_pi.tar.gz
    
    No downloading application available.
    The MD5 check-sum of the downloaded file is incorrect.
    
    Download of Needed Test Dependencies Failed! Exiting.
    
    
    Installation of super-pi test failed.
    
    =====================================================
    super-pi isn't installed.
    To install, run: phoronix-test-suite install super-pi
    =====================================================
    Here's the diagnostics output:

    Code:
    [user@krum ~]$ phoronix-test-suite diagnostics
    
    ====================================
    Phoronix Test Suite v1.8.0a3 (SELBU)
    Diagnostics Dump
    ====================================
    
    PTS_PATH = /usr/share/phoronix-test-suite/
    PTS_MODE = CLIENT
    PTS_VERSION = 1.8.0a3
    PTS_CODENAME = SELBU
    S_TEST_OPTIONS_MENU_GROUP_NAME = Entry/Name
    S_TEST_OPTIONS_MENU_GROUP_VALUE = Entry/Value
    S_RESULTS_RESULTS_GROUP_IDENTIFIER = Group/Entry/Identifier
    S_RESULTS_RESULTS_GROUP_VALUE = Group/Entry/Value
    S_RESULTS_RESULTS_GROUP_RAW = Group/Entry/RawString
    DEFAULT_VIDEO_RAM_CAPACITY = 128
    TYPE_TEST = TEST
    TYPE_TEST_SUITE = TEST_SUITE
    TYPE_LOCAL_TEST = LOCAL_TEST
    TYPE_LOCAL_TEST_SUITE = LOCAL_TEST_SUITE
    TYPE_BASE_TEST = BASE_TEST
    TYPE_VIRT_SUITE_SUBSYSTEM = VIRT_SUITE_SUBSYSTEM
    TYPE_VIRT_SUITE_ALL = VIRT_SUITE_ALL
    PTS_MODULE_UNLOAD = PTS_MODULE_UNLOAD
    PTS_QUIT = PTS_QUIT
    PTS_CORE_PATH = /usr/share/phoronix-test-suite/pts-core/
    PTS_USER_DIR = /home/user/.phoronix-test-suite/
    XML_DISTRO_DIR = /usr/share/phoronix-test-suite/pts/distro-xml/
    SCRIPT_DISTRO_DIR = /usr/share/phoronix-test-suite/pts/distro-scripts/
    ETC_DIR = /usr/share/phoronix-test-suite/pts/etc/
    MODULE_DIR = /usr/share/phoronix-test-suite/pts-core/modules/
    MODULE_LOCAL_DIR = /home/user/.phoronix-test-suite/modules/
    RESULTS_VIEWER_DIR = /usr/share/phoronix-test-suite/pts-core/results-viewer/
    TEST_LIBRARIES_DIR = /usr/share/phoronix-test-suite/pts-core/test-libraries/
    STATIC_DIR = /usr/share/phoronix-test-suite/pts-core/static/
    MEDIA_DIR = /usr/share/phoronix-test-suite/pts-core/media/
    FONT_DIR = /usr/share/phoronix-test-suite/pts-core/results-viewer/fonts/
    XML_PROFILE_DIR = /usr/share/phoronix-test-suite/pts/test-profiles/
    XML_PROFILE_CTP_BASE_DIR = /usr/share/phoronix-test-suite/pts/base-test-profiles/
    XML_SUITE_DIR = /usr/share/phoronix-test-suite/pts/test-suites/
    TEST_RESOURCE_DIR = /usr/share/phoronix-test-suite/pts/test-resources/
    TEST_RESOURCE_CTP_BASE_DIR = /usr/share/phoronix-test-suite/pts/base-test-resources/
    XML_PROFILE_LOCAL_DIR = /home/user/.phoronix-test-suite/test-profiles/
    XML_SUITE_LOCAL_DIR = /home/user/.phoronix-test-suite/test-suites/
    TEST_RESOURCE_LOCAL_DIR = /home/user/.phoronix-test-suite/test-resources/
    PTS_TEMP_DIR = /tmp/phoronix-test-suite/
    PHP_BIN = php
    PTS_INIT_TIME = 1237016028
    OPERATING_SYSTEM = Linux
    OS_PREFIX = linux_
    TEST_ENV_DIR = /home/user/.phoronix-test-suite/installed-tests/
    SAVE_RESULTS_DIR = /home/user/.phoronix-test-suite/test-results/
    PTS_DOWNLOAD_CACHE_DIR = /home/user/.phoronix-test-suite/download-cache/
    PTS_USER_AGREEMENT_CHECK = b9292f976d899bfda7f6e9225f6b013a
    
    End-User Run-Time Variables:
    VIDEO_RESOLUTION = 1680x1050
    VIDEO_CARD = ATI Mobility Radeon HD 3450
    VIDEO_DRIVER = 2.1 Mesa 7.2
    OPERATING_SYSTEM = Linux
    PROCESSOR = Unknown
    MOTHERBOARD = Gigabyte Co. Ltd. GA-MA790FXT-UD5P
    CHIPSET = ATI RD790 + SB700/SB800
    KERNEL_VERSION = 2.6.28-ARCH
    COMPILER = GCC 4.3.3
    HOSTNAME = Unknown
    
    Environmental Variables (accessible via test scripts):
    PTS_VERSION = 1.8.0a3
    PTS_CODENAME = SELBU
    PTS_DIR = /usr/share/phoronix-test-suite/
    FONT_DIR = /usr/share/phoronix-test-suite/pts-core/results-viewer/fonts/
    PHP_BIN = php
    NUM_CPU_CORES = 1
    NUM_CPU_JOBS = 2
    SYS_MEMORY = Unknown
    VIDEO_MEMORY = 128
    VIDEO_WIDTH = 1680
    VIDEO_HEIGHT = 1050
    VIDEO_MONITOR_COUNT = 1
    VIDEO_MONITOR_LAYOUT = CENTER
    VIDEO_MONITOR_SIZES = 1680x1050
    OPERATING_SYSTEM = linux
    OS_VERSION = Unknown
    OS_ARCH = x86_64
    OS_TYPE = Linux
    THIS_RUN_TIME = 1237016028

  • #2
    Which version of PTS are you trying?

    It should only give that "No downloading application available." if it can't find wget or curl. Where do you have them installed on your system?
    Michael Larabel
    https://www.michaellarabel.com/

    Comment


    • #3
      I'm using PTS v1.8.0a3


      wget and curl are located in:

      Code:
      [user@krum ~]$ whereis curl
      curl: /usr/bin/curl /usr/include/curl /usr/share/man/man1/curl.1.gz
      
      [user@krum ~]$ whereis wget
      wget: /usr/bin/wget /usr/share/man/man1/wget.1.gz
      Last edited by darkmatter14B; 14 March 2009, 03:35 PM.

      Comment


      • #4
        I have the same problem in both 32- and 64-bit Arch Linux systems.

        For the following information, I'm using the 1.8 Alpha 3 development version. However, the exact same problems also happen with the 1.6 version.

        Php, wget, and curl are all installed.

        Using, as root, the script install-sh, installs the program but does nothing when I try to run it afterward:
        Code:
        [brian@Inspiron ~]$ phoronix-test-suite install super-pi
        [brian@Inspiron ~]$ 
        [brian@Inspiron ~]$ phoronix-test-suite list-tests
        [brian@Inspiron ~]$
        Using ./phoronix-test-suite (from the source download), I get the following:
        Code:
        [brian@Inspiron phoronix-test-suite]$ ./phoronix-test-suite benchmark super-pi
        
        
        ====================================
        Compiler / Development Libraries
        Possible Package Names: gcc
        ====================================
        
        The above dependencies should be installed before proceeding. Press any key when you're ready to continue.
        
        ====================================
        Downloading Files For: super-pi
        Estimated Download Size: 0.07 MB
        ====================================
        
        
        
        Downloading File: super_pi.tar.gz
        
        No downloading application available.
        The MD5 check-sum of the downloaded file is incorrect.
        Attempting to re-download from another mirror.
        
        
        Downloading File: super_pi.tar.gz
        
        No downloading application available.
        The MD5 check-sum of the downloaded file is incorrect.
        Would you like to try downloading the file again (Y/n)? n
        
        Download of Needed Test Dependencies Failed! Exiting.
        
        
        Installation of super-pi test failed.
        
        =====================================================
        super-pi isn't installed.
        To install, run: phoronix-test-suite install super-pi
        =====================================================
        
        [brian@Inspiron phoronix-test-suite]$
        Note: gcc is installed:
        Code:
        [brian@Inspiron phoronix-test-suite]$ sudo pacman -Qi gcc
        Password: 
        Name           : gcc
        Version        : 4.3.3-1
        URL            : http://gcc.gnu.org
        Licenses       : GPL  LGPL  
        Groups         : base-devel  
        Provides       : None
        Depends On     : binutils>=2.19  gcc-libs>=4.3.3  mpfr>=2.3.1  texinfo  
        Optional Deps  : None
        Required By    : None
        Conflicts With : None
        Replaces       : gcc-fortran  gcc-objc  
        Installed Size : 68448.00 K
        Packager       : Andreas Radke <[email protected]>
        Architecture   : i686
        Build Date     : Sat 24 Jan 2009 01:47:00 PM PST
        Install Date   : Thu 12 Mar 2009 11:04:39 PM PDT
        Install Reason : Explicitly installed
        Install Script : Yes
        Description    : The GNU Compiler Collection
        Diagnostics:
        Code:
        [brian@Inspiron phoronix-test-suite]$ ./phoronix-test-suite diagnostics
        
        ====================================
        Phoronix Test Suite v1.8.0a3 (SELBU)
        Diagnostics Dump
        ====================================
        
        PTS_PATH = /home/brian/downloads/phoronix-test-suite/
        PTS_MODE = CLIENT
        PTS_VERSION = 1.8.0a3
        PTS_CODENAME = SELBU
        S_TEST_OPTIONS_MENU_GROUP_NAME = Entry/Name
        S_TEST_OPTIONS_MENU_GROUP_VALUE = Entry/Value
        S_RESULTS_RESULTS_GROUP_IDENTIFIER = Group/Entry/Identifier
        S_RESULTS_RESULTS_GROUP_VALUE = Group/Entry/Value
        S_RESULTS_RESULTS_GROUP_RAW = Group/Entry/RawString
        DEFAULT_VIDEO_RAM_CAPACITY = 128
        TYPE_TEST = TEST
        TYPE_TEST_SUITE = TEST_SUITE
        TYPE_LOCAL_TEST = LOCAL_TEST
        TYPE_LOCAL_TEST_SUITE = LOCAL_TEST_SUITE
        TYPE_BASE_TEST = BASE_TEST
        TYPE_VIRT_SUITE_SUBSYSTEM = VIRT_SUITE_SUBSYSTEM
        TYPE_VIRT_SUITE_ALL = VIRT_SUITE_ALL
        PTS_MODULE_UNLOAD = PTS_MODULE_UNLOAD
        PTS_QUIT = PTS_QUIT
        PTS_CORE_PATH = /home/brian/downloads/phoronix-test-suite/pts-core/
        PTS_USER_DIR = /home/brian/.phoronix-test-suite/
        XML_DISTRO_DIR = /home/brian/downloads/phoronix-test-suite/pts/distro-xml/
        SCRIPT_DISTRO_DIR = /home/brian/downloads/phoronix-test-suite/pts/distro-scripts/
        ETC_DIR = /home/brian/downloads/phoronix-test-suite/pts/etc/
        MODULE_DIR = /home/brian/downloads/phoronix-test-suite/pts-core/modules/
        MODULE_LOCAL_DIR = /home/brian/.phoronix-test-suite/modules/
        RESULTS_VIEWER_DIR = /home/brian/downloads/phoronix-test-suite/pts-core/results-viewer/
        TEST_LIBRARIES_DIR = /home/brian/downloads/phoronix-test-suite/pts-core/test-libraries/
        STATIC_DIR = /home/brian/downloads/phoronix-test-suite/pts-core/static/
        MEDIA_DIR = /home/brian/downloads/phoronix-test-suite/pts-core/media/
        FONT_DIR = /home/brian/downloads/phoronix-test-suite/pts-core/results-viewer/fonts/
        XML_PROFILE_DIR = /home/brian/downloads/phoronix-test-suite/pts/test-profiles/
        XML_PROFILE_CTP_BASE_DIR = /home/brian/downloads/phoronix-test-suite/pts/base-test-profiles/
        XML_SUITE_DIR = /home/brian/downloads/phoronix-test-suite/pts/test-suites/
        TEST_RESOURCE_DIR = /home/brian/downloads/phoronix-test-suite/pts/test-resources/
        TEST_RESOURCE_CTP_BASE_DIR = /home/brian/downloads/phoronix-test-suite/pts/base-test-resources/
        XML_PROFILE_LOCAL_DIR = /home/brian/.phoronix-test-suite/test-profiles/
        XML_SUITE_LOCAL_DIR = /home/brian/.phoronix-test-suite/test-suites/
        TEST_RESOURCE_LOCAL_DIR = /home/brian/.phoronix-test-suite/test-resources/
        PTS_TEMP_DIR = /tmp/phoronix-test-suite/
        PHP_BIN = php
        PTS_INIT_TIME = 1237066236
        OPERATING_SYSTEM = Linux
        OS_PREFIX = linux_
        TEST_ENV_DIR = /home/brian/.phoronix-test-suite/installed-tests/
        SAVE_RESULTS_DIR = /home/brian/.phoronix-test-suite/test-results/
        PTS_DOWNLOAD_CACHE_DIR = /home/brian/.phoronix-test-suite/download-cache/
        PTS_USER_AGREEMENT_CHECK = b9292f976d899bfda7f6e9225f6b013a
        
        End-User Run-Time Variables:
        VIDEO_RESOLUTION = 1280x800
        VIDEO_CARD = ATI RS482 [Radeon Xpress 200M]
        VIDEO_DRIVER = 1.3 Mesa 7.3
        OPERATING_SYSTEM = Linux
        PROCESSOR = Unknown
        MOTHERBOARD = Dell Inspiron 1501
        CHIPSET = ATI RS480 + SB600
        KERNEL_VERSION = 2.6.28-ARCH
        COMPILER = GCC 4.3.3
        HOSTNAME = Unknown
        
        Environmental Variables (accessible via test scripts):
        PTS_VERSION = 1.8.0a3
        PTS_CODENAME = SELBU
        PTS_DIR = /home/brian/downloads/phoronix-test-suite/
        FONT_DIR = /home/brian/downloads/phoronix-test-suite/pts-core/results-viewer/fonts/
        PHP_BIN = php
        NUM_CPU_CORES = 1
        NUM_CPU_JOBS = 2
        SYS_MEMORY = Unknown
        VIDEO_MEMORY = 128
        VIDEO_WIDTH = 1280
        VIDEO_HEIGHT = 800
        VIDEO_MONITOR_COUNT = 1
        VIDEO_MONITOR_LAYOUT = CENTER
        VIDEO_MONITOR_SIZES = 1280x800
        OPERATING_SYSTEM = linux
        OS_VERSION = Unknown
        OS_ARCH = i686
        OS_TYPE = Linux
        THIS_RUN_TIME = 1237066236

        Comment


        • #5
          Hmm, I also found these errors in my /var/log/user.log (sorry I can't post them above because then the message is too long):

          Code:
          Mar 14 14:40:32 Inspiron php: PHP Warning:  is_executable(): open_basedir restriction in effect. File(/usr/bin/curl) is not within the allowed path(s): (/srv/http/:/home/:/tmp/:/usr/share/pear/) in /home/brian/downloads/1.6/phoronix-test-suite/pts-core/functions/pts-functions_shell.php on line 66
          Mar 14 14:40:32 Inspiron php: PHP Warning:  is_executable(): open_basedir restriction in effect. File(/usr/local/bin/curl) is not within the allowed path(s): (/srv/http/:/home/:/tmp/:/usr/share/pear/) in /home/brian/downloads/1.6/phoronix-test-suite/pts-core/functions/pts-functions_shell.php on line 66
          Mar 14 14:40:32 Inspiron php: PHP Warning:  is_executable(): open_basedir restriction in effect. File(/usr/bin/wget) is not within the allowed path(s): (/srv/http/:/home/:/tmp/:/usr/share/pear/) in /home/brian/downloads/1.6/phoronix-test-suite/pts-core/functions/pts-functions_shell.php on line 71
          Mar 14 14:40:32 Inspiron php: PHP Warning:  is_executable(): open_basedir restriction in effect. File(/usr/local/bin/wget) is not within the allowed path(s): (/srv/http/:/home/:/tmp/:/usr/share/pear/) in /home/brian/downloads/1.6/phoronix-test-suite/pts-core/functions/pts-functions_shell.php on line 71
          Mar 14 14:40:32 Inspiron php: PHP Warning:  is_executable(): open_basedir restriction in effect. File(/usr/bin/curl) is not within the allowed path(s): (/srv/http/:/home/:/tmp/:/usr/share/pear/) in /home/brian/downloads/1.6/phoronix-test-suite/pts-core/functions/pts-functions_shell.php on line 66
          Mar 14 14:40:32 Inspiron php: PHP Warning:  is_executable(): open_basedir restriction in effect. File(/usr/local/bin/curl) is not within the allowed path(s): (/srv/http/:/home/:/tmp/:/usr/share/pear/) in /home/brian/downloads/1.6/phoronix-test-suite/pts-core/functions/pts-functions_shell.php on line 66
          Mar 14 14:40:32 Inspiron php: PHP Warning:  is_executable(): open_basedir restriction in effect. File(/usr/bin/wget) is not within the allowed path(s): (/srv/http/:/home/:/tmp/:/usr/share/pear/) in /home/brian/downloads/1.6/phoronix-test-suite/pts-core/functions/pts-functions_shell.php on line 71
          Mar 14 14:40:32 Inspiron php: PHP Warning:  is_executable(): open_basedir restriction in effect. File(/usr/local/bin/wget) is not within the allowed path(s): (/srv/http/:/home/:/tmp/:/usr/share/pear/) in /home/brian/downloads/1.6/phoronix-test-suite/pts-core/functions/pts-functions_shell.php on line 71
          Mar 14 14:40:35 Inspiron php: PHP Warning:  is_executable(): open_basedir restriction in effect. File(/usr/bin/curl) is not within the allowed path(s): (/srv/http/:/home/:/tmp/:/usr/share/pear/) in /home/brian/downloads/1.6/phoronix-test-suite/pts-core/functions/pts-functions_shell.php on line 66
          Mar 14 14:40:35 Inspiron php: PHP Warning:  is_executable(): open_basedir restriction in effect. File(/usr/local/bin/curl) is not within the allowed path(s): (/srv/http/:/home/:/tmp/:/usr/share/pear/) in /home/brian/downloads/1.6/phoronix-test-suite/pts-core/functions/pts-functions_shell.php on line 66
          Mar 14 14:40:35 Inspiron php: PHP Warning:  is_executable(): open_basedir restriction in effect. File(/usr/bin/wget) is not within the allowed path(s): (/srv/http/:/home/:/tmp/:/usr/share/pear/) in /home/brian/downloads/1.6/phoronix-test-suite/pts-core/functions/pts-functions_shell.php on line 71
          Mar 14 14:40:35 Inspiron php: PHP Warning:  is_executable(): open_basedir restriction in effect. File(/usr/local/bin/wget) is not within the allowed path(s): (/srv/http/:/home/:/tmp/:/usr/share/pear/) in /home/brian/downloads/1.6/phoronix-test-suite/pts-core/functions/pts-functions_shell.php on line 71
          Mar 14 14:42:39 Inspiron php: PHP Warning:  realpath(): open_basedir restriction in effect. File(/usr/share/phoronix-test-suite/pts-core) is not within the allowed path(s): (/srv/http/:/home/:/tmp/:/usr/share/pear/) in /usr/share/phoronix-test-suite/pts-core/phoronix-test-suite.php on line 25
          Mar 14 14:42:39 Inspiron php: PHP Warning:  require(): open_basedir restriction in effect. File(/pts-core/functions/pts-functions.php) is not within the allowed path(s): (/srv/http/:/home/:/tmp/:/usr/share/pear/) in /usr/share/phoronix-test-suite/pts-core/phoronix-test-suite.php on line 33
          Mar 14 14:42:39 Inspiron php: PHP Warning:  require(/pts-core/functions/pts-functions.php): failed to open stream: Operation not permitted in /usr/share/phoronix-test-suite/pts-core/phoronix-test-suite.php on line 33
          Mar 14 14:42:39 Inspiron php: PHP Fatal error:  require(): Failed opening required '/pts-core/functions/pts-functions.php' (include_path='.:/usr/share/pear') in /usr/share/phoronix-test-suite/pts-core/phoronix-test-suite.php on line 33
          Mar 14 14:42:43 Inspiron php: PHP Warning:  realpath(): open_basedir restriction in effect. File(/usr/share/phoronix-test-suite/pts-core) is not within the allowed path(s): (/srv/http/:/home/:/tmp/:/usr/share/pear/) in /usr/share/phoronix-test-suite/pts-core/phoronix-test-suite.php on line 25
          Mar 14 14:42:43 Inspiron php: PHP Warning:  require(): open_basedir restriction in effect. File(/pts-core/functions/pts-functions.php) is not within the allowed path(s): (/srv/http/:/home/:/tmp/:/usr/share/pear/) in /usr/share/phoronix-test-suite/pts-core/phoronix-test-suite.php on line 33
          Mar 14 14:42:43 Inspiron php: PHP Warning:  require(/pts-core/functions/pts-functions.php): failed to open stream: Operation not permitted in /usr/share/phoronix-test-suite/pts-core/phoronix-test-suite.php on line 33
          Mar 14 14:42:43 Inspiron php: PHP Fatal error:  require(): Failed opening required '/pts-core/functions/pts-functions.php' (include_path='.:/usr/share/pear') in /usr/share/phoronix-test-suite/pts-core/phoronix-test-suite.php on line 33
          Mar 14 14:49:29 Inspiron php: PHP Warning:  realpath(): open_basedir restriction in effect. File(/usr/share/phoronix-test-suite/pts-core) is not within the allowed path(s): (/srv/http/:/home/:/tmp/:/usr/share/pear/) in /usr/share/phoronix-test-suite/pts-core/phoronix-test-suite.php on line 25
          Mar 14 14:49:29 Inspiron php: PHP Warning:  require(): open_basedir restriction in effect. File(/pts-core/functions/pts-functions.php) is not within the allowed path(s): (/srv/http/:/home/:/tmp/:/usr/share/pear/) in /usr/share/phoronix-test-suite/pts-core/phoronix-test-suite.php on line 33
          Mar 14 14:49:29 Inspiron php: PHP Warning:  require(/pts-core/functions/pts-functions.php): failed to open stream: Operation not permitted in /usr/share/phoronix-test-suite/pts-core/phoronix-test-suite.php on line 33
          Mar 14 14:49:29 Inspiron php: PHP Fatal error:  require(): Failed opening required '/pts-core/functions/pts-functions.php' (include_path='.:/usr/share/pear') in /usr/share/phoronix-test-suite/pts-core/phoronix-test-suite.php on line 33
          Mar 14 14:49:33 Inspiron php: PHP Warning:  realpath(): open_basedir restriction in effect. File(/usr/share/phoronix-test-suite/pts-core) is not within the allowed path(s): (/srv/http/:/home/:/tmp/:/usr/share/pear/) in /usr/share/phoronix-test-suite/pts-core/phoronix-test-suite.php on line 25
          Mar 14 14:49:33 Inspiron php: PHP Warning:  require(): open_basedir restriction in effect. File(/pts-core/functions/pts-functions.php) is not within the allowed path(s): (/srv/http/:/home/:/tmp/:/usr/share/pear/) in /usr/share/phoronix-test-suite/pts-core/phoronix-test-suite.php on line 33
          Mar 14 14:49:33 Inspiron php: PHP Warning:  require(/pts-core/functions/pts-functions.php): failed to open stream: Operation not permitted in /usr/share/phoronix-test-suite/pts-core/phoronix-test-suite.php on line 33
          Mar 14 14:49:33 Inspiron php: PHP Fatal error:  require(): Failed opening required '/pts-core/functions/pts-functions.php' (include_path='.:/usr/share/pear') in /usr/share/phoronix-test-suite/pts-core/phoronix-test-suite.php on line 33

          Comment


          • #6
            why not either make links to the wget and curl executables in a directory within the PHP searchpath, or add the /usr/bin to the searchpath?

            Comment


            • #7
              Could you please clarify how to do that?

              Linking it to ./phoronix-test-suite/ did not work, so obviously I am confused.

              Thanks.

              Comment


              • #8
                So it looks like Arch Linux tightens up the security with the "open_basedir restriction in effect." That should be configurable through the php.ini I would think.
                Michael Larabel
                https://www.michaellarabel.com/

                Comment


                • #9
                  Originally posted by Michael View Post
                  So it looks like Arch Linux tightens up the security with the "open_basedir restriction in effect." That should be configurable through the php.ini I would think.
                  Ah, thanks Michael. I got /usr/bin/phoronix-test-suite to work by doing the following:

                  1. yaourt -S phoronix-test-suite (or use install-sh from the source download)
                  2. Add 'time' to depends (in the PKGBUILD), or install it from extra (pacman -Sy time)
                  3. As root, edit /etc/php/php.ini
                    • Uncomment following extensions:
                      extension=gd.so
                      extension=posix.so
                      extension=curl.so
                    • Add phoronix-test-suite path to open_basedir
                      example: open_basedir = /srv/http/:/home/:/tmp/:/usr/share/pear/:/usr/share/phoronix-test-suite/
                    • Allow file uploads
                      allow_url_fopen = On
                      file_uploads = On
                      allow_url_include = On

                  4. When installing test suites keep an eye out for other deps pts cannot install by itself
                  5. Make a pts global account and upload results



                  Source: http://bbs.archlinux.org/viewtopic.php?pid=515816

                  Edit: Ok, well I still had problems with the open_basedir line in the above. I just decided to comment the open_basedir and not use it. You can avoid doing this by following your /var/log/user.log and seeing which files need to be added to your open_basedir. For me, it was such files as /usr/bin/gcc, /usr/bin/wget, /etc/release, and /proc/dri/0/name. That was too many for me, and I did not know if more would show up and cause problems.
                  Last edited by GreatWalrus; 14 March 2009, 08:59 PM.

                  Comment


                  • #10
                    Edit: Ok, well I still had problems with the open_basedir line in the above. I just decided to comment the open_basedir and not use it. You can avoid doing this by following your /var/log/user.log and seeing which files need to be added to your open_basedir. For me, it was such files as /usr/bin/gcc, /usr/bin/wget, /etc/release, and /proc/dri/0/name. That was too many for me, and I did not know if more would show up and cause problems.
                    Well, adding those to the open_basedir in php.ini fixed the downloading problem........super-pi complains that ./pi cannot be found. I'll try a few other tests and see what happens.

                    Comment

                    Working...
                    X