View Full Version : Problem with vqadmin "Can not make domains directory&qu
Anonymous
01-05-2004, 05:01 PM
Hi,
when I want to add a new domain I get "Can not make domains directory"
What goes wring ?
Thank you
Anonymous
01-05-2004, 05:29 PM
OK, I got it. Vqadmin.cgi needed more rights (setuid bit)
karlsen
06-26-2005, 02:46 PM
What settings should Vqadmin.cgi have??
bluesheet
06-27-2005, 05:50 AM
What settings should Vqadmin.cgi have??
Dear, I also have the same problem on using vqadmin.
the following is the listing of vqadmin.cgi user right:
root@localhost:/var/www/cgi-bin/vqadmin# ls -la
drwxr-xr-x 3 vpopmail vchkpw 168 2005-06-25 12:31 ./
drwxr-xr-x 3 vpopmail vchkpw 104 2005-06-27 11:31 ../
-rw-r--r-- 1 nobody vchkpw 114 2005-06-25 10:22 .htaccess
drwxr-xr-x 2 vpopmail vchkpw 1192 2005-06-25 10:22 html/
-rw-r--r-- 1 vpopmail vchkpw 864 2005-06-25 10:22 vqadmin.acl
-rwxr-xr-x 1 vpopmail vchkpw 1035276 2005-06-25 10:22 vqadmin.cgi*
And when I using "View Domain", it will have:
List Domains: could not open assign file
What's going on?? Please give me some suggestions. Thanks.
EqUaTe
06-27-2005, 10:13 AM
Might I suggest you check the permissions of /home/vpopmail ? This is where the domains directory is stored. It should be owned by user vpopmail, group vchkpw
Most files should not have group permissions.
karlsen
06-27-2005, 03:52 PM
root@arwen:/var/www/cgi-bin/vqadmin# ls -l
total 86
drwxrwxrwx 2 vpopmail vchkpw 1192 Jun 15 00:42 html
-rwxrwxrwx 1 vpopmail vchkpw 864 Jun 15 00:42 vqadmin.acl
-rwxrwxrwx 1 vpopmail vchkpw 81028 Jun 15 00:42 vqadmin.cgi
That did not fix the error at my place.
I have chmod 777 all the files...
Any suggestions?
EqUaTe
07-08-2005, 09:48 PM
Assuming you haven't solved this yet, can you do an ls -l /home/vpopmail and compare it to this please:
pegasus:~# ls -l /home/vpopmail
total 24
drwxr-xr-x 2 vpopmail vchkpw 4096 Jul 6 21:58 bin
drwxr-xr-x 4 vpopmail vchkpw 4096 Jul 6 21:58 doc
drwx------ 4 vpopmail vchkpw 4096 Jul 6 22:18 domains
drwxr-xr-x 2 vpopmail vchkpw 4096 Jul 6 21:58 etc
drwxr-xr-x 2 vpopmail vchkpw 4096 Jul 6 21:58 include
drwxr-xr-x 2 vpopmail vchkpw 4096 Jul 6 21:58 lib
In particular, note the domains folder...
karlsen
07-14-2005, 08:13 PM
I have not got the time to look more into the case, but a quick command gives me the same output:
root@arwen:/home/vpopmail# ls -l /home/vpopmail/
total 4
drwxr-xr-x 2 vpopmail vchkpw 696 Jun 26 17:49 bin
drwxr-xr-x 4 vpopmail vchkpw 96 Jun 15 00:27 doc
drwx------ 2 vpopmail vchkpw 80 Jun 26 18:01 domains
drwxr-xr-x 2 vpopmail vchkpw 160 Jun 15 00:29 etc
drwxr-xr-x 2 vpopmail vchkpw 200 Jun 26 17:49 include
drwxr-xr-x 2 vpopmail vchkpw 80 Jun 26 17:49 lib
drwxr-xr-x 3 vpopmail vchkpw 96 Jun 26 05:37 qtrap
root@arwen:/home/vpopmail#
EqUaTe
07-15-2005, 11:01 AM
ls -l /var/qmail/
ls -l /var/qmail/users
If there is no assign file in the latter, this is the problem - and means you've done something differently from the QMR instructions somewhere..
karlsen
07-15-2005, 02:36 PM
root@arwen:/# ls -l /var/qmail/
total 10
drwxr-sr-x 2 alias qmail 192 Jun 20 21:22 alias
drwxr-xr-x 2 root qmail 1504 Jun 26 05:32 bin
drwxr-xr-x 2 root qmail 288 Jun 12 22:03 boot
drwxr-xr-x 2 root qmail 504 Jun 26 18:01 control
drwxr-xr-x 2 root qmail 752 Jun 12 22:03 doc
drwxr-xr-x 10 root qmail 240 Jun 12 22:03 man
drwxr-x--- 11 qmailq qmail 264 Jun 12 22:03 queue
-rwxr-xr-x 1 root root 107 Jun 20 21:18 rc
drwxr-xr-x 5 root root 144 Jun 12 21:48 supervise
drwxr-xr-x 2 root qmail 128 Jun 26 18:01 users
root@arwen:/# ls -l /var/qmail/users
total 8
-rw-r--r-- 1 root root 2 Jun 26 18:01 assign
-rw------- 1 root root 0 Jun 26 18:01 assign.lock
-rw-r--r-- 1 root root 2072 Jun 26 18:01 cdb
root@arwen:/#
megabyte
10-04-2005, 11:49 PM
I was having similar problems.
Turned off selinux
vi /etc/selinux/config
changed this -> SELINUX=permissive
Seems to behave now.
M.
earnett
10-21-2005, 10:52 AM
Yes...I had the same problem...
"Can not make domains directory"
I found out that I had not disabled SElinux.
this fixed my problem!
:grin:
nefarious
11-22-2005, 11:49 PM
Yes...I had the same problem...
"Can not make domains directory"
I found out that I had not disabled SElinux.
this fixed my problem!
:grin:
I have SUexec enabled on my apache (FC4) installation because I'm running some apps that require it. The only way I could get the vqadmin.cgi script to run (after following the directions to a 'T') was to chown . and vqadmin.cgi to the user matching the SuexecUserGroup for that VirtualHost otherwise I was getting a mismatch and suexec was killing the script. I was able to authenticate with the .htaccess and .passwd file, but now I have the same symptoms as everyone was showing here with SElinux enabled. I have disabled SElinux already.
Any ideas? I searched all over the place and it doesn't seem that anyone is using this with SUexec, or am I just being a dense noob? ;-)
-nef
fyfey_debian_user
11-27-2005, 11:29 AM
I was having the same problem that I could not create new domains using vqadmin.
I accidently overwrote the permissions for my cgi-bin.
I found the fix for it though :)
If you still have your /downloads/qmailrocks/vqadmin-2.3.6 intact with the config still there, all you need to do is run make && make install-strip
This just sets the permissions and doesn't overwrite the .htaccess file!
If you didnt have your config settings still, you'd have to run ./configure --enable-cgibindir=/path/to/your/cgi-bin --enable-htmldir=/path/to/your/html/directory first.
Hope this helps someone!
"re-make" works for me :D
hope there won't be any more problems :?
vBulletin® v3.6.8, Copyright ©2000-2010, Jelsoft Enterprises Ltd.