Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 21st September 2006, 04:26
seadap06 seadap06 is offline
Junior Member
 
Join Date: Sep 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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
Reply With Quote
Sponsored Links
  #2  
Old 22nd September 2006, 12:34
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

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.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 23rd September 2006, 17:34
drunkenmugsy drunkenmugsy is offline
Junior Member
 
Join Date: Sep 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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?
Reply With Quote
  #4  
Old 24th September 2006, 14:37
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

Quote:
Originally Posted by drunkenmugsy
It looks nice and seems to do more than ISPconfig
I doubt it.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 25th October 2006, 19:40
biffnix biffnix is offline
Junior Member
 
Join Date: Oct 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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
Reply With Quote
  #6  
Old 26th October 2006, 13:04
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

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.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #7  
Old 18th December 2006, 17:06
asem34 asem34 is offline
Junior Member
 
Join Date: Oct 2006
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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
Reply With Quote
  #8  
Old 19th December 2006, 20:30
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

Does your sources.list look exactly like the one in the tutorial?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #9  
Old 23rd January 2007, 03:12
asem34 asem34 is offline
Junior Member
 
Join Date: Oct 2006
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Unhappy

There is no source.list in the tutorial
Reply With Quote
  #10  
Old 23rd January 2007, 18:48
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
 
Default

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.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
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
Statistic not working mzo Installation/Configuration 49 20th April 2011 12:19
How stable/secure is the server after the Perfect Setup (Ubuntu 6.06) install? carloscastaneda HOWTO-Related Questions 6 3rd February 2007 18:34
Perfect Setup Ubuntu 6.06 Server Damnation HOWTO-Related Questions 1 19th August 2006 13:49
Help with The Perfect Setup - Ubuntu 6.06 LTS Server LinuxNewb HOWTO-Related Questions 6 30th July 2006 13:43
HOWTO The Perfect Setup - Ubuntu 6.06 LTS Server mikeeblau Installation/Configuration 4 12th June 2006 14:08


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


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