no folders of clients

Discussion in 'Installation/Configuration' started by 007007, Jul 11, 2010.

  1. 007007

    007007 New Member

    [solved] no folders of clients

    Hello

    I added the clients (with domain names), but when I look at the folder /var/www/clients it is empty!

    normally it should have folders of clients ? (/client1/web ....)

    any idea please for this problem please

    thx
     
    Last edited: Jul 12, 2010
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Did you add email domains or a website? The client folder get added when you add the first website for this client.
     
  3. 007007

    007007 New Member

  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Then solve the other problem first, I posted you the link for the steps. Then login to ispconfig and check if there are still jobs in the jobqueue and if there are any error messages in the system log.
     
  5. 007007

    007007 New Member

    ok till

    in monitor > show jobqueue

    it's empty

    and logsystem :

    it's normal
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    Ok.

    1) Did you got any errors during update?
    2) Please login to phpmyadmin, go to the ispconfig database and there to the server table. this table should contain one record which has a field named "config". Please post the content of this field.
     
  7. 007007

    007007 New Member

    1) no any error

    2) here the content of config :

    Code:
    [global]
    webserver=apache
    mailserver=postfix
    dnsserver=mydns
    
    [server]
    auto_network_configuration=
    ip_address=213.186.40.113
    netmask=255.255.255.0
    gateway=192.168.0.1
    hostname=mohammed.ovh.net
    nameservers=213.186.40.113
    loglevel=2
    
    [mail]
    module=postfix_mysql
    maildir_path=/var/vmail/[domain]/[localpart]
    homedir_path=/var/vmail
    pop3_imap_daemon=courier
    mail_filter_syntax=maildrop
    mailuser_uid=5000
    mailuser_gid=5000
    mailuser_name=vmail
    mailuser_group=vmail
    relayhost=
    relayhost_user=
    relayhost_password=
    mailbox_size_limit=100
    message_size_limit=100
    
    [getmail]
    getmail_config_dir=/etc/getmail
    
    [web]
    website_basedir=/var/www
    website_path=/var/www/clients/client[client_id]/web[website_id]
    website_symlinks=/var/www/[website_domain]/:/var/www/clients/client[client_id]/[website_domain]/
    vhost_conf_dir=/etc/apache2/sites-available
    vhost_conf_enabled_dir=/etc/apache2/sites-enabled
    security_level=10
    user=www-data
    group=www-data
    php_open_basedir=[website_path]/web:[website_path]/tmp:/var/www/[website_domain]/web:/srv/www/[website_domain]/web:/usr/share/php5:/tmp:/usr/share/phpmyadmin
    htaccess_allow_override=All
    apps_vhost_port=8081
    apps_vhost_ip=_default_
    apps_vhost_servername=
    
    [dns]
    bind_user=root
    bind_group=bind
    bind_zonefiles_dir=/etc/bind
    named_conf_path=/etc/bind/named.conf
    named_conf_local_path=/etc/bind/named.conf.local
    
    [fastcgi]
    fastcgi_starter_path=/var/www/php-fcgi-scripts/[system_user]/
    fastcgi_starter_script=.php-fcgi-starter
    fastcgi_alias=/php/
    fastcgi_phpini_path=/etc/php5/cgi/
    fastcgi_children=8
    fastcgi_max_requests=5000
    fastcgi_bin=/usr/bin/php-cgi
    
    [jailkit]
    jailkit_chroot_home=/home/[username]
    jailkit_chroot_app_sections=basicshell editors extendedshell netutils ssh sftp scp groups jk_lsh
    jailkit_chroot_app_programs=/usr/bin/groups /usr/bin/id /usr/bin/dircolors /usr/bin/lesspipe /usr/bin/basename /usr/bin/dirname /usr/bin/nano /usr/bin/pico
    jailkit_chroot_cron_programs=/usr/bin/php /usr/bin/perl /usr/share/perl /usr/share/php
    
    [vlogger]
    config_dir=/etc
    
    [cron]
    init_script=cron
    crontab_dir=/etc/cron.d
    wget=/usr/bin/wget
    thx
     
  8. till

    till Super Moderator Staff Member ISPConfig Developer

  9. 007007

    007007 New Member

    ok till

    Code:
    drwxr-xr-x  6 root    root    4096 jui 11 19:49 .
    drwxr-xr-x 16 root    root    4096 jui 11 18:42 ..
    drwxr-xr-x  2 ispapps ispapps 4096 jui 11 18:48 apps
    drwxr-xr-x  2 root    root    4096 aoû 27  2009 clients
    -rw-r--r--  1 root    root      61 jui 12 09:57 index.html
    lrwxrwxrwx  1 root    root      34 jui 11 18:38 ispconfig -> /usr/local/ispconfig/interface/web
    drwxr-xr-x  5 root    root    4096 jui 11 18:48 php-fcgi-scripts
    -rw-r--r--  1 root    root      19 jui 11 20:49 pret.php
    drwxr-xr-x  2 root    root    4096 jui 12 02:31 webalizer
    
    after create a new website, i have this error in logsystem :

    Code:
    12-07-2010 11:15  	mohammed.ovh.net  	Debug  	Remove Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock  	
    12-07-2010 11:15 	mohammed.ovh.net 	Debug 	No Updated records found, starting only the core. 	
    12-07-2010 11:15 	mohammed.ovh.net 	Debug 	Set Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock 	
    12-07-2010 11:14 	mohammed.ovh.net 	Debug 	Remove Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock 	
    12-07-2010 11:14 	mohammed.ovh.net 	Debug 	No Updated records found, starting only the core. 	
    12-07-2010 11:14 	mohammed.ovh.net 	Debug 	Set Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock
     
  10. till

    till Super Moderator Staff Member ISPConfig Developer

    These are no errors. As you see in the list, the status of the messages is "Debug" and not "error".

    Ok. I think I have an idea what the problem might be.

    1) In the ispconfig database, there is a table named sys_datalog. What is the highest datalog_id in this table?

    2) What is the "server_id" of the record in the "server" table in the ispconfig database?

    3) What is the value of the field "updated" of the record in the server table?
     
  11. 007007

    007007 New Member

    1) highest datalog_id : 76
    2) server_di : 1
    3) updated : 140

    hm I noticed one thing : /etc/bind does not exist! (no folder bind or bind9)

    it is normal ?
     
    Last edited: Jul 12, 2010
  12. till

    till Super Moderator Staff Member ISPConfig Developer

    Yes. As your system uses mydns and not bind.

    Change the field "updated" in the server table to "0". Then check your file system a few minutes later, the websites should have been created then.
     
  13. 007007

    007007 New Member

    yeahhhh it's work, the folders are created

    big thx till for your excellent support ;)

    ( bind does not exist but it is in the server config :

    http://img801.imageshack.us/img801/7715/capturee.png

    it's normal ? in the folder /etc/ i dont have folder /mydns but only a file mydns.conf )
     
  14. till

    till Super Moderator Staff Member ISPConfig Developer

    As I told you above, your system uses mydns and not bind. The fields are there on every system as ispconfig also supports bind. mydns is a database based dns server, it has no folders in /etc as it needs no folders there!
     

Share This Page