Skip to main content
Topic: [SOLVED] claws-mail does not start anymore (Read 402 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

[SOLVED] claws-mail does not start anymore

Hi There,

after boot today claws-mail didn't start anymore. not from GUI and not from Terminal.

When startet in Terminal it showed only 2 lines (in german):

Quote
/some/directory/you/specify/claws-mail: mkdir: Datei oder Verzeichnis nicht gefunden
Error creating socket_dir /some/directory/you/specify/claws-mail: Datei oder Verzeichnis nicht gefunden
whichs tells that the folder '/some/directory/you/specify/claws-mail' is missing ....
I searched for this error but couldn't find it with google.

I know this is a very dirty hack, but for the sake of using claws-amil again i just created this folder with:
Code: [Select]
sudo mkdir /some
sudo mkdir /some/directory
sudo mkdir /some/directory/you
sudo mkdir /some/directory/you/specify
sudo mkdir /some/directory/you/specify/claws-mail
sudo chmod 0700 /some/directory/you/specify/claws-mail
sudo chown $USER:$USER /some/directory/you/specify/claws-mail
and claws-mail works again.

It would be nice if someone with more knowledge than me could point me to the propper solution.

I didn't do any changes to the system, just an update which updated th following packages:
Quote
boost-libs 1.80.0-2 -> 1.80.0-3
enchant 2.3.3-1 -> 2.3.3-2
esysusers 251.5-1 -> 251.6-1
etmpfiles 251.5-1 -> 251.6-1
evolution-data-server 3.44.4-1 -> 3.44.4-2
faad2 2.10.0-1 -> 2.10.1-1
firefox 106.0-1 -> 106.0.1-1
gnustep-base 1.28.0-4 -> 1.28.0-5
gspell 1.12.0-1 -> 1.12.0-2
harfbuzz 5.3.1-1 -> 5.3.1-3
harfbuzz-icu 5.3.1-1 -> 5.3.1-3
icu 71.1-1 -> 72.1-1
kdeplasma-addons 5.26.1-1 -> 5.26.1-2
libcdr 0.1.7-4 -> 0.1.7-5
libe-book 0.1.3-11 -> 0.1.3-12
libical 3.0.16-1 -> 3.0.16-2
libmspub 0.1.4-12 -> 0.1.4-13
libphonenumber 1:8.12.56-1 -> 1:8.12.56-2
libqalculate 4.4.0-1 -> 4.4.0-2
libqxp 0.0.2-8 -> 0.0.2-9
libudev 251.5-1 -> 251.6-1
libvisio 0.1.7-7 -> 0.1.7-8
libxml2 2.10.2-2 -> 2.10.3-2
libzmf 0.0.2-12 -> 0.0.2-13
mongo-c-driver 1.23.0-1 -> 1.23.0-2
orc 0.4.32-1 -> 0.4.32-2
pambase 20211210-1 -> 20221020-1
pixman 0.40.0-2 -> 0.42.0-1
plasma-workspace 5.26.1-1 -> 5.26.1-2
python-inflect 6.0.0-1 -> 6.0.2-1
python-jaraco.text 3.9.1-1 -> 3.10.0-1
python-typing_extensions 4.3.0-1 -> 4.4.0-1
qt5-base 5.15.6+kde+r180-1 -> 5.15.6+kde+r180-2.1
qt5-webengine 5.15.10-3 -> 5.15.10-4
qt5-webkit 5.212.0alpha4-16.2 -> 5.212.0alpha4-17
raptor 2.0.15-19 -> 2.0.15-20
rsync 3.2.6-2 -> 3.2.7-1
rubberband 3.1.0-1 -> 3.1.1-1
scribus 1.5.8-10 -> 1.5.8-11
smbclient 4.17.1-1 -> 4.17.1-2
tracker 1:2.3.6+r7+gb27396252-1 -> 1:2.3.6+r7+gb27396252-2
tracker-miners 1:2.3.5+r3+gd9d61d87f-3 -> 1:2.3.5+r3+gd9d61d87f-4
tracker3 3.4.0-1 -> 3.4.0-2
tracker3-miners 3.4.0-2 -> 3.4.0-3
udev 251.5-1 -> 251.6-1
unarchiver 1.10.7-6 -> 1.10.7-7
ungoogled-chromium 106.0.5249.103-1 -> 106.0.5249.119-2
vte-common 0.68.0-2 -> 0.70.1-1
vte3 0.68.0-2 -> 0.70.1-1
webkit2gtk 2.38.0-2 -> 2.38.1-1
xerces-c 3.2.3-6 -> 3.2.3-7


 

Re: claws-mail does not start anymore

Reply #1
>sudo mkdir /some
>sudo mkdir /some/directory
>sudo mkdir /some/directory/you
>sudo mkdir /some/directory/you/specify
>sudo mkdir /some/directory/you/specify/claws-mail

use the -p option to make it into one command:
Code: [Select]
sudo mkdir -p /some/directory/you/specify/claws-mail

On the topic of claws-mail, what directory is exactly missing? if you don't want people seeing your home directory just write it in the form of /home/user .

[SOLVED] claws-mail does not start anymore

Reply #2
Thanks for your reply.

Nice info about the "mkdir -p" , didn't knew about that.


On the topic of claws-mail, what directory is exactly missing? if you don't want people seeing your home directory just write it in the form of /home/user .
You somehow got me wrong.
This was exactly what was printed in the Terminal:
Quote
/some/directory/you/specify/claws-mail: mkdir: Datei oder Verzeichnis nicht gefunden
Error creating socket_dir /some/directory/you/specify/claws-mail: Datei oder Verzeichnis nicht gefunden
I didn't changed a single bit !#

...EDIT.....
[SOLVED]
I figured out that this has to do with the XDG_RUNTIME_DIR variable.

Ages ago i set up .bashrc with :  export XDG_RUNTIME_DIR=/some/directory/you/specify

I have no clue why KDE Plasma started to choke on this exaxtly today.

But after setting .bashrc to     :  export XDG_RUNTIME_DIR=/tmp
everything was back to normal.
I delete the /some-Folder and claws-mail starts up again,
even from KDE Plasma. Don't know why the GUI is dependent from the .bashrc , but hey: The system is running again.

..... EDIT No 2 ......
To set /tmp messed some other things up.
As far as i could figure it has to be
 /run/user/$(id -u)   
in my case:           export XDG_RUNTIME_DIR=/run/user/1000