PDA

View Full Version : ISPConfig does not compile on Ubuntulinux 6.06.1 PowerPC


tjm
9th November 2006, 02:11
Just followed these instructions:

http://www.howtoforge.com/perfect_setup_ubuntu_6.06

But installing ISPConfig on an Apple PowerBook G3 Lombard (bronze keyboard, scsi & usb) by running ./setup breaks:


configure: error: Cannot find MySQL header files under /usr.
Note that the MySQL client library is not bundled anymore!
ERROR: Could not configure PHP
cd: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
mv: cannot stat `binaries/aps.tar.gz': No such file or directory
mv: cannot stat `binaries/spamassassin.tar.gz': No such file or directory
mv: cannot stat `binaries/uudeview.tar.gz': No such file or directory
mv: cannot stat `binaries/clamav.tar.gz': No such file or directory
mv: cannot stat `binaries/cronolog': No such file or directory
mv: cannot stat `binaries/cronosplit': No such file or directory
mv: cannot stat `binaries/ispconfig_tcpserver': No such file or directory
mv: cannot stat `binaries/zip': No such file or directory
mv: cannot stat `binaries/unzip': No such file or directory
tar: spamassassin.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
mv: cannot stat `spamassassin': No such file or directory
tar: uudeview.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
mv: cannot stat `uudeview': No such file or directory
tar: clamav.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
mv: cannot stat `clamav': No such file or directory
tar: aps.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
./setup2: line 849: ispconfig_tmp/php/bin/php: No such file or directory
ERROR: Das mitgelieferte PHP-Binary funktioniert auf Ihrem System nicht! Die Installation bricht hier ab!

Seems, that this is a platform related error (powerpc instead of i386/i686).

Would be nice to see this fixed!

.tjm

till
9th November 2006, 10:43
I dont think that this is platform related. The installation stops beacuse you dont have the mysql dev package installed, which contains the header files to compile PHP with mysql.

tjm
9th November 2006, 18:54
hii till

thank you for the fast repsonse.

apt-get install libmysqlclient12 libmysqlclient12-dev

did install what was missing. "mysql-dev" is not in the repositories but the packages above fill the gap of missing header files.

afterwards installing ISPConfig went okay except of two issues:

cp: cannot stat `/etc/proftpd.conf': No such file or directory

Warning: fopen(/etc/proftpd.conf): failed to open stream: No such file or directory in /var/www/install_ispconfig/install.php on line 91

Warning: filesize(): stat failed for /etc/proftpd.conf in /var/www/install_ispconfig/install.php on line 92

on ubuntulinux 6.06.1 proftpd's config files "prodftp.conf" and "modules.conf" are located at /etc/proftp/ instead of /etc/proftp.conf.


another issue is, that I can setup resellers, clients and webs, but the webfolders are placed into the servers root level, not into the folder "sharedip". it is possible to add webs but not to edit or delete them.

they do not show up in the ISPConfig panels. in none of them.

root@tjm:/var/www# ls
apache2-default phpmyadmin sharedip tjm2.mine.nu web1 webalizer

that's my web-server's root appearing when called by it's domain name (dynDNS). "web1" and "tjm2.mine.nu" are webs created by ISPConfig.

.tom

till
9th November 2006, 19:33
packages above fill the gap of missing header files.

afterwards installing ISPConfig went okay except of two issues:

on ubuntulinux 6.06.1 proftpd's config files "prodftp.conf" and "modules.conf" are located at /etc/proftp/ instead of /etc/proftp.conf.
Create a symlink from /etc/proftp.conf to the current position of the proftpd.conf file. The problem is that Ubuntu claims to be a debian unstable but they changed the path of the configuration file to be incompatible with debian.

another issue is, that I can setup resellers, clients and webs, but the webfolders are placed into the servers root level, not into the folder "sharedip". it is possible to add webs but not to edit or delete them.

After you deleted them, empty the recycle bin.


that's my web-server's root appearing when called by it's domain name (dynDNS). "web1" and "tjm2.mine.nu" are webs created by ISPConfig.

Make sure that DNS A-Records exist for the domains pointing to your server.

tjm
9th November 2006, 20:17
Make sure that DNS A-Records exist for the domains pointing to your server.


; <<>> DiG 9.2.2 <<>> tjm.mine.nu
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 24127
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;tjm.mine.nu. IN A

;; ANSWER SECTION:
tjm.mine.nu. 60 IN A 195.158.181.178

;; Query time: 144 msec
;; SERVER: 213.148.130.10#53(213.148.130.10)
;; WHEN: Thu Nov 9 19:12:17 2006
;; MSG SIZE rcvd: 45

MacMini:~ tjm$

After you deleted them, empty the recycle bin.

the problem is, that they do not show up in ISPConfig after beeing created :eek: the server runs headless. get's admin-access via ssh only. deleting by using "sudo rm -fr <PATH>" should be sufficient, isnt' it?

Create a symlink from /etc/proftp.conf to the current position of the proftpd.conf file. The problem is that Ubuntu claims to be a debian unstable but they changed the path of the configuration file to be incompatible with debian.

cheep tricks, dirty tricks. ;) if chosen "2) expert" as install option, the correct path may be altered within the configuring process.

i am going to try a new install of ISPConfig. maybe it works on a second run.

thanks!

tjm
9th November 2006, 23:36
reinstalling solved the apache2 problem that had occured!

but by a bad typo something went wrong with the proftp install section.

now my proftp.conf files are a bit mixed up. here is the error message:

cp: cannot stat `/etc/proftp/proftp.conf': No such file or directory

Warning: fopen(/etc/proftp/proftp.conf): failed to open stream: No such file or directory in /home/tjm/install_ispconfig/install.php on line 91

Warning: filesize(): stat failed for /etc/proftp/proftp.conf in /home/tjm/install_ispconfig/install.php on line 92

Warning: fclose(): supplied argument is not a valid stream resource in /home/tjm/install_ispconfig/install.php on line 97

Warning: fopen(/etc/proftp/proftp.conf): failed to open stream: No such file or directory in /home/tjm/install_ispconfig/install.php on line 1020

Warning: fwrite(): supplied argument is not a valid stream resource in /home/tjm/install_ispconfig/install.php on line 1024

Warning: fwrite(): supplied argument is not a valid stream resource in /home/tjm/install_ispconfig/install.php on line 1026

Warning: fclose(): supplied argument is not a valid stream resource in /home/tjm/install_ispconfig/install.php on line 1027
Connected successfully to MySQL server

i found a file named "proftp_ispconfig.conf" including these lines:

###################################
#
# ISPConfig proftpd Configuration File
# Version 1.0
#
###################################
DefaultAddress 127.0.0.1
<VirtualHost 192.168.1.201>
DefaultRoot ~
AllowOverwrite on
Umask 002
</VirtualHost>

in /etc/ i have these folders and files:

tjm@tjm:/var/www$ ls -lah /etc/proftp*
-rw-r--r-- 1 root root 16 2006-11-09 18:04 /etc/proftpd.conf
-rw-r--r-- 1 root root 309 2006-11-09 22:17 /etc/proftpd_ispconfig.conf
-rw-r--r-- 1 root root 309 2006-11-09 22:17 /etc/proftpd_ispconfig.conf~

/etc/proftp:
total 12K
drwxr-xr-x 2 root root 4,0K 2006-11-09 22:11 .
drwxr-xr-x 81 root root 4,0K 2006-11-09 22:17 ..
-rw-r--r-- 1 root root 36 2006-11-09 22:11 proftp.conf

/etc/proftpd:
total 20K
drwxr-xr-x 2 root root 4,0K 2006-11-09 22:23 .
drwxr-xr-x 81 root root 4,0K 2006-11-09 22:17 ..
-rw-r--r-- 1 root root 740 2006-11-08 21:49 modules.conf
-rw-r--r-- 1 root root 4,0K 2006-11-09 22:22 proftpd.conf
tjm@tjm:/var/www$

if i knew, what to paste in, where and to place all files on their dedicated locations and what files/dirs to remove, it would be possible to solve this last issue manually.

will check for an existing thread. maybe someone remembers of a related one.


TIA!
.tjm

tjm
10th November 2006, 00:52
could fix most problems experienced.

what's left is that ftp and web-ftp does not work for ISPConfig users but for local users it does.

installing and checking emailservices and webmail is an open job too.

thanks a lot for your support and this wonderful software!

:)
.tom

till
10th November 2006, 10:46
could fix most problems experienced.

what's left is that ftp and web-ftp does not work for ISPConfig users but for local users it does.

ISPConfig users are local users. Please dont mix up the client and reseller login which dont have FTP access with the login for the (email) users which have FTP access when you check the FTP checkbox for the website.

installing and checking emailservices and webmail is an open job too.

Email services (postfix / courier) must be installed and configured before you install ISPConfig, otherwise your configuration attempt may override settings from the ISPConfig installer.

tjm
10th November 2006, 14:40
Email services (postfix / courier) must be installed and configured before you install ISPConfig, otherwise your configuration attempt may override settings from the ISPConfig installer.

postfix is running fine and had been installed/configured prior to installing ISPConfig.

receiving and sending mail using webmin-usermin works smoothly.

on UebaMail login, if set to german, it tells

The connection to the emailprovider could not established. Try again a few minutes later [translated].

in english this:

You cannot login with the username and password entered.

Please check your username and password and try again.

looks a bit strange. what's the problem?

mail is enabled for the ISPConfig-user!

.tom

falko
10th November 2006, 16:57
looks a bit strange. what's the problem?

mail is enabled for the ISPConfig-user!

.tom
First, you must send a mail to that user before you can log in for the first time. The mailbox is created when the first email arrives.
Then make sure you use the correct username and password. For Uebimiau, you must use an email address instead of the username to log in: http://www.howtoforge.com/forums/showpost.php?p=6128&postcount=2

tjm
10th November 2006, 17:07
First, you must send a mail to that user before you can log in for the first time. The mailbox is created when the first email arrives.
Then make sure you use the correct username and password. For Uebimiau, you must use an email address instead of the username to log in: http://www.howtoforge.com/forums/showpost.php?p=6128&postcount=2

That's exactly what I did. Sent a mail to web_1_isp_kunde_1@tjm.mine.nu (Try out and I will send you a reply!)

This mail had been delivered and was stored in "/var/mail/web_1_isp_kunde_1"

The mail could be read by webmin-usermin logged in as "web_1_isp_kunde_1"

Logging into UebaMail using "web_1_isp_kunde_1@tjm.mine.nu" does not work. Logging into ISPConfig as this user works. Web-FTP works too.

Just sent a new mail to the address and tried to access it by UebaMail before reading it in the webmin-usermin panel. Nothing changed.

Might this be a conflict between webmin and ISPConfig? Both are based on proftp. Hmmm? Just a guess...

till
10th November 2006, 19:35
That's exactly what I did. Sent a mail to web_1_isp_kunde_1@tjm.mine.nu (Try out and I will send you a reply!)

This mail had been delivered and was stored in "/var/mail/web_1_isp_kunde_1"

The mail could be read by webmin-usermin logged in as "web_1_isp_kunde_1"

Logging into UebaMail using "web_1_isp_kunde_1@tjm.mine.nu" does not work. Logging into ISPConfig as this user works. Web-FTP works too.

Just sent a new mail to the address and tried to access it by UebaMail before reading it in the webmin-usermin panel. Nothing changed.

Might this be a conflict between webmin and ISPConfig? Both are based on proftp. Hmmm? Just a guess...

Please amke sure that yoe rellay enabled maildir under management > server > settings in ISPConfig and that the quota of the website and of the user is high enough to store the email. If you set the quota to 0, then the user wont get any emails.

tjm
10th November 2006, 19:39
Please amke sure that yoe rellay enabled maildir under management > server > settings in ISPConfig and that the quota of the website and of the user is high enough to store the email. If you set the quota to 0, then the user wont get any emails.

thank you Till for all your support. that did it. now all services are up and running smoothly!!!

:) :) :)
.tom