Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 19th May 2010, 00:09
14nw0lf 14nw0lf is offline
Junior Member
 
Join Date: May 2010
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default ERROR: Unable to load SQL-Dump into database table.

Trying to install ispconfig3 i get the following error

ERROR: Unable to load SQL-Dump into database table.

I have tried removing ispconfig3 completely from my system

steps that i have done so far

I ran rm -rf /tmp/trunk / redownloaded ispconfig3 / unable to uninstall before re-installing ispconfig3

also ran updatedb / locate ispconfig3_install

when running locate ispconfig3_install this is the output i get

/home/toki/.local/share/Trash/info/ispconfig3_install.trashinfo - NO CLUE

when running uninstall.php output was

>> Uninstall

PHP Warning: require(/usr/local/ispconfig/server/lib/config.inc.php): failed to open stream: No such file or directory in /tmp/ispconfig3_install/install/uninstall.php on line 50
PHP Fatal error: require(): Failed opening required '/usr/local/ispconfig/server/lib/config.inc.php' (include_path='.:/usr/share/pear:/usr/share/php') in /tmp/ispconfig3_install/install/uninstall.php on line 50


any advised?

Last edited by 14nw0lf; 19th May 2010 at 05:27.
Reply With Quote
Sponsored Links
  #2  
Old 19th May 2010, 09:41
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,586
Thanks: 792
Thanked 4,983 Times in 3,903 Posts
Default

Looks as if you tried to install a SVN version instead of a stable version. SVN versions are only for developers and they are untested and might not work at all. Please use the currently released version 3.0.2.1.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 19th May 2010, 14:04
14nw0lf 14nw0lf is offline
Junior Member
 
Join Date: May 2010
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks a million till that did it, re-downloaded the 3.0.2.1. just about now before heading to work and it work perfectly

you were right i was using SVN version of ispconfig 3

thanks again buddy
Reply With Quote
  #4  
Old 27th May 2010, 08:37
dharshini123 dharshini123 is offline
Junior Member
 
Join Date: May 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default file system data structure difference between linux cp and mv command

Hi,

I am facing one problem only with mv command not with cp command. I have a test program

#include <stdio.h>
#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/mount.h>
#include <fcntl.h>
#include <errno.h>

int sync_file(char *file)
{
FILE *fp=NULL;
int fd;

printf("file is %s\n",file);
fp = fopen(file, "r");
if(!fp)
return -1;

fd = fileno(fp);
fflush(fp);
fsync(fd);
ioctl (fd, BLKFLSBUF, 0);
fclose(fp);
return 0;

}

int main()
{
int len=0;
FILE *fp = NULL;
char buf[1024];
char *fname = "/etc/test.conf";
char fname_tmp[129] = "";


len = sprintf(buf, "%s\n", "Newly added Line is there");

snprintf(fname_tmp, 128, "%s.tmp", fname);

if( (fp = fopen(fname_tmp,"a")) == NULL )
printf(" ERROR: open(), error - %s\n",strerror(errno));

fprintf(fp,"%s",buf);
fflush(fp);

fsync(fileno(fp));
fclose(fp);
system("cp -f /etc/test.conf.tmp /etc/test.conf");
// system("mv -f /etc/test.conf.tmp /etc/test.conf");
sync_file(fname);
return 0;
}

Here i am opening a tmp file for writing. Then i am copying/moving for original file. Then i do a fflush, fsync(), ioctl() to the original file. Then i run this binary in linux machine(ext2 file system, 2.6.23.5 kernel) after that immediately power off the machine. Then power on machine, the file is disappeared or written data lost or file gets corrupted if i move the tmp file to the original file. And there is a no problem if i copy the tmp file to original file. So i want to know the difference between the cp and mv command. Can you please give me suggestion on it?

Thanks,
Indira.
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
ERROR: Unable to load SQL-Dump into database table. rrhode Developers' Forum 11 28th March 2009 16:11
phpmyadmin error lifeisboost Installation/Configuration 9 14th August 2008 19:19
How do I restore a MySQL database from an sql dump? controlmac Installation/Configuration 4 16th March 2007 17:45
SVN Broken, database sql dump is broken? danf.1979 Developers' Forum 4 16th February 2007 11:26
Howto suggestion suse PhP ver 4 + Ver 5 wwparrish Suggest HOWTO 11 7th August 2006 13:29


All times are GMT +2. The time now is 01:56.


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