Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Stop Job at shutdown for something I don't have installed

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
theblueplll
Posts: 154
Joined: 2019-04-29 01:17
Been thanked: 2 times

Stop Job at shutdown for something I don't have installed

#1 Post by theblueplll »

Using Buster(why did I upgrade? Idk I was curious lol) I keep getting this message on shutdown and reboot which wouldn't be a big deal if it didn't go on forever and never shutdown or reboot the machine.

Anyway it just sits there saying this as the timer keeps getting longer.

I do not even have MariaDB installed.

Could someone please help point me in the right direction to get this solved?

Here is a link to a picture that shows the screen when it happens
https://i192.photobucket.com/albums/z21 ... 91732b.jpg
Last edited by theblueplll on 2019-05-04 15:36, edited 1 time in total.

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: Stop Job at shutdown for something I don't have installe

#2 Post by Head_on_a_Stick »

Please remove that oversized image and replace it with a link, we have users with limited bandwidth.

Have you tried disabling the service?

Code: Select all

# systemctl disable --now mariadb
deadbang

theblueplll
Posts: 154
Joined: 2019-04-29 01:17
Been thanked: 2 times

Re: Stop Job at shutdown for something I don't have installe

#3 Post by theblueplll »

I appologize for the huge picture I did not realize that it ended up that way.
I will fix it right now.

When I tried what you suggested I got this.

Code: Select all

systemctl disable -now mariadb
Failed to parse lines 'ow'

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: Stop Job at shutdown for something I don't have installe

#4 Post by Head_on_a_Stick »

You missed a dash from --now.
deadbang

theblueplll
Posts: 154
Joined: 2019-04-29 01:17
Been thanked: 2 times

Re: Stop Job at shutdown for something I don't have installe

#5 Post by theblueplll »

Of course I did I do that all the time I need to wear my glasses more often.

Code: Select all

systemctl disable --now mariadb
Removed /etc/systemd/system/mysqld.service.
Removed /etc/systemd/system/mysql.service.
Removed /etc/systemd/system/multi-user.target.wants/mariadb.service.
So where would this stuff come from I have no need for myql and never installed it intentionally.

Edit: This did not solve the problem just did a reboot and ran into the same thing.

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: Stop Job at shutdown for something I don't have installe

#6 Post by Head_on_a_Stick »

Check for enabled units:

Code: Select all

systemctl list-unit-files --state=enabled
ls -lR /etc/systemd/system
Either use the disable command on any you find or delete the symlink in the .target directory.

EDIT: the unit files you disabled were in /etc/systemd/system so they were installed by the administrator rather than the package manager.
deadbang

theblueplll
Posts: 154
Joined: 2019-04-29 01:17
Been thanked: 2 times

Re: Stop Job at shutdown for something I don't have installe

#7 Post by theblueplll »

Head_on_a_Stick wrote:they were installed by the administrator rather than the package manager.
The administrator as in me?
Umm no I didn't if that is what you mean.
Ahh %## I'm confused haha

And rather than keep disabling things I would like to figure out how to get rid of this stuff since i have no use for it and don't know where it came from.

Will try your latest suggestion and see what happens in the mean time.

Bulkley
Posts: 6386
Joined: 2006-02-11 18:35
Has thanked: 2 times
Been thanked: 39 times

Re: Stop Job at shutdown for something I don't have installe

#8 Post by Bulkley »

. . . wouldn't be a big deal if it didn't go on forever and never shutdown or reboot the machine.
When you get stuck in a "forever and never shutdown" you can get out of it with REISUB - the gentle Linux restart.

Hold down Alt and SysRq and REISUB to reboot or REISUO to shutdown.

Test it. You may need to enable it. There is a lot of information available so your search engine is your friend.

theblueplll
Posts: 154
Joined: 2019-04-29 01:17
Been thanked: 2 times

Re: Stop Job at shutdown for something I don't have installe

#9 Post by theblueplll »

Bulkley wrote:
. . . wouldn't be a big deal if it didn't go on forever and never shutdown or reboot the machine.
When you get stuck in a "forever and never shutdown" you can get out of it with REISUB - the gentle Linux restart.

Hold down Alt and SysRq and REISUB to reboot or REISUO to shutdown.

Test it. You may need to enable it. There is a lot of information available so your search engine is your friend.
Yeah I read the link but I have no print screen key on my laptop.

theblueplll
Posts: 154
Joined: 2019-04-29 01:17
Been thanked: 2 times

Re: Stop Job at shutdown for something I don't have installe

#10 Post by theblueplll »

Head_on_a_Stick wrote:Check for enabled units:

Code: Select all

systemctl list-unit-files --state=enabled
ls -lR /etc/systemd/system
Either use the disable command on any you find or delete the symlink in the .target directory.

EDIT: the unit files you disabled were in /etc/systemd/system so they were installed by the administrator rather than the package manager.
Sorry to sound like an idiot but I'm really not sure what I am looking for when I run those commands and Konsole won't let me see it all or scroll to the top.

User avatar
wizard10000
Global Moderator
Global Moderator
Posts: 596
Joined: 2019-04-16 23:15
Location: southeastern us
Has thanked: 78 times
Been thanked: 89 times

Re: Stop Job at shutdown for something I don't have installe

#11 Post by wizard10000 »

mariadb is the backend database for akonadi. Chances are your PIM database won't work without it - or another database backend :)
we see things not as they are, but as we are.
-- anais nin

User avatar
GarryRicketson
Posts: 5644
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Stop Job at shutdown for something I don't have installe

#12 Post by GarryRicketson »

So where would this stuff come from I have no need for myql and never installed it intentionally.
I could not find anything on "myql", but on "mysql" :
It (mysql) is pulled in to some extent when the system was installed, this is a copy from a very recent install , I did not install mysql or mariadb either , but I did select the "ssh server" option when I installed, I am not sure if that has anything to do with it though. As wizard mentions, it is used in other programs as well, in other words it is part of the install.
On my recent install, I have not even installed any Xorg, display mangers, or window manager, nor Desktop Environment, and I still have 2 files related to mysql,.. I don't think it is wise to start disabling services, etc. if you do not fully understand what you are doing.

Code: Select all

garry@debian:~$ neofetch
       _,met$$$$$gg.          garry@debian 
    ,g$$$$$$$$$$$$$$$P.       ------------ 
  ,g$$P"     """Y$$.".        OS: Debian GNU/Linux buster/sid x86_64 
 ,$$P'              `$$$.     Host: KVM/QEMU (Standard PC (i440FX + PIIX, 1996) pc-i440fx-3.0) 
',$$P       ,ggs.     `$$b:   Kernel: 4.19.0-4-amd64 
`d$$'     ,$P"'   .    $$$    Uptime: 5 mins 
 $$P      d$'     ,    $$P    Packages: 367 (dpkg) 
 $$:      $$.   -    ,d$$'    Shell: bash 5.0.3 
 $$;      Y$b._   _,d$P'      Terminal: /dev/pts/0 
 Y$$.    `.`"Y$$$$P"'         CPU: QEMU Virtual version 2.5+ (1) @ 2.992GHz 
 `$$b      "-.__              GPU: Vendor 1234 Device 1111 
  `Y$$                        Memory: 48MiB / 963MiB 
   `Y$$.
     `$$b.                                            
       `Y$$b.
          `"Y$b._
              `"""

garry@debian:~$ locate mysql
/usr/share/bash-completion/completions/mysql
/usr/share/bash-completion/completions/mysqladmin
 
The original post, is lacking in details, like what DE or WM is installed ? Either way, yes as, wizard10000 pointed out , they do pull in more things that use the database,..
wizard10000 »mariadb is the backend database for akonadi.
The problem , is when you shutdown ? Yet you do not tell us, exactly how it is you are shutting the system down, show the command you use, in codeboxes, exactly like you type it. If you are using a "clicky dickey" Icon, on the unkown DE, or some menu option, please tell us what that is.
You should be able to shut-down properly using a terminal, and use sudo or su, as root:

Code: Select all

# shutdown -P now 
That is what I use, but also with a little search foo, you will find there are some various commands you can use, for me 'shutdown -P now' is convenient, it is what I have memorized well. See also:

Code: Select all

man shutdown 
SHUTDOWN(8) shutdown SHUTDOWN(8)

NAME
shutdown - Halt, power-off or reboot the machine

SYNOPSIS
shutdown [OPTIONS...] [TIME] [WALL...]

DESCRIPTION
shutdown may be used to halt, power-off or reboot the machine.

The first argument may be a time string (which is usually "now"). Optionally, this may be followed
by a wall message to be sent to all logged-in users before going down.

The time string may either be in the format "hh:mm" for hour/minutes specifying the time to execute
the shutdown at, specified in 24h clock format. Alternatively it may be in the syntax "+m"
referring to the specified number of minutes m from now. "now" is an alias for "+0", i.e. for
triggering an immediate shutdown. If no time argument is specified, "+1" is implied.

Note that to specify a wall message you must specify a time argument, too.

If the time argument is used, 5 minutes before the system goes down the /run/nologin file is
created to ensure that further logins shall not be allowed.---snip---
The above is just the introduction, the rest needs to be read also.

Debian Buster is really not at all ready for use by just any one, and recently looking at some bug reports, seems like I noticed some problems shutting down associated with certain DE's, again this is a matter of search foo, the OP should try searching the but reports, there a 100s, ... have fun :mrgreen:

User avatar
wizard10000
Global Moderator
Global Moderator
Posts: 596
Joined: 2019-04-16 23:15
Location: southeastern us
Has thanked: 78 times
Been thanked: 89 times

Re: Stop Job at shutdown for something I don't have installe

#13 Post by wizard10000 »

GarryRicketson wrote:The original post, is lacking in details, like what DE or WM is installed ?
The reference to konsole in a post above leads me to believe he's running KDE and mariadb (actually, mysql) is a dependency of akonadi-server :)
we see things not as they are, but as we are.
-- anais nin

User avatar
GarryRicketson
Posts: 5644
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Stop Job at shutdown for something I don't have installe

#14 Post by GarryRicketson »

Ahh, yes, I remember now, one time by accident, I installed KDE, and it does use akonadi-server , https://packages.debian.org/buster/akonadi-server
dep: akonadi-backend-mysql (= 4:18.08.3-4)
MySQL storage backend for Akonadi
or akonadi-backend-sqlite (= 4:18.08.3-4)
SQLite storage backend for Akonadi ---snip--

theblueplll
Posts: 154
Joined: 2019-04-29 01:17
Been thanked: 2 times

Re: Stop Job at shutdown for something I don't have installe

#15 Post by theblueplll »

Sorry for never replying to this.
I did some reading and found out it was (like someone said in the thread LoL) extra crap from KDE.

SO i reinstalled with no desktop and in the terminal did a minimal kde install (apt install kde-plasma-desktop) and no more problems.

Had quite a few problems that I have solved by not dual booting anymore.(was warned about this more than once that it might not work out so well to dual boot windows and Linux)
Soon as I wiped the drive and now only run Debian I don't seem to have any trouble anymore.

Thank you all for trying to help me even when I was acting like a dork and not paying attention to what you were trying to teach me.

Post Reply