ispCP - Board - Support
apache2-mpm-worker not available - installing on Debian etch (VPS container) - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: System Setup & Installation (/forum-32.html)
+--- Thread: apache2-mpm-worker not available - installing on Debian etch (VPS container) (/thread-6887.html)

Pages: 1 2


RE: apache2-mpm-worker not available - installing on Debian etch (VPS container) - feelgood - 06-05-2009 07:08 AM

I created the file and did apt-get update, and OH NO!...

Code:
...
Get:39 http://ftp.de.debian.org lenny/contrib Packages [76.8kB]
Get:40 http://ftp.de.debian.org lenny/non-free Packages [102kB]
Fetched 12.0MB in 4m17s (46.7kB/s)
Reading package lists... Error!
W: GPG error: http://ftp.debian-unofficial.org etch Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 394D199524C52AC3
W: GPG error: http://www.debian-multimedia.org etch Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 07DC563D1F41B907
E: Dynamic MMap ran out of room
E: Error occurred while processing sqlrelay-sqlite (NewVersion1)
E: Problem with MergeList /var/lib/apt/lists/ftp.de.debian.org_debian_dists_lenny_main_binary-i386_Packages
E: The package lists or status file could not be parsed or opened.

Gosh!

I think I am going to get a Plesk cpanel for my etchy VPS.
It is just EUR 2.00 / month.

I thought it would be cool to install my own panel, but it seems it will take me too long to get this stable.
Thanks a lot for your help, alecksievici.
I have learned something with your comments.

If you or anybody else understands what is going on with my etch VPS container, please do post. I will give it another try.


RE: apache2-mpm-worker not available - installing on Debian etch (VPS container) - alecksievici - 06-05-2009 07:30 AM

well, what i gave you it wasn't the default sources.list for debian etch, after a little googling i found this
Code:
deb http://ftp.debian.org/debian/ etch main
deb-src http://ftp.debian.org/debian/ etch main

deb http://security.debian.org/ etch/updates main contrib
deb-src http://security.debian.org/ etch/updates main contrib

deb http://ftp.de.debian.org/debian/ etch main contrib non-free
deb http://security.debian.org/ etch/updates main contrib non-free
replace everything in your sources.list with the above, run apt-get update and it should work...

also, it's really odd that you did not have the default sources.list from the beginning.

also, about plesk: for 2 EUR how many domains can you host?

advice: before installing ispcp on a production server you should test it on a virtual/test machine so you can learn the install process a little Wink.

give it one more try with the sources.list i posted above and i'm pretty sure that you'll manage to install ispcp.

good luck.


RE: apache2-mpm-worker not available - installing on Debian etch (VPS container) - feelgood - 06-05-2009 07:48 AM

(06-05-2009 07:30 AM)alecksievici Wrote:  also, about plesk: for 2 EUR how many domains can you host?
10 domains, 100 for 4-5 EUR more, I think, unlimited for 9-10 EUR more i think.

I am not planning to do web hosting as a business. It would not be fair to my customers, as you can appreciate. I just need to have flexibility to host a number of domains, have guaranteed resources and modify the configuration as I please.

I have been dealing very recently with 5 different shared hosts in the US, deploying a PHP-MySQL application and each host configuration was different, which lead to different problems in the installation, some of them impossible to solve.

(I got 4/5 working fine, but each installation was different due to different configuration, and I had to request changes and I was too dependant on their response).

I want to have control of host configuration.
---------------------------------------------

You are very generous with your help.
I will have to try once more...
Here we go!
It looks better

Code:
Fetched 4493kB in 3m9s (23.7kB/s)
Reading package lists... Done

W: Duplicate sources.list entry http://security.debian.org etch/updates/main Packages (/var/lib/apt/lists/security.debian.org_dists_etch_updates_main_binary-i386_Packages)

W: Duplicate sources.list entry http://security.debian.org etch/updates/contrib Packages (/var/lib/apt/lists/security.debian.org_dists_etch_updates_contrib_binary-i386_Packages)

W: You may want to run apt-get update to correct these problems

Why does it say they are duplicate?
This is what's in the source.list file:
Code:
deb http://ftp.debian.org/debian/ etch main
deb-src http://ftp.debian.org/debian/ etch main

deb http://security.debian.org/ etch/updates main contrib
deb-src http://security.debian.org/ etch/updates main contrib

deb http://ftp.de.debian.org/debian/ etch main contrib non-free
deb http://security.debian.org/ etch/updates main contrib non-free



RE: apache2-mpm-worker not available - installing on Debian etch (VPS container) - alecksievici - 06-05-2009 08:22 AM

not to worry, it's just a warning, run apt-get update again and it will go away...

the problem is that it sees
Code:
deb http://security.debian.org/ etch/updates main contrib non-free
as
Code:
deb http://security.debian.org/ etch/updates main contrib
no big deal, the installation of the required packages should proceed as it should.

i've been using ispcp for a year now and i can tell you that i've learned alot about linux configuration in this time. you'll see that ispcp it's very easy to use, config and maintain and you'll find here answers to almost every problem you'll encounter.


RE: apache2-mpm-worker not available - installing on Debian etch (VPS container) - feelgood - 06-05-2009 06:20 PM

Hi
I have just finished STEP 3 (3. Install the required modules)

Everything seemed fine, except that this part did not happen:

Code:
Select yes when you are asked if you would like to continue installing without maildirs

Select no to force sync updates.

When you get to the proftpd screen, select standalone

But there where no warnings or errors.
I will make an "After step 3" backup now and proceed.
Step 6 not working

Code:
[b]6. Configure MySQL server[/b]
Change or create MySQL root password, remove anonymous users, disallow root login remotely, remove test database (and access to it), reload privilege tables.

# mysql_secure_installation

I am entering the known mysql password and also trying with blank password, even with original container password.

I get this error
Code:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run         /mysqld/mysqld.sock' (2)

I have tried accessing MySQL via mysqladmin and it is also not working.
It was working fine before.

At this point I am giving up (on this machine) and moving to Plesk.
I would like try installing ispcp on a test local machine as you suggested and with Lenny, as you also very rightly suggested.

I think the ispcp project will be very useful to learn a lot about Debian Linux administration, but I must move on as the goal of the current project is not to learn Debian Linux administration but to set up an easy to manage environment to host a number of domains with flexibility, control and some guaranteed resources. Plesk and SSH will do.

Thanks A LOT for your help !
You have been very kind. Smile


RE: apache2-mpm-worker not available - installing on Debian etch (VPS container) - alecksievici - 06-05-2009 07:20 PM

during the installation of the required packages there should have been some question you had to answer.

are you sure that all the packages in $(cat ./docs/Debian/debian-packages-etch) had been installed?

well i guess it wasn't your day installing ispcp. give it a try on the test machine with lenny and you'll see that everything will go smooth. too bad you didn't try more, but apparently that etch vps didn't want ispcp on it...


RE: apache2-mpm-worker not available - installing on Debian etch (VPS container) - feelgood - 06-05-2009 08:09 PM

(06-05-2009 07:20 PM)alecksievici Wrote:  during the installation of the required packages there should have been some question you had to answer.

are you sure that all the packages in $(cat ./docs/Debian/debian-packages-etch) had been installed?

well i guess it wasn't your day installing ispcp. give it a try on the test machine with lenny and you'll see that everything will go smooth. too bad you didn't try more, but apparently that etch vps didn't want ispcp on it...
Everthing seemed fine when i did
# apt-get install $(cat ./docs/Debian/debian-packages-etch)

But the truth is I do not know enough to tell if the all the packages were installed.

I think you are right that the etch vps was not comfortable with the idea of ispcp being installed on it, but I am sure you would have made it work, no matter what Wink


RE: apache2-mpm-worker not available - installing on Debian etch (VPS container) - kilburn - 06-05-2009 11:12 PM

The issue had nothing to do with the machine being a vps or whatever. It had to do with lack of debian admin skills, as you said.

You can specify repositories (collections of packages that can be installed) in the /etc/apt/sources.list file as well as in any file inside the /etc/apt/sources.list.d/ directory. Thus, your original repositories were specified in a file inside this directory, and all you had to do is edit it, adding " non-free" to the end of every repository line.

Quote:
Code:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

See you are not getting an authentication error, but a connection one. Mysql server was simply down, so you should have tried to start it first "/etc/init.d/mysql start" and look for errors in the mysql log if it didn't start.

We're sorry to see you go, good luck with plesk!