HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   HOWTO-Related Questions (http://www.howtoforge.com/forums/forumdisplay.php?f=2)
-   -   Ubuntu 6.06 LTS ISP Server Setup with DTC (http://www.howtoforge.com/forums/showthread.php?t=7000)

seadap06 21st September 2006 04:26

Ubuntu 6.06 LTS ISP Server Setup with DTC
 
Not as easy as it appears. I am getting stuck with the last part:

Quote:

dpkg -i dtc_0.21.0-0_all.deb
Actually, the cvs version is 0.22 now. I get all the way through setting up the mysql passwords, pear update etc and the fails saying

Quote:

===> Installing modifications in php.ini
grep: /etc/php4/cli/php.ini: No such file or directory
/var/lib/dpkg/info/dtc.postinst: line 183: /etc/php4/cli/php.ini: No such file or directory
dpkg: error processing dtc (--install):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
dtc
If I fake a cli directory and copy the php.ini from php5 I get past that point but then fails saying:
Quote:

===> Installing or upgrading DTC database: dtc ERROR 1045 (28000): Access denied for user 'XXXXXXX'@'localhost' (using password: YES)
dpkg: error processing dtc (--install):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
dtc
where XXXXXXX is the password I entered for mysql root instead of a valid user.

I've tried to apt-get remove dtc, apt-get --purge remove dtc, dpkg -r dtc and reinstalling using the cvs and the apt-get but it still shows the root password instead of the root account.

What am I missing here? Or better yet, should I use a different control panel? I've tried in vain to get ISPconfig working either.

Thanks!

Scott

falko 22nd September 2006 12:34

Quote:

Originally Posted by seadap06
===> Installing modifications in php.ini
grep: /etc/php4/cli/php.ini: No such file or directory
/var/lib/dpkg/info/dtc.postinst: line 183: /etc/php4/cli/php.ini: No such file or directory
dpkg: error processing dtc (--install):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
dtc

Did you install a command-line PHP (php-cli)? I think it's missing on your system.

drunkenmugsy 23rd September 2006 17:34

Dtc
 
Im having same problem with DTC. It looks nice and seems to do more than ISPconfig so I thought I would try it. No go. The install does php5, the error is asking for php4 maybe?

falko 24th September 2006 14:37

Quote:

Originally Posted by drunkenmugsy
It looks nice and seems to do more than ISPconfig

I doubt it. :D

biffnix 25th October 2006 19:40

Has there been a resolution to this issue? I have the same problem

root@localhost:~/dtc/bin# dpkg -i dtc_0.24.0-0_all.deb

(Reading database ... 32353 files and directories currently installed.)
Preparing to replace dtc 0.24.0-0 (using dtc_0.24.0-0_all.deb) ...
===> Uninstalling ports.conf
===> Uninstalling inclusion from courier authdaemonrc
===> Uninstalling inclusion from dovecot.conf
===> Uninstalling inclusion from proftpd.conf
===> Uninstalling inclusion from postfix/main.cf
===> Uninstalling inclusion from postfix/master.cf
===> Uninstalling inclusion from amavis/amavisd.conf
===> Uninstalling inclusion from postfix/sasl/smtpd.conf
===> Uninstalling from qmail
===> Uninstalling inclusion from /etc/sudoers
===> Uninstalling inclusion from /etc/shells
===> Uninstalling inclusion from /etc/ssh/sshd_config
===> Uninstalling inclusion from /etc/nss-mysql.conf
===> Uninstalling inclusion from /etc/nss-mysql-root.conf
===> Uninstalling inclusion from /etc/nsswitch.conf
Unpacking replacement dtc ...
Setting up dtc (0.24.0-0) ...
===> Installing modifications in php.ini
grep: /etc/php4/cli/php.ini: No such file or directory
Your php.ini doesn't has pear in it's inc path: changin!
/var/lib/dpkg/info/dtc.postinst: line 228: /etc/php4/cli/php.ini: No such file or directory
dpkg: error processing dtc (--install):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
dtc

Any ideas?

Joe G.
Bishop, CA

falko 26th October 2006 13:04

Quote:

Originally Posted by biffnix
grep: /etc/php4/cli/php.ini: No such file or directory
Your php.ini doesn't has pear in it's inc path: changin!
/var/lib/dpkg/info/dtc.postinst: line 228: /etc/php4/cli/php.ini: No such file or directory

I think you must install the php-cli package.

asem34 18th December 2006 17:06

Ubuntu 6.06 LTS ISP Server Setup with DTC
 
Falko:

I run into several problems with this HOW-TO, and would be nice if these 8most of them) are updated properly.

Here is one
------------------------------------------------------------------------
In the line
apt-get install postfix postfix-mysql courier-base courier-pop courier-imap courier-authdaemon courier-maildrop courier-authmysql courier-ssl courier-imap-ssl courier-pop-ssl sasl2-bin libsasl2 libsasl2-module

the libsasl2-module does not get installed . does not exist in the repositories
-----------------------------------------------------------------------

In the next line

rm /var/spool/postfix/var/run/saslauthd/
ln -s /var/run/saslauthd /var/spool/postfix/var/run

Cannot rm since the object does not exist and cannot lm since the item does not exist either.

-------------------------------------------------------------------------

Then, if I ignore these, the same problem with DTC as posted above.

Can you help please?

Cheers

falko 19th December 2006 20:30

Does your sources.list look exactly like the one in the tutorial?

asem34 23rd January 2007 03:12

There is no source.list in the tutorial

falko 23rd January 2007 18:48

Oh, you're referring to a different tutorial. Well, then make sure the uiverse repository is enabled in /etc/apt/sources.list. Run
Code:

apt-get update
after any modification of that file.


All times are GMT +2. The time now is 22:37.

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