View Full Version : New clietns do not work
kird03
18th June 2009, 17:06
I installed ISPconfig3 on CentOS 5.3 with most recent howto on howto forge. Most seems to work, except the following:
When I add a new client, the client is made in ISPConfig.
Then I login with the credentials of this new user, and add an FTP user in order to start FTP'ing to the website.
FTP user credentials are not accepted however...
When I look into phpmyadmin i see the following path for client and client's FTP user:
Documentroot: /var/www/clients/client2/web2
When I SSH to the server and look in the www area i find no folder like clients. So I expect this to be the error.
Why is the user not created correctly on the server? or is something else wrong?
thanks for any help!
till
18th June 2009, 17:19
Take a look at the syslog in the monitor to check if there are any errors.
kird03
18th June 2009, 17:43
They syslog is completly empty.
The joblog has this entry:
2009-06-18 00:41 apollo.youngwebsolutions.info Insert ftp_user
till
18th June 2009, 17:58
Please post the output of:
ls -la /var/www
2009-06-18 00:41 apollo.youngwebsolutions.info Insert ftp_user
does this entry go away after a few minutes and what is the status of this entry?
kird03
18th June 2009, 18:12
output of ls -la /var/www:
[root@apollo html]#ls -la /var/www
total 32
drwxr-xr-x 8 root root 4096 Jun 14 18:38 .
drwxr-xr-x 27 root root 4096 Jun 14 18:38 ..
drwxr-xr-x 2 root root 4096 May 28 12:52 cgi-bin
drwxr-xr-x 3 root root 4096 Jun 12 20:07 error
drwxr-xr-x 2 root root 4096 May 28 12:52 html
drwxr-xr-x 3 root root 4096 Jun 12 20:07 icons
lrwxrwxrwx 1 root root 34 Jun 14 18:38 ispconfig -> /usr/local/ispconfig/interface/web
drwxr-xr-x 3 root root 4096 Jun 14 18:38 php-fcgi-scripts
drwxr-xr-x 2 webalizer root 4096 Jun 14 17:59 usage
[root@apollo html]#
jobque entry stays there, i noticed there are many entries still in the jobque, they don't go away (oldest is 3 days old)
I just realize that jobQUE means all these actions are on que still??
till
18th June 2009, 18:18
jobque entry stays there, i noticed there are many entries still in the jobque, they don't go away (oldest is 3 days old)
I just realize that jobQUE means all these actions are on que still??
Yes, this explains your problem as there are just no FTP accounts and websites yet. This means that there must be an fatal error which stops the processing.
Please run the folowing commands on the shell as root user and post the output:
rm -f /usr/local/ispconfig/server/temp/.ispconfig_lock
/usr/local/ispconfig/server/server.sh
kird03
18th June 2009, 18:48
output of comands:
[root@apollo html]#rm -f /usr/local/ispconfig/server/temp/.ispconfig_lock
[root@apollo html]#/usr/local/ispconfig/server/server.sh
which: no mdadm in (/usr/kerberos/sbin:/usr/kerberos/bin:/sbin:/usr/sbin:/bin:/u sr/bin:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin)
/usr/bin/fail2ban-client
ln: creating symbolic link `/var/www/clients/client0/youngwebsolutions.info' to `/var/www/clients/client1/web1/': No such file or directory
useradd: warning: the home directory already exists.
Not copying any file from skel directory into it.
ln: creating symbolic link `/var/www/clients/client0/youngwebsolutions.info' to `/var/www/clients/client1/web1/': No such file or directory
ln: creating symbolic link `/var/www/clients/client0/youngwebsolutions.info' to `/var/www/clients/client1/web1/': No such file or directory
ln: creating symbolic link `/var/www/clients/client0/youngwebsolutions.info' to `/var/www/clients/client1/web1/': No such file or directory
ln: creating symbolic link `/var/www/clients/client0/youngwebsolutions.info' to `/var/www/clients/client1/web1/': No such file or directory
ln: creating symbolic link `/var/www/clients/client0/youngwebsolutions.info' to `/var/www/clients/client1/web1/': No such file or directory
ln: creating symbolic link `/var/www/clients/client0/youngwebsolutions.info' to `/var/www/clients/client1/web1/': No such file or directory
ln: creating symbolic link `/var/www/clients/client0/youngwebsolutions.info' to `/var/www/clients/client1/web1/': No such file or directory
ln: creating symbolic link `/var/www/clients/client0/youngwebsolutions.info' to `/var/www/clients/client1/web1/': No such file or directory
ln: creating symbolic link `/var/www/clients/client0/youngwebsolutions.info' to `/var/www/clients/client1/web1/': No such file or directory
ln: creating symbolic link `/var/www/clients/client0/youngwebsolutions.info' to `/var/www/clients/client1/web1/': No such file or directory
useradd: warning: the home directory already exists.
Not copying any file from skel directory into it.
finished.
[root@apollo html]#
Jobque is empty now, and folders with client1 an client2 are created now.
client1 is empty (but i deleted that one earlier) and folder client 2 seems to be completely set-up now..
For the learning process, what went wrong in the installation procedure?
Edit: FTP works fine now as well!
till
18th June 2009, 18:55
Looks as if your server is not executing any cronjobs. Cron is normally installed on all linux systems by default, maybe it is not installed on your server?
kird03
18th June 2009, 19:07
The CentOS 5.3 on my vps did not have crontabs installed indeed!!
fixed it now!
vBulletin® v3.8.4, Copyright ©2000-2010, Jelsoft Enterprises Ltd.