Quota Exceeded errors

Discussion in 'Installation/Configuration' started by IKShadow, Jan 19, 2011.

  1. IKShadow

    IKShadow New Member

    When I try to upload a file ( FTP ) to website I receive error quota exceed, but my quota settings for that site is -1 for disk and bandwidth.

    I checked the error.log and there is

    open_basedir is commented in my php.ini files
    I would point out that there is no path
    My directory structure is
    /srv/www/clients/client1/

    and
    /var/log/ispconfig/httpd
     
    Last edited: Jan 19, 2011
  2. till

    till Super Moderator

    Looks as if your quota is full or the harddisk partition is full or the max number of files limit in a virtual machine is reached. You can check the quota with the command:

    repquota -avug

    and the disk with:

    df -h

    and the number of files limit of a virtual machine with:

    cat /proc/user_beancounters
     
  3. IKShadow

    IKShadow New Member

    I checked, but it seems the problem is elsewhere.

    Code:
    iksrv:/ # repquota -avug
    *** Report for user quotas on device /dev/sda3
    Block grace time: 7days; Inode grace time: 7days
                            Block limits                File limits
    User            used    soft    hard  grace    used  soft  hard  grace
    ----------------------------------------------------------------------
    at        --       8       0       0              3     0     0
    haldaemon --      16       0       0              4     0     0
    lp        --      24       0       0              6     0     0
    mail      --       4       0       0              1     0     0
    man       --    1916       0       0            132     0     0
    messagebus --       4       0       0              1     0     0
    mysql     --      28       0       0             11     0     0
    named     --      64       0       0             16     0     0
    news      --      12       0       0              6     0     0
    nobody    --       4       0       0              1     0     0
    ntp       --      12       0       0              3     0     0
    polkituser --      36       0       0              5     0     0
    postfix   --     120       0       0             61     0     0
    root      -- 1604000       0       0          61318     0     0
    uucp      --       8       0       0              2     0     0
    vscan     --   52364       0       0             33     0     0
    wwwrun    --    6144       0       0             52     0     0
    admin     --      52       0       0             13     0     0
    getmail   --       8       0       0              2     0     0
    iksrv     --      44       0       0             12     0     0
    ispconfig --   28556       0       0           5560     0     0
    vmail     --       4       0       0              2     0     0
    web1      --  126780       0       0              1     0     0
    web2      --    1620 1024000 1025024              1     0     0
    web3      --       4  512000  513024              1     0     0
    web4      --    5308  512000  513024              1     0     0
    web5      --    1296 5120000 5121024              1     0     0
    web6      --    1332  512000  513024              1     0     0
    web8      --    2808  512000  513024              1     0     0
    #500      --     676       0       0             46     0     0
    
    Statistics:
    Total blocks: 11
    Data blocks: 2
    Entries: 30
    Used average: 15.000000
    
    *** Report for user quotas on device /dev/sdb1
    Block grace time: 7days; Inode grace time: 7days
                            Block limits                File limits
    User            used    soft    hard  grace    used  soft  hard  grace
    ----------------------------------------------------------------------
    mysql     -- 1442096       0       0           1709     0     0
    root      -- 3552848       0       0           1739     0     0
    wwwrun    --  283444       0       0           2902     0     0
    ispapps   --      12       0       0              3     0     0
    ispconfig --       8       0       0              2     0     0
    web1      -- 2067308       0       0           8168     0     0
    web2      --  315620 1024000 1025024           3064     0     0
    web3      --      40  512000  513024             10     0     0
    web4      --   45220  512000  513024           1786     0     0
    web5      --  507296 5120000 5121024          19157     0     0
    web6      --   22104  512000  513024            525     0     0
    web8      --  143636  512000  513024           8102     0     0
    
    Statistics:
    Total blocks: 7
    Data blocks: 1
    Entries: 12
    Used average: 12.000000
    
    *** Report for group quotas on device /dev/sda3
    Block grace time: 7days; Inode grace time: 7days
                            Block limits                File limits
    Group           used    soft    hard  grace    used  soft  hard  grace
    ----------------------------------------------------------------------
    at        --       8       0       0              3     0     0
    audio     --      24       0       0              1     0     0
    dialout   --     368       0       0              2     0     0
    dovecot   --       4       0       0              2     0     0
    haldaemon --      16       0       0              4     0     0
    lock      --       4       0       0              1     0     0
    lp        --      64       0       0             16     0     0
    mail      --       4       0       0              1     0     0
    maildrop  --      40       0       0              4     0     0
    man       --    1912       0       0            131     0     0
    messagebus --      52       0       0              2     0     0
    mysql     --      36       0       0             12     0     0
    named     --      84       0       0             21     0     0
    news      --      12       0       0              6     0     0
    ntadmin   --       4       0       0              1     0     0
    ntp       --      20       0       0              5     0     0
    polkituser --     120       0       0             11     0     0
    postfix   --     124       0       0             62     0     0
    root      -- 1602348       0       0          61264     0     0
    shadow    --     500       0       0             10     0     0
    sys       --      16       0       0              4     0     0
    trusted   --      92       0       0              2     0     0
    tty       --     284       0       0              6     0     0
    uucp      --       8       0       0              2     0     0
    vscan     --   52340       0       0             27     0     0
    www       --    6136       0       0             49     0     0
    client1   --  129692       0       0              3     0     0
    client2   --       4       0       0              1     0     0
    client3   --    8116       0       0              2     0     0
    ispconfig --   28572       0       0           5564     0     0
    users     --      96       0       0             25     0     0
    vmail     --       4       0       0              1     0     0
    client4   --    1332       0       0              1     0     0
    #500      --     676       0       0             46     0     0
    
    Statistics:
    Total blocks: 9
    Data blocks: 2
    Entries: 34
    Used average: 17.000000
    
    *** Report for group quotas on device /dev/sdb1
    Block grace time: 7days; Inode grace time: 7days
                            Block limits                File limits
    Group           used    soft    hard  grace    used  soft  hard  grace
    ----------------------------------------------------------------------
    mysql     -- 1442088       0       0           1707     0     0
    root      -- 3552844       0       0           1738     0     0
    www       --  283456       0       0           2905     0     0
    client1   -- 2890224       0       0          30389     0     0
    client2   --      40       0       0             10     0     0
    client3   --  188856       0       0           9888     0     0
    ispapps   --      12       0       0              3     0     0
    ispconfig --       8       0       0              2     0     0
    client4   --   22104       0       0            525     0     0
    
    Statistics:
    Total blocks: 8
    Data blocks: 1
    Entries: 9
    Used average: 9.000000
    
    iksrv:/ # df -h
    Filesystem            Size  Used Avail Use% Mounted on
    /dev/sda3             4.9G  1.9G  2.7G  42% /
    devtmpfs              4.0G  144K  4.0G   1% /dev
    tmpfs                 4.0G  4.0K  4.0G   1% /dev/shm
    /dev/sda1              98M   21M   73M  23% /boot
    /dev/sdb1              50G  8.2G   39G  18% /srv
    iksrv:/ #
    
    Code:
    iksrv:/proc # cat /proc/user_beancounters
    cat: /proc/user_beancounters: No such file or directory
    
    Code:
    iksrv:/proc # ls -la
    total 4
    dr-xr-xr-x 149 root       root                     0 2011-01-19 14:53 .
    drwxr-xr-x  24 root       root                  4096 2011-01-19 14:53 ..
    dr-xr-xr-x   7 root       root                     0 2011-01-19 14:53 1
    dr-xr-xr-x   7 root       root                     0 2011-01-19 14:53 10
    dr-xr-xr-x   7 root       root                     0 2011-01-19 14:53 11
    dr-xr-xr-x   7 root       root                     0 2011-01-19 14:53 1199
    dr-xr-xr-x   7 root       root                     0 2011-01-19 14:53 12
    dr-xr-xr-x   7 messagebus messagebus               0 2011-01-19 14:53 1209
    dr-xr-xr-x   7 root       root                     0 2011-01-19 14:53 13
    dr-xr-xr-x   7 haldaemon  haldaemon                0 2011-01-19 14:53 1394
    dr-xr-xr-x   7 root       root                     0 2011-01-19 14:53 14
    dr-xr-xr-x   7 root       root                     0 2011-01-19 14:53 1408
    dr-xr-xr-x   7 root       root                     0 2011-01-19 14:53 15
    dr-xr-xr-x   7 root       root                     0 2011-01-19 14:53 1541
    dr-xr-xr-x   7 root       root                     0 2011-01-19 14:53 16
    dr-xr-xr-x   7 root       root                     0 2011-01-19 14:53 17
    dr-xr-xr-x   7 root       root                     0 2011-01-19 14:53 1755
    dr-xr-xr-x   7 root       root                     0 2011-01-19 14:53 1773
    dr-xr-xr-x   7 haldaemon  haldaemon                0 2011-01-19 14:53 1780
    dr-xr-xr-x   7 root       root                     0 2011-01-19 14:53 1786
    dr-xr-xr-x   7 root       root                     0 2011-01-19 14:53 1798
    dr-xr-xr-x   7 root       root                     0 2011-01-19 14:53 18
    dr-xr-xr-x   7 root       root                     0 2011-01-19 14:53 1820
    dr-xr-xr-x   7 root       root                     0 2011-01-19 14:53 1851
    dr-xr-xr-x   7 root       root                     0 2011-01-19 14:53 1860
    dr-xr-xr-x   7 root       root                     0 2011-01-19 14:53 1898
    dr-xr-xr-x   7 root       root                     0 2011-01-19 14:53 19
    dr-xr-xr-x   7 vscan      vscan                    0 2011-01-19 14:53 1903
    dr-xr-xr-x   7 root       root                     0 2011-01-19 14:53 2
    dr-xr-xr-x   7 root       root                     0 2011-01-19 14:53 20
    dr-xr-xr-x   7 root       root                     0 2011-01-19 14:53 21
    dr-xr-xr-x   7 root       root                     0 2011-01-19 14:53 2129
    dr-xr-xr-x   7 root       root                     0 2011-01-19 14:53 2190
    dr-xr-xr-x   7 root       root                     0 2011-01-19 14:53 22
    dr-xr-xr-x   7 root       root                     0 2011-01-19 14:53 2262
    dr-xr-xr-x   7 root       root                     0 2011-01-19 14:53 2297
    dr-xr-xr-x   7 root       root                     0 2011-01-19 14:53 23
    dr-xr-xr-x   7 root       root                     0 2011-01-19 14:53 24
    dr-xr-xr-x   7 root       root                     0 2011-01-19 14:53 2431
    dr-xr-xr-x   7 mysql      mysql                    0 2011-01-19 14:53 2436
    dr-xr-xr-x   7 named      named                    0 2011-01-19 14:53 2437
    dr-xr-xr-x   7 root       root                     0 2011-01-19 14:53 2482
    dr-xr-xr-x   7 vscan      vscan                    0 2011-01-19 14:53 2486
    dr-xr-xr-x   7 vscan      vscan                    0 2011-01-19 14:53 2523
    dr-xr-xr-x   7 vscan      vscan                    0 2011-01-19 14:53 2524
    dr-xr-xr-x   7 ntp        ntp                      0 2011-01-19 14:53 2527
    dr-xr-xr-x   7 root       root                     0 2011-01-19 14:53 2551
    dr-xr-xr-x   7 root       root                     0 2011-01-19 14:53 2554
    dr-xr-xr-x   7 root       root                     0 2011-01-19 14:53 2555
    dr-xr-xr-x   7 root       root                     0 2011-01-19 14:53 2564
    dr-xr-xr-x   7 root       root                     0 2011-01-19 14:53 2653
    dr-xr-xr-x   7 postfix    postfix                  0 2011-01-19 14:53 2687
    dr-xr-xr-x   7 postfix    postfix                  0 2011-01-19 14:53 2688
    dr-xr-xr-x   7 root       root                     0 2011-01-19 14:53 27
    dr-xr-xr-x   7 dovecot    dovecot                  0 2011-01-19 14:53 2713
    dr-xr-xr-x   7 dovecot    dovecot                  0 2011-01-19 14:53 2715
    dr-xr-xr-x   7 root       root                     0 2011-01-19 14:53 2771
    dr-xr-xr-x   7 root       root                     0 2011-01-19 14:53 2781
    dr-xr-xr-x   7 root       root                     0 2011-01-19 14:53 2782
    dr-xr-xr-x   7 root       root                     0 2011-01-19 14:53 2783
    dr-xr-xr-x   7 root       root                     0 2011-01-19 14:53 2784
    dr-xr-xr-x   7 root       root                     0 2011-01-19 14:53 2785
    dr-xr-xr-x   7 root       root                     0 2011-01-19 14:53 2786
    dr-xr-xr-x   7 root       root                     0 2011-01-19 14:53 28
    dr-xr-xr-x   7 root       root                     0 2011-01-19 14:54 2857
    dr-xr-xr-x   7 admin      users                    0 2011-01-19 14:54 2882
    dr-xr-xr-x   7 admin      users                    0 2011-01-19 14:54 2885
    dr-xr-xr-x   7 root       root                     0 2011-01-19 14:53 29
    dr-xr-xr-x   7 root       users                    0 2011-01-19 14:54 2912
    dr-xr-xr-x   7 root       root                     0 2011-01-19 14:54 2917
    dr-xr-xr-x   7 root       root                     0 2011-01-19 14:53 3
    dr-xr-xr-x   7 root       root                     0 2011-01-19 14:53 30
    dr-xr-xr-x   7 postfix    postfix                  0 2011-01-19 14:58 3034
    dr-xr-xr-x   7 root       root                     0 2011-01-19 14:53 31
    dr-xr-xr-x   7 root       root                     0 2011-01-19 14:53 32
    dr-xr-xr-x   7 root       root                     0 2011-01-19 14:53 33
    dr-xr-xr-x   7 root       root                     0 2011-01-19 14:53 34
    dr-xr-xr-x   7 root       root                     0 2011-01-19 14:53 35
    dr-xr-xr-x   7 root       root                     0 2011-01-19 14:53 36
    dr-xr-xr-x   7 root       root                     0 2011-01-19 14:53 364
    dr-xr-xr-x   7 root       root                     0 2011-01-19 14:53 365
    dr-xr-xr-x   7 root       root                     0 2011-01-19 14:53 366
    dr-xr-xr-x   7 root       root                     0 2011-01-19 14:53 372
    dr-xr-xr-x   7 root       root                     0 2011-01-19 14:53 38
    dr-xr-xr-x   7 root       root                     0 2011-01-19 14:53 39
    dr-xr-xr-x   7 root       root                     0 2011-01-19 14:53 4
    dr-xr-xr-x   7 root       root                     0 2011-01-19 14:53 434
    dr-xr-xr-x   7 root       root                     0 2011-01-19 14:53 5
    dr-xr-xr-x   7 root       root                     0 2011-01-19 14:53 529
    dr-xr-xr-x   7 root       root                     0 2011-01-19 14:53 530
    dr-xr-xr-x   7 dovecot    dovecot                  0 2011-01-19 15:17 5874
    dr-xr-xr-x   7 dovecot    dovecot                  0 2011-01-19 15:17 5875
    dr-xr-xr-x   7 root       root                     0 2011-01-19 14:53 6
    dr-xr-xr-x   7 root       root                     0 2011-01-19 14:53 608
    dr-xr-xr-x   7 root       root                     0 2011-01-19 15:20 6594
    dr-xr-xr-x   7 root       root                     0 2011-01-19 15:20 6595
    dr-xr-xr-x   7 wwwrun     www                      0 2011-01-19 15:20 6597
    dr-xr-xr-x   7 wwwrun     www                      0 2011-01-19 15:37 6615
    dr-xr-xr-x   7 wwwrun     www                      0 2011-01-19 15:37 6640
    dr-xr-xr-x   7 root       root                     0 2011-01-19 14:53 68
    dr-xr-xr-x   7 wwwrun     www                      0 2011-01-19 15:37 6805
    dr-xr-xr-x   7 wwwrun     www                      0 2011-01-19 15:37 6825
    dr-xr-xr-x   7 wwwrun     www                      0 2011-01-19 15:37 6832
    dr-xr-xr-x   7 root       root                     0 2011-01-19 14:53 69
    dr-xr-xr-x   7 web1       client1                  0 2011-01-19 15:37 6950
    dr-xr-xr-x   7 root       root                     0 2011-01-19 15:37 6951
    dr-xr-xr-x   7 root       root                     0 2011-01-19 14:53 7
    dr-xr-xr-x   7 root       root                     0 2011-01-19 14:53 70
    dr-xr-xr-x   7 root       root                     0 2011-01-19 14:53 72
    dr-xr-xr-x   7 wwwrun     www                      0 2011-01-19 15:37 7246
    dr-xr-xr-x   7 root       root                     0 2011-01-19 14:53 73
    dr-xr-xr-x   7 wwwrun     www                      0 2011-01-19 15:37 7358
    dr-xr-xr-x   7 root       root                     0 2011-01-19 14:53 74
    dr-xr-xr-x   7 root       root                     0 2011-01-19 14:53 742
    dr-xr-xr-x   7 root       root                     0 2011-01-19 14:53 756
    dr-xr-xr-x   7 root       root                     0 2011-01-19 14:53 79
    dr-xr-xr-x   7 root       root                     0 2011-01-19 14:53 8
    dr-xr-xr-x   7 root       root                     0 2011-01-19 14:53 80
    dr-xr-xr-x   7 root       root                     0 2011-01-19 14:53 811
    dr-xr-xr-x   7 root       root                     0 2011-01-19 14:53 812
    dr-xr-xr-x   7 root       root                     0 2011-01-19 14:53 813
    dr-xr-xr-x   7 wwwrun     www                      0 2011-01-19 15:37 8147
    dr-xr-xr-x   7 wwwrun     www                      0 2011-01-19 15:37 8148
    dr-xr-xr-x   7 dovecot    dovecot                  0 2011-01-19 15:37 8368
    dr-xr-xr-x   7 dovecot    dovecot                  0 2011-01-19 15:37 8369
    dr-xr-xr-x   7 wwwrun     www                      0 2011-01-19 15:37 8371
    dr-xr-xr-x   7 wwwrun     www                      0 2011-01-19 15:37 8480
    dr-xr-xr-x   7 wwwrun     www                      0 2011-01-19 15:37 8493
    dr-xr-xr-x   7 wwwrun     www                      0 2011-01-19 15:37 8495
    dr-xr-xr-x   7 wwwrun     www                      0 2011-01-19 15:37 8496
    dr-xr-xr-x   7 wwwrun     www                      0 2011-01-19 15:37 8497
    dr-xr-xr-x   7 wwwrun     www                      0 2011-01-19 15:37 8498
    dr-xr-xr-x   7 wwwrun     www                      0 2011-01-19 15:37 8501
    dr-xr-xr-x   7 wwwrun     www                      0 2011-01-19 15:37 8502
    dr-xr-xr-x   7 wwwrun     www                      0 2011-01-19 15:37 8506
    dr-xr-xr-x   7 root       root                     0 2011-01-19 15:37 8668
    dr-xr-xr-x   7 root       root                     0 2011-01-19 14:53 9
    dr-xr-xr-x   7 root       root                     0 2011-01-19 14:53 998
    dr-xr-xr-x   9 root       root                     0 2011-01-19 14:53 acpi
    -r--r--r--   1 root       root                     0 2011-01-19 15:37 buddyinfo
    dr-xr-xr-x   5 root       root                     0 2011-01-19 15:37 bus
    -r--r--r--   1 root       root                     0 2011-01-19 15:37 cmdline
    -r--r--r--   1 root       root                 28305 2011-01-19 15:37 config.gz
    -r--r--r--   1 root       root                     0 2011-01-19 15:37 cpuinfo
    -r--r--r--   1 root       root                     0 2011-01-19 15:37 crypto
    -r--r--r--   1 root       root                     0 2011-01-19 15:37 devices
    -r--r--r--   1 root       root                     0 2011-01-19 15:37 diskstats
    -r--r--r--   1 root       root                     0 2011-01-19 15:37 dma
    dr-xr-xr-x   2 root       root                     0 2011-01-19 15:37 driver
    -r--r--r--   1 root       root                     0 2011-01-19 15:37 execdomains
    -r--r--r--   1 root       root                     0 2011-01-19 15:37 fb
    -r--r--r--   1 root       root                     0 2011-01-19 15:37 filesystems
    dr-xr-xr-x   6 root       root                     0 2011-01-19 14:53 fs
    -r--r--r--   1 root       root                     0 2011-01-19 15:37 interrupts
    -r--r--r--   1 root       root                     0 2011-01-19 15:37 iomem
    -r--r--r--   1 root       root                     0 2011-01-19 15:37 ioports
    dr-xr-xr-x  21 root       root                     0 2011-01-19 15:37 irq
    -r--r--r--   1 root       root                     0 2011-01-19 15:37 kallsyms
    -r--------   1 root       root       140737486266368 2011-01-19 15:37 kcore
    dr-xr-xr-x   2 root       root                     0 2011-01-19 15:37 kdb
    -r--r--r--   1 root       root                     0 2011-01-19 15:37 key-users
    -r--------   1 root       root                     0 2011-01-19 14:53 kmsg
    -r--------   1 root       root                     0 2011-01-19 15:37 kpagecount
    -r--------   1 root       root                     0 2011-01-19 15:37 kpageflags
    -rw-r--r--   1 root       root                     0 2011-01-19 15:37 latency_stats
    -r--r--r--   1 root       root                     0 2011-01-19 15:37 loadavg
    -r--r--r--   1 root       root                     0 2011-01-19 15:37 locks
    -r--r--r--   1 root       root                     0 2011-01-19 14:53 mdstat
    -r--r--r--   1 root       root                     0 2011-01-19 15:37 meminfo
    -r--r--r--   1 root       root                     0 2011-01-19 15:37 misc
    -r--r--r--   1 root       root                     0 2011-01-19 15:37 modules
    lrwxrwxrwx   1 root       root                    11 2011-01-19 15:37 mounts -> self/mounts
    dr-xr-xr-x   3 root       root                     0 2011-01-19 15:37 mpt
    -rw-r--r--   1 root       root                     0 2011-01-19 15:37 mtrr
    lrwxrwxrwx   1 root       root                     8 2011-01-19 15:37 net -> self/net
    -r--r--r--   1 root       root                     0 2011-01-19 15:37 pagetypeinfo
    -r--r--r--   1 root       root                     0 2011-01-19 15:37 partitions
    -r--------   1 root       root                     0 2011-01-19 15:37 reserve_info
    -r--r--r--   1 root       root                     0 2011-01-19 15:37 sched_debug
    -r--r--r--   1 root       root                     0 2011-01-19 15:37 schedstat
    dr-xr-xr-x   4 root       root                     0 2011-01-19 15:37 scsi
    lrwxrwxrwx   1 root       root                    64 2011-01-19 14:53 self -> 8668
    -rw-r--r--   1 root       root                     0 2011-01-19 15:37 slabinfo
    -r--r--r--   1 root       root                     0 2011-01-19 15:37 softirqs
    -r--r--r--   1 root       root                     0 2011-01-19 15:37 splash
    -r--r--r--   1 root       root                     0 2011-01-19 15:37 stat
    -r--r--r--   1 root       root                     0 2011-01-19 15:37 swaps
    dr-xr-xr-x   1 root       root                     0 2011-01-19 14:53 sys
    --w-------   1 root       root                     0 2011-01-19 15:37 sysrq-trigger
    dr-xr-xr-x   2 root       root                     0 2011-01-19 15:37 sysvipc
    -r--r--r--   1 root       root                     0 2011-01-19 15:37 timer_list
    -rw-r--r--   1 root       root                     0 2011-01-19 15:37 timer_stats
    dr-xr-xr-x   4 root       root                     0 2011-01-19 15:37 tty
    -r--r--r--   1 root       root                     0 2011-01-19 15:37 uptime
    -r--r--r--   1 root       root                     0 2011-01-19 15:37 version
    -r--------   1 root       root                     0 2011-01-19 15:37 vmallocinfo
    -r--r--r--   1 root       root                     0 2011-01-19 15:37 vmstat
    -r--r--r--   1 root       root                     0 2011-01-19 15:37 zoneinfo
    
    p.s. I can normally upload stuff to some other website on same server.
     
  4. IKShadow

    IKShadow New Member

    /bump

    Today I managed to upload few files and now iam again stuck with disk quota exceeded.
     
  5. till

    till Super Moderator

    Check the ftp user settings and make sure that you have "-1" as quota value for the ftp user.
     
  6. IKShadow

    IKShadow New Member

    YOU ROCK !!!

    problem fixed .. omg i completely forgot to check ftp user settings.

    p.s. Any suggestion how to fix "open_basedir restriction in effect."
     
  7. till

    till Super Moderator

    The error message conatins a part "... File() ..." which should contain the file name that php tries to open. Is there really no filename shown or did you remove it from the error message?
     
  8. IKShadow

    IKShadow New Member

    I did not remove anything its blank

    Few more examples.
    Code:
    [Thu Jan 20 09:51:13 2011] [error] [client 114.80.93.71] PHP Warning:  require(): open_basedir restriction in effect. File() is not within the allowed path(s): (/srv/www/clients/client1/web1/web:/srv/www/clients/client1/web1/tmp:/var/www/ajki.net/web:/srv/www/ajki.net/web:/usr/share/php5:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin) in /srv/www/clients/client1/web1/web/wp-settings.php on line 123
    [Thu Jan 20 09:51:13 2011] [error] [client 114.80.93.71] PHP Warning:  require(): open_basedir restriction in effect. File() is not within the allowed path(s): (/srv/www/clients/client1/web1/web:/srv/www/clients/client1/web1/tmp:/var/www/ajki.net/web:/srv/www/ajki.net/web:/usr/share/php5:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin) in /srv/www/clients/client1/web1/web/wp-settings.php on line 124
    [Thu Jan 20 09:51:13 2011] [error] [client 114.80.93.71] PHP Warning:  require(): open_basedir restriction in effect. File() is not within the allowed path(s): (/srv/www/clients/client1/web1/web:/srv/www/clients/client1/web1/tmp:/var/www/ajki.net/web:/srv/www/ajki.net/web:/usr/share/php5:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin) in /srv/www/clients/client1/web1/web/wp-settings.php on line 125
    [Thu Jan 20 09:51:13 2011] [error] [client 114.80.93.71] PHP Warning:  require(): open_basedir restriction in effect. File() is not within the allowed path(s): (/srv/www/clients/client1/web1/web:/srv/www/clients/client1/web1/tmp:/var/www/ajki.net/web:/srv/www/ajki.net/web:/usr/share/php5:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin) in /srv/www/clients/client1/web1/web/wp-includes/script-loader.php on line 25
    [Thu Jan 20 09:51:13 2011] [error] [client 114.80.93.71] PHP Warning:  require(): open_basedir restriction in effect. File() is not within the allowed path(s): (/srv/www/clients/client1/web1/web:/srv/www/clients/client1/web1/tmp:/var/www/ajki.net/web:/srv/www/ajki.net/web:/usr/share/php5:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin) in /srv/www/clients/client1/web1/web/wp-includes/script-loader.php on line 28
    [Thu Jan 20 09:51:13 2011] [error] [client 114.80.93.71] PHP Warning:  require(): open_basedir restriction in effect. File() is not within the allowed path(s): (/srv/www/clients/client1/web1/web:/srv/www/clients/client1/web1/tmp:/var/www/ajki.net/web:/srv/www/ajki.net/web:/usr/share/php5:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin) in /srv/www/clients/client1/web1/web/wp-includes/script-loader.php on line 31
    [Thu Jan 20 09:51:13 2011] [error] [client 114.80.93.71] PHP Warning:  require(): open_basedir restriction in effect. File() is not within the allowed path(s): (/srv/www/clients/client1/web1/web:/srv/www/clients/client1/web1/tmp:/var/www/ajki.net/web:/srv/www/ajki.net/web:/usr/share/php5:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin) in /srv/www/clients/client1/web1/web/wp-includes/script-loader.php on line 34
    [Thu Jan 20 09:51:13 2011] [error] [client 114.80.93.71] PHP Warning:  require(): open_basedir restriction in effect. File() is not within the allowed path(s): (/srv/www/clients/client1/web1/web:/srv/www/clients/client1/web1/tmp:/var/www/ajki.net/web:/srv/www/ajki.net/web:/usr/share/php5:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin) in /srv/www/clients/client1/web1/web/wp-includes/script-loader.php on line 37
    [Thu Jan 20 09:51:13 2011] [error] [client 114.80.93.71] PHP Warning:  require(): open_basedir restriction in effect. File() is not within the allowed path(s): (/srv/www/clients/client1/web1/web:/srv/www/clients/client1/web1/tmp:/var/www/ajki.net/web:/srv/www/ajki.net/web:/usr/share/php5:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin) in /srv/www/clients/client1/web1/web/wp-settings.php on line 126
    [Thu Jan 20 09:51:13 2011] [error] [client 114.80.93.71] PHP Warning:  require(): open_basedir restriction in effect. File() is not within the allowed path(s): (/srv/www/clients/client1/web1/web:/srv/www/clients/client1/web1/tmp:/var/www/ajki.net/web:/srv/www/ajki.net/web:/usr/share/php5:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin) in /srv/www/clients/client1/web1/web/wp-settings.php on line 127
    [Thu Jan 20 09:51:13 2011] [error] [client 114.80.93.71] PHP Warning:  require(): open_basedir restriction in effect. File() is not within the allowed path(s): (/srv/www/clients/client1/web1/web:/srv/www/clients/client1/web1/tmp:/var/www/ajki.net/web:/srv/www/ajki.net/web:/usr/share/php5:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin) in /srv/www/clients/client1/web1/web/wp-settings.php on line 128
    [Thu Jan 20 09:51:13 2011] [error] [client 114.80.93.71] PHP Warning:  require(): open_basedir restriction in effect. File() is not within the allowed path(s): (/srv/www/clients/client1/web1/web:/srv/www/clients/client1/web1/tmp:/var/www/ajki.net/web:/srv/www/ajki.net/web:/usr/share/php5:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin) in /srv/www/clients/client1/web1/web/wp-settings.php on line 129
    [Thu Jan 20 09:51:13 2011] [error] [client 114.80.93.71] PHP Warning:  require(): open_basedir restriction in effect. File() is not within the allowed path(s): (/srv/www/clients/client1/web1/web:/srv/www/clients/client1/web1/tmp:/var/www/ajki.net/web:/srv/www/ajki.net/web:/usr/share/php5:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin) in /srv/www/clients/client1/web1/web/wp-settings.php on line 130
    [Thu Jan 20 09:51:13 2011] [error] [client 114.80.93.71] PHP Warning:  require(): open_basedir restriction in effect. File() is not within the allowed path(s): (/srv/www/clients/client1/web1/web:/srv/www/clients/client1/web1/tmp:/var/www/ajki.net/web:/srv/www/ajki.net/web:/usr/share/php5:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin) in /srv/www/clients/client1/web1/web/wp-settings.php on line 131

    Code:
    /var/www/
    /var/lib/phpmyadmin
    /usr/share/phpmyadmin
    
    does not exist on my server. Not sure where are those path set.

    Thinking about just making sym links but would rather fix them then quickhack.
     
  9. till

    till Super Moderator

    Thats ok and not related to the problem.

    Please post the lines 126-131 from the file /srv/www/clients/client1/web1/web/wp-settings.php
     
  10. IKShadow

    IKShadow New Member

    Code:
    require( ABSPATH . WPINC . '/taxonomy.php' );
    require( ABSPATH . WPINC . '/update.php' );
    require( ABSPATH . WPINC . '/canonical.php' );
    require( ABSPATH . WPINC . '/shortcodes.php' );
    require( ABSPATH . WPINC . '/media.php' );
    require( ABSPATH . WPINC . '/http.php' );
    p.s. Checked for files and they are there.
     
  11. till

    till Super Moderator

    please add a line:

    die(ABSPATH . WPINC . '/taxonomy.php');

    before the first line. I guess that either the ABSPATH or WPINC constant is set to a wrong value which points to a directory outside of the website.

    Additionally, is this a fresh wordpress install or did you move the installation from another server or website?
     
  12. IKShadow

    IKShadow New Member

    done and path is correct
    Code:
    /srv/www/clients/client1/web1/web/wp-includes/taxonomy.php

    p.s. I noticed that on this website I dont see files in log folder ( using FTP ) but they are there if i check in console.
     
  13. till

    till Super Moderator

    Ok. Please check these settings for the website:

    1) suexec: enabled.
    2) php mode: php-fcgi
    3) All files in and ist subfolders /srv/www/clients/client1/web1/web belong to user: web1 and group client1. To ensure that, run:

    chown -R web1:client1 /srv/www/clients/client1/web1/web
     
  14. IKShadow

    IKShadow New Member

    suExec was disabled

    php mode is fast cgi

    ls -la
    Code:
    drwxr-x--x 6 web1 client1 4096 2011-01-19 14:52 web1
    drwxr-x--x 6 web2 client1 4096 2011-01-20 00:30 web2
    drwxr-x--x 6 web5 client1 4096 2011-01-20 16:02 web5
    Same error.
     
    Last edited: Jan 20, 2011
  15. till

    till Super Moderator

    The ls -la is from the wrong directory, as the folders there are always owned by the correct users. Please run the command as I suggested above and then wait a few minutes until your system is reconfigured to use suexec as this is required to run wordpress. Without suexec, you will get access errors as php is run then under a wrong user.
     

Share This Page