Cannot set initial server name

Discussion in 'Installation/Configuration' started by Rowdy, Apr 11, 2010.

  1. Rowdy

    Rowdy New Member

    Howdy. I am using the most recent vm image of ubuntu 9.10 and ispconfig 3. I am having a very early issue of not being able to set the server name in the web gui. I figure that this is one of the more important first steps in personalizing the server and I cant do it. I was able to delete the default server1.ispconfig.example but I cannot save anything in its place.

    In SYSTEM / SERVER SERVICES, when I try to enter a new name, none of the dropdown boxes are populated for services.

    Do I need to hard edit some of the config files to correct this?
  2. Rowdy

    Rowdy New Member

    I am thinking that the record I deleted was in the database and I should have just gone in and modified it instead of deleting it. So now I have no reference for adding it to mysql servers table.

    But still, why is it not allowing me to add server in the web interface?
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    This was a not a good Idea as it destroyed your current setup. Please uninstall ispconfig with the "uninstall.php script which is in the install folder of the ispconfig tar.gz and then reinstall it.

    Because server records can only be added by the installer. They contain information that is set or gathered by the installer during the initial installation process of ispconfig.
  4. Rowdy

    Rowdy New Member

    I'm wondering how somebody is supposed to use this VM image then? Would the correct method be to immediately reinstall ispconfig? At that point, it almost seems pointless to use a pre-existing image. Or was there a better way to change the server name? I was unable to locate a method for that but I now think I could have simply edited the record in mysql and then manually changed all of the pertainant files for the os.
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    There is absolutely no reason to delete the server record and it makes no sense too as this destroys the install. If you have windows pc, delete the whole registry instaed of editing a value, what do you expect to happen? So if you use ispconfig, delete its registry aka server settings, you can not expect that it works afterwards. Its a difference if you edit something or you delete something. To edit the record, click on the record, change the server name in the server name field and click on save.

    But thats the internal name of this server in ispconfig and has no influence on the hostname, so dont mix it up with the hostname of your server. The hostname has to be changed with the tools of the linux distribution. For debian, edit the file /etc/hostname and /etc/mailname and then run /etc/init.d/
  6. Rowdy

    Rowdy New Member

    I am not able to execute the uninstall.php.

    [email protected]:/tmp/ispconfig3_install/install# ./uninstall.php
    -bash: ./uninstall.php: Permission denied

    IspConfig3 on Ubuntu, I might add.
    Last edited: May 1, 2010
  7. Rowdy

    Rowdy New Member

    I managed to chmod the files to execute and now the uninstall errors as if it cannot find the installation.

    I am working with a vm image that was already done and I assume that the installation files have been removed to save space. Therefore I no longer have any modified install files.

    So I think my only angle here is to manually delete the ispconfig3 installation.

    I believe the installation was performed following this howto:
  8. Rowdy

    Rowdy New Member

    ...and now I have answered my own question. You think you have researched enough to ask for help, so you do, then the answer magically appears...

    for those who have almost no experience with linux, did ya know that you have to call PHP in order to run a php script? Duhhh is all I can say...

    I am used to running perl in windows so I dunno why it didnt occur to me.

Share This Page