The database does not up when the server restarts

Home Page Forums Network Management ZeroShell The database does not up when the server restarts

This topic contains 7 replies, has 0 voices, and was last updated by  Joubert 9 years, 6 months ago.

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #42111

    Joubert
    Member

    Good,

    I’m from Venezuela and my English is a bit bad but an attempt is made.

    Unfortunately, in Venezuela we are presenting electrical problems and each time the power goes out, therefore I shut down the server but when you turn the server starts with the default configuration that brings the ZS, additional income to the server and my database created disappears so that it appears I have to create a new one, activate it, reboot the server and there is when it appears my database and active.

    I could help to turn the server when I load the database that I use and not all the time creating a new one every time turn off server?

    I’m running the server from a cd and not have it installed on the HD.

    Waiting and can help me say goodbye.

    Greetings and Merry Christmas and Happy 2010.

    #49297

    ppalias
    Member

    Normally it should activate the last selected database. I have installed the image on a hard drive and works fine. Maybe someone that runs it from the CD could advise you better on your issue.

    #49298

    misterplow
    Member

    Hi – could you answer a couple of questions? I use ZS almost exclusively from CD and have never had a problem, even when the machine’s power plug is pulled suddenly.

    1) Do you have the same problem if you manually shutdown the system (nicely) from the WebGUI’s top page? Or is it only a problem with the power goes out suddenly?

    2) Could you send a screenshot (or at least the text?) of your Profiles screen? (a screenshot showing what profile is “active” and what kind of disk partition it is on?

    3) Is it possible that you think you are creating a static database but yet aren’t for some reason? (sorry – not trying to insult you; just want to make sure..)

    #49299

    JC
    Member

    further question;

    do you have a formatted hard drive in your machine?

    #49300

    Joubert
    Member

    @misterplow wrote:

    Hi – could you answer a couple of questions? I use ZS almost exclusively from CD and have never had a problem, even when the machine’s power plug is pulled suddenly.

    1) Do you have the same problem if you manually shutdown the system (nicely) from the WebGUI’s top page? Or is it only a problem with the power goes out suddenly?

    2) Could you send a screenshot (or at least the text?) of your Profiles screen? (a screenshot showing what profile is “active” and what kind of disk partition it is on?

    3) Is it possible that you think you are creating a static database but yet aren’t for some reason? (sorry – not trying to insult you; just want to make sure..)

    1)No, the problem exists when the server shuts down unexpectedly because of lack of energy, however when I turn it off properly and if there is any good

    2) Copying a file?

    3) I think my BD is well founded if it saves your changes and restart the server manually up without problems but when it suddenly turned off the conflict begins to lift the BD

    thanks for responding quickly

    #49301

    Joubert
    Member

    @jc wrote:

    further question;

    do you have a formatted hard drive in your machine?

    Yes,

    Model: ST34311A (hda) Capacity: 4126 MB
    hda1

    Type: vfat Capacity: 4118 MB Used: 1104 MB 27%

    Profile Description Last Activation
    _DB.003 NO UTILIZAR Never
    _DB.004 QoS Brigde Configuration Active

    #49302

    imported_fulvio
    Participant

    FAT filesystem has to be used only for test purposes with Zeroshell. In production environment you should use EXT3 or resiserfs.

    Regards
    Fulvio

    #49303

    Joubert
    Member

    @fulvio wrote:

    FAT filesystem has to be used only for test purposes with Zeroshell. In production environment you should use EXT3 or resiserfs.

    Regards
    Fulvio

    Oh ok maybe that’s why it’s happening to me what happens to me then as I get to my DB to another format? because if I have the disk formatted in FAT format and EX3 not going to grab the DB that I have now, I could import only users?

    true that many thanks for your help friend

    #49304

    misterplow
    Member

    If you do a backup of your database (click on the radio button next to your active profile and choose “Backup” or “Backup without Logs”), the actual data is small.

    If this were me, and I had to use the same physical (internal) disk, I would

    1. perform the “Backup without Logs” operation
    2. restore the ZS box to the default configuration and reboot
    3. format the disk as ext3
    4. then use the “Restore Profile” option to upload the DB I backed up to my local PC in step 1.

    If you have a USB key or some other removable storage, you could first format that to ext3, copy your active profile there, then do the format of the internal hard disk and then copy the previously active profile from the USB key disk back to the internal hdd.

Viewing 9 posts - 1 through 9 (of 9 total)

You must be logged in to reply to this topic.