LinuxMCE Forums

General => Installation issues => Topic started by: Skrelpawin on December 02, 2009, 11:10:45 pm

Title: Fresh Beta2 install failed
Post by: Skrelpawin on December 02, 2009, 11:10:45 pm
Hi everyone,

after a day full of LinuxMCE Beta2 i want to write down my persolan experiences.

First of all, i'm not upgrading from any Version. I've downloaded the newest DVD burned and verified it.

Level 1:
The installation process of Kubuntu

Result :
No Problem. I've used a free 40 GB HDD and after 15 Minutes everyting was fine.

Level 2:
The installation process of lmce

Result:
The installation runs and many lines of output were written.
I've not checked them all. Maybe my first fault. A Command not found error popped up. Then the requested reboot.

Level 3 1st try:
The second boot of the new born LMCE-System

Result:
Some of the System Deamons fail. NFS Common and Bind9 for example. Then Waiting some time in front of NFS starting the AVWizard came up but with an Analog Audio selected the Wizard restarts everytime. So i selected NoAudio and the End of the Wiz was reached. Now the Screens are Regenerated. After finishing -> Black Screen -> Reboot

Level 3 2nd try:
The third boot. Same as before but: Now the boot process stops after starting the OpenBSD sshd server. Game Over

Now i start again from the beginning.

Level 1 to 3:
Install, install, reboot, configure, broken boot process.

Enought for today. If anyone has the same problem or any ideas for an solution i'll give it a try :)

Greetings

Dominik
Title: Re: Fresh Beta2 install failed
Post by: charlie1953 on December 02, 2009, 11:45:38 pm
Dom, I have had a problem with the new beta 2 DVD too.
Install kubuntu goes fine, I pick the nvidia driver, reboot, all OK.
Then I click on the LMCE script - it seems to install OK but I get the command not found popup.

(maybe thats a clue - but I ignored it and rebooted as per the instruction at the end of the script)

Then it just boot to the command line interface asking me to login.

Didn't have time to investigate further but I will watch this thread and add to it if I can.

Charlie
Title: Re: Fresh Beta2 install failed
Post by: valent on December 03, 2009, 12:16:13 am
Me too :(

Here is the output of the install script:

http://fpaste.org/2r9F/

and now that I try to install additional packages I get this mysql error message:


$ sudo apt-get install rtorrent
Reading package lists... Done                                           
Building dependency tree                                                 
Reading state information... Done                                       
The following extra packages will be installed:                         
  libtorrent11 libxmlrpc-c3                                             
The following NEW packages will be installed:                           
  libtorrent11 libxmlrpc-c3 rtorrent                                     
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.           
2 not fully installed or removed.
Need to get 902kB of archives.
After this operation, 2437kB of additional disk space will be used.
Do you want to continue [Y/n]? y
WARNING: The following packages cannot be authenticated!
  libxmlrpc-c3 libtorrent11 rtorrent
Authentication warning overridden.
Get:1 http://hr.archive.ubuntu.com intrepid/universe libxmlrpc-c3 1.06.27-1 [245kB]
Get:2 http://hr.archive.ubuntu.com intrepid/universe libtorrent11 0.12.2-0ubuntu1 [324kB]
Get:3 http://hr.archive.ubuntu.com intrepid/universe rtorrent 0.8.2-0ubuntu1 [333kB]
Fetched 902kB in 2s (304kB/s)
Selecting previously deselected package libxmlrpc-c3.
(Reading database ... 122388 files and directories currently installed.)
Unpacking libxmlrpc-c3 (from .../libxmlrpc-c3_1.06.27-1_i386.deb) ...
Selecting previously deselected package libtorrent11.
Unpacking libtorrent11 (from .../libtorrent11_0.12.2-0ubuntu1_i386.deb) ...
Selecting previously deselected package rtorrent.
Unpacking rtorrent (from .../rtorrent_0.8.2-0ubuntu1_i386.deb) ...
Processing triggers for man-db ...
Setting up mysql-server-5.0 (5.0.67-0ubuntu6) ...
 * Stopping MySQL database server mysqld                                                                                                             [ OK ]
chown: cannot access `/usr/share/mysql': No such file or directory
Reloading AppArmor profiles : done.
 * Starting MySQL database server mysqld
                                                                                                                                                     [fail]
invoke-rc.d: initscript mysql, action "start" failed.
dpkg: error processing mysql-server-5.0 (--configure):
 subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of mysql-server:
 mysql-server depends on mysql-server-5.0; however:
  Package mysql-server-5.0 is not configured yet.
dpkg: error processing mysql-server (--configure):
 dependency problems - leaving unconfigured
Title: Re: Fresh Beta2 install failed
Post by: Zaerc on December 03, 2009, 05:18:42 am
Looks like something is preventing the mysql-server package from getting configured there, try running:

sudo apt-get install -f

And possibly creating the /usr/share/mysql directory manually could help, but should not be necessary.
Title: Re: Fresh Beta2 install failed
Post by: charlie1953 on December 03, 2009, 08:57:14 am
Where do I find my output from the install script?   :-[
Title: Re: Fresh Beta2 install failed
Post by: charlie1953 on December 03, 2009, 09:18:51 am
I do not have the same mysql problem as valent - mine seems to be installed and running:
Code: [Select]
mysql> status
--------------
mysql  Ver 14.12 Distrib 5.0.67, for debian-linux-gnu (i486) using readline 5.2

Connection id:          30
Current database:
Current user:           charlie@localhost
SSL:                    Not in use
Current pager:          stdout
Using outfile:          ''
Using delimiter:        ;
Server version:         5.0.67-0ubuntu6 (Ubuntu)
Protocol version:       10
Connection:             Localhost via UNIX socket
Server characterset:    latin1
Db     characterset:    latin1
Client characterset:    latin1
Conn.  characterset:    latin1
UNIX socket:            /var/run/mysqld/mysqld.sock
Uptime:                 22 hours 15 min 8 sec

Threads: 1  Questions: 93  Slow queries: 0  Opens: 23  Flush tables: 1  Open tables: 17  Queries per second avg: 0.001
--------------

mysql>

and here is my output to Zaerc's suggestion:
Code: [Select]
charlie@soprano:~$ sudo apt-get install -f
[sudo] password for charlie:
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
charlie@soprano:~$

any other ideas??
Title: Re: Fresh Beta2 install failed
Post by: charlie1953 on December 03, 2009, 10:53:45 am
OK I assume the output from the install script is not logged so I ran it again and this what I got...

Code: [Select]
Starting mce-install.sh
 3 Dec 22:35:50 ntpdate[8118]: adjust time server 91.189.94.4 offset -0.412628 sec                                                                             
Using eth0 for external interface                                               
Using eth1 for internal interface                                               
--- start mce wizard data ---                                                   
c_deviceType=2 # 1-Core, 2-Hybrid, 3-DiskedMD                                   
c_netIfaceNo=1                                                                 
c_netExtName='eth0'                                                             
c_netExtIP=''                                                                   
...
< snip >
...
c_ubuntuLiveCdFrom=1                                                           
c_ubuntuLiveCdPath=''                                                           

--- end mce wizard data ---
Hit http://nz.archive.ubuntu.com intrepid Release.gpg
Ign http://nz.archive.ubuntu.com intrepid/main Translation-en_NZ
Ign http://nz.archive.ubuntu.com intrepid/restricted Translation-en_NZ
...
< snip >
...
Hit http://security.ubuntu.com intrepid-security/multiverse Packages         
Hit http://security.ubuntu.com intrepid-security/multiverse Sources           
Reading package lists...                                                     
MESSAGE: Generating Default Config File                                       
MESSAGE: Installing MySQL Server                                             
Hit http://nz.archive.ubuntu.com intrepid Release.gpg                         
Ign http://nz.archive.ubuntu.com intrepid/main Translation-en_NZ             
Ign http://nz.archive.ubuntu.com intrepid/restricted Translation-en_NZ       
...
< snip >
...
Hit http://security.ubuntu.com intrepid-security/multiverse Packages         
Hit http://security.ubuntu.com intrepid-security/multiverse Sources           
Reading package lists...                                                     
Reading package lists...                                                     
Building dependency tree...                                                   
Reading state information...                                                 
mysql-server is already the newest version.                                   
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.               
 * Starting MySQL database server mysqld                                     
   ...done.                                                                   
Reading package lists...                                                     
Building dependency tree...                                                   
Reading state information...                                                 
pluto-sample-media is already the newest version.                             
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.               
Reading package lists...                                                     
Building dependency tree...                                                   
Reading state information...                                                 
video-wizard-videos is already the newest version.                           
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.               
MESSAGE: Installing LinuxMCE Base Software                                   
Reading package lists...                                                     
Building dependency tree...                                                   
Reading state information...                                                 
Package pluto-dcerouter is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or               
is only available from another source                                           
E: Package pluto-dcerouter has no installation candidate                       

ERROR : Failed to install and configure the base software

Running post-install.sh
post-install.sh: line 2: /usr/pluto/bin/nvidia-install.sh: No such file or directory                                                                           
removed `/etc/rc3.d/README'                                                     
removed `/etc/rc3.d/S01policykit'                                               
removed `/etc/rc3.d/S05vbesave'                                                 
removed `/etc/rc3.d/S10acpid'                                                   
...
< snip >
...
`/etc/rc2.d/S99rmnologin' -> `/etc/rc5.d/S99rmnologin'
`/etc/rc2.d/S99stop-readahead' -> `/etc/rc5.d/S99stop-readahead'
`/etc/rc5.d/S99linuxmce' -> `/etc/init.d/linuxmce'
grep: /etc/asterisk/modules.conf: No such file or directory
sed: can't read /etc/asterisk/modules.conf: No such file or directory
grep: /etc/asterisk/modules.conf: No such file or directory
sed: can't read /etc/asterisk/modules.conf: No such file or directory
grep: /etc/asterisk/modules.conf: No such file or directory
sed: can't read /etc/asterisk/modules.conf: No such file or directory
Remove softlink to start KDM
 Removing any system startup links for /etc/init.d/kdm ...
You must specify at least one of -c, -u, or -d.

Usage: /usr/sbin/update-initramfs [OPTION]...

Options:
 -k [version]   Specify kernel version or 'all'
 -c             Create a new initramfs
 -u             Update an existing initramfs
 -d             Remove an existing initramfs
 -t             Take over a custom initramfs with this one
 -b             Set alternate boot directory
 -v             Be verbose
 -h             This message


The first phase of the install process is completed
Reboot the system to start the final process.

Done!


The pop up error is titled "Error - KdeSudo" and the message says "Command not found!"

The problem appears to be in the line:
Quote
Package pluto-dcerouter is not available, but is referred to by another package.

After that it all turns to custard.
 ???
Title: Re: Fresh Beta2 install failed
Post by: unk95 on December 03, 2009, 07:20:53 pm
I did a fresh install (DVD install) and had the same error message as charlie1953.

I am trying new net install - will keep posted.
Title: Re: Fresh Beta2 install failed
Post by: roberto99 on December 03, 2009, 07:56:24 pm
I did the dvd install (everything as a virtual machine on vmware server), configured network, installed vmware tools, installed lmce, reboot and i end up at a command line login... what do i do there or should i end up somewhere else? I logged in as the user I had created installing kubuntu. I tried the command /usr/pluto/bin/Diskless_CreateTBZ.sh but it gives me errors

Any hint? Thanks
Title: Re: Fresh Beta2 install failed
Post by: freaky on December 03, 2009, 08:27:19 pm
I had trouble installing from DVD also. Since today the new installer file is online - so I will try installing beta2 via web, like explained here:

http://wiki.linuxmce.com/index.php/LinuxMCE-0810_beta

hope this works better with my machine now. Can't wait to have this system running.

freaky
Title: Re: Fresh Beta2 install failed
Post by: krys on December 03, 2009, 10:04:29 pm
I have got the KDE error with every install of both beta and beta2, but LMCE has never seemed to be affected by the error and upon reboot everything seems to work fine.
Title: Re: Fresh Beta2 install failed
Post by: pedplar on December 04, 2009, 04:02:39 am
I have also gotten the error on both betas dvd.  could never get beta 1 to work, I haven't had any problems with beta2 dvd, except for that error, at least not on the core.
Title: Re: Fresh Beta2 install failed
Post by: bongowongo on December 04, 2009, 08:56:34 am
I had problem with DVD, that it could not use gparted in the kubuntu installation.
Making sure this is not a problem with a wrong burn or wrongly downloaded ISO
Got net-install working.
Title: Re: Fresh Beta2 install failed
Post by: charlie1953 on December 04, 2009, 10:58:01 am
OK so i used the DVD - it installed kubuntu but the LMCE install script failed.
So I  logged in and ran the commands in the wiki (link provided by Freaky) - took a while but no problems encountered.
I have now successfully installed Beta2  - worked like a charm.
now the fun starts - thanks to all who have helped.
Title: Re: Fresh Beta2 install failed
Post by: Skrelpawin on December 04, 2009, 02:19:53 pm
Hi there,

solved my problem. My second Netwok adapter is history. Now with a new on the setup works fine for me (exept the kde popup Command not found).
Never thought that a broken NIC could make so much trouble.
Let's see how lmce beta2 works....
Title: Re: Fresh Beta2 install failed
Post by: roberto99 on December 04, 2009, 06:46:38 pm
Charlie1953 can you explain what exactly you did to get it working?
You say "so I logged in"... into the broken installation or did you reinstall.... ? Which  commands do you exactly mean?
I am newby in lmce and linux, please be patiente,
thanks
Roberto

OK so i used the DVD - it installed kubuntu but the LinuxMCE install script failed.
So I  logged in and ran the commands in the wiki (link provided by Freaky) - took a while but no problems encountered.
I have now successfully installed Beta2  - worked like a charm.
now the fun starts - thanks to all who have helped.

Title: Re: Fresh Beta2 install failed
Post by: roberto99 on December 05, 2009, 11:25:31 am
I have installed beta2 on a physical pc (which was perfectly supported as hardware by 7.10) by the internet method and everything seems fine till i reach the screen where it reads "Starting Core Services. Please be patient". There it stops and does not go any further and the if you move the mouse the screen turns white and the pointer is a black "x"
Any ideas?

Thanks
Roberto
Title: Re: Fresh Beta2 install failed
Post by: charlie1953 on December 05, 2009, 01:09:36 pm
Hi Roberto
I spoke too soon above - I am still having no end of problems. But to get a successful install I used the same build - I did not start from scratch after the desktop script failed.
After the reboot I had a command prompt - so I logged on with the userid specified during installation.
Typed startx to get the gui.
Then I opened a browser session and copied and pasted the commands one line at a time from:
http://wiki.linuxmce.com/index.php/LinuxMCE-0810_beta
which go like this:
Code: [Select]
sudo su - #This might ask for the password you specified earlier during the install of kubuntu.
aptitude update
aptitude dist-upgrade
wget -c http://deb.linuxmce.org/ubuntu/new-installer-beta2.tar.gz
tar xvf new-installer-beta2.tar.gz
cd new-installer
./pre-install-from-repo.sh
./mce-install.sh
./post-install.sh
reboot

After that I could go through the setup without a hitch, I configured mythtv watched a bit of live tv, scheduled a recording all looked great.

Then I tried booting my diskless MD to set that up and thats when the problems started.
During the diskless build everything froze and on the server I saw:
"Write-error on Swap-device...compcache: Error allocating memory...."
I googled that and got the instructions for disabling compcache which I did.

However, I suspect that something got screwed because the system keeps freezing and is totally unpredictable.

I am now rebuilding from scratch using the beta1 DVD to build kubuntu.
I am in the middle of upgrading kubuntu - then I will disable compcache before I repeat the internet installation of lmce as above.
Will post results - but it may take a few days cause I am going fishing tomorrow  :)
Title: Re: Fresh Beta2 install failed
Post by: roberto99 on December 05, 2009, 01:17:27 pm
ok, thanks charlie1953, will try that

PS: what are you going to fish (over there in the states i guess)? Here in Zurich/Switzerland the lakes are nearly dead and fishing means most of all waiting waiting waiting as opposed to 20 or 30 years ago
Title: Re: Fresh Beta2 install failed
Post by: charlie1953 on December 05, 2009, 01:31:43 pm
BTW I got the information about compcache here:
http://administratosphere.wordpress.com/2009/07/19/disabling-compcache-in-ubuntu-jaunty-and-related-swap-errors/

and here:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/328437/

the instructions for removing it are as follows:
Code: [Select]
To check if one has Compcache enabled run:
sudo swapon -s

If there is a ramzswap in there along with your normal swap settings it means it is enabled. To disable it:

sudo rm /usr/share/initramfs-tools/conf.d/compcache && sudo update-initramfs -u

And restart. Check to see if it is installed by running this again after rebooting:
sudo swapon -s

I had to modify the rm command by replacing the name of the swap directory with the one indicated in my "swapon -s" command.
hope that helps - but maybe for you compcache is not a problem, who knows?

I am in New Zealand - the fishing is great - will be going out from Torbay to The Noises.
Check it out on Google Maps - and weep  :)
Title: Re: Fresh Beta2 install failed
Post by: freaky on December 07, 2009, 11:43:22 am
Couldn't get it to work with internet installation also.

Seems to install everything fine, I even can run the AV Wizzard, but after rebooting all I get is a grey screen with the mouse pointer..... anybody has similar Problems?

freaky
Title: Re: Fresh Beta2 install failed
Post by: cesarscav on December 07, 2009, 03:58:30 pm
Hi,
Same problem here.
These are the steps that I followed.

Download the new beta2 iso
Install Linux MCE from boot menu

After install double click on Install linuxMCE Icon on Kubuntu desktop

The first part of the installation process apparently was fine.

Reboot

AV wizard is going fine until step 5 when I choose my audio connection the AV wizard restart to Step 1 (tried with different video setups and different audio connections, and always the same issue) the only way to continue is to select no Audio, and the installation appears to continue after some time.

It loads different things on a grey background after regenerating orbiters it stays on that grey screen with mouse pointer.

Any ideas ?
Title: Re: Fresh Beta2 install failed
Post by: ShyGuy91284 on December 07, 2009, 05:03:35 pm
Same thing here. tty1 indicates that Orbiter generation was successful. Returning to the the X11 terminal the background is then black.
Title: Re: Fresh Beta2 install failed
Post by: mythtified on December 07, 2009, 06:17:13 pm
This may be a long shot but check your /etc/network/interface file.  My installation stopped in a similar fashion to what you are describing.  I came across some information in the wiki, unrelated to this, that mentioned that during the installation make sure that eth0 is your public facing network interface.  I checked my interface file and found that only the ip address was listed on eth0.  There was no gateway nor subnet mask listed plus the ip address was one from the range used on my routers dhcp server.  I edited the interface file and added the subnet mask and gateway information.  I then double checked the resolf.conf file to make sure it had at least one dns entry.  Once I did this I rebooted the machine and it finished the installation and the orbiter appeared.  I hope this works for you.
Title: Re: Fresh Beta2 install failed
Post by: ShyGuy91284 on December 07, 2009, 07:17:27 pm
That was the problem. Thanks!
Title: Re: Fresh Beta2 install failed
Post by: cesarscav on December 07, 2009, 08:06:57 pm
mythtified,

Thanks It worked !!

Cesar
Title: Re: Fresh Beta2 install failed
Post by: mythtified on December 07, 2009, 09:12:06 pm
Great.   ;D  Even a blind squirrel finds an acorn once in a while.  I am glad I could help.
Title: Re: Fresh Beta2 install failed
Post by: barbalex on December 11, 2009, 12:13:42 pm
Hi

I have almost exactly the same problems as Dominik.

Tried with DVD setup and Internet setup. Tried installing Ubuntu first, then updating NVIDIA driver to 190.42. On Ubuntu everything works fine but when I install LinucMCE I get extremely long startup-times that can often not be distinguished from failing startup, expecially since the screen turns black and I can only catch short glances pressing Numbers like 0. A/V Wizard is no solution.

There are a lot of other subjects on the forum with similar problems but they have not been any help - so far.

I have spent 10 to 20 hours so far. Very frustrating.

I am a Linux beginner but have plenty experience with windows, databases, css, html and visual basic.

Any help would be extremely appreciated.

Alex
Title: Re: Fresh Beta2 install failed
Post by: freaky on December 11, 2009, 01:27:05 pm
This may be a long shot but check your /etc/network/interface file.  My installation stopped in a similar fashion to what you are describing.  I came across some information in the wiki, unrelated to this, that mentioned that during the installation make sure that eth0 is your public facing network interface.  I checked my interface file and found that only the ip address was listed on eth0.  There was no gateway nor subnet mask listed plus the ip address was one from the range used on my routers dhcp server.  I edited the interface file and added the subnet mask and gateway information.  I then double checked the resolf.conf file to make sure it had at least one dns entry.  Once I did this I rebooted the machine and it finished the installation and the orbiter appeared.  I hope this works for you.

sounds like that solved anybodys problems here. I will reinstall beta2 again, and try this. I'm absolutely new to linux, can you give me a description what I have to type in my terminal or with what I can edit this file.

Thank you so far - maybe someone can add this to the beta2 wiki??? Just in case of a failed installation.

freaky
Title: Re: Fresh Beta2 install failed
Post by: bulek on December 13, 2009, 09:27:14 pm
FYI,

just got same problem with audio and same solution with editing /etc/network/interfaces....

Regards,

Bulek.
Title: Re: Fresh Beta2 install failed
Post by: mythtified on December 14, 2009, 01:01:12 am
The following is what I did:
I had been playing with the installers on several occasions over a period of about a week and my last attempt at a fresh install resulted in a good install without having to edit my interface file.  Any way, start by opening a terminal window on the core/hybrid (by pressing ctl shift f2 this will switch you to a terminal window), type cd /etc/network at the command line, and press enter.  This will change your current directory to /etc/network.  Within this directory you will find a file called interfaces.  Verify that the file needs to be edited.  Type cat interfaces.  This will display the contents of the interfaces file.  On my machine the file displayed the following:

auto lo
           iface lo inet loopback

auto eth0
iface eth0 inet static
             address  192.168.0.104
             netmask
             gateway
auto eth0:1
iface eth0:1 inet static
             address 192.168.80.1
             netmask 255.255.255.0

Originally I was using a single network card in my test installation.  I have since added a second card.  This could have been part of my problem but I am not sure.  If you have no netmask or gateway entry in your interfaces file then you will need to add them.  I used vi to edit the file but it is very difficult to use if you have not used it before.  You should have pico on your system.  Type sudo pico interfaces.  Enter your password when prompted.  This will display a full screen editor that is fairly easy to use.  As you can see there was nothing entered for my netmask or gateway entries.  The ip address, in my case, was a problem since it is listed as static and it is from the range of dhcp addresses on my network.  Just add the necessary information, change the ip address if needed, save the file, and then exit the editor.  Reboot your machine.