public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Recommended way to shut down akonadi
@ 2016-06-05 22:13 Mick
  2016-06-06  3:25 ` J. Roeleveld
  0 siblings, 1 reply; 11+ messages in thread
From: Mick @ 2016-06-05 22:13 UTC (permalink / raw
  To: gentoo-user


[-- Attachment #1.1: Type: text/plain, Size: 19862 bytes --]

=2D-nextPart7715274.63h3xliQGL
Content-Transfer-Encoding: 7Bit
Content-Type: text/plain; charset="us-ascii"

I run enlightenment DE with a few KDE apps, including KDEPIM and with the 
arrival of Plasma5 I have migrated most of my systems to this set up.

On my laptop I run a stand-alone postgresql for KDEPIM's akonadi, instead of 
mysql.  Everything was working fine, until a week ago.  Shutdown now takes a 
while with akonadi apparently trying to restart, before it eventually gives 
up.  This can take up to 90 seconds.  The delay goes away if I close Kmail and 
run 'akonadictl stop' in a terminal, before I shutdown from the GUI, but not 
if I just add it in my .xsession.  Perhaps my syntax is wrong, or there may be 
a better way to achieve the same.  The contents of my .xsession are:

===================================
#!/bin/sh
if [ -x /usr/bin/gpg-agent ]; then
        kill $(ps ux | awk '/gpg-agent/ && !/awk/ {print $2}') >/dev/null 2>&1
fi

if [ -x /usr/bin/gpg-agent ]; then
  eval "$(/usr/bin/gpg-agent --daemon)"
fi 

# Uncomment the following lines to start rxvt-unicode which has the ability to
# run multiple terminals in one single process, thus starting up faster and 
# saving resources.
# The --opendisplay ensures that the daemon quits when the X server 
terminates,
# therefore we don't need matching lines in agent-shutdown.sh.

if [ -x /usr/bin/urxvtd ]; then
        /usr/bin/urxvtd --opendisplay --fork --quiet
fi

#exec ck-launch-session /usr/bin/enlightenment_start
exec /usr/bin/enlightenment_start
/usr/bin/akonadictl stop
wait 4
========================

The above causes a number of recurring entries in .xsession-errors as per the 
attached log file.  Some of the errors look like this:

rocessControl: Application '/usr/bin/akonadi_maildispatcher_agent' returned 
with exit code 1 (Unknown error)
akonadi_agent_launcher: cannot connect to X server :0.0
ProcessControl: Application '/usr/bin/akonadi_agent_launcher' returned with 
exit code 1 (Unknown error)
ProcessControl: Application '/usr/bin/akonadi_migration_agent' returned with 
exit code 1 (Unknown error)
akonadi_agent_launcher: cannot connect to X server :0.0
akonadi_newmailnotifier_agent: cannot connect to X server :0.0

*after* akonadi has already reported:

Application 'akonadiserver' exited normally...


So if it has exited normally, why are all these processes left hanging and 
keeping postgresql mulling it over for 90 seconds or so, before it eventually 
gives up?  If I press Ctrl+Alt+Backspace while sitting there waiting on a 
black VT7 the shutdown process picks up without further delay.

Is there something I need to correct in my .xsession syntax?

=2D- 
Regards,
Mick
=2D-nextPart7715274.63h3xliQGL
Content-Disposition: attachment; filename="xsession_errors.log"
Content-Transfer-Encoding: 7Bit
Content-Type: text/x-log; charset="UTF-8"; name="xsession_errors.log"

_e_sys_comp_emit_cb_wait - [7] e,state,sys,reboot e,state,sys,reboot,done
action reboot 2
urxvt: X connection to ':0' broken, unable to recover, exiting.
kdeinit4: Fatal IO error: client killed
kded4: Fatal IO error: client killed
knotify4: Fatal IO error: client killed
kwalletd: Fatal IO error: client killed
akonadi_agent_launcher: Fatal IO error: client killed
akonadi_agent_launcher: Fatal IO error: client killed
akonadi_agent_launcher: Fatal IO error: client killed
akonadi_followupreminder_agent: Fatal IO error: client killed
Control process died, committing suicide!
terminating service threads 
akonadi_maildispatcher_agent: Fatal IO error: client killed
akonadi_sendlater_agent: Fatal IO error: client killed
The X11 connection broke (error 1). Did the X11 server die?
kdeinit5: Fatal IO error: client killed
klauncher: Exiting on signal 15
akonadi_archivemail_agent: Fatal IO error: client killed
Checking for pam module
Lacking a socket, pipe: 0, env:0
akonadi_mailfilter_agent: Fatal IO error: client killed
klauncher: Exiting on signal 15
kdeinit4: Fatal IO error: client killed
akonadi_migration_agent: Fatal IO error: client killed
akonadi_imap_resource: Fatal IO error: client killed
akonadi_agent_launcher: Fatal IO error: client killed
akonadi_baloo_indexer: Fatal IO error: client killed
akonadi_newmailnotifier_agent: Fatal IO error: client killed
ProcessControl: Application '/usr/bin/akonadi_agent_launcher' returned with exit code 1 (Unknown error)
ProcessControl: Application '/usr/bin/akonadi_sendlater_agent' returned with exit code 1 (Unknown error)
akonadi_imap_resource: Fatal IO error: client killed
The X11 connection broke (error 1). Did the X11 server die?
QThread: Destroyed while thread is still running
Closing SQL connection:  "kactivities_db_resources_140418780239744_readwrite"
akonadi_agent_launcher: Fatal IO error: client killed
E - PID=29674, valgrind=0
ProcessControl: Application '/usr/bin/akonadi_agent_launcher' returned with exit code 1 (Unknown error)
terminating connection threads 
ProcessControl: Application '/usr/bin/akonadi_archivemail_agent' returned with exit code 1 (Unknown error)
ProcessControl: Application '/usr/bin/akonadi_followupreminder_agent' returned with exit code 1 (Unknown error)
ProcessControl: Application '/usr/bin/akonadi_imap_resource' returned with exit code 1 (Unknown error)
Unable to free statement: FATAL:  terminating connection due to administrator command
server closed the connection unexpectedly
        This probably means the server terminated abnormally
        before or while processing the request.

Unable to free statement: FATAL:  terminating connection due to administrator command
server closed the connection unexpectedly
        This probably means the server terminated abnormally
        before or while processing the request.

ProcessControl: Application '/usr/bin/akonadi_maildispatcher_agent' returned with exit code 1 (Unknown error)
Unable to free statement: FATAL:  terminating connection due to administrator command
server closed the connection unexpectedly
        This probably means the server terminated abnormally
        before or while processing the request.

Unable to free statement: FATAL:  terminating connection due to administrator command
server closed the connection unexpectedly
        This probably means the server terminated abnormally
        before or while processing the request.

Unable to free statement: no connection to the server

Unable to free statement: no connection to the server

Unable to free statement: no connection to the server

Unable to free statement: no connection to the server

ProcessControl: Application '/usr/bin/akonadi_migration_agent' returned with exit code 1 (Unknown error)
Unable to free statement: FATAL:  terminating connection due to administrator command
server closed the connection unexpectedly
        This probably means the server terminated abnormally
        before or while processing the request.

stopping db process 
ProcessControl: Application '/usr/bin/akonadi_agent_launcher' returned with exit code 1 (Unknown error)
Application 'akonadiserver' exited normally...
ProcessControl: Application '/usr/bin/akonadi_baloo_indexer' returned with exit code 1 (Unknown error)
ProcessControl: Application '/usr/bin/akonadi_agent_launcher' returned with exit code 1 (Unknown error)
ProcessControl: Application '/usr/bin/akonadi_newmailnotifier_agent' returned with exit code 1 (Unknown error)
ProcessControl: Application '/usr/bin/akonadi_agent_launcher' returned with exit code 1 (Unknown error)
ProcessControl: Application '/usr/bin/akonadi_mailfilter_agent' returned with exit code 1 (Unknown error)
ProcessControl: Application '/usr/bin/akonadi_imap_resource' returned with exit code 1 (Unknown error)
STORAGE+=/org/freedesktop/UDisks2/drives/TSSTcorp_DVD_2b_2f_RW_TS_T633C_R5516GOSC05707
++STO:
  udi: /org/freedesktop/UDisks2/drives/TSSTcorp_DVD_2b_2f_RW_TS_T633C_R5516GOSC05707
  bus: 
  drive_type: optical_cd
  model: TSSTcorp DVD+/-RW TS-T633C
  vendor: (null)
  serial: R5516GOSC05707
  icon.drive: (null)
  icon.volume: (null)

VOL+ /org/freedesktop/UDisks2/block_devices/sda1
VOL+ /org/freedesktop/UDisks2/block_devices/sda2
VOL+ /org/freedesktop/UDisks2/block_devices/sda10
VOL+ /org/freedesktop/UDisks2/block_devices/sda11
VOL+ /org/freedesktop/UDisks2/block_devices/sda3
VOL+ /org/freedesktop/UDisks2/block_devices/sda6
VOL+ /org/freedesktop/UDisks2/block_devices/sda8
VOL+ /org/freedesktop/UDisks2/block_devices/sda7
VOL+ /org/freedesktop/UDisks2/block_devices/sda9
STORAGE+=/org/freedesktop/UDisks2/drives/ST9500420ASG_5VJ377P2
++STO:
  udi: /org/freedesktop/UDisks2/drives/ST9500420ASG_5VJ377P2
  bus: 
  drive_type: (null)
  model: ST9500420ASG
  vendor: (null)
  serial: 5VJ377P2
  icon.drive: (null)
  icon.volume: (null)

removing likely internal storage /org/freedesktop/UDisks2/drives/ST9500420ASG_5VJ377P2
STORAGE+=/org/freedesktop/UDisks2/drives/Verbatim_0302_12082425004469
++STO:
  udi: /org/freedesktop/UDisks2/drives/Verbatim_0302_12082425004469
  bus: usb
  drive_type: (null)
  model: 0302
  vendor: Verbatim
  serial: 12082425004469
  icon.drive: (null)
  icon.volume: (null)

++STO:
  udi: /org/freedesktop/UDisks2/drives/Verbatim_0302_12082425004469
  bus: usb
  drive_type: (null)
  model: 0302
  vendor: Verbatim
  serial: 12082425004469
  icon.drive: (null)
  icon.volume: (null)

VOL+ /org/freedesktop/UDisks2/block_devices/sdb1
DB DEV-: /org/freedesktop/UDisks2/jobs/0
DB DEV-: /org/freedesktop/UDisks2/jobs/1
DB DEV-: /org/freedesktop/UDisks2/jobs/2
DB DEV-: /org/freedesktop/UDisks2/block_devices/sdb1
=2D-VOL /dev/sdb1
DB DEV-: /org/freedesktop/UDisks2/block_devices/sdb
++STO:
  udi: /org/freedesktop/UDisks2/drives/Verbatim_0302_12082425004469
  bus: usb
  drive_type: (null)
  model: 0302
  vendor: Verbatim
  serial: 12082425004469
  icon.drive: (null)
  icon.volume: (null)

DB DEV-: /org/freedesktop/UDisks2/block_devices/sdb
DB DEV-: /org/freedesktop/UDisks2/drives/Verbatim_0302_12082425004469
=2D-STO /org/freedesktop/UDisks2/drives/Verbatim_0302_12082425004469
STORAGE+=/org/freedesktop/UDisks2/drives/Verbatim_0302_12082425004469
++STO:
  udi: /org/freedesktop/UDisks2/drives/Verbatim_0302_12082425004469
  bus: usb
  drive_type: (null)
  model: 0302
  vendor: Verbatim
  serial: 12082425004469
  icon.drive: (null)
  icon.volume: (null)

++STO:
  udi: /org/freedesktop/UDisks2/drives/Verbatim_0302_12082425004469
  bus: usb
  drive_type: (null)
  model: 0302
  vendor: Verbatim
  serial: 12082425004469
  icon.drive: (null)
  icon.volume: (null)

VOL+ /org/freedesktop/UDisks2/block_devices/sdb1
DB DEV-: /org/freedesktop/UDisks2/jobs/3
DB DEV-: /org/freedesktop/UDisks2/jobs/4
DB DEV-: /org/freedesktop/UDisks2/jobs/5
DB DEV-: /org/freedesktop/UDisks2/jobs/6
DB DEV-: /org/freedesktop/UDisks2/block_devices/sdb1
=2D-VOL /dev/sdb1
DB DEV-: /org/freedesktop/UDisks2/block_devices/sdb
++STO:
  udi: /org/freedesktop/UDisks2/drives/Verbatim_0302_12082425004469
  bus: usb
  drive_type: (null)
  model: 0302
  vendor: Verbatim
  serial: 12082425004469
  icon.drive: (null)
  icon.volume: (null)

DB DEV-: /org/freedesktop/UDisks2/block_devices/sdb
DB DEV-: /org/freedesktop/UDisks2/drives/Verbatim_0302_12082425004469
=2D-STO /org/freedesktop/UDisks2/drives/Verbatim_0302_12082425004469
akonadi_agent_launcher: cannot connect to X server :0.0
akonadi_agent_launcher: cannot connect to X server :0.0
akonadi_migration_agent: cannot connect to X server :0.0
akonadi_maildispatcher_agent: cannot connect to X server :0.0
akonadi_agent_launcher: cannot connect to X server :0.0
ProcessControl: Application '/usr/bin/akonadi_agent_launcher' returned with exit code 1 (Unknown error)
akonadi_followupreminder_agent: cannot connect to X server :0.0
akonadi_agent_launcher: cannot connect to X server :0.0
akonadi_agent_launcher: cannot connect to X server :0.0
akonadi_imap_resource: cannot connect to X server :0.0
ProcessControl: Application '/usr/bin/akonadi_followupreminder_agent' returned with exit code 1 (Unknown error)
akonadi_baloo_indexer: cannot connect to X server :0.0
akonadi_sendlater_agent: cannot connect to X server :0.0
ProcessControl: Application '/usr/bin/akonadi_maildispatcher_agent' returned with exit code 1 (Unknown error)
akonadi_archivemail_agent: cannot connect to X server :0.0
akonadi_imap_resource: cannot connect to X server :0.0
akonadi_agent_launcher: cannot connect to X server :0.0
ProcessControl: Application '/usr/bin/akonadi_agent_launcher' returned with exit code 1 (Unknown error)
ProcessControl: Application '/usr/bin/akonadi_agent_launcher' returned with exit code 1 (Unknown error)
ProcessControl: Application '/usr/bin/akonadi_agent_launcher' returned with exit code 1 (Unknown error)
ProcessControl: Application '/usr/bin/akonadi_imap_resource' returned with exit code 1 (Unknown error)
ProcessControl: Application '/usr/bin/akonadi_agent_launcher' returned with exit code 1 (Unknown error)
akonadi_newmailnotifier_agent: cannot connect to X server :0.0
ProcessControl: Application '/usr/bin/akonadi_archivemail_agent' returned with exit code 1 (Unknown error)
akonadi_agent_launcher: cannot connect to X server :0.0
ProcessControl: Application '/usr/bin/akonadi_migration_agent' returned with exit code 1 (Unknown error)
akonadi_agent_launcher: cannot connect to X server :0.0
akonadi_agent_launcher: cannot connect to X server :0.0
ProcessControl: Application '/usr/bin/akonadi_newmailnotifier_agent' returned with exit code 1 (Unknown error)
akonadi_followupreminder_agent: cannot connect to X server :0.0
ProcessControl: Application '/usr/bin/akonadi_agent_launcher' returned with exit code 1 (Unknown error)
ProcessControl: Application '/usr/bin/akonadi_followupreminder_agent' returned with exit code 1 (Unknown error)
ProcessControl: Application '/usr/bin/akonadi_agent_launcher' returned with exit code 1 (Unknown error)
akonadi_maildispatcher_agent: cannot connect to X server :0.0
ProcessControl: Application '/usr/bin/akonadi_agent_launcher' returned with exit code 1 (Unknown error)
akonadi_mailfilter_agent: cannot connect to X server :0.0
akonadi_agent_launcher: cannot connect to X server :0.0
akonadi_agent_launcher: cannot connect to X server :0.0
akonadi_imap_resource: cannot connect to X server :0.0
ProcessControl: Application '/usr/bin/akonadi_sendlater_agent' returned with exit code 1 (Unknown error)
ProcessControl: Application '/usr/bin/akonadi_baloo_indexer' returned with exit code 1 (Unknown error)
akonadi_migration_agent: cannot connect to X server :0.0
ProcessControl: Application '/usr/bin/akonadi_maildispatcher_agent' returned with exit code 1 (Unknown error)
akonadi_agent_launcher: cannot connect to X server :0.0
ProcessControl: Application '/usr/bin/akonadi_agent_launcher' returned with exit code 1 (Unknown error)
ProcessControl: Application '/usr/bin/akonadi_migration_agent' returned with exit code 1 (Unknown error)
akonadi_agent_launcher: cannot connect to X server :0.0
akonadi_newmailnotifier_agent: cannot connect to X server :0.0
ProcessControl: Application '/usr/bin/akonadi_agent_launcher' returned with exit code 1 (Unknown error)
"/usr/bin/akonadi_agent_launcher" crashed too often and will not be restarted! 
akonadi_followupreminder_agent: cannot connect to X server :0.0
ProcessControl: Application '/usr/bin/akonadi_agent_launcher' returned with exit code 1 (Unknown error)
"/usr/bin/akonadi_agent_launcher" crashed too often and will not be restarted! 
ProcessControl: Application '/usr/bin/akonadi_agent_launcher' returned with exit code 1 (Unknown error)
"/usr/bin/akonadi_agent_launcher" crashed too often and will not be restarted! 
ProcessControl: Application '/usr/bin/akonadi_imap_resource' returned with exit code 1 (Unknown error)
ProcessControl: Application '/usr/bin/akonadi_newmailnotifier_agent' returned with exit code 1 (Unknown error)
ProcessControl: Application '/usr/bin/akonadi_followupreminder_agent' returned with exit code 1 (Unknown error)
"/usr/bin/akonadi_followupreminder_agent" crashed too often and will not be restarted! 
ProcessControl: Application '/usr/bin/akonadi_mailfilter_agent' returned with exit code 1 (Unknown error)
akonadi_agent_launcher: cannot connect to X server :0.0
ProcessControl: Application '/usr/bin/akonadi_agent_launcher' returned with exit code 1 (Unknown error)
akonadi_baloo_indexer: cannot connect to X server :0.0
ProcessControl: Application '/usr/bin/akonadi_imap_resource' returned with exit code 1 (Unknown error)
akonadi_maildispatcher_agent: cannot connect to X server :0.0
akonadi_migration_agent: cannot connect to X server :0.0
akonadi_archivemail_agent: cannot connect to X server :0.0
ProcessControl: Application '/usr/bin/akonadi_baloo_indexer' returned with exit code 1 (Unknown error)
ProcessControl: Application '/usr/bin/akonadi_agent_launcher' returned with exit code 1 (Unknown error)
"/usr/bin/akonadi_agent_launcher" crashed too often and will not be restarted! 
ProcessControl: Application '/usr/bin/akonadi_maildispatcher_agent' returned with exit code 1 (Unknown error)
"/usr/bin/akonadi_maildispatcher_agent" crashed too often and will not be restarted! 
ProcessControl: Application '/usr/bin/akonadi_migration_agent' returned with exit code 1 (Unknown error)
"/usr/bin/akonadi_migration_agent" crashed too often and will not be restarted! 
ProcessControl: Application '/usr/bin/akonadi_archivemail_agent' returned with exit code 1 (Unknown error)
akonadi_imap_resource: cannot connect to X server :0.0
ProcessControl: Application '/usr/bin/akonadi_imap_resource' returned with exit code 1 (Unknown error)
akonadi_newmailnotifier_agent: cannot connect to X server :0.0
ProcessControl: Application '/usr/bin/akonadi_newmailnotifier_agent' returned with exit code 1 (Unknown error)
"/usr/bin/akonadi_newmailnotifier_agent" crashed too often and will not be restarted! 
akonadi_agent_launcher: cannot connect to X server :0.0
ProcessControl: Application '/usr/bin/akonadi_agent_launcher' returned with exit code 1 (Unknown error)
"/usr/bin/akonadi_agent_launcher" crashed too often and will not be restarted! 
akonadi_sendlater_agent: cannot connect to X server :0.0
ProcessControl: Application '/usr/bin/akonadi_sendlater_agent' returned with exit code 1 (Unknown error)
akonadi_imap_resource: cannot connect to X server :0.0
ProcessControl: Application '/usr/bin/akonadi_imap_resource' returned with exit code 1 (Unknown error)
"/usr/bin/akonadi_imap_resource" crashed too often and will not be restarted! 
akonadi_baloo_indexer: cannot connect to X server :0.0
akonadi_imap_resource: cannot connect to X server :0.0
ProcessControl: Application '/usr/bin/akonadi_baloo_indexer' returned with exit code 1 (Unknown error)
"/usr/bin/akonadi_baloo_indexer" crashed too often and will not be restarted! 
ProcessControl: Application '/usr/bin/akonadi_imap_resource' returned with exit code 1 (Unknown error)
"/usr/bin/akonadi_imap_resource" crashed too often and will not be restarted! 
akonadi_mailfilter_agent: cannot connect to X server :0.0
ProcessControl: Application '/usr/bin/akonadi_mailfilter_agent' returned with exit code 1 (Unknown error)
akonadi_archivemail_agent: cannot connect to X server :0.0
ProcessControl: Application '/usr/bin/akonadi_archivemail_agent' returned with exit code 1 (Unknown error)
"/usr/bin/akonadi_archivemail_agent" crashed too often and will not be restarted! 
akonadi_sendlater_agent: cannot connect to X server :0.0
ProcessControl: Application '/usr/bin/akonadi_sendlater_agent' returned with exit code 1 (Unknown error)
"/usr/bin/akonadi_sendlater_agent" crashed too often and will not be restarted! 
akonadi_mailfilter_agent: cannot connect to X server :0.0
ProcessControl: Application '/usr/bin/akonadi_mailfilter_agent' returned with exit code 1 (Unknown error)
"/usr/bin/akonadi_mailfilter_agent" crashed too often and will not be restarted! 

=2D-nextPart7715274.63h3xliQGL--
This is a multi-part message in MIME format.

[-- Attachment #1.2: Type: text/plain, Size: 2579 bytes --]

I run enlightenment DE with a few KDE apps, including KDEPIM and with the 
arrival of Plasma5 I have migrated most of my systems to this set up.

On my laptop I run a stand-alone postgresql for KDEPIM's akonadi, instead of 
mysql.  Everything was working fine, until a week ago.  Shutdown now takes a 
while with akonadi apparently trying to restart, before it eventually gives 
up.  This can take up to 90 seconds.  The delay goes away if I close Kmail and 
run 'akonadictl stop' in a terminal, before I shutdown from the GUI, but not 
if I just add it in my .xsession.  Perhaps my syntax is wrong, or there may be 
a better way to achieve the same.  The contents of my .xsession are:

===================================
#!/bin/sh
if [ -x /usr/bin/gpg-agent ]; then
        kill $(ps ux | awk '/gpg-agent/ && !/awk/ {print $2}') >/dev/null 2>&1
fi

if [ -x /usr/bin/gpg-agent ]; then
  eval "$(/usr/bin/gpg-agent --daemon)"
fi 

# Uncomment the following lines to start rxvt-unicode which has the ability to
# run multiple terminals in one single process, thus starting up faster and 
# saving resources.
# The --opendisplay ensures that the daemon quits when the X server 
terminates,
# therefore we don't need matching lines in agent-shutdown.sh.

if [ -x /usr/bin/urxvtd ]; then
        /usr/bin/urxvtd --opendisplay --fork --quiet
fi

#exec ck-launch-session /usr/bin/enlightenment_start
exec /usr/bin/enlightenment_start
/usr/bin/akonadictl stop
wait 4
========================

The above causes a number of recurring entries in .xsession-errors as per the 
attached log file.  Some of the errors look like this:

rocessControl: Application '/usr/bin/akonadi_maildispatcher_agent' returned 
with exit code 1 (Unknown error)
akonadi_agent_launcher: cannot connect to X server :0.0
ProcessControl: Application '/usr/bin/akonadi_agent_launcher' returned with 
exit code 1 (Unknown error)
ProcessControl: Application '/usr/bin/akonadi_migration_agent' returned with 
exit code 1 (Unknown error)
akonadi_agent_launcher: cannot connect to X server :0.0
akonadi_newmailnotifier_agent: cannot connect to X server :0.0

*after* akonadi has already reported:

Application 'akonadiserver' exited normally...


So if it has exited normally, why are all these processes left hanging and 
keeping postgresql mulling it over for 90 seconds or so, before it eventually 
gives up?  If I press Ctrl+Alt+Backspace while sitting there waiting on a 
black VT7 the shutdown process picks up without further delay.

Is there something I need to correct in my .xsession syntax?

-- 
Regards,
Mick

[-- Attachment #1.3: xsession_errors.log --]
[-- Type: text/x-log, Size: 16886 bytes --]

_e_sys_comp_emit_cb_wait - [7] e,state,sys,reboot e,state,sys,reboot,done
action reboot 2
urxvt: X connection to ':0' broken, unable to recover, exiting.
kdeinit4: Fatal IO error: client killed
kded4: Fatal IO error: client killed
knotify4: Fatal IO error: client killed
kwalletd: Fatal IO error: client killed
akonadi_agent_launcher: Fatal IO error: client killed
akonadi_agent_launcher: Fatal IO error: client killed
akonadi_agent_launcher: Fatal IO error: client killed
akonadi_followupreminder_agent: Fatal IO error: client killed
Control process died, committing suicide!
terminating service threads 
akonadi_maildispatcher_agent: Fatal IO error: client killed
akonadi_sendlater_agent: Fatal IO error: client killed
The X11 connection broke (error 1). Did the X11 server die?
kdeinit5: Fatal IO error: client killed
klauncher: Exiting on signal 15
akonadi_archivemail_agent: Fatal IO error: client killed
Checking for pam module
Lacking a socket, pipe: 0, env:0
akonadi_mailfilter_agent: Fatal IO error: client killed
klauncher: Exiting on signal 15
kdeinit4: Fatal IO error: client killed
akonadi_migration_agent: Fatal IO error: client killed
akonadi_imap_resource: Fatal IO error: client killed
akonadi_agent_launcher: Fatal IO error: client killed
akonadi_baloo_indexer: Fatal IO error: client killed
akonadi_newmailnotifier_agent: Fatal IO error: client killed
ProcessControl: Application '/usr/bin/akonadi_agent_launcher' returned with exit code 1 (Unknown error)
ProcessControl: Application '/usr/bin/akonadi_sendlater_agent' returned with exit code 1 (Unknown error)
akonadi_imap_resource: Fatal IO error: client killed
The X11 connection broke (error 1). Did the X11 server die?
QThread: Destroyed while thread is still running
Closing SQL connection:  "kactivities_db_resources_140418780239744_readwrite"
akonadi_agent_launcher: Fatal IO error: client killed
E - PID=29674, valgrind=0
ProcessControl: Application '/usr/bin/akonadi_agent_launcher' returned with exit code 1 (Unknown error)
terminating connection threads 
ProcessControl: Application '/usr/bin/akonadi_archivemail_agent' returned with exit code 1 (Unknown error)
ProcessControl: Application '/usr/bin/akonadi_followupreminder_agent' returned with exit code 1 (Unknown error)
ProcessControl: Application '/usr/bin/akonadi_imap_resource' returned with exit code 1 (Unknown error)
Unable to free statement: FATAL:  terminating connection due to administrator command
server closed the connection unexpectedly
        This probably means the server terminated abnormally
        before or while processing the request.

Unable to free statement: FATAL:  terminating connection due to administrator command
server closed the connection unexpectedly
        This probably means the server terminated abnormally
        before or while processing the request.

ProcessControl: Application '/usr/bin/akonadi_maildispatcher_agent' returned with exit code 1 (Unknown error)
Unable to free statement: FATAL:  terminating connection due to administrator command
server closed the connection unexpectedly
        This probably means the server terminated abnormally
        before or while processing the request.

Unable to free statement: FATAL:  terminating connection due to administrator command
server closed the connection unexpectedly
        This probably means the server terminated abnormally
        before or while processing the request.

Unable to free statement: no connection to the server

Unable to free statement: no connection to the server

Unable to free statement: no connection to the server

Unable to free statement: no connection to the server

ProcessControl: Application '/usr/bin/akonadi_migration_agent' returned with exit code 1 (Unknown error)
Unable to free statement: FATAL:  terminating connection due to administrator command
server closed the connection unexpectedly
        This probably means the server terminated abnormally
        before or while processing the request.

stopping db process 
ProcessControl: Application '/usr/bin/akonadi_agent_launcher' returned with exit code 1 (Unknown error)
Application 'akonadiserver' exited normally...
ProcessControl: Application '/usr/bin/akonadi_baloo_indexer' returned with exit code 1 (Unknown error)
ProcessControl: Application '/usr/bin/akonadi_agent_launcher' returned with exit code 1 (Unknown error)
ProcessControl: Application '/usr/bin/akonadi_newmailnotifier_agent' returned with exit code 1 (Unknown error)
ProcessControl: Application '/usr/bin/akonadi_agent_launcher' returned with exit code 1 (Unknown error)
ProcessControl: Application '/usr/bin/akonadi_mailfilter_agent' returned with exit code 1 (Unknown error)
ProcessControl: Application '/usr/bin/akonadi_imap_resource' returned with exit code 1 (Unknown error)
STORAGE+=/org/freedesktop/UDisks2/drives/TSSTcorp_DVD_2b_2f_RW_TS_T633C_R5516GOSC05707
++STO:
  udi: /org/freedesktop/UDisks2/drives/TSSTcorp_DVD_2b_2f_RW_TS_T633C_R5516GOSC05707
  bus: 
  drive_type: optical_cd
  model: TSSTcorp DVD+/-RW TS-T633C
  vendor: (null)
  serial: R5516GOSC05707
  icon.drive: (null)
  icon.volume: (null)

VOL+ /org/freedesktop/UDisks2/block_devices/sda1
VOL+ /org/freedesktop/UDisks2/block_devices/sda2
VOL+ /org/freedesktop/UDisks2/block_devices/sda10
VOL+ /org/freedesktop/UDisks2/block_devices/sda11
VOL+ /org/freedesktop/UDisks2/block_devices/sda3
VOL+ /org/freedesktop/UDisks2/block_devices/sda6
VOL+ /org/freedesktop/UDisks2/block_devices/sda8
VOL+ /org/freedesktop/UDisks2/block_devices/sda7
VOL+ /org/freedesktop/UDisks2/block_devices/sda9
STORAGE+=/org/freedesktop/UDisks2/drives/ST9500420ASG_5VJ377P2
++STO:
  udi: /org/freedesktop/UDisks2/drives/ST9500420ASG_5VJ377P2
  bus: 
  drive_type: (null)
  model: ST9500420ASG
  vendor: (null)
  serial: 5VJ377P2
  icon.drive: (null)
  icon.volume: (null)

removing likely internal storage /org/freedesktop/UDisks2/drives/ST9500420ASG_5VJ377P2
STORAGE+=/org/freedesktop/UDisks2/drives/Verbatim_0302_12082425004469
++STO:
  udi: /org/freedesktop/UDisks2/drives/Verbatim_0302_12082425004469
  bus: usb
  drive_type: (null)
  model: 0302
  vendor: Verbatim
  serial: 12082425004469
  icon.drive: (null)
  icon.volume: (null)

++STO:
  udi: /org/freedesktop/UDisks2/drives/Verbatim_0302_12082425004469
  bus: usb
  drive_type: (null)
  model: 0302
  vendor: Verbatim
  serial: 12082425004469
  icon.drive: (null)
  icon.volume: (null)

VOL+ /org/freedesktop/UDisks2/block_devices/sdb1
DB DEV-: /org/freedesktop/UDisks2/jobs/0
DB DEV-: /org/freedesktop/UDisks2/jobs/1
DB DEV-: /org/freedesktop/UDisks2/jobs/2
DB DEV-: /org/freedesktop/UDisks2/block_devices/sdb1
--VOL /dev/sdb1
DB DEV-: /org/freedesktop/UDisks2/block_devices/sdb
++STO:
  udi: /org/freedesktop/UDisks2/drives/Verbatim_0302_12082425004469
  bus: usb
  drive_type: (null)
  model: 0302
  vendor: Verbatim
  serial: 12082425004469
  icon.drive: (null)
  icon.volume: (null)

DB DEV-: /org/freedesktop/UDisks2/block_devices/sdb
DB DEV-: /org/freedesktop/UDisks2/drives/Verbatim_0302_12082425004469
--STO /org/freedesktop/UDisks2/drives/Verbatim_0302_12082425004469
STORAGE+=/org/freedesktop/UDisks2/drives/Verbatim_0302_12082425004469
++STO:
  udi: /org/freedesktop/UDisks2/drives/Verbatim_0302_12082425004469
  bus: usb
  drive_type: (null)
  model: 0302
  vendor: Verbatim
  serial: 12082425004469
  icon.drive: (null)
  icon.volume: (null)

++STO:
  udi: /org/freedesktop/UDisks2/drives/Verbatim_0302_12082425004469
  bus: usb
  drive_type: (null)
  model: 0302
  vendor: Verbatim
  serial: 12082425004469
  icon.drive: (null)
  icon.volume: (null)

VOL+ /org/freedesktop/UDisks2/block_devices/sdb1
DB DEV-: /org/freedesktop/UDisks2/jobs/3
DB DEV-: /org/freedesktop/UDisks2/jobs/4
DB DEV-: /org/freedesktop/UDisks2/jobs/5
DB DEV-: /org/freedesktop/UDisks2/jobs/6
DB DEV-: /org/freedesktop/UDisks2/block_devices/sdb1
--VOL /dev/sdb1
DB DEV-: /org/freedesktop/UDisks2/block_devices/sdb
++STO:
  udi: /org/freedesktop/UDisks2/drives/Verbatim_0302_12082425004469
  bus: usb
  drive_type: (null)
  model: 0302
  vendor: Verbatim
  serial: 12082425004469
  icon.drive: (null)
  icon.volume: (null)

DB DEV-: /org/freedesktop/UDisks2/block_devices/sdb
DB DEV-: /org/freedesktop/UDisks2/drives/Verbatim_0302_12082425004469
--STO /org/freedesktop/UDisks2/drives/Verbatim_0302_12082425004469
akonadi_agent_launcher: cannot connect to X server :0.0
akonadi_agent_launcher: cannot connect to X server :0.0
akonadi_migration_agent: cannot connect to X server :0.0
akonadi_maildispatcher_agent: cannot connect to X server :0.0
akonadi_agent_launcher: cannot connect to X server :0.0
ProcessControl: Application '/usr/bin/akonadi_agent_launcher' returned with exit code 1 (Unknown error)
akonadi_followupreminder_agent: cannot connect to X server :0.0
akonadi_agent_launcher: cannot connect to X server :0.0
akonadi_agent_launcher: cannot connect to X server :0.0
akonadi_imap_resource: cannot connect to X server :0.0
ProcessControl: Application '/usr/bin/akonadi_followupreminder_agent' returned with exit code 1 (Unknown error)
akonadi_baloo_indexer: cannot connect to X server :0.0
akonadi_sendlater_agent: cannot connect to X server :0.0
ProcessControl: Application '/usr/bin/akonadi_maildispatcher_agent' returned with exit code 1 (Unknown error)
akonadi_archivemail_agent: cannot connect to X server :0.0
akonadi_imap_resource: cannot connect to X server :0.0
akonadi_agent_launcher: cannot connect to X server :0.0
ProcessControl: Application '/usr/bin/akonadi_agent_launcher' returned with exit code 1 (Unknown error)
ProcessControl: Application '/usr/bin/akonadi_agent_launcher' returned with exit code 1 (Unknown error)
ProcessControl: Application '/usr/bin/akonadi_agent_launcher' returned with exit code 1 (Unknown error)
ProcessControl: Application '/usr/bin/akonadi_imap_resource' returned with exit code 1 (Unknown error)
ProcessControl: Application '/usr/bin/akonadi_agent_launcher' returned with exit code 1 (Unknown error)
akonadi_newmailnotifier_agent: cannot connect to X server :0.0
ProcessControl: Application '/usr/bin/akonadi_archivemail_agent' returned with exit code 1 (Unknown error)
akonadi_agent_launcher: cannot connect to X server :0.0
ProcessControl: Application '/usr/bin/akonadi_migration_agent' returned with exit code 1 (Unknown error)
akonadi_agent_launcher: cannot connect to X server :0.0
akonadi_agent_launcher: cannot connect to X server :0.0
ProcessControl: Application '/usr/bin/akonadi_newmailnotifier_agent' returned with exit code 1 (Unknown error)
akonadi_followupreminder_agent: cannot connect to X server :0.0
ProcessControl: Application '/usr/bin/akonadi_agent_launcher' returned with exit code 1 (Unknown error)
ProcessControl: Application '/usr/bin/akonadi_followupreminder_agent' returned with exit code 1 (Unknown error)
ProcessControl: Application '/usr/bin/akonadi_agent_launcher' returned with exit code 1 (Unknown error)
akonadi_maildispatcher_agent: cannot connect to X server :0.0
ProcessControl: Application '/usr/bin/akonadi_agent_launcher' returned with exit code 1 (Unknown error)
akonadi_mailfilter_agent: cannot connect to X server :0.0
akonadi_agent_launcher: cannot connect to X server :0.0
akonadi_agent_launcher: cannot connect to X server :0.0
akonadi_imap_resource: cannot connect to X server :0.0
ProcessControl: Application '/usr/bin/akonadi_sendlater_agent' returned with exit code 1 (Unknown error)
ProcessControl: Application '/usr/bin/akonadi_baloo_indexer' returned with exit code 1 (Unknown error)
akonadi_migration_agent: cannot connect to X server :0.0
ProcessControl: Application '/usr/bin/akonadi_maildispatcher_agent' returned with exit code 1 (Unknown error)
akonadi_agent_launcher: cannot connect to X server :0.0
ProcessControl: Application '/usr/bin/akonadi_agent_launcher' returned with exit code 1 (Unknown error)
ProcessControl: Application '/usr/bin/akonadi_migration_agent' returned with exit code 1 (Unknown error)
akonadi_agent_launcher: cannot connect to X server :0.0
akonadi_newmailnotifier_agent: cannot connect to X server :0.0
ProcessControl: Application '/usr/bin/akonadi_agent_launcher' returned with exit code 1 (Unknown error)
"/usr/bin/akonadi_agent_launcher" crashed too often and will not be restarted! 
akonadi_followupreminder_agent: cannot connect to X server :0.0
ProcessControl: Application '/usr/bin/akonadi_agent_launcher' returned with exit code 1 (Unknown error)
"/usr/bin/akonadi_agent_launcher" crashed too often and will not be restarted! 
ProcessControl: Application '/usr/bin/akonadi_agent_launcher' returned with exit code 1 (Unknown error)
"/usr/bin/akonadi_agent_launcher" crashed too often and will not be restarted! 
ProcessControl: Application '/usr/bin/akonadi_imap_resource' returned with exit code 1 (Unknown error)
ProcessControl: Application '/usr/bin/akonadi_newmailnotifier_agent' returned with exit code 1 (Unknown error)
ProcessControl: Application '/usr/bin/akonadi_followupreminder_agent' returned with exit code 1 (Unknown error)
"/usr/bin/akonadi_followupreminder_agent" crashed too often and will not be restarted! 
ProcessControl: Application '/usr/bin/akonadi_mailfilter_agent' returned with exit code 1 (Unknown error)
akonadi_agent_launcher: cannot connect to X server :0.0
ProcessControl: Application '/usr/bin/akonadi_agent_launcher' returned with exit code 1 (Unknown error)
akonadi_baloo_indexer: cannot connect to X server :0.0
ProcessControl: Application '/usr/bin/akonadi_imap_resource' returned with exit code 1 (Unknown error)
akonadi_maildispatcher_agent: cannot connect to X server :0.0
akonadi_migration_agent: cannot connect to X server :0.0
akonadi_archivemail_agent: cannot connect to X server :0.0
ProcessControl: Application '/usr/bin/akonadi_baloo_indexer' returned with exit code 1 (Unknown error)
ProcessControl: Application '/usr/bin/akonadi_agent_launcher' returned with exit code 1 (Unknown error)
"/usr/bin/akonadi_agent_launcher" crashed too often and will not be restarted! 
ProcessControl: Application '/usr/bin/akonadi_maildispatcher_agent' returned with exit code 1 (Unknown error)
"/usr/bin/akonadi_maildispatcher_agent" crashed too often and will not be restarted! 
ProcessControl: Application '/usr/bin/akonadi_migration_agent' returned with exit code 1 (Unknown error)
"/usr/bin/akonadi_migration_agent" crashed too often and will not be restarted! 
ProcessControl: Application '/usr/bin/akonadi_archivemail_agent' returned with exit code 1 (Unknown error)
akonadi_imap_resource: cannot connect to X server :0.0
ProcessControl: Application '/usr/bin/akonadi_imap_resource' returned with exit code 1 (Unknown error)
akonadi_newmailnotifier_agent: cannot connect to X server :0.0
ProcessControl: Application '/usr/bin/akonadi_newmailnotifier_agent' returned with exit code 1 (Unknown error)
"/usr/bin/akonadi_newmailnotifier_agent" crashed too often and will not be restarted! 
akonadi_agent_launcher: cannot connect to X server :0.0
ProcessControl: Application '/usr/bin/akonadi_agent_launcher' returned with exit code 1 (Unknown error)
"/usr/bin/akonadi_agent_launcher" crashed too often and will not be restarted! 
akonadi_sendlater_agent: cannot connect to X server :0.0
ProcessControl: Application '/usr/bin/akonadi_sendlater_agent' returned with exit code 1 (Unknown error)
akonadi_imap_resource: cannot connect to X server :0.0
ProcessControl: Application '/usr/bin/akonadi_imap_resource' returned with exit code 1 (Unknown error)
"/usr/bin/akonadi_imap_resource" crashed too often and will not be restarted! 
akonadi_baloo_indexer: cannot connect to X server :0.0
akonadi_imap_resource: cannot connect to X server :0.0
ProcessControl: Application '/usr/bin/akonadi_baloo_indexer' returned with exit code 1 (Unknown error)
"/usr/bin/akonadi_baloo_indexer" crashed too often and will not be restarted! 
ProcessControl: Application '/usr/bin/akonadi_imap_resource' returned with exit code 1 (Unknown error)
"/usr/bin/akonadi_imap_resource" crashed too often and will not be restarted! 
akonadi_mailfilter_agent: cannot connect to X server :0.0
ProcessControl: Application '/usr/bin/akonadi_mailfilter_agent' returned with exit code 1 (Unknown error)
akonadi_archivemail_agent: cannot connect to X server :0.0
ProcessControl: Application '/usr/bin/akonadi_archivemail_agent' returned with exit code 1 (Unknown error)
"/usr/bin/akonadi_archivemail_agent" crashed too often and will not be restarted! 
akonadi_sendlater_agent: cannot connect to X server :0.0
ProcessControl: Application '/usr/bin/akonadi_sendlater_agent' returned with exit code 1 (Unknown error)
"/usr/bin/akonadi_sendlater_agent" crashed too often and will not be restarted! 
akonadi_mailfilter_agent: cannot connect to X server :0.0
ProcessControl: Application '/usr/bin/akonadi_mailfilter_agent' returned with exit code 1 (Unknown error)
"/usr/bin/akonadi_mailfilter_agent" crashed too often and will not be restarted! 

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 473 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2016-06-18 19:48 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-05 22:13 [gentoo-user] Recommended way to shut down akonadi Mick
2016-06-06  3:25 ` J. Roeleveld
2016-06-06 18:22   ` Mick
2016-06-07  8:13     ` J. Roeleveld
2016-06-10 16:05       ` Mick
2016-06-10 19:54         ` J. Roeleveld
2016-06-10 21:32           ` Mick
2016-06-14  5:03             ` J. Roeleveld
2016-06-18 16:45               ` Mick
2016-06-18 17:42                 ` J. Roeleveld
2016-06-18 19:47                   ` Mick

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox