Moving ISPconfig

Discussion in 'Installation/Configuration' started by juampi, Feb 24, 2006.

  1. wr19026

    wr19026 New Member

    Ok thanks. Not what I had hoped for but you can't have everything I guess :)
     
  2. esezako

    esezako Member

    hi, the numbers of groups and users not match in my olds and news files passwd , shadow and group. What numbers should I keep?
     
  3. Ovidiu

    Ovidiu Active Member

    trying to export from MySQL version 5.0.51 via
    as shown here: http://www.howtoforge.com/faq/6_3_en.html

    can someone please explain what to use instead of this -c switch?

    ok, seems the -c switch is obsolete, so I tried the replacement --skip-auto-rehash:

    stil no go?
     
    Last edited: May 24, 2009
  4. Ovidiu

    Ovidiu Active Member

    I tried exporting/importing via phpmyadmin as its a small DB but then I get this type of errors in every table:
     
  5. falko

    falko Super Moderator Howtoforge Staff

    You might want to try the --opt switch.
     
  6. Ovidiu

    Ovidiu Active Member

    as in replacing the -c with --opt? don't have ssh access right now so I can't consult the man pages right now...
     
  7. falko

    falko Super Moderator Howtoforge Staff

    The --opt switch replaces multiple other switches. Please take a look at the man page.
     
  8. Ovidiu

    Ovidiu Active Member

  9. falko

    falko Super Moderator Howtoforge Staff

    Oh, sorry. The mysqldump command has an --opt switch...
     
  10. kextra1

    kextra1 Member

    Help!

    I really screwed up guys

    I messed up all my permissions from /

    I am trying to move all ISPConfig data over to a new server

    I followed the steps however the MySQL server does not start after following the moving ispconfig steps

    Also, before the permissions got all screwed up on this server I backed up all the databases to 'Localhost.sql'

    My new server does not have a graphics card....

    How can I import all my databases from 'localhost.sql' into the new mysql server from the command line?

    I'm not talking about one at a time...i backed them ALL up, ALL DB's to one sql dump
     
    Last edited: Jun 15, 2009
  11. reason8

    reason8 Member

    What if you dont have a Vhosts_ispconfig.conf? I have /etc/apache2/sites-available/ispconfig.conf and /etc/apache2/sites-enabled/000-ispconfig.conf
    Also, I dont know what I named the MySQL DB (not exactly atleast). Where would I find this in the config files? I did a updatebd and locate but nothing is coming up.

    Thanks!
     
    Last edited: Jun 16, 2009
  12. till

    till Super Moderator Staff Member ISPConfig Developer

    This thread is about ISPConfig 2 and not ISPConfig 3! ISPConfig 2 is a completely different software and everything posted about ISPConfig 2 does not apply to ISPConfig 3.
     
  13. thetekgeek

    thetekgeek New Member

    I followed this tutorial (in post #2) to move my ispconfig to a new server.

    Everything went well, until I went to log into ISPConfig on port 81.

    This is what I get

    Code:
    Warning: session_start() [function.session-start]: open(/tmp/sess_48970c3d56568db252bbc22664b59850, O_RDWR) failed: Permission denied (13) in /home/admispconfig/ispconfig/web/login.php on line 29
    
    Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/admispconfig/ispconfig/web/login.php:29) in /home/admispconfig/ispconfig/web/login.php on line 29
    
    Warning: include(../lib/config.inc.php) [function.include]: failed to open stream: Permission denied in /home/admispconfig/ispconfig/web/login.php on line 30
    
    Warning: include() [function.include]: Failed opening '../lib/config.inc.php' for inclusion (include_path='.:') in /home/admispconfig/ispconfig/web/login.php on line 30
    
    Warning: require_once(login/lib/lang/.lng) [function.require-once]: failed to open stream: No such file or directory in /home/admispconfig/ispconfig/web/login.php on line 31
    
    Fatal error: require_once() [function.require]: Failed opening required 'login/lib/lang/.lng' (include_path='.:') in /home/admispconfig/ispconfig/web/login.php on line 31
    
    Warning: Unknown: open(/tmp/sess_48970c3d56568db252bbc22664b59850, O_RDWR) failed: Permission denied (13) in Unknown on line 0
    
    Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0
    
    I am not sure why. I am sure that I replaced something in a config file that I should not have, but not sure where to look.

    Any ideas?
     
  14. brainz

    brainz Member

    From what i can tell it seems to be a permissions problem...

    also there is a file missing...

    No such file or directory in /home/admispconfig/ispconfig/web/login.php on line 31

    But ill let the experts... Take over from here..

    regards
    brainz
     
  15. falko

    falko Super Moderator Howtoforge Staff

    What are the outputs of
    Code:
    ls -la /tmp/
    and
    Code:
    df -h
    ?
     
  16. thetekgeek

    thetekgeek New Member

    output of: ls -la /tmp/
    Code:
    total 36
    drwxrwxrwt  4 root root 4096 2009-07-19 04:29 .
    drwxr-xr-x 23 root root 4096 2009-07-17 08:46 ..
    drwxrwxrwt  2 root root 4096 2009-07-17 08:46 .ICE-unix
    drwxrwxr-x  2 root mail 4096 2009-07-17 08:10 mail
    -rw-------  1 root root 1024 2009-07-16 08:50 .rnd
    -rw-------  1 root root    0 2009-07-18 00:30 sess_09456af3aa07623da0c27305b3776                                                                             ef2
    -rw-------  1 root root    0 2009-07-18 23:59 sess_0e5d16e22cbe637203dfc933e4b32                                                                             594
    -rw-------  1 root root    0 2009-07-16 17:51 sess_197d9fe80c038b86dd6d20e60a6a0                                                                             b4a
    -rw-------  1 root root    0 2009-07-19 00:40 sess_27effcddfec1b66c7dd0793f2944f                                                                             b71
    -rw-------  1 root root    0 2009-07-17 00:30 sess_2f8c5c03eac50a665320fb04f3e24                                                                             fb5
    -rw-------  1 root root    0 2009-07-19 04:00 sess_36c5a559dde3fce5d9b8dcf4eb52d                                                                             24d
    -rw-------  1 root root    0 2009-07-16 23:59 sess_383de5cc11b0a41e93aee51995b7f                                                                             e83
    -rw-------  1  500  500   25 2009-07-16 17:35 sess_48970c3d56568db252bbc22664b59                                                                             850
    -rw-------  1 root root    0 2009-07-18 15:15 sess_4e998de5a51d85170a34f826c626f                                                                             88c
    -rw-------  1 root root    0 2009-07-18 03:15 sess_6277ac4e00b8b84ef957fe3984522                                                                             8d1
    -rw-------  1 root root    0 2009-07-17 09:01 sess_73afb68c505ec1acb6ed75b07b2fb                                                                             fd1
    -rw-------  1 root root    0 2009-07-17 00:40 sess_7c35e40e27fa2e512d570eb7180e3                                                                             920
    -rw-------  1 root root    0 2009-07-17 23:59 sess_8584b5cd41843f1cf645c6cec0846                                                                             221
    -rw-------  1 root root    0 2009-07-18 00:40 sess_898608bde95fd078b527c371dd0d9                                                                             537
    -rw-------  1 root root    0 2009-07-18 02:05 sess_8b9fef10d5acb7afb087413d136f0                                                                             215
    -rw-------  1 root root    0 2009-07-19 00:30 sess_8d4d91f857576a47691a62e5bc78c                                                                             8d5
    -rw-------  1 root root    0 2009-07-17 23:59 sess_8e6abc0c723111ca98c7315f0888f                                                                             6dc
    -rw-------  1 root root    0 2009-07-18 23:59 sess_9253f347cb3d71f38dcf282dab6b2                                                                             4d4
    -rw-------  1 root root    0 2009-07-19 02:05 sess_95cd348c2299dc14455cb5a6fe8b2                                                                             4b0
    -rw-------  1 root root    0 2009-07-16 16:12 sess_9d80cce08844c89cdf2aebcbc1535                                                                             4bb
    -rw-------  1 root root    0 2009-07-17 08:46 sess_a9574237f32f72f848371da909f72                                                                             c17
    -rw-------  1 root root    0 2009-07-16 23:59 sess_a9e291a5a434a5c693c8b382ae6a4                                                                             47e
    -rw-------  1 root root    0 2009-07-17 04:00 sess_aa3fd84cecc49628808c9cc2e8baa                                                                             fd1
    -rw-------  1 root root    0 2009-07-17 02:05 sess_ad753448694ad6135361296418ef0                                                                             3f5
    -rw-------  1 root root    0 2009-07-19 03:15 sess_af6bf170da870e1858b2d104c18c1                                                                             35f
    -rw-------  1 root root    0 2009-07-17 03:15 sess_bbf72f00947cdd7167e21ad0c1db4                                                                             472
    -rw-------  1 root root    0 2009-07-16 23:59 sess_c5ceeb930311ccf2c64e11bc25717                                                                             e9d
    -rw-------  1 root root    0 2009-07-18 04:00 sess_cb039e684d40073795a7db035df21                                                                             07c
    -rw-------  1 root root    0 2009-07-17 23:59 sess_d671c468c24da27a8ccdcdadf2411                                                                             94e
    -rw-------  1 root root    0 2009-07-17 15:15 sess_decf60161fde62e1fa7cecc57093c                                                                             bdd
    -rw-------  1 root root    0 2009-07-18 23:59 sess_f33260b4147009c6b17ded9a7ce0d                                                                             400
    -rw-------  1 root root    0 2009-07-16 16:12 sess_fb7fdfcb8566c0fad14e94bb6d3e0                                                                             b1c
    
    output of: df -h
    Code:
    Filesystem            Size  Used Avail Use% Mounted on
    /dev/mapper/VolGroup00-LogVol00
                           72G  3.0G   65G   5% /
    /dev/sda1             190M   13M  169M   7% /boot
    tmpfs                 220M     0  220M   0% /dev/shm
    
     
  17. falko

    falko Super Moderator Howtoforge Staff

    Can you run
    Code:
    rm -f /tmp/sess_*
    and try again?
     
  18. thetekgeek

    thetekgeek New Member

    After running

    rm -f /tmp/sess_*

    I get this when I try to log into the admin console

    Code:
    
    Warning: include(../lib/config.inc.php) [function.include]: failed to open stream: Permission denied in /home/admispconfig/ispconfig/web/login.php on line 30
    
    Warning: include() [function.include]: Failed opening '../lib/config.inc.php' for inclusion (include_path='.:') in /home/admispconfig/ispconfig/web/login.php on line 30
    
    Warning: require_once(login/lib/lang/.lng) [function.require-once]: failed to open stream: No such file or directory in /home/admispconfig/ispconfig/web/login.php on line 31
    
    Fatal error: require_once() [function.require]: Failed opening required 'login/lib/lang/.lng' (include_path='.:') in /home/admispconfig/ispconfig/web/login.php on line 31
    
    Seems better than before.
     
  19. thetekgeek

    thetekgeek New Member

    I did a reinstall of ISPConfig by downloading the install package again, it went through the install and everything seems to work now.
     
  20. pbrille

    pbrille New Member

    moving server AND Upgrading

    I'm moving from an old Suse 10.1 Server with ISPConfig 2.2.16 to a new Debian Lenny with ISPConfig 2.2.25.
    What do I need to know in this special scenario when moving all my files?
    Can I just do a full "mysqldump --all-databases" on the old server and then fully restore on the new server?

    Thanks a lot!
     

Share This Page