SliTaz SliTaz Forum

You are not logged in.

#1 2015-11-21 01:35:48

michaelbischof
Member
Registered: 2012-01-20
Posts: 536

contact to tazpanel is lost

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.

Offline

#2 2015-11-21 01:58:13

lexeii
Administrator
Registered: 2012-03-21
Posts: 1,853

Re: contact to tazpanel is lost

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

[c]curl -I http://127.0.0.1:82/[/c]

to see http headers provided by tazpanel. Without option "[c]-I[/c]" you'll see the tazpanel output (html page). Also you can see page without headers using command

[c]wget -O - http://127.0.0.1:82/[/c]

I recall one problem in the past when tazpanel not prepended the html page information with the http headers.

Offline

#3 2015-11-21 08:57:52

michaelbischof
Member
Registered: 2012-01-20
Posts: 536

Re: contact to tazpanel is lost

Thanks, Aleksej!

Output is:

root@(none):/home/tux# tazpanel stop

Stopping TazPanel web server...sh: can't kill pid 1671: No such process

root@(none):/home/tux# tazpanel start

Starting TazPanel web server on port 82...                           [ OK ]

root@(none):/home/tux# httpd: bind: Address already in use

And:

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?

Offline

#4 2015-11-21 09:48:48

lexeii
Administrator
Registered: 2012-03-21
Posts: 1,853

Re: contact to tazpanel is lost

Yeah, a kind of sport smile

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

[c]hostname slitaz[/c]

And maybe

[c]echo slitaz > /etc/hostname[/c]

And retry again with the tazpanel.

PS. Do you have "glibc-dev" or "nscd" package installed?

Offline

#5 2015-11-21 11:26:29

michaelbischof
Member
Registered: 2012-01-20
Posts: 536

Re: contact to tazpanel is lost

/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.gz

Output:

root@slitaz:/home/tux/Desktop# gunzip tazpkg-4.9.2.tazpkg.gz

gunzip: invalid magic

Offline

#6 2015-11-21 12:54:01

lexeii
Administrator
Registered: 2012-03-21
Posts: 1,853

Re: contact to tazpanel is lost

Michael,

I did not tell you about [c]/etc/hosts[/c]. Read carefully: file [c]/etc/hostname[/c] and command [c]hostname[/c].

BTW, now your "[c]root@(none)[/c]" magically changed to "[c]root@slitaz[/c]" :-S

How 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 [c]/tmp/tazpkg[/c]

[*]Open terminal, become root, go to [c]/tmp/tazpkg[/c]

[*]Extract "outer layer" of package:

[c]cpio -i < ./tazpkg-4.9.2.tazpkg[/c]

You'll see:

[c]files.list
fs.cpio.lzma
md5sum
receipt[/c]

[*]Extract [c]fs.cpio.lzma[/c] in two simple steps:

[c]lzma -d ./fs.cpio.lzma
cpio -i < ./fs.cpio[/c]
or just in one command:

[c]lzcat ./fs.cpio.lzma | cpio -i[/c]

[*]Now folder [c]fs[/c] appeared. You can copy it's content to your filesystem:

[c]cp -a ./fs/* /[/c]

[*]Now take care about tazpkg packages database, because you not updated [c]/var/lib/tazpkg/...[/c]; just update tazpkg using tazpkg itself to add it to it's database:

[c]tazpkg -gi tazpkg --forced[/c]

Hope it helps.

Offline

#7 2015-11-21 13:29:44

michaelbischof
Member
Registered: 2012-01-20
Posts: 536

Re: contact to tazpanel is lost

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!

Offline

#8 2015-11-22 10:44:22

michaelbischof
Member
Registered: 2012-01-20
Posts: 536

Re: contact to tazpanel is lost

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?

Offline

#9 2015-11-22 13:27:13

lexeii
Administrator
Registered: 2012-03-21
Posts: 1,853

Re: contact to tazpanel is lost

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.

Offline

#10 2015-11-22 14:21:09

michaelbischof
Member
Registered: 2012-01-20
Posts: 536

Re: contact to tazpanel is lost

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.

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.016 seconds, 7 queries executed - Memory usage: 1.55 MiB (Peak: 1.77 MiB) ]