Sent: Saturday, August 30, 2003 5:16 PM
Subject: Re: [qmailadmin] Error: could not change to directory revisited

On Saturday, August 30, 2003, at 12:59 AM, <[EMAIL PROTECTED]> wrote:
What does your /var/qmail/users/assign file look like? What are its permissions?

Normally, that error message would include the directory name for the domain. For some reason, vpopmail is failing to return the correct directory (it's empty).

What does the entry (for the domain in question) in users/assign look like? Does it include the proper directory name for the domain?

--
Tom Collins
[EMAIL PROTECTED]
http://sniffter.com/ - info on the Sniffter hand-held Network Tester
 
Good advice Tom,
 
ok the domain is "projecthugo.co.uk" although this appears to be happening on all domains
 
the assign file contains this entry for projecthugo (the others look practially the same too though)
 
+projecthugo.co.uk-:projecthugo.co.uk:89:89:/home/vpopmail/domains/projecthugo.co.uk:-::
 
UID and GID 89 looks like this in /etc/passwd and /etc/group
 
vpopmail:x:89:89:Vpopmail:/home/vpopmail:/bin/false
 
vchkpw:x:89:
 
so no problems there
 
The domain /home/vpopmail/domains/projecthugo.co.uk looks good too.
 
 ls -la /home/vpopmail/domains/projecthugo.co.uk
total 44
drwxr-x---    6 vpopmail vchkpw       4096 Apr 30 15:38 .
drwxr-x---    8 vpopmail vchkpw       4096 Jul 17 14:14 ..
-rw-------    1 vpopmail vchkpw         55 Apr 23 13:24 .qmail-default
-rw-------    1 vpopmail vchkpw         55 Apr 24 11:34 .qmail-hostmaster
-rw-------    1 vpopmail vchkpw         55 Apr 24 11:34 .qmail-info
-rw-------    1 vpopmail vchkpw         55 Apr 24 11:33 .qmail-matthew
-rw-------    1 vpopmail vchkpw         55 Apr 24 11:34 .qmail-webmaster
-rw-------    1 vpopmail vchkpw          0 Apr 23 13:24 .qmailadmin-limits
drwxr-x---    3 vpopmail vchkpw       4096 Apr 24 11:33 matt
drwxr-x---    3 vpopmail vchkpw       4096 Apr 23 13:25 mysqldba
drwxr-x---    3 vpopmail vchkpw       4096 Apr 23 13:24 postmaster
drwxr-x---    3 vpopmail vchkpw       4096 Apr 30 15:38 test
 
no problems there then.
 
Any other suggestions ?
 
Thanks,
 
Matt.
 
 
Any other input ?
 
 
 
Ok guys, I have reinstalled vpopmail - and tested the domain functions adding / deleting / users etc etc, on the command line - all is well. I can do admin functions with vqadmin. I have re-installed qmailadmin and I still get the problem "Could not change directory".
 
I am no further to debugging this and I am running out of options.
 
I have no idea why this just stopped working. Something must have changed but I can't figure out what.
 
I am open to any suggestions now ???
 
Thanks,
 
MAtt.
 
 
 

Reply via email to