Users and websites aren't created

Discussion in 'Installation/Configuration' started by Glorfindel, Feb 22, 2006.

  1. Glorfindel

    Glorfindel New Member

    I am very new to linux, but i've been running Apache/MySql/PHP on windows boxes for a couple years now. I installed fedora linux to the perfect setup guide (cept I used DCHP and set the LAN IP to be static in the router.) My IP is dynamic, but I use a free DynDNS. (glor.homeip.net)

    I had a bit of trouble installing ISPConfig at first, because I was forwarding my domain to a backup server on the network. This caused the first install to fail. I deleted all the files that were mentioned here on the forums in some other posts, and started over.

    This time the install appeared to work. The login page comes up fine from LAN and outside.

    I created a user (test), and created a site for this user.
    Hostname: www
    Domain: glor.homeip.net

    I'm not really sure exactly where the website is supposed to be... but I don't think it was ever created... there are also no users created for proFTPd. /var/www/html is empty, as are anything else I figured might be the htdocs folder... plus I did a file search for test and www... didn't see anything with that either...

    Any idea what is wrong?


    Edit: I probably should mention that the test user can log in to the ISPConfig, he just doesn't appear to actually get an FTP or website or anything aside from the config for one in his control panel.
     
    Last edited: Feb 22, 2006
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    I guess glor.homeip.net is your dynamic DNS domain? then you must create a website like this:

    hostname: glor
    Domain: homeip.net

    The website is created in /home/www/your.domain.com/web or /var/www/your.domain.com/web if you dont have specified any special directory during ISPConfig installation.


    Customers vcant login with FTP. You must create an user on the "User & Email" tab of the website glor.homeip.net in ISPConfig.
     
  3. Glorfindel

    Glorfindel New Member

    Creating a website with the host glor and the domain homeip.net doesn't seem to do anything differently. I still can't find any signs that any files were created.

    I also tried adding a user and e-mail. The user (web1_testuser) cannot connect thru the ISPconfig ftp control, or by ftp://glor.homeip.net/ and entering the username/password pair.

    /home/www is empty and /var/www contains nothing except for the cgi-bin, error, html, icons, manual, sharedip, and usage folders. The html folder is also empty, but if I place an index there, it will show as the starting page for http://glor.homeip.net/. (Else I just get the standard fedora page)
     
  4. falko

    falko Super Moderator ISPConfig Developer

    Any warnings in /home/admispconfig/ispconfig/ispconfig.log?
    What's in Vhosts_ispconfig.conf?
     
  5. Glorfindel

    Glorfindel New Member

    /home/admispconfig/ispconfig.log
    HTML:
    22.02.2006 - 05:45:14 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php, Line 696: /etc/rc.d/init.d/httpd restart &> /dev/null
    22.02.2006 - 05:45:14 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php, Line 696: /etc/rc.d/init.d/postfix stop &> /dev/null
    22.02.2006 - 05:45:16 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php, Line 696: /etc/rc.d/init.d/postfix start &> /dev/null
    22.02.2006 - 05:45:19 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php, Line 696: /etc/rc.d/init.d/named restart &> /dev/null
    22.02.2006 - 05:45:19 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php, Line 696: /etc/rc.d/init.d/proftpd restart &> /dev/null
    22.02.2006 - 05:52:15 => INFO - Signalfile Set: update
    22.02.2006 - 06:03:08 => INFO - Signalfile Set: insert
    22.02.2006 - 06:04:57 => INFO - Signalfile Set: insert
    22.02.2006 - 06:05:05 => INFO - Signalfile Set: insert
    22.02.2006 - 06:05:16 => INFO - Signalfile Set: insert
    22.02.2006 - 06:06:29 => DEBUG - Could not connect as user test <a href='http://glor.homeip.net:81/isp_file/logout.php?'><br><br>Next >></a>
    22.02.2006 - 06:06:29 => DEBUG - Could not connect as user test <a href='http://glor.homeip.net:81/isp_file/logout.php?'><br><br>Next >></a>
    22.02.2006 - 06:06:46 => DEBUG - Could not connect as user admin <a href='http://glor.homeip.net:81/isp_file/logout.php?'><br><br>Next >></a>
    22.02.2006 - 06:06:47 => DEBUG - Could not connect as user admin <a href='http://glor.homeip.net:81/isp_file/logout.php?'><br><br>Next >></a>
    22.02.2006 - 06:10:11 => DEBUG - Welcome to ISPConfig!
    You can administrate your website(s) here. If you have questions or problems,
    please contact your server administrator or refer to the ISPConfig client manual.
    22.02.2006 - 06:10:44 => INFO - Signalfile Set: insert
    22.02.2006 - 06:11:13 => INFO - Signalfile Set: insert
    22.02.2006 - 06:11:13 => DEBUG - Welcome to ISPConfig!
    You can administrate your website(s) here. If you have questions or problems,
    please contact your server administrator or refer to the ISPConfig client manual.
    22.02.2006 - 06:25:55 => INFO - Signalfile Set: update
    22.02.2006 - 06:27:56 => DEBUG - The name  www.glor.homeip.net  is already in use by another site or domain.<br><br><br> <a href='../../isp_manager/frame_start.php?'>Next &gt;&gt;</a>
    22.02.2006 - 06:29:04 => INFO - Signalfile Set: insert
    22.02.2006 - 06:29:04 => DEBUG - An SSL certificate does already exist for this IP.<br><br><br> <a href='../../isp_manager/frame_start.php?'>Next &gt;&gt;</a>
    22.02.2006 - 06:29:55 => INFO - Signalfile Set: insert
    22.02.2006 - 07:01:10 => DEBUG - Welcome to ISPConfig!
    You can administrate your website(s) here. If you have questions or problems,
    please contact your server administrator or refer to the ISPConfig client manual.
    22.02.2006 - 07:01:32 => DEBUG - Could not connect as user test <a href='http://glor.homeip.net:81/isp_file/logout.php?'><br><br>Next >></a>
    22.02.2006 - 07:01:32 => DEBUG - Could not connect as user test <a href='http://glor.homeip.net:81/isp_file/logout.php?'><br><br>Next >></a>
    22.02.2006 - 07:02:13 => DEBUG - Could not connect as user admin <a href='http://glor.homeip.net:81/isp_file/logout.php?'><br><br>Next >></a>
    22.02.2006 - 07:02:13 => DEBUG - Could not connect as user admin <a href='http://glor.homeip.net:81/isp_file/logout.php?'><br><br>Next >></a>
    22.02.2006 - 07:02:27 => DEBUG - Could not connect as user admin <a href='http://glor.homeip.net:81/isp_file/logout.php?'><br><br>Next >></a>
    22.02.2006 - 07:02:27 => DEBUG - Could not connect as user admin <a href='http://glor.homeip.net:81/isp_file/logout.php?'><br><br>Next >></a>
    22.02.2006 - 07:50:36 => INFO - Signalfile Set: insert
    22.02.2006 - 08:12:14 => INFO - Signalfile Set: insert
    22.02.2006 - 15:33:08 => DEBUG - Welcome to ISPConfig!
    You can administrate your website(s) here. If you have questions or problems,
    please contact your server administrator or refer to the ISPConfig client manual.
    22.02.2006 - 15:34:10 => INFO - Signalfile Set: insert
    22.02.2006 - 15:34:20 => DEBUG - Welcome to ISPConfig!
    You can administrate your website(s) here. If you have questions or problems,
    please contact your server administrator or refer to the ISPConfig client manual.
    22.02.2006 - 15:35:07 => INFO - Signalfile Set: insert
    22.02.2006 - 15:35:19 => DEBUG - Could not connect as user web1_testuser <a href='http://glor.homeip.net:81/isp_file/logout.php?'><br><br>Next >></a>
    22.02.2006 - 15:35:20 => DEBUG - Could not connect as user web1_testuser <a href='http://glor.homeip.net:81/isp_file/logout.php?'><br><br>Next >></a>
    22.02.2006 - 15:35:41 => DEBUG - Welcome to ISPConfig!
    You can administrate your website(s) here. If you have questions or problems,
    please contact your server administrator or refer to the ISPConfig client manual.
    22.02.2006 - 15:35:45 => DEBUG - Welcome to ISPConfig!
    
    You can administrate your website(s) here. If you have questions or problems,
    
    please contact your server administrator or refer to the ISPConfig client manual.
    22.02.2006 - 15:35:51 => DEBUG - Welcome to ISPConfig!
    You can administrate your website(s) here. If you have questions or problems,
    please contact your server administrator or refer to the ISPConfig client manual.
    22.02.2006 - 15:37:26 => INFO - Signalfile Set: update
    22.02.2006 - 15:38:38 => INFO - Signalfile Set: update
    22.02.2006 - 15:38:51 => DEBUG - Welcome to ISPConfig!
    
    You can administrate your website(s) here. If you have questions or problems,
    
    please contact your server administrator or refer to the ISPConfig client manual.
    22.02.2006 - 15:39:06 => DEBUG - Could not connect as user web1_testuser <a href='http://glor.homeip.net:81/isp_file/logout.php?'><br><br>Next >></a>
    22.02.2006 - 15:39:06 => DEBUG - Could not connect as user web1_testuser <a href='http://glor.homeip.net:81/isp_file/logout.php?'><br><br>Next >></a>
    22.02.2006 - 15:48:23 => DEBUG - Welcome to ISPConfig!
    You can administrate your website(s) here. If you have questions or problems,
    please contact your server administrator or refer to the ISPConfig client manual.
    
    /etc/httpd/conf/vhosts/vhosts_ispconfig.conf is 0 bytes and cannot be viewed
     
    Last edited: Feb 22, 2006
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    Please execute:

    rm -f /root/ispconfig/.ispconfig_lock

    What happens if you run this command:

    /root/ispconfig/php/php -q /root/ispconfig/scripts/writeconf.php
     
  7. Glorfindel

    Glorfindel New Member

    rm -f /root/ispconfig/.ispconfig_lock gave no error or message of any kind

    /root/ispconfig/php/php -q /root/ispconfig/scripts/writeconf.php
    gave the output:

    INSERT: 1
    INSERT: 3
    ERROR: Nothing parsed, nothing printed <BR>
    INSERT USER: 1
    ende


    EDIT: this also seems to have fixed it... I can now log in to FTP and a website has been created.... ! :D
     
    Last edited: Feb 23, 2006
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    OK, then i guess the script has been blocked by a crashed process that has not removed the lochfile correctly. It should work now correctly if you insert anything in the ISPConfig interface.
     
  9. Glorfindel

    Glorfindel New Member

    Thank you very much till and falko, I would have never figured that one out on linux by myself! :p This little setup seems like it could make my life much easier once I figure out how to use ISPConfig and linux to their fullest. I suspect i'll be seeing a lot more of linux in the near future anyway... (comp sci major :eek:).
     
  10. Glorfindel

    Glorfindel New Member

    I'm having another problem now... I can't seem to empty the recycle bin. I have waited a couple hours and the thing still doesn't seem to empty out anything when I click Empty Recycle Bin... 0_0


    EDIT: Nevermind!!! I found another post with the same problem finally, and I fixed it by restarting the server as was mentioned in that thread. Not really sure how I missed that post the first time!
     
    Last edited: Feb 23, 2006

Share This Page