[smokeping-users] A beginner's problems - I can't run smokeping
Henrik Rosenø
henrik.roseno at webspeed.dk
Mon Apr 9 14:13:59 CEST 2018
Hi Smokeping-users
I am new to Linux. I use Ubuntu 17.10.
First I downloaded and extracted the smokeping-2.7.1.tar.gz archive and
extracted it and tried to find something to run directly without luck.
Then I opened Terminal and, in short, I did this:
> henrik at Henrik-L570:~/smokeping-2.7.1$ sudo apt install smokeping
> henrik at Henrik-L570:~/smokeping-2.7.1$ smokeping
> Note: logging to syslog as local0/info.
> Daemonizing /usr/sbin/smokeping ...
> creating /var/run/smokeping/smokeping.pid: Permission denied
> henrik at Henrik-L570:~/smokeping-2.7.1$ smokeping --check
> Configuration file '/etc/smokeping/config' syntax OK.
> henrik at Henrik-L570:~/smokeping-2.7.1$ smokeping
> Note: logging to syslog as local0/info.
> Daemonizing /usr/sbin/smokeping ...
> creating /var/run/smokeping/smokeping.pid: Permission denied
As you can see I got a "Permission denied".
I want to monitor my ISP because at arbitrary times both Ubuntu and
Windows can't seem to connect to the Internet.
So what do I do now?
Here is a full copy of the Terminal session:
> henrik at Henrik-L570:~$ ls
> Desktop examples.desktop Pictures snap
> Documents Exodus-linux-x64 Public Templates
> Downloads Music smokeping-2.7.1 Videos
> henrik at Henrik-L570:~$ cd smokping-2.7.1
> bash: cd: smokping-2.7.1: No such file or directory
> henrik at Henrik-L570:~$ cd smokeping-2.7.1
> henrik at Henrik-L570:~/smokeping-2.7.1$ smokeping
> The program 'smokeping' is currently not installed. You can install it by typing:
> sudo apt install smokeping
> henrik at Henrik-L570:~/smokeping-2.7.1$ sudo apt install smokeping
> [sudo] password for henrik:
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> The following additional packages will be installed:
> apache2 apache2-bin apache2-data apache2-utils echoping fping libapr1
> libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap libconfig-grammar-perl
> libdbi1 libjs-cropper libjs-prototype libjs-scriptaculous librrd8
> librrds-perl libsnmp-session-perl postfix
> Suggested packages:
> apache2-doc apache2-suexec-pristine | apache2-suexec-custom procmail
> postfix-mysql postfix-pgsql postfix-ldap postfix-pcre postfix-lmdb
> postfix-sqlite sasl2-bin dovecot-common resolvconf postfix-cdb postfix-doc
> curl libauthen-radius-perl libnet-ldap-perl libnet-telnet-perl
> The following NEW packages will be installed:
> apache2 apache2-bin apache2-data apache2-utils echoping fping libapr1
> libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap libconfig-grammar-perl
> libdbi1 libjs-cropper libjs-prototype libjs-scriptaculous librrd8
> librrds-perl libsnmp-session-perl postfix smokeping
> 0 upgraded, 20 newly installed, 0 to remove and 0 not upgraded.
> Need to get 3,720 kB of archives.
> After this operation, 13.8 MB of additional disk space will be used.
> Do you want to continue? [Y/n] y
> Get:1 http://dk.archive.ubuntu.com/ubuntu artful/main amd64 libapr1 amd64 1.6.2-1 [90.9 kB]
> Get:2 http://dk.archive.ubuntu.com/ubuntu artful/main amd64 libaprutil1 amd64 1.6.0-2 [84.2 kB]
> Get:3 http://dk.archive.ubuntu.com/ubuntu artful/main amd64 libaprutil1-dbd-sqlite3 amd64 1.6.0-2 [10.5 kB]
> Get:4 http://dk.archive.ubuntu.com/ubuntu artful/main amd64 libaprutil1-ldap amd64 1.6.0-2 [8,660 B]
> Get:5 http://dk.archive.ubuntu.com/ubuntu artful/main amd64 apache2-bin amd64 2.4.27-2ubuntu3 [968 kB]
> Get:6 http://dk.archive.ubuntu.com/ubuntu artful/main amd64 apache2-utils amd64 2.4.27-2ubuntu3 [82.5 kB]
> Get:7 http://dk.archive.ubuntu.com/ubuntu artful/main amd64 apache2-data all 2.4.27-2ubuntu3 [161 kB]
> Get:8 http://dk.archive.ubuntu.com/ubuntu artful/main amd64 apache2 amd64 2.4.27-2ubuntu3 [95.8 kB]
> Get:9 http://dk.archive.ubuntu.com/ubuntu artful/universe amd64 echoping amd64 6.0.2-10 [63.1 kB]
> Get:10 http://dk.archive.ubuntu.com/ubuntu artful/universe amd64 fping amd64 4.0-2 [29.1 kB]
> Get:11 http://dk.archive.ubuntu.com/ubuntu artful/universe amd64 libconfig-grammar-perl all 1.12-1 [21.6 kB]
> Get:12 http://dk.archive.ubuntu.com/ubuntu artful/main amd64 libdbi1 amd64 0.9.0-4 [27.8 kB]
> Get:13 http://dk.archive.ubuntu.com/ubuntu artful/universe amd64 libjs-prototype all 1.7.1-3 [44.2 kB]
> Get:14 http://dk.archive.ubuntu.com/ubuntu artful/universe amd64 libjs-scriptaculous all 1.9.0-2 [107 kB]
> Get:15 http://dk.archive.ubuntu.com/ubuntu artful/universe amd64 libjs-cropper all 1.2.2-1 [139 kB]
> Get:16 http://dk.archive.ubuntu.com/ubuntu artful/main amd64 librrd8 amd64 1.6.0-1ubuntu2 [153 kB]
> Get:17 http://dk.archive.ubuntu.com/ubuntu artful/main amd64 postfix amd64 3.2.3-1 [1,159 kB]
> Get:18 http://dk.archive.ubuntu.com/ubuntu artful/main amd64 librrds-perl amd64 1.6.0-1ubuntu2 [22.9 kB]
> Get:19 http://dk.archive.ubuntu.com/ubuntu artful/universe amd64 libsnmp-session-perl all 1.13-2 [64.7 kB]
> Get:20 http://dk.archive.ubuntu.com/ubuntu artful/universe amd64 smokeping all 2.6.11-3 [386 kB]
> Fetched 3,720 kB in 1s (3,121 kB/s)
> Preconfiguring packages ...
> Selecting previously unselected package libapr1:amd64.
> (Reading database ... 215895 files and directories currently installed.)
> Preparing to unpack .../00-libapr1_1.6.2-1_amd64.deb ...
> Unpacking libapr1:amd64 (1.6.2-1) ...
> Selecting previously unselected package libaprutil1:amd64.
> Preparing to unpack .../01-libaprutil1_1.6.0-2_amd64.deb ...
> Unpacking libaprutil1:amd64 (1.6.0-2) ...
> Selecting previously unselected package libaprutil1-dbd-sqlite3:amd64.
> Preparing to unpack .../02-libaprutil1-dbd-sqlite3_1.6.0-2_amd64.deb ...
> Unpacking libaprutil1-dbd-sqlite3:amd64 (1.6.0-2) ...
> Selecting previously unselected package libaprutil1-ldap:amd64.
> Preparing to unpack .../03-libaprutil1-ldap_1.6.0-2_amd64.deb ...
> Unpacking libaprutil1-ldap:amd64 (1.6.0-2) ...
> Selecting previously unselected package apache2-bin.
> Preparing to unpack .../04-apache2-bin_2.4.27-2ubuntu3_amd64.deb ...
> Unpacking apache2-bin (2.4.27-2ubuntu3) ...
> Selecting previously unselected package apache2-utils.
> Preparing to unpack .../05-apache2-utils_2.4.27-2ubuntu3_amd64.deb ...
> Unpacking apache2-utils (2.4.27-2ubuntu3) ...
> Selecting previously unselected package apache2-data.
> Preparing to unpack .../06-apache2-data_2.4.27-2ubuntu3_all.deb ...
> Unpacking apache2-data (2.4.27-2ubuntu3) ...
> Selecting previously unselected package apache2.
> Preparing to unpack .../07-apache2_2.4.27-2ubuntu3_amd64.deb ...
> Unpacking apache2 (2.4.27-2ubuntu3) ...
> Selecting previously unselected package echoping.
> Preparing to unpack .../08-echoping_6.0.2-10_amd64.deb ...
> Unpacking echoping (6.0.2-10) ...
> Selecting previously unselected package fping.
> Preparing to unpack .../09-fping_4.0-2_amd64.deb ...
> Unpacking fping (4.0-2) ...
> Selecting previously unselected package libconfig-grammar-perl.
> Preparing to unpack .../10-libconfig-grammar-perl_1.12-1_all.deb ...
> Unpacking libconfig-grammar-perl (1.12-1) ...
> Selecting previously unselected package libdbi1:amd64.
> Preparing to unpack .../11-libdbi1_0.9.0-4_amd64.deb ...
> Unpacking libdbi1:amd64 (0.9.0-4) ...
> Selecting previously unselected package libjs-prototype.
> Preparing to unpack .../12-libjs-prototype_1.7.1-3_all.deb ...
> Unpacking libjs-prototype (1.7.1-3) ...
> Selecting previously unselected package libjs-scriptaculous.
> Preparing to unpack .../13-libjs-scriptaculous_1.9.0-2_all.deb ...
> Unpacking libjs-scriptaculous (1.9.0-2) ...
> Selecting previously unselected package libjs-cropper.
> Preparing to unpack .../14-libjs-cropper_1.2.2-1_all.deb ...
> Unpacking libjs-cropper (1.2.2-1) ...
> Selecting previously unselected package librrd8:amd64.
> Preparing to unpack .../15-librrd8_1.6.0-1ubuntu2_amd64.deb ...
> Unpacking librrd8:amd64 (1.6.0-1ubuntu2) ...
> Selecting previously unselected package postfix.
> Preparing to unpack .../16-postfix_3.2.3-1_amd64.deb ...
> Unpacking postfix (3.2.3-1) ...
> Selecting previously unselected package librrds-perl:amd64.
> Preparing to unpack .../17-librrds-perl_1.6.0-1ubuntu2_amd64.deb ...
> Unpacking librrds-perl:amd64 (1.6.0-1ubuntu2) ...
> Selecting previously unselected package libsnmp-session-perl.
> Preparing to unpack .../18-libsnmp-session-perl_1.13-2_all.deb ...
> Unpacking libsnmp-session-perl (1.13-2) ...
> Selecting previously unselected package smokeping.
> Preparing to unpack .../19-smokeping_2.6.11-3_all.deb ...
> Unpacking smokeping (2.6.11-3) ...
> Setting up libconfig-grammar-perl (1.12-1) ...
> Setting up libapr1:amd64 (1.6.2-1) ...
> Processing triggers for ufw (0.35-5) ...
> Setting up libdbi1:amd64 (0.9.0-4) ...
> Processing triggers for ureadahead (0.100.0-20) ...
> ureadahead will be reprofiled on next reboot
> Setting up libsnmp-session-perl (1.13-2) ...
> Setting up echoping (6.0.2-10) ...
> Setting up apache2-data (2.4.27-2ubuntu3) ...
> Setting up librrd8:amd64 (1.6.0-1ubuntu2) ...
> Processing triggers for libc-bin (2.26-0ubuntu2.1) ...
> Setting up fping (4.0-2) ...
> Processing triggers for doc-base (0.10.7) ...
> Processing 1 added doc-base file...
> Setting up libaprutil1:amd64 (1.6.0-2) ...
> Processing triggers for systemd (234-2ubuntu12.3) ...
> Processing triggers for man-db (2.7.6.1-2) ...
> Setting up libjs-prototype (1.7.1-3) ...
> Processing triggers for rsyslog (8.16.0-1ubuntu9) ...
> Setting up postfix (3.2.3-1) ...
> Created symlink /etc/systemd/system/multi-user.target.wants/postfix.service → /lib/systemd/system/postfix.service.
> Adding group `postfix' (GID 130) ...
> Done.
> Adding system user `postfix' (UID 123) ...
> Adding new user `postfix' (UID 123) with group `postfix' ...
> Not creating home directory `/var/spool/postfix'.
> Creating /etc/postfix/dynamicmaps.cf
> Adding group `postdrop' (GID 131) ...
> Done.
> /etc/aliases does not exist, creating it.
>
> Postfix (main.cf) was not set up. Start with
> cp /usr/share/postfix/main.cf.debian /etc/postfix/main.cf
> . If you need to make changes, edit /etc/postfix/main.cf (and others) as
> needed. To view Postfix configuration values, see postconf(1).
>
> After modifying main.cf, be sure to run 'service postfix reload'.
>
> Setting up libaprutil1-ldap:amd64 (1.6.0-2) ...
> Setting up libaprutil1-dbd-sqlite3:amd64 (1.6.0-2) ...
> Setting up apache2-utils (2.4.27-2ubuntu3) ...
> Setting up apache2-bin (2.4.27-2ubuntu3) ...
> Setting up librrds-perl:amd64 (1.6.0-1ubuntu2) ...
> Setting up libjs-scriptaculous (1.9.0-2) ...
> Setting up libjs-cropper (1.2.2-1) ...
> Setting up smokeping (2.6.11-3) ...
> Adding system user `smokeping' (UID 124) ...
> Adding new group `smokeping' (GID 132) ...
> Adding new user `smokeping' (UID 124) with group `smokeping' ...
> Not creating home directory `/var/lib/smokeping'.
> Package apache2 is not configured yet. Will defer actions by package smokeping.
> Setting up apache2 (2.4.27-2ubuntu3) ...
> Enabling module mpm_event.
> Enabling module authz_core.
> Enabling module authz_host.
> Enabling module authn_core.
> Enabling module auth_basic.
> Enabling module access_compat.
> Enabling module authn_file.
> Enabling module authz_user.
> Enabling module alias.
> Enabling module dir.
> Enabling module autoindex.
> Enabling module env.
> Enabling module mime.
> Enabling module negotiation.
> Enabling module setenvif.
> Enabling module filter.
> Enabling module deflate.
> Enabling module status.
> Enabling module reqtimeout.
> Enabling conf charset.
> Enabling conf localized-error-pages.
> Enabling conf other-vhosts-access-log.
> Enabling conf security.
> Enabling conf serve-cgi-bin.
> Enabling site 000-default.
> info: Executing deferred 'a2enmod cgi' for package smokeping
> Your MPM seems to be threaded. Selecting cgid instead of cgi.
> Enabling module cgid.
> info: Executing deferred 'a2enconf smokeping' for package smokeping
> Enabling conf smokeping.
> Created symlink /etc/systemd/system/multi-user.target.wants/apache2.service → /lib/systemd/system/apache2.service.
> Created symlink /etc/systemd/system/multi-user.target.wants/apache-htcacheclean.service → /lib/systemd/system/apache-htcacheclean.service.
> Processing triggers for libc-bin (2.26-0ubuntu2.1) ...
> Processing triggers for systemd (234-2ubuntu12.3) ...
> Processing triggers for ureadahead (0.100.0-20) ...
> Processing triggers for rsyslog (8.16.0-1ubuntu9) ...
> Processing triggers for ufw (0.35-5) ...
> henrik at Henrik-L570:~/smokeping-2.7.1$ smokeping
> Note: logging to syslog as local0/info.
> Daemonizing /usr/sbin/smokeping ...
> creating /var/run/smokeping/smokeping.pid: Permission denied
> henrik at Henrik-L570:~/smokeping-2.7.1$ smokeping --check
> Configuration file '/etc/smokeping/config' syntax OK.
> henrik at Henrik-L570:~/smokeping-2.7.1$ smokeping
> Note: logging to syslog as local0/info.
> Daemonizing /usr/sbin/smokeping ...
> creating /var/run/smokeping/smokeping.pid: Permission denied
> henrik at Henrik-L570:~/smokeping-2.7.1$
Best regards,
Henrik Rosenø
--
Henrik Rosenø, M.Sc (civilingeniør)
Website: www.Transformation.DK
Spiritual, psychological, ethical, and political subjects.
English: The path to eternal life is spiritual and sexual transformation.dk
Dansk: Vejen til evigt liv er åndelig og seksuel transformation.dk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20180409/0b290e71/attachment-0001.html>
More information about the smokeping-users
mailing list