Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

/scripts/<all script permission denied>

Discussion in 'General Discussion' started by erdoganuguz, Aug 5, 2013.

  1. erdoganuguz

    erdoganuguz Registered

    Joined:
    Aug 5, 2013
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    hi.
    i've got a problem.

    my old server 212.175.xxx.xxx
    my new server 212.185.xxx.xxx

    my old server scripts not run.

    example 1 :
    /scripts/chownpublichtmls (enter)
    -bash: /scripts/chownpublichtmls: Permisson denied.

    example 2 :
    /scripts/pkgacct useraccount1
    -bash/scripts/pkgacct: Permisson denied.

    What should I do?
     
  2. dalem

    dalem Well-Known Member
    PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,701
    Likes Received:
    72
    Trophy Points:
    203
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    1. are you logged in as root?
    2. check your permissions the 2 scripts should be set to 755
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. erdoganuguz

    erdoganuguz Registered

    Joined:
    Aug 5, 2013
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    Yes, I logged on with root.

    Code:
    yum install update
    rpmdb: /var/lib/rpm/__db.001: No space left on device
    error: db3 error(28) from dbenv->open: No space left on device
    error: cannot open Packages index using db3 - No space left on device (28)
    error: cannot open Packages database in /var/lib/rpm
    CRITICAL:yum.main:
    
    Error: rpmdb open failed
    
    Code:
    root@server1 [/home]# df -h
    Filesystem            Size  Used Avail Use% Mounted on
    /dev/mapper/vg_server1-lv_root
                           50G   39G  8.7G  82% /
    tmpfs                 939M     0  939M   0% /dev/shm
    /dev/sda1             485M   53M  407M  12% /boot
    /dev/mapper/vg_server1-lv_home
                          144G   42G   95G  31% /home
    root@server1 [/home]#
    
    
     
  4. quietFinn

    quietFinn Well-Known Member

    Joined:
    Feb 4, 2006
    Messages:
    998
    Likes Received:
    11
    Trophy Points:
    168
    Location:
    Finland
    cPanel Access Level:
    Root Administrator
    Keep doing that and you get banned.

    From the errors and because there is space left I would guess that the root partition is in read-only mode.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,378
    Likes Received:
    1,857
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello :)

    Check to ensure there are free inodes available. EX:

    Code:
    df -i
    Then, check to see if the partition where /scripts is located is not in read-only mode. EX:

    Code:
    touch /scripts/cptest123
    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice