LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   installing Lampserver (https://www.linuxquestions.org/questions/linux-server-73/installing-lampserver-871665/)

nonty 03-29-2011 03:55 AM

installing Lampserver
 
i have used the following commands to install lampserver

$ sudo apt-get update

$ sudo apt-get install lamp-server^

i get this message

sudo apt-get install lamp-server^
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 246 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up dkimproxy (1.2-6) ...
addgroup: The group `dkimproxy' already exists as a system group. Exiting.
The system user `dkimproxy' already exists. Exiting.
The user `dkimproxy' is already a member of `ssl-cert'.
* Starting inbound DomainKeys-filter dkimproxy.in Unknown option: hostname
Usage:
dkimproxy.in [options] LISTENADDR:PORT RELAYADDR:PORT
smtp options:
--conf_file=FILENAME
--listen=LISTENADDR:PORT
--relay=RELAYADDR:PORT
--reject-error

verification options:
--reject-fail
--hostname=HOSTNAME

daemon options:
--daemonize
--user=USER
--group=GROUP
--pidfile=PIDFILE

dkimproxy.in --help
to see a full description of the various options

[fail]
invoke-rc.d: initscript dkimproxy, action "start" failed.
dpkg: error processing dkimproxy (--configure):
subprocess installed post-installation script returned error exit status 2
No apport report written because MaxReports is reached already
Errors were encountered while processing:
dkimproxy
E: Sub-process /usr/bin/dpkg returned an error code (1)

i also tried this command sudo apt-get -f install i still get the same message please help!!

Noway2 03-29-2011 04:50 AM

As a character in a famous Tolkien book once said:
Quote:

Short cuts make for long delays
and using apt-get install lamp-server is definitely a short cut. LAMP stands for Linux, Apache MySQL, PHP which is a common set of web site tools for programming and using a SQL back end. This probably isn't what you want to hear, but my honest suggestion is that you work on installing each of these one at a time and get them running satisfactorily before going on to the next one. In order to work with each of these applications, you need to develop a basic level of understanding about how to configure and use them. Trying to use a packaged configuration for this purpose will undoubtedly leave you with a setup full of security holes. There are lots of how to documents on setting up these components. Find some, read them, and try to understand them rather than just following the "type this instruction".

To add some clarification as to why I advise the above, do you understand what DKIM is? DKIM stands for Domain Keys Identified Mail and is a method of using public key infrastructure to have your email automatically signed by your server and then adding records to your public DNS to allow recipient servers to verify that the email really originated from your server. Honestly, I am not sure what a DKIMproxy is or what it would have to do with a LAMP server, which is distinct from a mail server.

redgoblin 03-29-2011 05:50 AM

I agree with pretty much everything that Noway2 says. That's not to put you off, but rather you'll get a much better working environment if you install and understand each component separately. Google around for setting up a LAMP server using your distribution.

On an additional point; the problem you are experiencing is not with installing a package. After your apt-get command notice the two lines

Code:

0 upgraded, 0 newly installed, 0 to remove and 246 not upgraded.
1 not fully installed or removed.

There's nothing to install. What it's actually trying to do is resolve a previous installation that has failed. I would suggest you fix or remove dkimproxy before trying anything else.

Also, what distribution and version are you using? Looking at Debian and Ubuntu (the two big apt based distributions) neither has a package called lamp-server.


All times are GMT -5. The time now is 07:56 AM.