Re: Beta12 release announcement

Bjorn Pehrson
 

Here are the logs

-----------------

root@draws:/home/pi/bin# systemctl status ax25dev.service
● ax25dev.service - AX.25 device
   Loaded: loaded (/etc/systemd/system/ax25dev.service; enabled; vendor preset:
   Active: failed (Result: exit-code) since Thu 2019-04-18 22:06:03 CEST; 38s ag
  Process: 31986 ExecStart=/bin/bash -c /etc/ax25/ax25-upd (code=exited, status=
 Main PID: 31986 (code=exited, status=1/FAILURE)

Apr 18 22:06:03 draws systemd[1]: Starting AX.25 device...
Apr 18 22:06:03 draws bash[31986]: ax25-upd: Start Port udr0 with device /tmp/ki
Apr 18 22:06:03 draws bash[31986]: Direwolf serial port NOT FOUND
Apr 18 22:06:03 draws systemd[1]: ax25dev.service: Main process exited, code=exi
Apr 18 22:06:03 draws systemd[1]: Failed to start AX.25 device.
Apr 18 22:06:03 draws systemd[1]: ax25dev.service: Unit entered failed state.
Apr 18 22:06:03 draws systemd[1]: ax25dev.service: Failed with result 'exit-code

------------------

root@draws:/home/pi/bin# journalctl -xe
-- Support: https://www.debian.org/support
--
-- Unit draws-manager.service has finished shutting down.
Apr 18 22:07:48 draws systemd[1]: Started DRAWS™ Manager - A web application to
-- Subject: Unit draws-manager.service has finished start-up
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- Unit draws-manager.service has finished starting up.
--
-- The start-up result is done.
Apr 18 22:07:50 draws npm[32261]: (node:32261) [DEP0022] DeprecationWarning: os.
Apr 18 22:07:51 draws npm[32261]: > webapp@0.0.0 start /usr/local/var/draws-mana
Apr 18 22:07:51 draws npm[32261]: > node ./bin/www
Apr 18 22:07:56 draws npm[32261]: Invalid card number.
Apr 18 22:07:56 draws npm[32261]: child_process.js:644
Apr 18 22:07:56 draws npm[32261]:     throw err;
Apr 18 22:07:56 draws npm[32261]:     ^
Apr 18 22:07:56 draws npm[32261]: Error: Command failed: /usr/bin/amixer -c udrc
Apr 18 22:07:56 draws npm[32261]: Invalid card number.
Apr 18 22:07:56 draws npm[32261]:     at checkExecSyncError (child_process.js:60
Apr 18 22:07:56 draws npm[32261]:     at execSync (child_process.js:641:13)
Apr 18 22:07:56 draws npm[32261]:     at new MixerState (/usr/local/var/draws-ma
Apr 18 22:07:56 draws npm[32261]:     at Object.<anonymous> (/usr/local/var/draw
Apr 18 22:07:56 draws npm[32261]:     at Module._compile (module.js:652:30)
Apr 18 22:07:56 draws npm[32261]:     at Object.Module._extensions..js (module.j
Apr 18 22:07:56 draws npm[32261]:     at Module.load (module.js:565:32)
Apr 18 22:07:56 draws npm[32261]:     at tryModuleLoad (module.js:505:12)
Apr 18 22:07:56 draws npm[32261]:     at Function.Module._load (module.js:497:3)
Apr 18 22:07:56 draws npm[32261]:     at Module.require (module.js:596:17)
Apr 18 22:07:56 draws npm[32261]: npm ERR! webapp@0.0.0 start: `node ./bin/www`
Apr 18 22:07:56 draws npm[32261]: npm ERR! Exit status 1
Apr 18 22:07:56 draws npm[32261]: npm ERR!
Apr 18 22:07:56 draws npm[32261]: npm ERR! Failed at the webapp@0.0.0 start scri
Apr 18 22:07:56 draws npm[32261]: npm ERR! This is most likely a problem with th
Apr 18 22:07:56 draws npm[32261]: npm ERR! not with npm itself.
Apr 18 22:07:56 draws npm[32261]: npm ERR! Tell the author that this fails on yo
Apr 18 22:07:56 draws npm[32261]: npm ERR!     node ./bin/www
Apr 18 22:07:56 draws npm[32261]: npm ERR! You can get their info via:
Apr 18 22:07:56 draws npm[32261]: npm ERR!     npm owner ls webapp
Apr 18 22:07:56 draws npm[32261]: npm ERR! There is likely additional logging ou
Apr 18 22:07:56 draws npm[32261]: npm ERR! System Linux 4.14.98-v7+
Apr 18 22:07:56 draws npm[32261]: npm ERR! command "/usr/bin/node" "/usr/bin/npm
Apr 18 22:07:56 draws npm[32261]: npm ERR! cwd /usr/local/var/draws-manager/weba
Apr 18 22:07:56 draws npm[32261]: npm ERR! node -v v8.11.1
Apr 18 22:07:56 draws npm[32261]: npm ERR! npm -v 1.4.21
Apr 18 22:07:56 draws npm[32261]: npm ERR! code ELIFECYCLE
Apr 18 22:07:56 draws npm[32261]: npm WARN This failure might be due to the use
Apr 18 22:07:56 draws npm[32261]: npm WARN For further explanations, please read
Apr 18 22:07:56 draws npm[32261]: /usr/share/doc/nodejs/README.Debian
Apr 18 22:07:56 draws npm[32261]:
Apr 18 22:07:56 draws npm[32261]: npm ERR!
Apr 18 22:07:56 draws npm[32261]: npm ERR! Additional logging details can be fou
Apr 18 22:07:56 draws npm[32261]: npm ERR! /usr/local/var/draws-manager/weba
Apr 18 22:07:56 draws npm[32261]: npm ERR! not ok code 0
Apr 18 22:07:56 draws systemd[1]: draws-manager.service: Main process exited, co
Apr 18 22:07:56 draws systemd[1]: draws-manager.service: Unit entered failed sta
Apr 18 22:07:56 draws systemd[1]: draws-manager.service: Failed with result 'exi
root@draws:/home/pi/bin#

On 2019-04-18 22:02, Bjorn Pehrson wrote:
Hi Basil,

I seem to have exactly te same problem with beta12 and my answers to your questions are

1: no, i only get

pi@draws:~ $ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA]
  Subdevices: 7/7
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
  Subdevice #2: subdevice #2
  Subdevice #3: subdevice #3
  Subdevice #4: subdevice #4
  Subdevice #5: subdevice #5
  Subdevice #6: subdevice #6
card 0: ALSA [bcm2835 ALSA], device 1: bcm2835 ALSA [bcm2835 IEC958/HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
pi@draws:~ $

2.

pi@draws:~/bin $ cd
pi@draws:~ $ cd bin
pi@draws:~/bin $ sudo su
root@draws:/home/pi/bin# ./ax25-start
Starting: direwolf.service
Starting: ax25dev.path
Starting: ax25dev.service
Job for ax25dev.service failed because the control process exited with error code.
See "systemctl status ax25dev.service" and "journalctl -xe" for details.
Problem starting ax25dev.service
Starting: ax25-mheardd.service

..hanging, not terminating

On 2019-04-18 19:40, Basil Gunn wrote:
Jack Spitznagel <@flyingfrawg> writes:

Hi Basil.

Thanks for looking at that file. This is exactly what was puzzling me: Did
exactly what you suggested previously, rebooted, and when I tried to make
sure the AX25 stuff was being loaded, it turned out not. At that point (as
root) I tried to "./ax25-start" and it failed during the run with error (I
think I sent you that)
I need to learn what your problem is so please do not do another
install.

I do not have the console output of ax25-start after your reboot &
successful udrc driver enumeration.

1. run aplay -l
  - do you see the udrc enumerated?
2.
cd
cd bin
sudo su
./ax25-start
./ax25-status
./ax25-status -d
# Send me the console output.

/Basil

. Since I have previous BETAs running on both boxes,
we know nothing is wrong at the hardware level (except maybe my "organic
CPU"). Lets let my past reports "go away" and proceed with the following:

Join udrc@nw-digital-radio.groups.io to automatically receive all group messages.