Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-04-28, 22:45:40

Author Topic: Getting Permission denied on every command and request  (Read 5867 times)

0 Members and 1 Guest are viewing this topic.

Offline tinu

  • Valuable Member
  • *
  • Posts: 76
  • Karma: +0/-0
    • View Profile
Hello mustafa

I am getting permission denied error on every kloxo command i am giving to my server.

/script/fixwebmail
/script/fixvpop
/etc/init.d/httpd restart
/etc/init.d/named restart

[roo@**~]# /script/fixvpop
-bash: /script/fixvpop: Permission denied

i am using ovh server.

Please help me fix this permission problem.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Getting Permission denied on every command and request
« Reply #1 on: 2015-08-20, 12:11:01 »
Need 'sh /script/fixwebmail' instead '/script/fixwebmail' alone, except you change all script files permissions to 755.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline tinu

  • Valuable Member
  • *
  • Posts: 76
  • Karma: +0/-0
    • View Profile
Re: Getting Permission denied on every command and request
« Reply #2 on: 2015-08-20, 12:14:50 »
still getting permission denied. How do i change file permissions. no i didnt change any file permissions. I installed on a fresh installation.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline tinu

  • Valuable Member
  • *
  • Posts: 76
  • Karma: +0/-0
    • View Profile
Re: Getting Permission denied on every command and request
« Reply #4 on: 2015-08-20, 12:39:12 »
step by step fresh install. yes.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Getting Permission denied on every command and request
« Reply #5 on: 2015-08-20, 12:56:23 »
Inform here 'dir -l /script; dir -l /usr/local/lxlabs/kloxo; sh /script/sysinfo'
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline tinu

  • Valuable Member
  • *
  • Posts: 76
  • Karma: +0/-0
    • View Profile
Re: Getting Permission denied on every command and request
« Reply #6 on: 2015-08-20, 13:04:39 »
[root@* ~]# dir -l /script
lrwxrwxrwx 1 root root 31 Aug 20 06:35 /script -> /usr/local/lxlabs/kloxo/pscript

[root@* ~]# dir -l /usr/local/lxlabs/kloxo
total 56
drwxr-xr-x  7 lxlabs lxlabs 4096 Aug 20 06:30 bin
drwsr-sr-x  2 lxlabs lxlabs 4096 Aug 20 06:30 cexe
drwx------  8 lxlabs lxlabs 4096 Aug 20 06:36 etc
drwxr-xr-x 41 lxlabs lxlabs 4096 Aug 20 06:30 file
drwxr-xr-x 15 lxlabs lxlabs 4096 Aug 20 06:35 httpdocs
drwxr-xr-x  2 lxlabs lxlabs 4096 Aug 20 09:13 init
drwxr-xr-x  2 lxlabs lxlabs 4096 Aug 20 06:30 install
drwx------  2 lxlabs lxlabs 4096 Aug 20 06:55 log
drwxr-xr-x  2 lxlabs root   4096 Aug 20 11:04 pid
drwxr-xr-x  3 lxlabs lxlabs 4096 Aug 20 06:30 pscript
drwxr-xr-x  2 lxlabs lxlabs 4096 Aug 20 06:30 RELEASEINFO
drwxr-xr-x  2 lxlabs lxlabs 4096 Aug 20 06:30 sbin
drwxr-xr-x  2 lxlabs lxlabs 4096 Aug 20 09:28 serverfile
drwx------  2 lxlabs root   4096 Aug 20 09:50 session


[root@* ~]# sh /script/sysinfo

A. Kloxo-MR: 7.0.0.b-2015081601
   - Web: hiawatha-9.14.0-f.6.mr.el6.x86_64
   - PHP: php54s-5.4.44-1.ius.el6 (cgi mode)
B. Plateform:
   - OS: CentOS release 6.7 (Final) x86_64
   - Hostname: ****.ovh.net
C. Services:
   1. MySQL: MariaDB-server-10.0.21-1.el6.x86_64
   2. PHP:
      - Branch: php54-cli-5.4.44-1.ius.el6.x86_64
      - Used: --Use PHP Branch--
   3. Httpd: httpd24u-2.4.16-2.ius.el6.x86_64
      - PHP Type: php-fpm_event
   4. Lighttpd: --uninstalled--
   5. Hiawatha: --unused--
   6. Nginx: --uninstalled--
   7. Cache: --uninstalled--
   8. Dns: bind-9.9.7-1.mr.el6.x86_64
   9. Qmail: qmail-toaster-1.03-1.3.55.mr.el6.x86_64
      - with: courier-imap-toaster-4.1.2-1.3.18.mr.el6.x86_64
D. Memory:
                total       used       free     shared    buffers     cached
   Mem:          3736       1409       2327          3         45        876
   -/+ buffers/cache:        486       3249
   Swap:            0          0          0
E. Disk Space:
   Filesystem      Size  Used Avail Use% Mounted on
   /dev/vda1        20G  3.3G   16G  18% /

Offline tinu

  • Valuable Member
  • *
  • Posts: 76
  • Karma: +0/-0
    • View Profile
Re: Getting Permission denied on every command and request
« Reply #7 on: 2015-08-20, 13:06:50 »
Now working fine. Thanks Mustafa. You rock as always  :)

is there anything i should do to avoid this problem in future.

 


Top 4 Global Search Engines:    Google    Bing    Baidu    Yahoo
Click Here

Page created in 0.062 seconds with 19 queries.

web stats analysis