Re: Help : Big pb with apache on Maemo Diablo

2008-11-06 Thread COURTAUD Didier
Hi Tony

I have made somme experiments which are a little confusing
but interesting

1 ) Check the symlink

/etc/rc2.d/S20httpd is really a symlink to ../init.d/httpd

../init.d/httpd ( /etc/init.d/httpd in real world ) exists and is not empty

Its contents seems normal !

Conclusion : I do not understand why dpkg is saying these strange error 
messages !

2 ) I try to launch httpd using /usr/bin/apachectl start

I was said that httpd is already running

Effectively if look at processes by ps -edf I see five httpd process running !

3 ) I open MicroB giving the URL : http://locahost

and I saw the message It works confirming the Web server is definitively 
working !


Grand conclusion : Despite the meassge in Application Manager, httpd seems to 
work !

It is impossible to uninstall it but maybe I have to stop the httpd processes 
before doing that !

In any case thanks for for your help Tony !

Didier


Tony Green a écrit :
 On Wednesday 05 November 2008 14:51:40 you wrote:
 
 Hi Didier,
 
 # dpkg -r httpd

 ( Reading database  18880 files and directories currently installed )
 Removing httpd 
 invoke-rc.d: not a symlink: /etc/rc2.d/S20httpd
 invoke-rc.d: dangling symlink: /etc/rc2.d/S20httpd
 This is strange. First it says it's not a symlink, then it's saying it IS a 
 symlink, but (I assume) it's saying that the file it's linked to doesn't 
 exist.
 
 If you issue:
 ls -al /etc/rc2.d/S20httpd
 it should show it as a symlink to /etc/init.d/httpd, which should exist.
 If it DOESN'T show as a symlink, it might be worth removing it and recreating 
 it as a symlink to the right place and trying again.
 
 Failing that, perhaps someone else on the list can suggest a way to either 
 force an unistall or at least convince the OS that it's been uninsalled so 
 you can try another install. Beyond that I'm afraid I'm stumped...
 
 dpkg: error processing httpd (--remove):
  subprocess pre-removalscript returned  eroor exist status 102
 invoke-rc.d: not a symlink: /etc/rc2.d/S20httpd
 invoke-rc.d: dangling symlink: /etc/rc2.d/S20httpd
 dpkg: error while cleaning up:
 Errors were encountered while processing: httpd

 #



 

___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Help : Big pb with apache on Maemo Diablo

2008-11-06 Thread COURTAUD Didier
Another test

- kill all the httpd processes

- try to uninstall by dpkg -r httpd

  Same errors on

invoke-rc.d: not a symlink: /etc/rc2.d/S20httpd
 invoke-rc.d: dangling symlink: /etc/rc2.d/S20httpd

I definitevely cannot uninstall hhtpd ( anyone on this list has an idea ? )
but it works and that is why I downloaded it !

Didier



COURTAUD Didier a écrit :
 Hi Tony
 
 I have made somme experiments which are a little confusing
 but interesting
 
 1 ) Check the symlink
 
 /etc/rc2.d/S20httpd is really a symlink to ../init.d/httpd
 
 ../init.d/httpd ( /etc/init.d/httpd in real world ) exists and is not empty
 
 Its contents seems normal !
 
 Conclusion : I do not understand why dpkg is saying these strange error 
 messages !
 
 2 ) I try to launch httpd using /usr/bin/apachectl start
 
 I was said that httpd is already running
 
 Effectively if look at processes by ps -edf I see five httpd process 
 running !
 
 3 ) I open MicroB giving the URL : http://locahost
 
 and I saw the message It works confirming the Web server is definitively 
 working !
 
 
 Grand conclusion : Despite the meassge in Application Manager, httpd seems to 
 work !
 
 It is impossible to uninstall it but maybe I have to stop the httpd processes 
 before doing that !
 
 In any case thanks for for your help Tony !
 
 Didier
 
 
 Tony Green a écrit :
 On Wednesday 05 November 2008 14:51:40 you wrote:

 Hi Didier,

 # dpkg -r httpd

 ( Reading database  18880 files and directories currently installed )
 Removing httpd 
 invoke-rc.d: not a symlink: /etc/rc2.d/S20httpd
 invoke-rc.d: dangling symlink: /etc/rc2.d/S20httpd
 This is strange. First it says it's not a symlink, then it's saying it IS a 
 symlink, but (I assume) it's saying that the file it's linked to doesn't 
 exist.

 If you issue:
 ls -al /etc/rc2.d/S20httpd
 it should show it as a symlink to /etc/init.d/httpd, which should exist.
 If it DOESN'T show as a symlink, it might be worth removing it and 
 recreating it as a symlink to the right place and trying again.

 Failing that, perhaps someone else on the list can suggest a way to either 
 force an unistall or at least convince the OS that it's been uninsalled so 
 you can try another install. Beyond that I'm afraid I'm stumped...

 dpkg: error processing httpd (--remove):
  subprocess pre-removalscript returned  eroor exist status 102
 invoke-rc.d: not a symlink: /etc/rc2.d/S20httpd
 invoke-rc.d: dangling symlink: /etc/rc2.d/S20httpd
 dpkg: error while cleaning up:
 Errors were encountered while processing: httpd

 #



 
 ___
 maemo-users mailing list
 maemo-users@maemo.org
 https://lists.maemo.org/mailman/listinfo/maemo-users
 

___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Installing Easy Debian

2008-11-06 Thread Kevin T. Neely
Doesn't Easy Debian expect that you are running from the built-in memory?
Maybe it is confused since you are running from your external card.  Since
you are already using a custom bootloader, why not install regular Debian
for the tablet?

just a guess,
K

On Wed, Nov 5, 2008 at 10:16 PM, Rick Bilonick [EMAIL PROTECTED] wrote:

 I've set up my N810 to boot from an 8GB external SDHC card. This works
 perfectly. I installed the easy debian chroot package. When I use the
 install image program created in Extras, it always shows only a small
 amount of space on the external card. It says it needs about 1.3GB but
 only a few hundred mb's appear to be free. What should I do?

 Rick B.

 ___
 maemo-users mailing list
 maemo-users@maemo.org
 https://lists.maemo.org/mailman/listinfo/maemo-users




-- 
In Vino Veritas
http://rubbernecking.info
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Help : Big pb with apache on Maemo Diablo

2008-11-06 Thread Graham Cobb
On Thursday 06 November 2008 14:26:29 COURTAUD Didier wrote:
 - try to uninstall by dpkg -r httpd

   Same errors on

 invoke-rc.d: not a symlink: /etc/rc2.d/S20httpd
  invoke-rc.d: dangling symlink: /etc/rc2.d/S20httpd

 I definitevely cannot uninstall hhtpd ( anyone on this list has an idea ? )
 but it works and that is why I downloaded it !

I do not have an idea but I have seen the same problem.  A user was having 
trouble installing GPE because it required updating a dependency (I can't 
remember which package, maybe libsoup or sqlite).  But the existing package 
would not uninstall, with dpkg producing exactly these errors.

These errors (which are actually coming from invoke-rc.d) cannot be overridden 
with any --force options on dpkg.

After several iterations of trying to debug the problem by email, the only 
solution that I eventually found was to manually remove the package.prerm 
file from /var/lib/dpkg/info/.  After that we were able to remove the broken 
package and install the new version.

I had assumed that this was actually either some obscure packaging bug in the 
(obsolete) package that was trying to be removed or a file-system corruption.  
It is very interesting to see the problem reported for a completely different 
package, on a different system.  Is it worth doing a fsck to check there is 
no filesystem corruption?

If you look at /usr/sbin/invoke-rc.d (which is a shell script), in the  
verifyrclink function, you can see that what is failing is:

test -L /etc/rc2.d/S20httpd

and

test -f /etc/rc2.d/S20httpd

I did not have access to my user's system and they just wanted a quick fix so 
I never got to look around the filesystem to see why those tests might be 
failing.

Graham
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Installing Easy Debian

2008-11-06 Thread Rick Bilonick

On Thu, 2008-11-06 at 06:48 -0800, Kevin T. Neely wrote:
 Doesn't Easy Debian expect that you are running from the built-in
 memory?  Maybe it is confused since you are running from your external
 card.  Since you are already using a custom bootloader, why not
 install regular Debian for the tablet?
 
 just a guess,
 K

Thanks. I think you are correct. I noticed that you can install easy
debian without all the included apps. So I think I will try that first.
All I really want to be able to do is run R on the tablet and this seems
like an easier way compared to trying to compile R for Maemo.

Rick B.

___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Changing wireless password

2008-11-06 Thread Peter Flynn
Andre Klapper wrote:
 Am Mittwoch, den 05.11.2008, 12:46 + schrieb Peter Flynn:
 Our campus has parallel wireless networks, one for staff/faculty
 and  one for students. Both use the same settings but different
 usernames/passwords:

 I deleted the entry for the student network and checked the
 settings for the staff network, and it's clearly trying to connect,
 but it comes up with the failed to authenticate error, presumably
 because the password has changed -- but I cannot find anywhere to
 tell it to use my new password.
 
 gconftool-2 --recursive-list /system/osso/connectivity/IAP
 will provide output of the connections that are stored on your device.
 Check the value of EAP_wpa_preshared_passphrase for the affected
 connection.
 
 Running
 gconftool-2 -s --type string 
 /system/osso/connectivity/IAP/$STRING/EAP_wpa_preshared_passphrase foo
 will reset the current value to foo - you must change $STRING to the ID
 provided by the output of the first command.

Unfortunately that didn't work, although the first command does report 
that the EAP_wpa_preshared_passphrase is set.

But is that the right field?

In the interface, WPA pre-shared key and WPA with EAP are two 
mutually-exclusive settings for Security Method, and I'm using WPA 
with EAP because that's what the network uses.

///Peter
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users