[SOLVED] read_cfg problem when running 64 bit 0.1.4 on atom system
#1
Hi AK, thanks for your work on snakeoil.

I can run the 32 bit version of snakeoil 0.1.4 just fine, but the 64-bit version is giving me problems, including:

500 - Internal Server Error
[Image: sad.png]

It seems that the audio side of things is running just fine, but whenever I change any setting via your web interface, your read_cfg executable is crashing and then apport processes chew up the CPU for a long time before everything eventually comes back to normal.

/var/log/apport.log is full of the following:
 ERROR: apport (pid 26297) Mon Jun  6 20:45:21 2016: executable: /var/www/cgi/read_cfg (command line "cgi/read_cfg 12345")ERROR: apport (pid 26297) Mon Jun  6 20:45:21 2016: is_closing_session(): no DBUS_SESSION_BUS_ADDRESS in environment

As I mentioned, I only see this with the 64-bit version; 32-bit runs fine!

Please advise.
P.S.: For completeness, here is the tail of dmesg output:
 nit: systemd-logind pre-start process (1927) terminated with status 32init: avahi-cups-reload main process (2105) terminated with status 1init: Failed to obtain startpar-bridge instance: Unknown parameter: INSTANCEe1000e: eth0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: Rx/Txinit: smbd main process (2074) killed by HUP signalinit: smbd main process ended, respawninginit: samba-ad-dc main process (2186) terminated with status 1init: failsafe main process (2019) killed by TERM signalinit: network-manager main process (2312) terminated with status 127init: network-manager main process ended, respawninginit: plymouth-upstart-bridge main process ended, respawningclear_cache (14812): drop_caches: 3
Reply

#2
(06-Jun-2016, 08:51 PM)rab Wrote: 500 - Internal Server Error
[Image: sad.png]

It seems that the audio side of things is running just fine, but whenever I change any setting via your web interface, your read_cfg executable is crashing and then apport processes chew up the CPU for a long time before everything eventually comes back to normal.
So any setting change would cause that problem?

Can you check how much free space you have on /? You can find that information in the Music tab.
Snakeoil Operating System - Music, your way!
Reply

#3
1. when setting player or music mount (prob because that resets player...?)

2. plenty of space:

[Image: Clipboard_image_2016_06_08_08_29_57.png]
Reply

#4
If you look at the first row ("Free"), you'd see you are booting from your USB (or CD media). And that tells you it is 100% full (another way of saying it's a read only filesystem).

If you have already installed Snakeoil on the 120 GB SSD (I think you did), remove the boot USB stick from your computer, and then turn on the computer. When you look at the music tab again it should show /dev/sda1 mounted as /. and your free space should be < 100%. And then everything should work.
Snakeoil Operating System - Music, your way!
Reply

#5
Indeed, I am booting from USB, as I don't want to install it on my SSD until I confirm that it works.
If you look down to the third entry, you'll see there is 3.9GB free on /, so plenty of space there.

In any case, the same applies when I boot the 32-bit version, which runs just fine from the same USB key.

Thoughts?

- r
Reply

#6
(08-Jun-2016, 05:06 PM)rab Wrote: Indeed, I am booting from USB, as I don't want to install it on my SSD until I confirm that it works.
If you look down to the third entry, you'll see there is 3.9GB free on /, so plenty of space there.

In any case, the same applies when I boot the 32-bit version, which runs just fine from the same USB key.
It wouldn't be able to write to that filesystem even when there is space available, as it is a read only filesystem.
(08-Jun-2016, 05:06 PM)rab Wrote: In any case, the same applies when I boot the 32-bit version, which runs just fine from the same USB key.
That's interesting, can you take a screen shot of the music tab screen so I can see what partitions are mounted for 32 bits?

Edit: Actually, since it is a liveCD, you should still be able to write, but the files will be lost on reboot.. Can you show me the Home screen as well? I'm curious to see the memory stats you have when in 64 bit mode
Snakeoil Operating System - Music, your way!
Reply

#7
OK, here's the 32-bit music screen:


[Image: Clipboard_image_2016_06_08_21_51_05.png]
Reply

#8
Hmm this is a strange one.. I can't recreate this issue you have on my machines.

Is there some specific steps you do that will cause the crash, or really clicking Save anywhere will cause this behaviour?

Here are some things you can try: 
  • Redownload the ISO
  • Try the USB on anoher machine and see if you get the same issues
  • (long shot) Try another USB drive 
  • (long shot) Connect a monitor to the machine, and hit CTRL-F1 to get to the console. Now make any change to the settings and see if any errors turn up?
What software did you use to write the ISO to your USB?
Snakeoil Operating System - Music, your way!
Reply

#9
... and here's the 'home screen':


[Image: Clipboard_image_2016_06_08_22_42_37.png]

(08-Jun-2016, 08:06 PM)agent_kith Wrote: Is there some specific steps you do that will cause the crash, or really clicking Save anywhere will cause this behaviour?

Yep, clicking save after selecting the USB interface triggers the error.
 
(08-Jun-2016, 08:06 PM)agent_kith Wrote: Connect a monitor to the machine, and hit CTRL-F1 to get to the console. Now make any change to the settings and see if any errors turn up?

You mean control-Alt-F1... No errors there, but i already posted the triggering error in my first post...

***

OK, I had assumed that you had written is_closing_session(), but now I realise that is not the case, and indeed I am not the first to see these error messages; see, for example:

http://ubuntuforums.org/showthread.php?t=2194358

which suggests it is a Light Display Manager issue.
Reply

#10
(08-Jun-2016, 08:43 PM)rab Wrote: No errors there, but i already posted the triggering error in my first post...
appport is a crash reporter. I'm more interested in the system logs... it will show up in the console, or you can just run dmesg from the command line.

Looking at the console is probably easier as you can correlate any output messages at the time when you click the save button.

Another source you can look at is /var/log/lighttpd/error.log. Cut and paste the last few lines so I can see what's happening.

(08-Jun-2016, 08:43 PM)rab Wrote: which suggests it is a Light Display Manager issue.
LightDM is the graphical manager. When you use the web interface, you're iteracting with the web server. In general the two can't interfere with each other unless there is an underlying problem (and it can be anything from a bad download to hardware issues like bad RAM).

Have you tried the 64 bit USB on another computer and see if it works?
Snakeoil Operating System - Music, your way!
Reply



Bookmarks

Possibly Related Threads…
Thread Author Replies Views Last Post
  Installation problem Rudy81 25 6,933 09-Jul-2024, 12:21 PM
Last Post: Snoopy8
  LMS not running on RPi 3B Tecko 1 508 07-Sep-2023, 04:09 PM
Last Post: uglymusic
  Rpi4+AlloDigiOne sig. Snakeoil os installation problem Luke 38 13 3,280 06-Sep-2023, 07:36 AM
Last Post: agent_kith
  Problem to install Upmdpcli on Raspberry Pi 4 kees1000 6 1,759 16-Jul-2023, 06:54 PM
Last Post: agent_kith
  Problem running MPD with 1.2.9 firmware koko6969koki 1 769 09-Mar-2023, 05:33 PM
Last Post: agent_kith



Users browsing this thread:
1 Guest(s)

[-]
Our Sponsors

[-]
Welcome
You have to register before you can post on our site.

Username/Email:


Password:





[-]
Latest Threads
Installation of SnakeOil OS 1.3.0 on RPi...
Last Post: agent_kith
Today 07:27 AM
» Replies: 13
» Views: 598
Dropping Measurements, Hello High-End.
Last Post: uglymusic
18-Dec-2024 12:02 AM
» Replies: 20
» Views: 711
CA Server issues
Last Post: Peter_F
16-Dec-2024 06:36 PM
» Replies: 13
» Views: 226
install Snakeoil on Audio Alchemy DMP-1 ...
Last Post: uglymusic
08-Dec-2024 08:48 PM
» Replies: 2
» Views: 214
Announcing Snakeoil Measurements 1.3.0
Last Post: hkphantomgtr
03-Dec-2024 09:55 PM
» Replies: 105
» Views: 12036
Howto setup resampling in Logitech Media...
Last Post: Coacharnold
18-Nov-2024 12:06 AM
» Replies: 7
» Views: 6000
Very happy to have Sankeoil......! mpd w...
Last Post: run51
24-Oct-2024 05:35 AM
» Replies: 9
» Views: 1804
SO no soundcard detected - RPI Pi4 snake...
Last Post: run51
21-Oct-2024 10:55 PM
» Replies: 4
» Views: 189
download
Last Post: Snoopy8
19-Oct-2024 05:52 AM
» Replies: 1
» Views: 180
Full proces to instal snakeiol 100% work...
Last Post: audioluthier
11-Oct-2024 02:32 AM
» Replies: 9
» Views: 513

[-]
SnakeoilOS Mission Statement

Our mission is to create a free to use computer OS that is easy to install, intuitive to operate and play music that will connect and engage with you emotionally.

SnakeoilOS gives you the freedom to spend more time on listening, enjoying and exploring music. Wasting time on computers is now a thing of the past! Everything is constantly evolving/improving. Please check back often for updates.

If you like this project, do show your support with a small token donation. All donations collected will be used to run this website, and for purchasing new equipment for the project.


Powered By MyBB, © 2002-2024. Theme © Melroy van den Berg.