Tag Archive for: ubuntu

[Fixed] ZFS zpool disappear after reboot [ubuntu]

08 Nov
November 8, 2019

After kernel upgrade, ZFS couldn’t start, but some process create some file in the mount point. So after that ZFS can’t start the process ever again. Here’s how to fix.

1. disable service zfs.target and restart.

user@ubuntu:~$ sudo systemctl disable zfs.target

2. after reboot delete or move data in mount point to another location.

3. enable service zfs.target and restart.

user@ubuntu:~$ sudo systemctl enable zfs.target

4. after reboot move data back.

[Splunk revision update] Update splunk version ubuntu

19 Oct
October 19, 2019

1. Download and update using dpkg -i <splunk package>.

user@Lnx:~$ sudo dpkg -i splunk-7.3.2-c60db69f8e32-linux-2.6-amd64.deb 
[sudo] password for <user>: 
(Reading database ... 235721 files and directories currently installed.)
Preparing to unpack splunk-7.3.2-c60db69f8e32-linux-2.6-amd64.deb ...
This looks like an upgrade of an existing Splunk Server. Attempting to stop the installed Splunk Server...
Stopping splunkd...
Shutting down.  Please wait, as this may take a few minutes.
Stopping splunk helpers...

Unpacking splunk (7.3.2) over (7.3.1) ...
Setting up splunk (7.3.2) ...

2. Update and start service.

user@Lnx:~$ cd /opt/splunk/bin/
user@Lnx:/opt/splunk/bin$ sudo ./splunk enable boot-start
Do you agree with this license? [y/n]: y
Perform migration and upgrade without previewing configuration changes? [y/n] y

3. Restart Splunk service

user@Lnx:~$ sudo service splunk restart

4. Visit splunk url on host.
© Copyright - HHGG It's 42
%d bloggers like this: