Install Errors with setup.sh

existenz

Verified User
Joined
Jul 18, 2003
Messages
607
Location
/dev/null
I have been working on our FreeBSD 4.9 box and have reinstalled it a few time and I get the following errors [v1.20.2] also had this problem with [v1.20.1]:

---------------------------------------------
tar: /var/www/html: Cannot chdir: No such file or directory
tar: Error is not recoverable: exiting now
chmod: /var/www/html/webmail/tmp: No such file or directory
chown: /var/www/html/webmail/tmp: No such file or directory
cp: /etc/httpd/conf/httpd.conf: No such file or directory
cat: /etc/httpd/conf/httpd.conf: No such file or directory
Can't open /etc/httpd/conf/httpd.conf: No such file or directory
cat: /etc/httpd/conf/httpd.conf: No such file or directory
Can't open /etc/httpd/conf/httpd.conf: No such file or directory
cat: not found
kill: not found
---------------------------------------------

It hangs here:

---------------------------------------------
* OK [CAPABILITY IMAP4REV1 LOGIN-REFERRALS STARTTLS AUTH=LOGIN] subdomain.domain.tdl IMAP4rev1 2003.339 at Sat, 22 Nov 2003 01:49:53 -0500 (EST)
* BYE Autologout; idle for too long
---------------------------------------------

And some more errors:

---------------------------------------------
tar: /var/www/html: Cannot chdir: No such file or directory
tar: Error is not recoverable: exiting now
ln: /var/www/html/squirrelmail: No such file or directory
cp: /var/www/html/squirrelmail-1.4.2/config/config_default.php: No such file or directory
Can't open /var/www/html/squirrelmail-1.4.2/config/config.php: No such file or directory
Can't open /var/www/html/squirrelmail-1.4.2/config/config.php: No such file or directory
chmod: /var/www/html/squirrelmail-1.4.2: No such file or directory
chown: /var/www/html/squirrelmail-1.4.2: No such file or directory
chmod: /var/www/html/squirrelmail-1.4.2/data: No such file or directory
chown: /var/www/html/squirrelmail-1.4.2/data: No such file or directory
cat: /etc/httpd/conf/httpd.conf: No such file or directory
Can't open /etc/httpd/conf/httpd.conf: No such file or directory
---------------------------------------------

It did NOT install squirrelmail or the other webmail client. I was able to manually add this via the script folder.
 
Last edited:
Hello,

The /var/www/html errors are probably because the installer might assume it exists when it didn't... I'll look into that. Also the script was calling imapd instead of inetd (typo). I'll get right on that.

John
 
I thought the same thing you do, but one thing I noticed when it compiles apache it will make the directory (as it should). It does not cause a problem except some people won't get the webmail (big problem) :D

Thanks for looking into that as usual!
 
Hello,

I've fixed the installer to add the directory. You can easily finish off the install of the services that arn't working by running the following:
Code:
cd /usr/local/directadmin/scripts
./webmail.sh
./squirrelmail.sh
./phpMyAdmin.sh
John
 
Back
Top