Itutorial
Legendary OT User
- Joined
- Dec 23, 2014
- Messages
- 2,339
- Solutions
- 68
- Reaction score
- 1,024
Just an crash.
e..g using "certbot --nginx"How can I add SSL to my website? Most tutorials tell me to look for: apache2/enables-sites or httpd folder. I do not have either of those. What do I need to do?
How can I add SSL to my website? Most tutorials tell me to look for: apache2/enables-sites or httpd folder. I do not have either of those. What do I need to do?
$ duedate
date: option requires an argument -- 'd'
Try 'date --help' for more information.
$ log tfs
-- Logs begin at Thu 2018-11-29 23:31:18 UTC, end at Thu 2018-11-29 23:39:50 UTC. --
Nov 29 23:38:05 b7ffcf8c-39c5-44a0-b21f-c831f718d957 systemd[1248]: Started The Forgotten Server.
Nov 29 23:38:05 b7ffcf8c-39c5-44a0-b21f-c831f718d957 systemd[2195]: tfs.service: Failed at step EXEC spawning /home/otsmanager/forgottenserver/build/tfs: No such file or directory
Nov 29 23:38:05 b7ffcf8c-39c5-44a0-b21f-c831f718d957 systemd[1248]: tfs.service: Main process exited, code=exited, status=203/EXEC
Nov 29 23:38:05 b7ffcf8c-39c5-44a0-b21f-c831f718d957 systemd[1248]: tfs.service: Unit entered failed state.
Nov 29 23:38:05 b7ffcf8c-39c5-44a0-b21f-c831f718d957 systemd[1248]: tfs.service: Failed with result 'exit-code'.
Nov 29 23:38:05 b7ffcf8c-39c5-44a0-b21f-c831f718d957 systemd[1248]: tfs.service: Service hold-off time over, scheduling restart.
Nov 29 23:38:05 b7ffcf8c-39c5-44a0-b21f-c831f718d957 systemd[1248]: Stopped The Forgotten Server.
Nov 29 23:38:05 b7ffcf8c-39c5-44a0-b21f-c831f718d957 systemd[1248]: Started The Forgotten Server.
Nov 29 23:38:05 b7ffcf8c-39c5-44a0-b21f-c831f718d957 systemd[2197]: tfs.service: Failed at step EXEC spawning /home/otsmanager/forgottenserver/build/tfs: No such file or directory
Nov 29 23:38:05 b7ffcf8c-39c5-44a0-b21f-c831f718d957 systemd[1248]: tfs.service: Main process exited, code=exited, status=203/EXEC
Nov 29 23:38:05 b7ffcf8c-39c5-44a0-b21f-c831f718d957 systemd[1248]: tfs.service: Unit entered failed state.
Nov 29 23:38:05 b7ffcf8c-39c5-44a0-b21f-c831f718d957 systemd[1248]: tfs.service: Failed with result 'exit-code'.
Nov 29 23:38:05 b7ffcf8c-39c5-44a0-b21f-c831f718d957 systemd[1248]: tfs.service: Service hold-off time over, scheduling restart.
Nov 29 23:38:05 b7ffcf8c-39c5-44a0-b21f-c831f718d957 systemd[1248]: Stopped The Forgotten Server.
Nov 29 23:38:05 b7ffcf8c-39c5-44a0-b21f-c831f718d957 systemd[1248]: Started The Forgotten Server.
Nov 29 23:38:05 b7ffcf8c-39c5-44a0-b21f-c831f718d957 systemd[2199]: tfs.service: Failed at step EXEC spawning /home/otsmanager/forgottenserver/build/tfs: No such file or directory
Nov 29 23:38:05 b7ffcf8c-39c5-44a0-b21f-c831f718d957 systemd[1248]: tfs.service: Main process exited, code=exited, status=203/EXEC
Nov 29 23:38:05 b7ffcf8c-39c5-44a0-b21f-c831f718d957 systemd[1248]: tfs.service: Unit entered failed state.
Nov 29 23:38:05 b7ffcf8c-39c5-44a0-b21f-c831f718d957 systemd[1248]: tfs.service: Failed with result 'exit-code'.
Nov 29 23:38:06 b7ffcf8c-39c5-44a0-b21f-c831f718d957 systemd[1248]: tfs.service: Service hold-off time over, scheduling restart.
Nov 29 23:38:06 b7ffcf8c-39c5-44a0-b21f-c831f718d957 systemd[1248]: Stopped The Forgotten Server.
Nov 29 23:38:06 b7ffcf8c-39c5-44a0-b21f-c831f718d957 systemd[1248]: Started The Forgotten Server.
Nov 29 23:38:06 b7ffcf8c-39c5-44a0-b21f-c831f718d957 systemd[2201]: tfs.service: Failed at step EXEC spawning /home/otsmanager/forgottenserver/build/tfs: No such file or directory
Nov 29 23:38:06 b7ffcf8c-39c5-44a0-b21f-c831f718d957 systemd[1248]: tfs.service: Main process exited, code=exited, status=203/EXEC
Nov 29 23:38:06 b7ffcf8c-39c5-44a0-b21f-c831f718d957 systemd[1248]: tfs.service: Unit entered failed state.
Nov 29 23:38:06 b7ffcf8c-39c5-44a0-b21f-c831f718d957 systemd[1248]: tfs.service: Failed with result 'exit-code'.
Nov 29 23:38:06 b7ffcf8c-39c5-44a0-b21f-c831f718d957 systemd[1248]: tfs.service: Service hold-off time over, scheduling restart.
Nov 29 23:38:06 b7ffcf8c-39c5-44a0-b21f-c831f718d957 systemd[1248]: Stopped The Forgotten Server.
Nov 29 23:38:06 b7ffcf8c-39c5-44a0-b21f-c831f718d957 systemd[1248]: Started The Forgotten Server.
Nov 29 23:38:06 b7ffcf8c-39c5-44a0-b21f-c831f718d957 systemd[2203]: tfs.service: Failed at step EXEC spawning /home/otsmanager/forgottenserver/build/tfs: No such file or directory
Nov 29 23:38:06 b7ffcf8c-39c5-44a0-b21f-c831f718d957 systemd[1248]: tfs.service: Main process exited, code=exited, status=203/EXEC
Nov 29 23:38:06 b7ffcf8c-39c5-44a0-b21f-c831f718d957 systemd[1248]: tfs.service: Unit entered failed state.
Nov 29 23:38:06 b7ffcf8c-39c5-44a0-b21f-c831f718d957 systemd[1248]: tfs.service: Failed with result 'exit-code'.
Nov 29 23:38:06 b7ffcf8c-39c5-44a0-b21f-c831f718d957 systemd[1248]: tfs.service: Service hold-off time over, scheduling restart.
Nov 29 23:38:06 b7ffcf8c-39c5-44a0-b21f-c831f718d957 systemd[1248]: Stopped The Forgotten Server.
Nov 29 23:38:06 b7ffcf8c-39c5-44a0-b21f-c831f718d957 systemd[1248]: tfs.service: Start request repeated too quickly.
Nov 29 23:38:06 b7ffcf8c-39c5-44a0-b21f-c831f718d957 systemd[1248]: Failed to start The Forgotten Server.
Nov 29 23:38:06 b7ffcf8c-39c5-44a0-b21f-c831f718d957 systemd[1248]: tfs.service: Unit entered failed state.
Nov 29 23:38:06 b7ffcf8c-39c5-44a0-b21f-c831f718d957 systemd[1248]: tfs.service: Failed with result 'start-limit-hit'.
$ ls -l /home/otsmanager/forgottenserver/build/
total 20
-rw-r--r-- 1 otsmanager otsmanager 12685 Nov 29 23:29 CMakeCache.txt
drwxr-xr-x 4 otsmanager otsmanager 4096 Nov 29 23:29 CMakeFiles
TASK [Cmake forgottenserver source] ********************************************
fatal: [localhost]: FAILED! => {"changed": true, "cmd": ["cmake", ".."], "delta": "0:00:02.259513", "end": "2018-11-30 11:51:15.124128", "failed": true, "rc": 1, "start": "2018-11-30 11:51:12.864615", "stderr": "CMake Error at /usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:148 (message):\n Could NOT find Crypto++ (missing: Crypto++_INCLUDE_DIR Crypto++_LIBRARIES)\nCall Stack (most recent call first):\n /usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:388 (_FPHSA_FAILURE_MESSAGE)\n cmake/FindCrypto++.cmake:11 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)\n CMakeLists.txt:24 (find_package)", "stdout": "-- The C compiler identification is GNU 5.4.0\n-- The CXX compiler identification is GNU 5.4.0\n-- Check for working C compiler: /usr/bin/cc\n-- Check for working C compiler: /usr/bin/cc -- works\n-- Detecting C compiler ABI info\n-- Detecting C compiler ABI info - done\n-- Detecting C compile features\n-- Detecting C compile features - done\n-- Check for working CXX compiler: /usr/bin/c++\n-- Check for working CXX compiler: /usr/bin/c++ -- works\n-- Detecting CXX compiler ABI info\n-- Detecting CXX compiler ABI info - done\n-- Detecting CXX compile features\n-- Detecting CXX compile features - done\n-- cotire 1.7.6 loaded.\n-- Performing Test COMPILER_KNOWS_CXX11\n-- Performing Test COMPILER_KNOWS_CXX11 - Success\n-- Performing Test COMPILER_KNOWS_STDLIB\n-- Performing Test COMPILER_KNOWS_STDLIB - Failed\n-- Performing Test COMPILER_KNOWS_LTO\n-- Performing Test COMPILER_KNOWS_LTO - Success\n-- Configuring incomplete, errors occurred!\nSee also \"/home/otsmanager/forgottenserver/build/CMakeFiles/CMakeOutput.log\".\nSee also \"/home/otsmanager/forgottenserver/build/CMakeFiles/CMakeError.log\".", "stdout_lines": ["-- The C compiler identification is GNU 5.4.0", "-- The CXX compiler identification is GNU 5.4.0", "-- Check for working C compiler: /usr/bin/cc", "-- Check for working C compiler: /usr/bin/cc -- works", "-- Detecting C compiler ABI info", "-- Detecting C compiler ABI info - done", "-- Detecting C compile features", "-- Detecting C compile features - done", "-- Check for working CXX compiler: /usr/bin/c++", "-- Check for working CXX compiler: /usr/bin/c++ -- works", "-- Detecting CXX compiler ABI info", "-- Detecting CXX compiler ABI info - done", "-- Detecting CXX compile features", "-- Detecting CXX compile features - done", "-- cotire 1.7.6 loaded.", "-- Performing Test COMPILER_KNOWS_CXX11", "-- Performing Test COMPILER_KNOWS_CXX11 - Success", "-- Performing Test COMPILER_KNOWS_STDLIB", "-- Performing Test COMPILER_KNOWS_STDLIB - Failed", "-- Performing Test COMPILER_KNOWS_LTO", "-- Performing Test COMPILER_KNOWS_LTO - Success", "-- Configuring incomplete, errors occurred!", "See also \"/home/otsmanager/forgottenserver/build/CMakeFiles/CMakeOutput.log\".", "See also \"/home/otsmanager/forgottenserver/build/CMakeFiles/CMakeError.log\"."], "warnings": []}
ubuntu@eae329a4-94a3-c802-caee-bc89900fe643:/home/otsmanager/forgottenserver/build$ sudo make
make: *** No targets specified and no makefile found. Stop.
ubuntu@eae329a4-94a3-c802-caee-bc89900fe643:/home/otsmanager/forgottenserver/build$ sudo cmake .
-- cotire 1.7.6 loaded.
CMake Error at /usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:148 (message):
Could NOT find Crypto++ (missing: Crypto++_INCLUDE_DIR Crypto++_LIBRARIES)
Call Stack (most recent call first):
/usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:388 (_FPHSA_FAILURE_MESSAGE)
cmake/FindCrypto++.cmake:11 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:24 (find_package)
-- Configuring incomplete, errors occurred!
See also "/home/otsmanager/forgottenserver/build/CMakeFiles/CMakeOutput.log".
See also "/home/otsmanager/forgottenserver/build/CMakeFiles/CMakeError.log".
$ cat /home/otsmanager/forgottenserver/build/CMakeFiles/CMakeError.log
Performing C++ SOURCE FILE Test COMPILER_KNOWS_STDLIB failed with the following output:
Change Dir: /home/otsmanager/forgottenserver/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_66554/fast"
/usr/bin/make -f CMakeFiles/cmTC_66554.dir/build.make CMakeFiles/cmTC_66554.dir/build
make[1]: Entering directory '/home/otsmanager/forgottenserver/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_66554.dir/src.cxx.o
/usr/bin/c++ -DCOMPILER_KNOWS_STDLIB -stdlib=libc++ -o CMakeFiles/cmTC_66554.dir/src.cxx.o -c /home/otsmanager/forgottenserver/build/CMakeFiles/CMakeTmp/src.cxx
c++: error: unrecognized command line option '-stdlib=libc++'
CMakeFiles/cmTC_66554.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_66554.dir/src.cxx.o' failed
make[1]: *** [CMakeFiles/cmTC_66554.dir/src.cxx.o] Error 1
make[1]: Leaving directory '/home/otsmanager/forgottenserver/build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_66554/fast' failed
make: *** [cmTC_66554/fast] Error 2
Source file was:
int main() { return 0; }
export XDG_RUNTIME_DIR=/run/user/`id -u`
-Also tried with ubuntu 16.04 and succesfully installed the ansible but, when i try the command serverip it says "Device eth0 does not exist". Also i sometimes get a critical error when i explore the terminal
You are right, it says the script supports Ubuntu 15.04, but your mirrors don't serve 15.04 packages, so it's not really a problem I can solve for you. You should switch to newer version - like you did.
Now about the interface name, the installations I use still have eth0 but the `serverip` command is simply just an alias - you can edit the script called `.otsmanager` to update interface name from eth0 to anything else you want.
anybody can help ?failed: [localhost] => (item=[u'lxc', u'lxd', u'snapd']) => {"failed": true, "item": ["lxc", "lxd", "snapd"], "msg": "'apt-get remove 'snapd'' failed: E: Sub-process /usr/bin/dpkg returned an error code (1)\n", "stderr": "E: Sub-process /usr/bin/dpkg returned an error code (1)\n", "stdout": "Reading package lists...\nBuilding dependency tree...\nReading state information...\nThe following packages will be REMOVED:\n snapd ubuntu-core-launcher\n0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.\n1 not fully installed or removed.\nAfter this operation, 81.3 MB disk space will be freed.\n(Reading database ... \r(Reading database ... 5%\r(Reading database ... 10%\r(Reading database ... 15%\r(Reading database ... 20%\r(Reading database ... 25%\r(Reading database ... 30%\r(Reading database ... 35%\r(Reading database ... 40%\r(Reading database ... 45%\r(Reading database ... 50%\r(Reading database ... 55%\r(Reading database ... 60%\r(Reading database ... 65%\r(Reading database ... 70%\r(Reading database ... 75%\r(Reading database ... 80%\r(Reading database ... 85%\r(Reading database ... 90%\r(Reading database ... 95%\r(Reading database ... 100%\r(Reading database ... 94629 files and directories currently installed.)\r\nRemoving ubuntu-core-launcher (2.34.2) ...\r\nRemoving snapd (2.34.2) ...\r\nProcessing triggers for man-db (2.7.5-1) ...\r\nSetting up grub-pc (2.02~beta2-36ubuntu3.20) ...\r\ndpkg: error processing package grub-pc (--configure):\r\n subprocess installed post-installation script returned error exit status 1\r\nErrors were encountered while processing:\r\n grub-pc\r\n", "stdout_lines": ["Reading package lists...", "Building dependency tree...", "Reading state information...", "The following packages will be REMOVED:", " snapd ubuntu-core-launcher", "0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.", "1 not fully installed or removed.", "After this operation, 81.3 MB disk space will be freed.", "(Reading database ... ", "(Reading database ... 5%", "(Reading database ... 10%", "(Reading database ... 15%", "(Reading database ... 20%", "(Reading database ... 25%", "(Reading database ... 30%", "(Reading database ... 35%", "(Reading database ... 40%", "(Reading database ... 45%", "(Reading database ... 50%", "(Reading database ... 55%", "(Reading database ... 60%", "(Reading database ... 65%", "(Reading database ... 70%", "(Reading database ... 75%", "(Reading database ... 80%", "(Reading database ... 85%", "(Reading database ... 90%", "(Reading database ... 95%", "(Reading database ... 100%", "(Reading database ... 94629 files and directories currently installed.)", "Removing ubuntu-core-launcher (2.34.2) ...", "Removing snapd (2.34.2) ...", "Processing triggers for man-db (2.7.5-1) ...", "Setting up grub-pc (2.02~beta2-36ubuntu3.20) ...", "dpkg: error processing package grub-pc (--configure):", " subprocess installed post-installation script returned error exit status 1", "Errors were encountered while processing:", " grub-pc"]}
Looks like maybe it's some sort of container (LXC maybe) and installing grub won't work? What kind of machine is that?anybody can help ?
using unbuntu 16.04
MobaXterm , but anyway i have installed apache and php7.0 and phpmyadmin to do it thank youLooks like maybe it's some sort of container (LXC maybe) and installing grub won't work? What kind of machine is that?
wrong section sirany windows guide from zero to fully working? im gettin back from the old days want to make a 8.6 server
Note that you need to change this immediately after the install.Create a system user "otsmanager" with password "otsmanager"