#71  
Old 21st June 2007, 17:47
wrender wrender is offline
Member
 
Join Date: Oct 2006
Posts: 31
Thanks: 0
Thanked 1 Time in 1 Post
Default file locations

Depending on your operating system, it may be located in different spots. To check where they are on your system.

- Login to ispconfig web interface as an admin user
- Go to "Management"
- Go to Server -> Settings
- Click on "Web" tab
- Conf. Dir: should be the location of your Vhosts file
- Click on "DNS" tab
- Zonefiles Dir: should be the location of your dns files
Reply With Quote
The Following User Says Thank You to wrender For This Useful Post:
toyito (21st June 2007)
Sponsored Links
  #72  
Old 6th July 2007, 15:08
ACDII ACDII is offline
Member
 
Join Date: Sep 2006
Posts: 92
Thanks: 7
Thanked 3 Times in 3 Posts
Default

Hi, will this work moving from Fedora Core 4 to Fedora core 6? The howtos are different between the releases.
Reply With Quote
  #73  
Old 14th August 2007, 16:28
jfruano jfruano is offline
Member
 
Join Date: Mar 2006
Posts: 95
Thanks: 9
Thanked 0 Times in 0 Posts
Question Help

I configuring a second server for security for if the first one doesn't work, to use this.
The system, is the same one Debian etch.

First installed in the new server the ISPConfig. I proved without introducing any data and everything worked well.

I have followed the instructions of the Falko
Quote:
Make a backup of /etc/passwd, /etc/shadow, /etc/group, Vhosts_ispconfig.conf, /etc/postfix/local-host-names, /etc/postfix/virtusertable, named.conf, all the pri.* zone files, /etc/proftpd*.conf. Also create sql dumps of your MySQL databases (either with phpMyAdmin or on the command line: http://www.howtoforge.com/faq/6_3_en.html ) and make a backup of /home/www on the old server: ......
and the databases mysql, I copy all the folders of databases of the directory / var/lib/mysql and paste in same dir of the new server.

But now when start the new server, appear 2 errors:
Starting domain name service bind. Failure
Starting mysql database.... Failure

When login in the panel of administration of ISPConfig, enter the user and the password, appear the following errors:


error when login in ISPConfig control panel :

Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /home/admispconfig/ispconfig/lib/classes/ispconfig_db_mysql.lib.php on line 77

Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /home/admispconfig/ispconfig/lib/classes/ispconfig_db_mysql.lib.php on line 77

Warning: Cannot modify header information - headers already sent by (output started at /home/admispconfig/ispconfig/lib/classes/ispconfig_db_mysql.lib.php:77) in /home/admispconfig/ispconfig/web/login/login.php on line 60

Anyone got any ideas where to solve this errors ?

Thanks in advance,
Reply With Quote
  #74  
Old 14th August 2007, 17:30
wrender wrender is offline
Member
 
Join Date: Oct 2006
Posts: 31
Thanks: 0
Thanked 1 Time in 1 Post
Default database

Hello,

When you are backing up your databases, you can't just copy the database files directly... you need to do a mysqldump command to properly dump the database information. You can sometimes get away with copying the database files, but you need to stop the service first, then copy them. Also the server you are copying them to must have the exact same mysql version running. Here are some commands that I normally use.

mysqldump -p --all-databases > all_databases.sql
- this dumps all databases into a file. the -p is to prompt for your mysql password.

mysqldump -p db_name > backup-file.sql
- this dumps a specific database

mysql -p db_name < backup-file.sql
- this imports a database into mysql

mysqlshow -p
- this will show the databases on your mysql server.



Wes
Reply With Quote
  #75  
Old 14th August 2007, 20:35
jfruano jfruano is offline
Member
 
Join Date: Mar 2006
Posts: 95
Thanks: 9
Thanked 0 Times in 0 Posts
Unhappy

Thank you for your response.
Quote:
Originally Posted by wrender
Hello,

When you are backing up your databases, you can't just copy the database files directly... you need to do a mysqldump command to properly dump the database information. You can sometimes get away with copying the database files, but you need to stop the service first, then copy them. Also the server you are copying them to must have the exact same mysql version running. Here are some commands that I normally use.

mysqldump -p --all-databases > all_databases.sql
- this dumps all databases into a file. the -p is to prompt for your mysql password.

mysqldump -p db_name > backup-file.sql
- this dumps a specific database

mysql -p db_name < backup-file.sql
- this imports a database into mysql

mysqlshow -p
- this will show the databases on your mysql server.

Wes
Now can I solve this problem?

Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

Thanks again.
Reply With Quote
  #76  
Old 14th August 2007, 21:17
wrender wrender is offline
Member
 
Join Date: Oct 2006
Posts: 31
Thanks: 0
Thanked 1 Time in 1 Post
Default login

Try uninstalling and re-installing the mysql software. Then restart the mysql server services.

Wes
Reply With Quote
  #77  
Old 14th August 2007, 23:44
jfruano jfruano is offline
Member
 
Join Date: Mar 2006
Posts: 95
Thanks: 9
Thanked 0 Times in 0 Posts
Default

The error was mine.

My server is working in an I.P. of my router and the second server in another different I.P. to use only in local mode and it wanted to have prepared if failed the first server..

I have undone all the changes and has remained as it was.

Already I will try to do it of another form.

Any sugestion for this mode of copy ?

Thanks Wes, and sorry for the nuisances.
Reply With Quote
  #78  
Old 14th August 2007, 23:50
wrender wrender is offline
Member
 
Join Date: Oct 2006
Posts: 31
Thanks: 0
Thanked 1 Time in 1 Post
Default backup

Hmm i'm kinda confused on what you are trying to do. Do you have two servers and are trying to keep them identical in case one fails?

I don't think this is really possible with ISPConfig. What I would recommend, is just setup another server with the same OS as your main server. Then run nightly backups of your main server onto the backup server. If the main one fails, you should be able to recover from the backup data if you are backing up everything that is needed.

I think there are some articles about this from the guys that maintain ispconfig. They are cool dudes.

Wes
Reply With Quote
  #79  
Old 20th September 2007, 12:02
mitho7 mitho7 is offline
Member
 
Join Date: Apr 2007
Posts: 33
Thanks: 4
Thanked 1 Time in 1 Post
Default

Hi,

I have done all the steps as falko mentioned on http://www.howtoforge.com/forums/sho...ving+ispconfig

Everything working ok, except mail. serer can send email, but i can not login to webmail or using thunderbird.

i have install the ISPConfig first on new server then i just followed the steps as falko said.

Can any one please help on it.
Reply With Quote
  #80  
Old 20th September 2007, 12:07
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 35,777
Thanks: 821
Thanked 5,332 Times in 4,184 Posts
 
Default

Which errors do you get in the mail log?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
cannot access ispconfig site Nu2Linux Installation/Configuration 13 3rd January 2009 15:29
Users and websites aren't created Glorfindel Installation/Configuration 9 23rd February 2006 04:20
42goISP vs. ISPConfig nveid General 1 16th January 2006 09:07
Mirroring ISPConfig with DRBD rodriglm General 5 2nd January 2006 12:48
Moving mail in ISPConfig rodriglm General 3 7th December 2005 09:44


All times are GMT +2. The time now is 06:55.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.