collectinfo.pl: Permission Denied

3 posts / 0 new
Last post
#1 Wed, 07/02/2008 - 06:33
Clay

collectinfo.pl: Permission Denied

My Virtualmin install suddenly started throwing a

Permission denied

error every 5 minutes when it runs the /usr/local/etc/webmin/virtual-server/collectinfo.pl via cron job.

I also get the error running it directly (as root) from the command line.

Any idea what could cause this? It gives me no more info than "Permission denied".

Wed, 07/02/2008 - 18:20
tauvix

Please log into the shell of your server as root and perform the following command:

<div class='quote'>ls -l /usr/local/etc/webmin/virtual-server/collectinfo.pl</div>

Then post the results.

Thu, 01/01/2009 - 03:25
guest

hi

refreshing topic

i have also this problem
[code:1]

Received: by 1.ex.com (Postfix, from userid 0)
id CCA0450845; Thu, 1 Jan 2009 13:18:03 +0000 (UTC)
From: root@1.ex.com (Cron Daemon)
To: root@1.ex.com
Subject: Cron &lt;root@1&gt; /usr/local/etc/webmin/virtual-server/collectinfo.pl
X-Cron-Env: &lt;SHELL=/bin/sh&gt;
X-Cron-Env: &lt;HOME=/root&gt;
X-Cron-Env: &lt;PATH=/usr/bin:/bin&gt;
X-Cron-Env: &lt;LOGNAME=root&gt;
X-Cron-Env: &lt;USER=root&gt;
Message-Id: &lt;20090101131803.CCA0450845@1.ex.com&gt;
Date: Thu, 1 Jan 2009 13:18:02 +0000 (UTC)

: Permission denied

[/code:1]

ls -l results:
[code:1]ls -l /usr/local/etc/webmin/virtual-server/collectinfo.pl
total 32
-rw-r--r-- 1 root bin 317 Dec 16 22:19 bw-template
-rw-r--r-- 1 root bin 5833 Jan 1 13:13 collected
-rwxr-xr-x 1 root bin 380 Dec 16 22:19 collectinfo.pl
-rwx--x--x 1 root bin 3458 Dec 16 22:19 config
-rw-r--r-- 1 root bin 1027 Dec 16 22:19 domain-template
-rw-r--r-- 1 root bin 639 Dec 16 22:19 framefwd-template
drwx------ 2 root bin 512 Jan 1 13:13 history
-rw-r--r-- 1 root bin 16 Dec 16 22:19 installtimes
-rw-r--r-- 1 root bin 391 Dec 16 22:19 local-template
-rw-r--r-- 1 root bin 0 Dec 16 22:19 map.alias
-rw-r--r-- 1 root bin 0 Dec 16 22:19 map.dom
-rw-r--r-- 1 root bin 0 Dec 16 22:19 map.gid
-rw-r--r-- 1 root bin 0 Dec 16 22:19 map.parent
-rw-r--r-- 1 root bin 0 Dec 16 22:19 map.reseller
-rw-r--r-- 1 root bin 0 Dec 16 22:19 map.subdom
-rw-r--r-- 1 root bin 0 Dec 16 22:19 map.user
-rw-r--r-- 1 root bin 866 Dec 16 22:19 subdomain-template
-rw-r--r-- 1 root bin 416 Dec 16 22:19 update-template
-rw-r--r-- 1 root bin 380 Dec 16 22:19 user-template
-rw-r--r-- 1 root bin 359 Dec 16 22:19 warnbw-template
[/code:1]

thx for any information

guest

Topic locked