david_1234
Posts: 331
Joined: Mon Jan 01, 2018 2:14 pm

PI get stuck after boot - showing only error messages

Mon Dec 23, 2019 7:45 am

Hello ,
I running om my pi only zoneminder
yesterday i notice I can't enter the server
when I try to connect to the PI using ssh I got this error messges

Code: Select all

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 in decoder error:

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 iled to create audio output

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 SA lib confmisc.c:767:(parse_card)

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 nnot find card '0'

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 SA lib conf.c:4528:(_snd_config_evaluate)

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 nction snd_func_card_driver returned error: No such file or directory

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 SA lib confmisc.c:392:(snd_func_concat)

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 ror evaluating strings

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 SA lib conf.c:4528:(_snd_config_evaluate)

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 nction snd_func_concat returned error: No such file or directory

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 SA lib confmisc.c:1246:(snd_func_refer)

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 ror evaluating name

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 SA lib conf.c:4528:(_snd_config_evaluate)

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 nction snd_func_refer returned error: No such file or directory

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 SA lib conf.c:5007:(snd_config_expand)

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 aluate error: No such file or directory

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 SA lib pcm.c:2495:(snd_pcm_open_noupdate)

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 known PCM default

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 sa audio output error:

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 nnot open ALSA device "default": No such file or directory

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 in audio output error:

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 dio output failed

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 in audio output error:

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 e audio device "default" could not be used:#012No such file or directory.

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 in audio output error:

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 dule not functional

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 in decoder error:

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 iled to create audio output

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 SA lib confmisc.c:767:(parse_card)

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 nnot find card '0'

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 SA lib conf.c:4528:(_snd_config_evaluate)

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 nction snd_func_card_driver returned error: No such file or directory

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 SA lib confmisc.c:392:(snd_func_concat)

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 ror evaluating strings

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 SA lib conf.c:4528:(_snd_config_evaluate)

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 nction snd_func_concat returned error: No such file or directory

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 SA lib confmisc.c:1246:(snd_func_refer)

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 ror evaluating name

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 SA lib conf.c:4528:(_snd_config_evaluate)

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 nction snd_func_refer returned error: No such file or directory

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 SA lib conf.c:5007:(snd_config_expand)

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 aluate error: No such file or directory

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 SA lib pcm.c:2495:(snd_pcm_open_noupdate)

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 known PCM default

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 sa audio output error:

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 nnot open ALSA device "default": No such file or directory

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 in audio output error:

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 dio output failed

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 in audio output error:

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 e audio device "default" could not be used:#012No such file or directory.

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 in audio output error:

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 dule not functional

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 in decoder error:

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 iled to create audio output

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 SA lib confmisc.c:767:(parse_card)

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 nnot find card '0'

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 SA lib conf.c:4528:(_snd_config_evaluate)

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 nction snd_func_card_driver returned error: No such file or directory

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 SA lib confmisc.c:392:(snd_func_concat)

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 ror evaluating strings

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 SA lib conf.c:4528:(_snd_config_evaluate)

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 nction snd_func_concat returned error: No such file or directory

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 SA lib confmisc.c:1246:(snd_func_refer)

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 ror evaluating name

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 SA lib conf.c:4528:(_snd_config_evaluate)

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 nction snd_func_refer returned error: No such file or directory

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 SA lib conf.c:5007:(snd_config_expand)

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 aluate error: No such file or directory

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 SA lib pcm.c:2495:(snd_pcm_open_noupdate)

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 known PCM default

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 sa audio output error:

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 nnot open ALSA device "default": No such file or directory

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 in audio output error:

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 dio output failed

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 in audio output error:

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 e audio device "default" could not be used:#012No such file or directory.

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 in audio output error:

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 dule not functional

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 in decoder error:

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 iled to create audio output

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 SA lib confmisc.c:767:(parse_card)

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 nnot find card '0'

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 SA lib conf.c:4528:(_snd_config_evaluate)

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 nction snd_func_card_driver returned error: No such file or directory

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 SA lib confmisc.c:392:(snd_func_concat)

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 ror evaluating strings

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 SA lib conf.c:4528:(_snd_config_evaluate)

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 nction snd_func_concat returned error: No such file or directory

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 SA lib confmisc.c:1246:(snd_func_refer)

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 ror evaluating name

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 SA lib conf.c:4528:(_snd_config_evaluate)

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 nction snd_func_refer returned error: No such file or directory

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 SA lib conf.c:5007:(snd_config_expand)

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 aluate error: No such file or directory

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 SA lib pcm.c:2495:(snd_pcm_open_noupdate)

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 known PCM default

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 sa audio output error:

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 nnot open ALSA device "default": No such file or directory

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 in audio output error:

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 dio output failed

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 in audio output error:

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 e audio device "default" could not be used:#012No such file or directory.

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 in audio output error:

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 dule not functional

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 in decoder error:

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 iled to create audio output

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 SA lib confmisc.c:767:(parse_card)

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 nnot find card '0'

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 SA lib conf.c:4528:(_snd_config_evaluate)

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 nction snd_func_card_driver returned error: No such file or directory

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 SA lib confmisc.c:392:(snd_func_concat)

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 ror evaluating strings

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 SA lib conf.c:4528:(_snd_config_evaluate)

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 nction snd_func_concat returned error: No such file or directory

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 SA lib confmisc.c:1246:(snd_func_refer)

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 ror evaluating name

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 SA lib conf.c:4528:(_snd_config_evaluate)

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 nction snd_func_refer returned error: No such file or directory

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 SA lib conf.c:5007:(snd_config_expand)

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 aluate error: No such file or directory

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 SA lib pcm.c:2495:(snd_pcm_open_noupdate)

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 known PCM default

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 sa audio output error:

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 nnot open ALSA device "default": No such file or directory

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 in audio output error:

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 dio output failed

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 in audio output error:

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 e audio device "default" could not be used:#012No such file or directory.

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 in audio output error:

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 dule not functional

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 in decoder error:

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 iled to create audio output

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 SA lib confmisc.c:767:(parse_card)

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 nnot find card '0'

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 SA lib conf.c:4528:(_snd_config_evaluate)

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 nction snd_func_card_driver returned error: No such file or directory

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 SA lib confmisc.c:392:(snd_func_concat)

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 ror evaluating strings

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 SA lib conf.c:4528:(_snd_config_evaluate)

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 nction snd_func_concat returned error: No such file or directory

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 SA lib confmisc.c:1246:(snd_func_refer)

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 ror evaluating name

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 SA lib conf.c:4528:(_snd_config_evaluate)

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 nction snd_func_refer returned error: No such file or directory

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 SA lib conf.c:5007:(snd_config_expand)

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 aluate error: No such file or directory

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 SA lib pcm.c:2495:(snd_pcm_open_noupdate)

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 known PCM default

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 sa audio output error:

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 nnot open ALSA device "default": No such file or directory

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 in audio output error:

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 dio output failed

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 in audio output error:

Message from syslogd@raspberrypi at Dec 23 08:33:19 ...
 e audio device "default" could not be used:#012No such file or directory.
what could be the reason ? and how can I fix this ?
the only thing I do to this pi is
"sudo apt-get update && upgrade " once every 2 weeks
I don't install on it any other programs

Thanks ,

pcmanbob
Posts: 9486
Joined: Fri May 31, 2013 9:28 pm
Location: Mansfield UK

Re: PI get stuck after boot - showing only error messages

Mon Dec 23, 2019 10:48 am

Looking at the errors I would say you have a corrupt or possibly failing SD card,
We want information… information… information........................no information no help
The use of crystal balls & mind reading are not supported

david_1234
Posts: 331
Joined: Mon Jan 01, 2018 2:14 pm

Re: PI get stuck after boot - showing only error messages

Mon Dec 23, 2019 10:51 am

:o :cry: :cry:
is there soemething I can try doing?
try to reload \ change old setting somehow?

or no other option and I need to run a fresh installation?

pcmanbob
Posts: 9486
Joined: Fri May 31, 2013 9:28 pm
Location: Mansfield UK

Re: PI get stuck after boot - showing only error messages

Mon Dec 23, 2019 11:02 am

david_1234 wrote:
Mon Dec 23, 2019 10:51 am
:o :cry: :cry:
is there soemething I can try doing?
try to reload \ change old setting somehow?

or no other option and I need to run a fresh installation?
To attempt any fix you would need access to the pi , probably using a screen and keyboard, assuming it actually boots to a usable state.

if you can get access then you should first check if the SD card is full

Code: Select all

df -h
if you have space then you could try

Code: Select all

sudo apt-get update
sudo apt-get dist-upgrade
but you will probably end up starting over with a fresh install.
We want information… information… information........................no information no help
The use of crystal balls & mind reading are not supported

david_1234
Posts: 331
Joined: Mon Jan 01, 2018 2:14 pm

Re: PI get stuck after boot - showing only error messages

Mon Dec 23, 2019 11:39 am

I will try to connect to pi usong keybaord and sceen and see

I will let you know in a day or 2

Thanks ,

david_1234
Posts: 331
Joined: Mon Jan 01, 2018 2:14 pm

Re: PI get stuck after boot - showing only error messages

Tue Dec 24, 2019 8:13 am

I have connected to the pi using HDMI
it open it on the desktop , I reboot it
and now I can only enter using cmd

when I use

Code: Select all

df -h
I see that
"/dev/root 15G 100% used"
when I enter run

Code: Select all

du -h /var/log 
I see it's 9.5G

when I enter /var/log ls -ls
I see that
kern.log,kern.log.1,syslog.1,messages,messages.1,debug,debug.1 are very large files

is there something I can do?
also what can cause this problem ?
can I remove this files?

Thanks ,

pcmanbob
Posts: 9486
Joined: Fri May 31, 2013 9:28 pm
Location: Mansfield UK

Re: PI get stuck after boot - showing only error messages

Tue Dec 24, 2019 11:24 am

Well there's your problem a full SD card,

yes you can try deleting the various log files, then try rebooting and running the update commands I gave you to see if your pi will work normally.

if you are lucky it might.
We want information… information… information........................no information no help
The use of crystal balls & mind reading are not supported

david_1234
Posts: 331
Joined: Mon Jan 01, 2018 2:14 pm

Re: PI get stuck after boot - showing only error messages

Tue Dec 24, 2019 12:35 pm

can I just delete all of those file using "rm" ?
no need to diable any service first?

pcmanbob
Posts: 9486
Joined: Fri May 31, 2013 9:28 pm
Location: Mansfield UK

Re: PI get stuck after boot - showing only error messages

Tue Dec 24, 2019 1:40 pm

Anything with a number after it should be ok to just delete, I would leave the currently active logs intact.
We want information… information… information........................no information no help
The use of crystal balls & mind reading are not supported

david_1234
Posts: 331
Joined: Mon Jan 01, 2018 2:14 pm

Re: PI get stuck after boot - showing only error messages

Tue Dec 24, 2019 7:21 pm

I did what you told me
this is what I have now after reboot

Code: Select all

pi@raspberrypi:/var/log $ df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/root        15G  7.8G  6.2G  56% /
devtmpfs        459M     0  459M   0% /dev
tmpfs           464M     0  464M   0% /dev/shm
tmpfs           464M   13M  451M   3% /run
tmpfs           5.0M  4.0K  5.0M   1% /run/lock
tmpfs           464M     0  464M   0% /sys/fs/cgroup
/dev/mmcblk0p1   43M   23M   20M  53% /boot
tmpfs            93M     0   93M   0% /run/user/1000

then I run the update like you told me
reboot the unit again
now (while connection with HDMI - it doesn't upload at desktop mode
just command line ....
when I try to enter the PI using VNC - it get connected but I get black screen "Cannot show desktop"
when I connect using ssh I see this

Code: Select all

pi@raspberrypi:~ $ df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/root        15G  7.9G  6.0G  58% /
devtmpfs        459M     0  459M   0% /dev
tmpfs           464M     0  464M   0% /dev/shm
tmpfs           464M   13M  452M   3% /run
tmpfs           5.0M  4.0K  5.0M   1% /run/lock
tmpfs           464M     0  464M   0% /sys/fs/cgroup
/dev/mmcblk0p1   43M   23M   20M  53% /boot
tmpfs            93M     0   93M   0% /run/user/1000

seem very strange that I get 200MB of logs after 25 min , no?

in this rate until tomorrow morning it will get stuck again

what else can I check and fix?
Thanks ,

pcmanbob
Posts: 9486
Joined: Fri May 31, 2013 9:28 pm
Location: Mansfield UK

Re: PI get stuck after boot - showing only error messages

Tue Dec 24, 2019 8:29 pm

Sounds like your SD card might be corrupt , you might be quicker just starting over or flashing your SD card with the backup you made of the working system.

If you really want to try fixing it you will probably need to look at these log files for a clue as to what's going on.
We want information… information… information........................no information no help
The use of crystal balls & mind reading are not supported

david_1234
Posts: 331
Joined: Mon Jan 01, 2018 2:14 pm

Re: PI get stuck after boot - showing only error messages

Wed Dec 25, 2019 8:39 am

I did what you told me :
copy from the pi into external DOK, then copy all of it in to my computer for backup.
with which program I need to use now to make a new SD card with the backup?

Thanks ,

pcmanbob
Posts: 9486
Joined: Fri May 31, 2013 9:28 pm
Location: Mansfield UK

Re: PI get stuck after boot - showing only error messages

Wed Dec 25, 2019 8:44 am

david_1234 wrote:
Wed Dec 25, 2019 8:39 am
I did what you told me :
copy from the pi into external DOK, then copy all of it in to my computer for backup.
with which program I need to use now to make a new SD card with the backup?

Thanks ,
No you miss understood, you needed to have made the backup of your SD card before it became corrupted, copying it now will just copy the corruption.

If you did not make such a backup then your only option is to flash a fresh image to the SD card and start over reinstalling all your software , once that is done and you have a working image that when you need to make a copy of the SD card using win32 disk imager as your backup.
We want information… information… information........................no information no help
The use of crystal balls & mind reading are not supported

david_1234
Posts: 331
Joined: Mon Jan 01, 2018 2:14 pm

Re: PI get stuck after boot - showing only error messages

Wed Dec 25, 2019 8:52 am

I wrote this in the wrong post
I'm fixing it now .... sorry


I have check the log file and see there was a problem in the zonminder service after it update to version 1.30.4
when I turn off the zonminder service , everything start to work . so I will install zonminder again .

but now I don;t seem to understand why - the VNC is not working
I can connect to the pi using VNC - but I'm getting "cannot show desktop" , I didn't touch any setting
in raspi-config I have try to selected all kind of default resolution
in boot option I have selected Desktop autologin

what could it be?

Code: Select all

sudo systemctl status vncserver-x11-serviced
    vncserver-x11-serviced.service - VNC Server in Service Mode daemon
   Loaded: loaded (/usr/lib/systemd/system/vncserver-x11-serviced.service; enabled; vendor preset: enabled)
   Active: active (running) since Wed 2019-12-25 11:11:55 IST; 2min 54s ago
 Main PID: 418 (vncserver-x11-s)
    Tasks: 2 (limit: 4915)
   CGroup: /system.slice/vncserver-x11-serviced.service
                 418 /usr/bin/vncserver-x11-serviced -fg
                 454 /usr/bin/vncserver-x11-core -service

Dec 25 11:11:55 raspberrypi systemd[1]: Started VNC Server in Service Mode daemon.
Dec 25 11:11:56 raspberrypi vncserver-x11[454]: ServerManager: Server started
Dec 25 11:11:56 raspberrypi vncserver-x11[454]: ConsoleDisplay: Cannot find a running X server on vt
Thanks ,
Last edited by david_1234 on Wed Dec 25, 2019 9:15 am, edited 1 time in total.

pcmanbob
Posts: 9486
Joined: Fri May 31, 2013 9:28 pm
Location: Mansfield UK

Re: PI get stuck after boot - showing only error messages

Wed Dec 25, 2019 9:14 am

I don't know what the problem might be with VNC , having a full SD card can lead to all sorts of corrupt files ,especially as the corruption probably occurred during the update of the OS, my guess would be one of them is related to VNC, but as we don't know which files were corrupted / not updated its difficult if not impossible to tell you which file needs fixing.
We want information… information… information........................no information no help
The use of crystal balls & mind reading are not supported

david_1234
Posts: 331
Joined: Mon Jan 01, 2018 2:14 pm

Re: PI get stuck after boot - showing only error messages

Wed Dec 25, 2019 9:18 am

so the best solution for me will be to take the zonemonder setting and reinstall the pi with a fresh]new SD card?

pcmanbob
Posts: 9486
Joined: Fri May 31, 2013 9:28 pm
Location: Mansfield UK

Re: PI get stuck after boot - showing only error messages

Wed Dec 25, 2019 9:31 am

That would be my recommendation, at least then you know you are starting from a known good build, then when its all set up again make a copy of the SD card and keep it as a back up.

Them problem with fixing a corrupt OS is you never know if some else is going to break in the future and weather its related to the corruption or some thing else.
We want information… information… information........................no information no help
The use of crystal balls & mind reading are not supported

david_1234
Posts: 331
Joined: Mon Jan 01, 2018 2:14 pm

Re: PI get stuck after boot - showing only error messages

Wed Dec 25, 2019 10:15 am

OK . I will do this

another somehow related question :
I have another working p3i and I want to make a backup and also install the same configuration on 4 more pi3.
I created a backup on 16GB Disk On Key using "SD Card Copier" ,
I see it have many files inside ,
what do I need to do now if I want to uplaod the backup to a fresh\new SD and "duplicate" my firt PI?

Thanks ,

pcmanbob
Posts: 9486
Joined: Fri May 31, 2013 9:28 pm
Location: Mansfield UK

Re: PI get stuck after boot - showing only error messages

Wed Dec 25, 2019 4:03 pm

First of all your pi3 image will only work on the pi4 if it's running buster.

To make an image file for reuse you first need to make an image file from the SD card using
win32diekimager for example, then you need to shrink the Image file so that it will fit on another SD card because no 2 SD cards are exactly the same. , I use pi shrink on a Linux desktop PC to do this.

The other option is to use the SD card copier in the raspbian with desktop version to make a copy from the running pi's SD card to a fresh SD card connected to the pi.
We want information… information… information........................no information no help
The use of crystal balls & mind reading are not supported

david_1234
Posts: 331
Joined: Mon Jan 01, 2018 2:14 pm

Re: PI get stuck after boot - showing only error messages

Thu Dec 26, 2019 3:22 pm

yes , it's works
I have dupicate 2 SD card , boot up without any problem

Thanks !

Return to “General discussion”