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

    Can't complete the fog install!

    Scheduled Pinned Locked Moved
    FOG Problems
    5
    40
    15.0k
    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.
    • O
      orbspider
      last edited by

      Hi there,
      i’ve been trying for hours now to install fog 1.2.0 by following the instructions at [url]http://www.fogproject.org/wiki/index.php/Installation_on_Debian_Lenny[/url]
      because my OS is Debian Wheezy.

      I’ve installed MYSQL with and without password and either way I can’t get into the fog management page at the address which the fog install script gave me to use - it just shows “connecting” for a long while then time out.

      I actually installed mysql-server first before fog script ran, and in its conf file /etc/mysql/my.cnf I # out the bind-address, as the only way for the service to start.

      what should I be looking at as solution to getting into fog management? it appears apache and mysql are running ok. … thanks

      1 Reply Last reply Reply Quote 0
      • O
        orbspider
        last edited by

        This post is deleted!
        1 Reply Last reply Reply Quote 0
        • O
          orbspider
          last edited by

          the file /var/www/fog/commons/config.php did not exist

          the file /opt/fog/service/etc/config.php

          i added the mysql password to like so

          <?php
          define( “MYSQL_PASSWORD”, “xxxx” );
          define( “WEBROOT”, “/var/www/fog” );
          ?>

          1 Reply Last reply Reply Quote 0
          • JunkhackerJ
            Junkhacker Developer
            last edited by

            the file /var/www/fog/commons/config.php isn’t supposed to exist in 1.2.0

            define( “MYSQL_PASSWORD”, “xxxx” ); doesn’t belong in
            /opt/fog/service/etc/config.php either

            signature:
            Junkhacker
            We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

            1 Reply Last reply Reply Quote 0
            • O
              orbspider
              last edited by

              so whats the reason for no access to [url]http://192.168.0.142/fog/management[/url] ? tnx

              1 Reply Last reply Reply Quote 0
              • JunkhackerJ
                Junkhacker Developer
                last edited by

                please post the contents of /var/log/foginstall.log

                signature:
                Junkhacker
                We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

                1 Reply Last reply Reply Quote 0
                • O
                  orbspider
                  last edited by

                  here it is,

                  [CODE] Here are the settings FOG will use:
                  Base Linux: Debian
                  Detected Linux Distribution: Debian
                  Installation Type: Normal Server
                  Server IP Address: 192.168.0.142
                  DHCP router Address: 192.168.0.1
                  DHCP DNS Address: 192.168.0.1
                  Interface: eth0
                  Using FOG DHCP: 0
                  Internationalization: 0
                  Donate: 0

                      DHCP will NOT be setup but you must setup your
                      current DHCP server to use FOG for PXE services.
                  
                      On a Linux DHCP server you must set:
                          next-server
                  
                      On a Windows DHCP server you must set:
                          option 066 & 067
                  
                        Option 066 is the IP of the FOG Server: (e.g. 192.168.0.142)
                        Option 067 is the undionly.kpxe file: (e.g. undionly.kpxe)
                  

                  Are you sure you wish to continue (Y/N) y

                  Installation Started…

                  Installing required packages, if this fails
                  make sure you have an active internet connection.

                  • Preparing apt-get

                  • Installing package: apache2

                  • Installing package: php5

                  • Installing package: php5-json

                  • Installing package: php5-gd

                  • Installing package: php5-cli

                  • Installing package: php5-mysql

                  • Installing package: php5-curl

                  • Installing package: mysql-server

                    We are about to install MySQL Server on
                    this server, if MySQL isn’t installed already
                    you will be prompted for a root password.

                    Press enter to acknowledge this message.

                  E: dpkg was interrupted, you must manually run ‘sudo dpkg --configure -a’ to correct the problem.

                  • Installing package: mysql-client
                  • Installing package: tftpd-hpa
                  • Installing package: tftp-hpa
                  • Installing package: nfs-kernel-server
                  • Installing package: vsftpd
                  • Installing package: net-tools
                  • Installing package: wget
                  • Installing package: xinetd
                  • Installing package: sysv-rc-conf
                  • Installing package: tar
                  • Installing package: gzip
                  • Installing package: build-essential
                  • Installing package: cpp
                  • Installing package: gcc
                  • Installing package: g++
                  • Installing package: m4
                  • Installing package: htmldoc
                  • Installing package: lftp
                  • Installing package: openssh-server
                  • Installing package: php-gettext
                  • Installing package: clamav-freshclam

                  Confirming package installation.

                  • Checking package: apache2…OK
                  • Checking package: php5…OK
                  • Checking package: php5-json…OK
                  • Checking package: php5-gd…OK
                  • Checking package: php5-cli…OK
                  • Checking package: php5-mysql…OK
                  • Checking package: php5-curl…OK
                  • Checking package: mysql-server…OK
                  • Checking package: mysql-client…OK
                  • Checking package: tftpd-hpa…OK
                  • Checking package: tftp-hpa…OK
                  • Checking package: nfs-kernel-server…OK
                  • Checking package: vsftpd…OK
                  • Checking package: net-tools…OK
                  • Checking package: wget…OK
                  • Checking package: xinetd…OK
                  • Checking package: sysv-rc-conf…OK
                  • Checking package: tar…OK
                  • Checking package: gzip…OK
                  • Checking package: build-essential…OK
                  • Checking package: cpp…OK
                  • Checking package: gcc…OK
                  • Checking package: g++…OK
                  • Checking package: m4…OK
                  • Checking package: htmldoc…OK
                  • Checking package: lftp…OK
                  • Checking package: openssh-server…OK
                  • Checking package: php-gettext…OK
                  • Checking package: clamav-freshclam…OK

                  Configuring services.

                  • Setting up and starting MySql…OK

                  • Backing up user reports…OK

                  • Setting up and starting Apache Web Server…OK
                    You still need to install/update your database schema.
                    This can be done by opening a web browser and going to:

                    http://192.168.0.142/fog/management

                  Press [Enter] key when database is updated/installed.

                  • Configuring Fresh Clam…OK
                  • Setting up storage…OK
                  • Setting up and starting DHCP Server…Skipped
                  • Setting up and starting TFTP and PXE Servers…OK
                  • Setting up and starting VSFTP Server…OK
                  • Setting up sudo settings…OK
                  • Setting up FOG Snapins…OK
                  • Setting up and building UDPCast…OK
                  • Installing init scripts…OK
                  • Setting up FOG Services…OK
                  • Starting FOG Multicast Management Server…OK
                  • Starting FOG Image Replicator Server…OK
                  • Starting FOG Task Scheduler Server…OK
                  • Setting up FOG Utils…OK

                  Would you like to notify the FOG group about this installation?
                  * This information is only used to help the FOG group determine
                  if FOG is being used. This information helps to let us know
                  if we should keep improving this product.

                  Send notification? (Y/N)n
                  NOT sending notification.

                  Setup complete!

                  You can now login to the FOG Management Portal using
                  the information listed below. The login information
                  is only if this is the first install.

                  This can be done by opening a web browser and going to:

                    http://192.168.0.142/fog/management
                  
                    Default User:
                          Username: fog
                          Password: password
                  

                  Script done on Thursday 12,February,2015 12:31:18 AM SGT[/CODE]

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

                    Your own log is telling you something else is screwed up.

                    Press enter to acknowledge this message.
                    

                    E: dpkg was interrupted, you must manually run ‘sudo dpkg --configure -a’ to correct the problem.

                    • Installing package: mysql-client

                    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
                    • O
                      orbspider
                      last edited by

                      well yes there was an interruption, as this isn’t the first install’s log, but subsequent, after it got stuck as well.

                      apache log can’t post here, so its at pastebin

                      [url]http://pastebin.com/FAYdac7U[/url]

                      ive searched a plenty… and my eyes are square, so i will need to leave this till tomorrow.

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

                        First thing I notice,

                        [Thu Feb 12 00:13:05 2015] [warn] (101)Network is unreachable: connect to listener on [::]:80

                        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
                        • O
                          orbspider
                          last edited by

                          funny as theres no firewall I dont think, its a fresh install of debian

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

                            There is always a firewall installed on Ubuntu, called

                            ufw.

                            [code]sudo ufw disable[/code]

                            What worries me though is you seem to have performed steps before you knew what to do.

                            Meaning you had mysql installed before installing fog, so how many problems.

                            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
                            • O
                              orbspider
                              last edited by

                              I have also purged mysql and let it install with fog too. the first time mysql simply wouldn’t start - until I hashed out the bind-address line - so i tried then to install it before fog.

                              this is debian not ubuntu!!

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

                                Why?

                                The bind-address will need to be commented out later, but if you’re specifying a mysql password, then why not enter it on your localhost (of which bindaddress is defaulted to anyway)?

                                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
                                • O
                                  orbspider
                                  last edited by

                                  I last installed mysql without password, just blanks

                                  plus what you suggest is not given in the user guide so how would I know (I’m not a server experienced person)

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

                                    what do you mean it’s not in the userguid?

                                    What guide, exactly, did you follow?

                                    It looks like you have done whatever you think is correct based on other peoples ideas.

                                    Rather than looking at what’s changed between versions, you went under an assumption to set mysql password in the /opt/fog/etc/config.php file (which won’t work)

                                    You say it’s not there, but I want to know what you’re reading and failing to understand.

                                    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
                                    • O
                                      orbspider
                                      last edited by

                                      I found that I should change Listen 80 to Listen 0.0.0.0:80 in /etc/apache2/ports.conf

                                      for that apache error, and restart it, but I still can’t access fog in web browser

                                      1 Reply Last reply Reply Quote 0
                                      • O
                                        orbspider
                                        last edited by

                                        Pls refer to top post! link to user guide for other versions of Linux - ie Debian. That’s what I followed, official fog pages right?

                                        I only search for answers when problems happened, like not what was expected from following the guide.

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

                                          You mean [url]http://www.fogproject.org/wiki/index.php/Installation_on_Debian_Lenny[/url]

                                          Which is for 0.32 installation of Debian Lenny,

                                          Not FOG 1.2.0 on Debian Wheezy?

                                          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
                                          • O
                                            orbspider
                                            last edited by

                                            Well, you are correct in that Lenny is not my release of Debian.

                                            I got to that page from the front page of the User Guide here [url]http://fogproject.org/wiki/index.php/FOGUserGuide[/url]

                                            link:
                                            2 Installing FOG > 2.2 Installation on different distributions of Linux >> Debian > Debian Wheezy

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

                                            170

                                            Online

                                            12.1k

                                            Users

                                            17.3k

                                            Topics

                                            155.3k

                                            Posts
                                            Copyright © 2012-2024 FOG Project