No packages in DirectAdmin

JuLa

Verified User
Joined
Mar 13, 2009
Messages
8
I tried to add a new site in DA but somehow i cant add or change packages.

The ones that i can see doesn't contain anything.

Trying to add a new one result in:
Code:
Error with package
 
Details

Error writing package file

Probably something wrong with permissions.. But how to fix this?

BR
JuLa
 
Seems like a permission problem what is in the directadmin error logs?

/var/log/directadmin/error.log
 
Seems like a permission problem what is in the directadmin error logs?

/var/log/directadmin/error.log

Here comes todays errors..

Code:
2009:04:10-18:00:19: Error reading from 81.xxx.xx.x: 
2009:04:10-18:04:41: Error reading from 81.xxx.xx.x: 
2009:04:10-18:09:29: File ./data/users/xxxxxxxx/user.usage has been written to after this process read it.  Not going to overwrite it.
2009:04:10-18:09:29: File ./data/users/xxxxxxxx/reseller.usage has been written to after this process read it.  Not going to overwrite it.
2009:04:10-18:10:51: Error reading from 81.xxx.xx.x: 
2009:04:10-18:12:18: Socket write error: fd is connected to a pipe or socket whose reading end is closed.  When this  happens the writing process will also receive a SIG_PIPE signal.  (Thus, the write return value is seen only if  the program catches, blocks or ignores this signal.)
2009:04:10-18:12:18: Error reading from 81.xxx.xx.x: 
2009:04:10-18:20:27: Error reading from 81.xxx.xx.x: 
2009:04:10-18:20:27: Socket write error: fd is connected to a pipe or socket whose reading end is closed.  When this  happens the writing process will also receive a SIG_PIPE signal.  (Thus, the write return value is seen only if  the program catches, blocks or ignores this signal.)
2009:04:10-18:20:27: Error reading from 81.xxx.xx.x:

BR
JuLa
 
Last edited:
Solved.. File Permission error.

Found this thread.

http://www.directadmin.com/forum/archive/index.php/t-12456.html.

jmstacey03-14-2006, 08:12 AM
The file it's trying to write is probably in /usr/local/directadmin/data/users/reseller_username

packages/ and packages.list

Here's a snippet from one of my resellers:
drwx--S--- 2 diradmin diradmin 4096 2006-02-22 03:01 packages
-rw------- 1 diradmin diradmin 53 2005-12-27 01:03 packages.list

So i used Chmod 2700 packages in both the reseller and admin directories.

Now it works fine. Can add new Packages and edit the blank ones ;-)

BR
JuLa
 
Back
Top