I am working here on Slitaz 4. It is installed to the harddrive. I just realized that I cannot call up tazpanel. Anybody here to have an idea what the reason might be?
Of course I went through this:
http://forum.slitaz.org/topic/new-to-slitaz-just-updated-all-and-lost-package-manager-whats-the-deal/page/2
And before I had deleted and re-installed it.

contact to tazpanel is lost
(10 posts) (2 voices)-
Posted 9 years ago #
-
Hi Michael,
First, you can access TazPanel using both addresses:
http://tazpanel:82/ or
http://127.0.0.1:82/
Try it, maybe it solves your problem.Second, try to restart TazPanel server (as root user). I not sure about "restart" command, you can read output of command "tazpanel" in your system. For restarting try sequence of these commands:
tazpanel stop
tazpanel start
Note errors in terminal (I may completely wrong and SliTaz 4 may haven't "tazpanel" command, I can't recall).PS. Oh, you enlarged your message while I wrote the answer. Great topic you're linked.
Try to debug tazpanel this way. Better if you have "curl" installed, you can execute command
curl -I http://127.0.0.1:82/
to see http headers provided by tazpanel. Without option "-I
" you'll see the tazpanel output (html page). Also you can see page without headers using command
wget -O - http://127.0.0.1:82/
I recall one problem in the past when tazpanel not prepended the html page information with the http headers.
Posted 9 years ago # -
Thanks, Aleksej!
Output is:root@(none):/home/tux# tazpanel stop
Stopping TazPanel web server...sh: can't kill pid 1671: No such processroot@(none):/home/tux# tazpanel start
Starting TazPanel web server on port 82... [ OK ]
root@(none):/home/tux# httpd: bind: Address already in useAnd:
curl -I http://127.0.0.1:82/
<= that gives no output at all.So the whole thing is still a riddle. A new installation would be the most practical thing, yes. But now it started to be a sport, eh?
Posted 9 years ago # -
Yeah, a kind of sport :)
But... Why "(none)"? I think your host must have different name? Please, check output of command "hostname" and content of file "/etc/hostname". Then try to set host name using root command
hostname slitaz
And maybe
echo slitaz > /etc/hostname
And retry again with the tazpanel.PS. Do you have "glibc-dev" or "nscd" package installed?
Posted 9 years ago # -
/etc/hosts had:
127.0.0.1 localhost slitaz tazpanel
So this was not the problem.I have now de-installed tazpanel and tazpkg. Now I have first to find the packages in the Internet, download them and install them - but without using tazpkg.
May the installation is broken then? At least I have to manually re-install it: to open the *.pkg-file resp. unarchive it and then copy the file to the given places. Yes?This did not help me:
http://unix.stackexchange.com/questions/97494/how-do-i-install-tazpkg-in-slitaz-linux$ mv tazpkg-5.1.tazpkg tazpkg-5.1.tazpkg.gz
$ gunzip tazpkg-5.1.tazpkg.gzOutput:
root@slitaz:/home/tux/Desktop# gunzip tazpkg-4.9.2.tazpkg.gz
gunzip: invalid magicPosted 9 years ago # -
Michael,
I did not tell you about
/etc/hosts
. Read carefully: file/etc/hostname
and commandhostname
.
BTW, now your "root@(none)
" magically changed to "root@slitaz
" :-SHow to install tazpkg manually.
- Use pkgs.slitaz.org to find your package. The link for downloading TazPkg from SliTaz-4.0 is: http://mirror.slitaz.org/packages/stable/tazpkg-4.9.2.tazpkg
- Make new folder, and move your package here. Let it be
/tmp/tazpkg
- Open terminal, become root, go to
/tmp/tazpkg
- Extract "outer layer" of package:
cpio -i < ./tazpkg-4.9.2.tazpkg
You'll see:
files.list fs.cpio.lzma md5sum receipt
- Extract
fs.cpio.lzma
in two simple steps:
lzma -d ./fs.cpio.lzma cpio -i < ./fs.cpio
or just in one command:
lzcat ./fs.cpio.lzma | cpio -i
- Now folder
fs
appeared. You can copy it's content to your filesystem:
cp -a ./fs/* /
- Now take care about tazpkg packages database, because you not updated
/var/lib/tazpkg/...
; just update tazpkg using tazpkg itself to add it to it's database:
tazpkg -gi tazpkg --forced
Hope it helps.
Posted 9 years ago # -
Yes, it helped. But unfortunately it did not solve the problem. Enough sport then: I just did a new install, not even 10 minutes. Thanks a lot for your help. Your advice how to open a slitaz package is important for me!
Posted 9 years ago # -
Having slept one night over it I suppose that the culprit is in your last part:
„tazpkg using tazpkg itself to add it to it's database:
tazpkg -gi tazpkg --forced“
Several times I had installed some extra packages directly, but forgot to update the database of tazpkg packages. May be that broke tazpkg and tazpanel as a result?Posted 9 years ago # -
Packages database updated automatically when you install or remove packages. You'll find folder /var/lib/tazpkg/installed/@package_name@ with receipt and file list inside. Installed packages also listed in /var/lib/tazpkg/installed.info. This info (receipt, files list, etc. are comes from installed *.tazpkg package during installation process.
May it broke tazpkg and tazpanel? Not clear. May or not.
Just tazpkg cannot handle your "directly installed" packages: know nothing about installed files(1), cannot update packages(2), cannot find common overlapped files with other packages(3), you can't easy uninstall(4) or repack your package, etc.Posted 9 years ago # -
Thanks a lot for the advice. Ok, the question cannot be answered right now but may leave a hint for the future.
And a lot of thanks to @Gibor, who had compiled kompozer - for my personal use one of the most important things, as I use it daily. His kompozer also works on Slitaz 5.0 as well.Posted 9 years ago #
Reply
You must log in to post.