You are not logged in.
Pages: 1
[c]Starting web server: LightTPD... /usr/sbin/lighttpd: line 1: syntax error: unexpected "("[/c]
Is there a way to resolve this and get 'Lighty' up and running ?
[attachment=30595,1532]
Offline
Can you show us the contents of /etc/lighttpd/lighttpd.conf?
Offline
Please see this link for the contents of lighttpd.conf -> http://paste.slitaz.org/?5cfdf4707c9d942e#kk2P16QFAF2xmmz5d6K3jZe2wyD8AF1lxnzjjLBsYxw=
Offline
@geev03
Your screenshot indicates tazpkg installed lighttpd-1.4.33.tazpkg from mirror.slitaz.org which is i486 architecture.
Programs for arm architecture have <program.name>-<version>-arm.tazpkg
Web page for arm packages: http://arm.slitaz.org/tools.cgi?pkgs
Use spk to install programs on arm.
The repo for programs compiled for arm: http://cook.slitaz.org/cross/arm/packages/
The arm version of lighttpd: http://cook.slitaz.org/cross/arm/packages/lighttpd-1.4.33-arm.tazpkg
Verify release is correct.
[c]cat /etc/slitaz-release[/c]
arm
Verify spk mirror is correct.
[c]spk info[/c]
Mirror URL; http://cook.slitaz.org/cross/arm/packages/
Clean cache with tazpkg before you remove it.
[c]tazpkg clean-cache[/c]
Remove wrong architecture lighttpd and tazpkg.
[c]spk-rm lighttpd tazpkg[/c]
Clean the cache
[c]spk clean[/c]
Install lighttpd and tazpkg
[c]spk-add lighttpd tazpkg[/c]
Verify tazpkg mirror is correct.
[c]cat /var/lib/tazpkg/mirror[/c]
http://cook.slitaz.org/cross/arm/packages/
If tazpkg is set to wrong mirror
[c]tazpkg setup-mirror[/c]
Hit Enter
Current mirror(s)
================================================================================
http://mirror.clarkson.edu/slitaz/packages/5.0/
Please enter URL of the new mirror (http, ftp or local path). You must specify
the complete address to the directory of the packages and packages.list file.
New mirror(s) URL:
Type this:
[c]http://cook.slitaz.org/cross/arm/packages/[/c]
Hit Enter
[c]Setting mirror(s) to: http://cook.slitaz.org/cross/arm/packages/[/c]
Recharge
[c]tazpkg recharge[/c]
After it downloads the lists from cook it shows 855 new packages on the arm mirror.
Verify package search returns arm version
root@slitaz:/home/tux# tazpkg search lighttpd
Search result for: lighttpd
================================================================================
Installed packages
================================================================================
================================================================================
0 installed packages found for: lighttpd
Available packages name-version
================================================================================
lighttpd-1.4.33-arm
lighttpd-modules-1.4.33-arm
lighttpd-ssl-1.4.33-arm
================================================================================
3 available packages found for: lighttpd
Offline
Thanks,mojo. Finally lighttpd is up -> http://paste.slitaz.org/?adcf728594460d80#/nEeTt5gcMhySKwqjaal69Il1FE2BIZHne7oDQgFuP4=
Started afresh as there were too many -- unexpected "(" -- errors.
[c]Starting afresh!
(i)
================================================================================
Architecture : arm
Database : /var/lib/tazpkg/installed
Cache info : 4.0K /var/cache/tazpkg
Mirror URL : http://cook.slitaz.org/cross/arm/packages/
Extra mirrors : 0
Installed : 101
================================================================================
(ii)
================================================================================
Architecture : arm
Database : /var/lib/tazpkg/installed
Cache info : 2.5M /var/cache/tazpkg
Mirror URL : http://cook.slitaz.org/cross/arm/packages/
Extra mirrors : 0
Installed : 112
Mirrored : 856
================================================================================
(iii) lighttpd is up & running... [/c]
Offline
@geev03
That is great news.
I would recommend anyone that installs tazpkg on arm
[c]tazpkg -sm[/c]
to verify http://cook.slitaz.org/cross/arm/packages is the mirror before installing any packages.
Offline
As per mojo's suggestions on the use spk, lot more packages are now installed on a Raspberry Pi (2GB SD Card ).
[c] root@slitaz:/var/www# spk info
Spk info
================================================================================
Architecture : arm
Database : /var/lib/tazpkg/installed
Cache info : 73.3M /var/cache/tazpkg
Mirror URL : http://cook.slitaz.org/cross/arm/packages/
Extra mirrors : 0
Installed : 342
Mirrored : 856
================================================================================
root@slitaz:/var/www#
342 >> http://paste.slitaz.org/?b8c63c81dc1f5dea#62B3jjWEHaycGlwGMF1HFN9yTJyJkyntCpYMHT1wmGA=
[/c]
Offline

Offline
Pages: 1
[ Generated in 0.017 seconds, 7 queries executed - Memory usage: 1.55 MiB (Peak: 1.77 MiB) ]