The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

/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,577
    Likes Received:
    40
    Trophy Points:
    48
    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
     
  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:
    10
    Trophy Points:
    18
    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.
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    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.
     
Loading...

Share This Page