• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Web Service Can't Stop The Web Service

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    4
    24
    5.5k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      tom.langenfeld
      last edited by

      The following packages were automatically installed and are no longer required:
      libmcrypt4 libonig2 libqdbm14
      Use ‘apt-get autoremove’ to remove them.
      The following packages have been kept back:
      linux-generic linux-headers-generic linux-image-generic
      0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
      ii apache2 2.4.12-2ubuntu2.1 amd64 Apache HTTP Server
      ii bc 1.06.95-9build1 amd64 GNU bc arbitrary precision calculator language
      ii build-essential 12.1ubuntu2 amd64 Informational list of build-essential packages
      ii cpp 4:5.2.1-3ubuntu1 amd64 GNU C preprocessor (cpp)
      ii curl 7.43.0-1ubuntu2.1 amd64 command line tool for transferring data with URL syntax
      ii g++ 4:5.2.1-3ubuntu1 amd64 GNU C++ compiler
      ii gawk 1:4.1.1+dfsg-1 amd64 GNU awk, a pattern scanning and processing language
      ii gcc 4:5.2.1-3ubuntu1 amd64 GNU C compiler
      ii gzip 1.6-4ubuntu1 amd64 GNU compression utilities
      ii htmldoc 1.8.27-8ubuntu1 amd64 HTML processor that generates indexed HTML, PS, and PDF
      ii lftp 4.6.3a-1 amd64 Sophisticated command-line FTP/HTTP/BitTorrent client programs
      ii libc6:amd64 2.21-0ubuntu4.3 amd64 GNU C Library: Shared libraries
      ii libcurl3:amd64 7.43.0-1ubuntu2.1 amd64 easy-to-use client-side URL transfer library (OpenSSL flavour)
      ii m4 1.4.17-4 amd64 macro processing language
      ii mysql-client 5.6.31-0ubuntu0.15.10.1 all MySQL database client (metapackage depending on the latest version)
      ii mysql-server 5.6.31-0ubuntu0.15.10.1 all MySQL database server (metapackage depending on the latest version)
      ii net-tools 1.60-26ubuntu1 amd64 NET-3 networking toolkit
      ii nfs-kernel-server 1:1.2.8-9ubuntu10 amd64 support for NFS kernel server
      ii openssh-server 1:6.9p1-2ubuntu0.2 amd64 secure shell (SSH) server, for secure access from remote machines
      ii php-gettext 1.0.11-1 all read gettext MO files directly, without requiring anything other than PHP
      ii sysv-rc-conf 0.99-7 all SysV init runlevel configuration tool for the terminal
      ii tar 1.27.1-2 amd64 GNU version of the tar archiving utility
      ii tftpd-hpa 5.2+20140608-3ubuntu1 amd64 HPA’s tftp server
      ii tftp-hpa 5.2+20140608-3ubuntu1 amd64 HPA’s tftp client
      ii unzip 6.0-17ubuntu1.2 amd64 De-archiver for .zip files
      ii vsftpd 3.0.2-20ubuntu1 amd64 lightweight, efficient FTP server written for security
      ii wget 1.16.1-1ubuntu1.1 amd64 retrieves files from the web
      ii xinetd 1:2.3.15-4 amd64 replacement for inetd with many enhancements
      ii zlib1g:amd64 1:1.2.8.dfsg-2ubuntu4 amd64 compression library - runtime
      Enter new UNIX password: Retype new UNIX password: passwd: password updated successfully
      Failed to stop FOGSnapinHash.service: Unit FOGSnapinHash.service not loaded.
      Synchronizing state of mysql.service with SysV init with /lib/systemd/systemd-sysv-install…
      Executing /lib/systemd/systemd-sysv-install enable mysql
      ● mysql.service - MySQL Community Server
      Loaded: loaded (/lib/systemd/system/mysql.service; enabled; vendor preset: enabled)
      Active: active (running) since Tue 2016-12-27 14:40:43 CST; 2s ago
      Process: 21910 ExecStartPost=/usr/share/mysql/mysql-systemd-start post (code=exited, status=0/SUCCESS)
      Process: 21906 ExecStartPre=/usr/share/mysql/mysql-systemd-start pre (code=exited, status=0/SUCCESS)
      Main PID: 21909 (mysqld_safe)
      CGroup: /system.slice/mysql.service
      ├─21909 /bin/sh /usr/bin/mysqld_safe
      └─22243 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/usr/lib/mysql/plugin --log-error=/var/log/mysql/error.log --pid-file=/var/run/mysqld/mysqld.pid --socket=/var/run/mysqld/mysqld.sock --port=3306

      Dec 27 14:40:42 it-PowerEdge-2950 systemd[1]: Starting MySQL Community Server…
      Dec 27 14:40:42 it-PowerEdge-2950 mysqld_safe[21909]: 161227 14:40:42 mysqld_safe Can’t log to error log and syslog at the same time. Remove all --log-error configuration options for --syslog to take effect.
      Dec 27 14:40:42 it-PowerEdge-2950 mysqld_safe[21909]: 161227 14:40:42 mysqld_safe Logging to ‘/var/log/mysql/error.log’.
      Dec 27 14:40:42 it-PowerEdge-2950 mysqld_safe[21909]: 161227 14:40:42 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
      Dec 27 14:40:43 it-PowerEdge-2950 systemd[1]: Started MySQL Community Server.
      Failed to stop php7.1-fpm.service: Unit php7.1-fpm.service not loaded.

      1 Reply Last reply Reply Quote 0
      • Tom ElliottT
        Tom Elliott @tom.langenfeld
        last edited by

        @tom.langenfeld Ultimately the last few lines (maybe 100 or so) is important

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

        1 Reply Last reply Reply Quote 0
        • T
          tom.langenfeld
          last edited by

          Does the previous post go back into the log far enough? they are the lines from the end of the log

          Tom ElliottT 1 Reply Last reply Reply Quote 0
          • Tom ElliottT
            Tom Elliott @tom.langenfeld
            last edited by

            @tom.langenfeld Give me a few. I will likely need to remote in to see what’s going on if that’s okay with you.

            Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

            Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

            Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

            1 Reply Last reply Reply Quote 0
            • T
              tom.langenfeld
              last edited by

              Of course just let me know how I can help

              1 Reply Last reply Reply Quote 0
              • Tom ElliottT
                Tom Elliott
                last edited by

                Remote will likely need to happen later today if at all possible. I’m on East coast US time. (I’ll be home around 4:30pm here). Then I will hit you up on chat if all is okay with you.

                Thanks for understanding.

                Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                1 Reply Last reply Reply Quote 0
                • T
                  tom.langenfeld
                  last edited by

                  Sounds good just chat me with a time that works for you and I am flexible

                  1 Reply Last reply Reply Quote 0
                  • Tom ElliottT
                    Tom Elliott
                    last edited by

                    This is going to be overly simplistic of a test, but you could try running:

                    ./installfog.sh -Xy

                    Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                    Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                    Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                    1 Reply Last reply Reply Quote 0
                    • Wayne WorkmanW
                      Wayne Workman
                      last edited by Wayne Workman

                      This is from a similar thread.

                      @Tom-Elliott said in Restarting apache2 for fog vhost...failed! Can't update:

                      @moses can you manually uninstall all php files?

                      sudo apt-get purge -yq php* lib*php*; sudo rm -rf /etc/php*;

                      Then rerun the fog installer?

                      Also check your /opt/fog/.fogsettings file for php_ver and php_verAdds and if you find lines beginning with this, just comment them out. This could be part of the issue.

                      Then after those two things, try re-running the installer.

                      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                      Daily Clean Installation Results:
                      https://fogtesting.fogproject.us/
                      FOG Reporting:
                      https://fog-external-reporting-results.fogproject.us/

                      1 Reply Last reply Reply Quote 0
                      • T
                        tom.langenfeld
                        last edited by

                        Running the ./install -Xy yielded the same results

                        1 Reply Last reply Reply Quote 0
                        • T
                          tom.langenfeld
                          last edited by

                          When trying to run the first command I get this message.
                          0_1483022793418_12-28.png

                          1 Reply Last reply Reply Quote 0
                          • Tom ElliottT
                            Tom Elliott
                            last edited by

                            Remoted with @tom-langenfeld and we were able to fix the issue.

                            He was running Ubuntu 15.10, and the Ondrej repo would install, but there were no PHP packages for wily apparently. Updated to 16.04 and had to run a few tricks to get mysql working, but once all was working, everything appears to be running properly now.

                            Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                            Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                            Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                            1 Reply Last reply Reply Quote 0
                            • 1
                            • 2
                            • 2 / 2
                            • First post
                              Last post

                            261

                            Online

                            12.0k

                            Users

                            17.3k

                            Topics

                            155.2k

                            Posts
                            Copyright © 2012-2024 FOG Project