Fog wont install



  • So am running fedora 19.
    What version of Linux would you like to run the installtion for?
    1.redhat os

    1. ubuntu os
      Choice 1
      Install Normal server
      don’t know ip so i search up my ip on google and it says:76.118.254.129 (public ip)
      so i enter that
      Would you like to setup a router address for the DHCP server?
      yes
      What is the IP address to be used for the router on the DHCP server?
      192.168.1.1
      Would you like to setup a DNS address for the DHCP server and client boot image?
      yes
      192.168.1.1
      Would you like to change the default network interface from eth0?
      No
      Would you like to use the FOG server for dhcp service?
      yes
      This version of FOG has internationalization support, would
      you like to install the additional language packs?
      yes

    Distro: Redhat
    Installation Type: Normal Server
    Server IP Address: 76.118.254.129
    DHCP router Address: 192.168.1.1
    DHCP DNS Address: 192.168.1.1
    Interface: eth0
    Using FOG DHCP: 1
    Internationalization: 1

    • Skipping package: httpd (Already Installed)
    • Skipping package: php (Already Installed)
    • Skipping package: php-gd (Already Installed)
    • Skipping package: php-cli (Already Installed)
    • Skipping package: php-gettext (Already Installed)
    • Installing package: mysql
    • Installing package: mysql-server
    • Installing package: php-mysql
    • Skipping package: dhcp (Already Installed)
    • Skipping package: tftp-server (Already Installed)
    • Skipping package: nfs-utils (Already Installed)
    • Skipping package: vsftpd (Already Installed)
    • Skipping package: net-tools (Already Installed)
    • Skipping package: wget (Already Installed)
    • Skipping package: xinetd (Already Installed)
    • Skipping package: tar (Already Installed)
    • Skipping package: gzip (Already Installed)
    • Skipping package: make (Already Installed)
    • Skipping package: m4 (Already Installed)
    • Skipping package: gcc (Already Installed)
    • Skipping package: gcc-c++ (Already Installed)
    • Skipping package: htmldoc (Already Installed)
    • Skipping package: perl (Already Installed)
    • Skipping package: perl-Crypt-PasswdMD5 (Already Installed)
    • Skipping package: lftp (Already Installed)
    • Skipping package: clamav-update (Already Installed)
    • Skipping package: iso-codes (Already Installed)

    Confirming package installation.

    • Checking package: httpd…OK
    • Checking package: php…OK
    • Checking package: php-gd…OK
    • Checking package: php-cli…OK
    • Checking package: php-gettext…OK
    • Checking package: mysql…Failed!

    run command mysql
    ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock’ (2)
    so it looks like it is installed
    i dont have /var/lib/mysql/ folder



  • [quote=“Peter Kuykendall, post: 19739, member: 18261”]I’m having the same problem trying to install FOG 0.32 on Ubuntu 12.04.3 LTS server i386 (in a VM for now). Output is in the attached text file (initial stuff was clipped due to the size of my SSH session buffer). Suggestions?[/quote]

    The UDPCast file within the fog installation is outdated.

    Follow the solution in this forum:

    [url]http://fogproject.org/forum/threads/setting-up-and-building-udpcast-failed.4548/[/url]

    It’s basically downloading a newer version, patching it, and then redirecting the fog installation to look to that version instead of the one that fog provides. Once you do that, run the install again, and it should complete without a problem.



  • I’m having the same problem trying to install FOG 0.32 on Ubuntu 12.04.3 LTS server i386 (in a VM for now). Output is in the attached text file (initial stuff was clipped due to the size of my SSH session buffer). Suggestions?

    [url="/_imported_xf_attachments/0/433_udpcast.fail.txt?:"]udpcast.fail.txt[/url]


  • Senior Developer

    Nevermind, apparently we can’t. Only during the creation process.


  • Senior Developer

    Oh, I got you. I don’t know. Let me look into it.



  • of the thered


  • Senior Developer

    What do you mean? Which Title?



  • one more question,how to i change the title


  • Senior Developer

    No problem.



  • Thank you for the help


  • Senior Developer

    Cool, change the title of this page and just add a [SOLVED] Suffix to it.



  • Good.All Done.


  • Senior Developer

    that’s fine

    On the login page, change language from es_ES to en_US



  • good,but the fog mangment page in in spansih. I do not speke spansih


  • Senior Developer

    I’m also fixing the udpcast file so we don’t have that issue. I’ll repost the FEDORA19 file again once complete.


  • Senior Developer

    There you go it installed finally.

    Now go back and run your fog install stuff.



  • rm -f *.o udp-sender udp-receiver
    udp-sender.1 udp-receiver.1 *~
    checking for gcc… gcc
    checking whether the C compiler works… yes
    checking for C compiler default output file name… a.out
    checking for suffix of executables…
    checking whether we are cross compiling… no
    checking for suffix of object files… o
    checking whether we are using the GNU C compiler… yes
    checking whether gcc accepts -g… yes
    checking for gcc option to accept ISO C89… none needed
    checking how to run the C preprocessor… gcc -E
    checking for grep that handles long lines and -e… /usr/bin/grep
    checking for egrep… /usr/bin/grep -E
    checking whether gcc needs -traditional… no
    checking for a BSD-compatible install… /usr/bin/install -c
    checking build system type… x86_64-unknown-linux-gnu
    checking host system type… x86_64-unknown-linux-gnu
    checking target system type… x86_64-unknown-linux-gnu
    checking for an ANSI C-conforming const… yes
    checking for inline… inline
    checking for pthread_create in -lpthread… yes
    checking for dlsym in -ldl… yes
    checking for ANSI C header files… yes
    checking for sys/wait.h that is POSIX.1 compatible… yes
    checking for sys/types.h… yes
    checking for sys/stat.h… yes
    checking for stdlib.h… yes
    checking for string.h… yes
    checking for memory.h… yes
    checking for strings.h… yes
    checking for inttypes.h… yes
    checking for stdint.h… yes
    checking for unistd.h… yes
    checking fcntl.h usability… yes
    checking fcntl.h presence… yes
    checking for fcntl.h… yes
    checking limits.h usability… yes
    checking limits.h presence… yes
    checking for limits.h… yes
    checking sys/ioctl.h usability… yes
    checking sys/ioctl.h presence… yes
    checking for sys/ioctl.h… yes
    checking sys/time.h usability… yes
    checking sys/time.h presence… yes
    checking for sys/time.h… yes
    checking arpa/inet.h usability… yes
    checking arpa/inet.h presence… yes
    checking for arpa/inet.h… yes
    checking netdb.h usability… yes
    checking netdb.h presence… yes
    checking for netdb.h… yes
    checking sys/select.h usability… yes
    checking sys/select.h presence… yes
    checking for sys/select.h… yes
    checking sys/sockio.h usability… no
    checking sys/sockio.h presence… no
    checking for sys/sockio.h… no
    checking sys/socket.h usability… yes
    checking sys/socket.h presence… yes
    checking for sys/socket.h… yes
    checking sys/param.h usability… yes
    checking sys/param.h presence… yes
    checking for sys/param.h… yes
    checking for memory.h… (cached) yes
    checking malloc.h usability… yes
    checking malloc.h presence… yes
    checking for malloc.h… yes
    checking signal.h usability… yes
    checking signal.h presence… yes
    checking for signal.h… yes
    checking net/if.h usability… yes
    checking net/if.h presence… yes
    checking for net/if.h… yes
    checking netinet/in.h usability… yes
    checking netinet/in.h presence… yes
    checking for netinet/in.h… yes
    checking winsock2.h usability… no
    checking winsock2.h presence… no
    checking for winsock2.h… no
    checking sys/uio.h usability… yes
    checking sys/uio.h presence… yes
    checking for sys/uio.h… yes
    checking getopt.h usability… yes
    checking getopt.h presence… yes
    checking for getopt.h… yes
    checking dlfcn.h usability… yes
    checking dlfcn.h presence… yes
    checking for dlfcn.h… yes
    checking for string.h… (cached) yes
    checking termios.h usability… yes
    checking termios.h presence… yes
    checking for termios.h… yes
    checking for struct ip_mreqn.imr_ifindex… yes
    checking for in_addr_t… yes
    checking whether llseek declared in unistd.h… no
    checking whether lseek64 declared in unistd.h… yes
    checking for htons… yes
    checking for kill… yes
    checking for daemon… yes
    checking for an ANSI C-conforming const… (cached) yes
    checking for inline… (cached) inline
    checking for size_t… yes
    checking whether time.h and sys/time.h may both be included… yes
    checking whether struct tm is in sys/time.h or time.h… time.h
    checking return type of signal handlers… void
    checking for atexit… yes
    checking for on_exit… yes
    checking for tcsetattr… yes
    checking for lseek64… yes
    checking for snprintf… yes
    checking for inet_pton… yes
    checking for inet_aton… yes
    checking for getopt_long… yes
    checking for dlsym… yes
    checking for 64-bit off_t… yes
    checking whether gcc supports loff_t type… yes
    checking whether gcc supports offset_t type… no
    checking whether gcc supports long long type… yes
    configure: creating ./config.status
    config.status: creating Makefile
    config.status: creating config.h
    config.status: config.h is unchanged
    gcc -g -O2 -Wall -Wall -DBB_FEATURE_UDPCAST_FEC -D_FILE_OFFSET_BITS=64 -DUSE_SYSLOG -DUSE_ASSEMBLER -O6 -DNO_BB -I. -I. -c -o udp-receiver.o udp-receiver.c
    gcc -g -O2 -Wall -Wall -DBB_FEATURE_UDPCAST_FEC -D_FILE_OFFSET_BITS=64 -DUSE_SYSLOG -DUSE_ASSEMBLER -O6 -DNO_BB -I. -I. -c -o socklib.o socklib.c
    gcc -g -O2 -Wall -Wall -DBB_FEATURE_UDPCAST_FEC -D_FILE_OFFSET_BITS=64 -DUSE_SYSLOG -DUSE_ASSEMBLER -O6 -DNO_BB -I. -I. -c -o udpcast.o udpcast.c
    gcc -g -O2 -Wall -Wall -DBB_FEATURE_UDPCAST_FEC -D_FILE_OFFSET_BITS=64 -DUSE_SYSLOG -DUSE_ASSEMBLER -O6 -DNO_BB -I. -I. -c -o receiver-diskio.o receiver-diskio.c
    gcc -g -O2 -Wall -Wall -DBB_FEATURE_UDPCAST_FEC -D_FILE_OFFSET_BITS=64 -DUSE_SYSLOG -DUSE_ASSEMBLER -O6 -DNO_BB -I. -I. -c -o receivedata.o receivedata.c
    gcc -g -O2 -Wall -Wall -DBB_FEATURE_UDPCAST_FEC -D_FILE_OFFSET_BITS=64 -DUSE_SYSLOG -DUSE_ASSEMBLER -O6 -DNO_BB -I. -I. -c -o udpr-negotiate.o udpr-negotiate.c
    gcc -g -O2 -Wall -Wall -DBB_FEATURE_UDPCAST_FEC -D_FILE_OFFSET_BITS=64 -DUSE_SYSLOG -DUSE_ASSEMBLER -O6 -DNO_BB -I. -I. -c -o produconsum.o produconsum.c
    gcc -g -O2 -Wall -Wall -DBB_FEATURE_UDPCAST_FEC -D_FILE_OFFSET_BITS=64 -DUSE_SYSLOG -DUSE_ASSEMBLER -O6 -DNO_BB -I. -I. -c -o fifo.o fifo.c
    gcc -g -O2 -Wall -Wall -DBB_FEATURE_UDPCAST_FEC -D_FILE_OFFSET_BITS=64 -DUSE_SYSLOG -DUSE_ASSEMBLER -O6 -DNO_BB -I. -I. -c -o log.o log.c
    gcc -g -O2 -Wall -Wall -DBB_FEATURE_UDPCAST_FEC -D_FILE_OFFSET_BITS=64 -DUSE_SYSLOG -DUSE_ASSEMBLER -O6 -DNO_BB -I. -I. -c -o statistics.o statistics.c
    gcc -c -I. -I. -g -O2 -Wall -Wall -DBB_FEATURE_UDPCAST_FEC -D_FILE_OFFSET_BITS=64 -DUSE_SYSLOG -DUSE_ASSEMBLER -O6 -DNO_BB -fno-inline fec.c
    gcc -g -O2 -Wall -Wall -DBB_FEATURE_UDPCAST_FEC -D_FILE_OFFSET_BITS=64 -DUSE_SYSLOG -DUSE_ASSEMBLER -O6 -DNO_BB -I. -I. -c -o udpc_version.o udpc_version.c
    gcc -g -O2 -Wall -Wall -DBB_FEATURE_UDPCAST_FEC -D_FILE_OFFSET_BITS=64 -DUSE_SYSLOG -DUSE_ASSEMBLER -O6 -DNO_BB -I. -I. -c -o console.o console.c
    gcc -g -O2 -Wall -Wall -DBB_FEATURE_UDPCAST_FEC -D_FILE_OFFSET_BITS=64 -DUSE_SYSLOG -DUSE_ASSEMBLER -O6 -DNO_BB -I. -I. -c -o process.o process.c
    gcc -s udp-receiver.o socklib.o udpcast.o receiver-diskio.o receivedata.o udpr-negotiate.o produconsum.o fifo.o log.o statistics.o fec.o udpc_version.o console.o process.o -ldl -lpthread -ldl -lpthread -o udp-receiver
    gcc -g -O2 -Wall -Wall -DBB_FEATURE_UDPCAST_FEC -D_FILE_OFFSET_BITS=64 -DUSE_SYSLOG -DUSE_ASSEMBLER -O6 -DNO_BB -I. -I. -c -o udp-sender.o udp-sender.c
    gcc -g -O2 -Wall -Wall -DBB_FEATURE_UDPCAST_FEC -D_FILE_OFFSET_BITS=64 -DUSE_SYSLOG -DUSE_ASSEMBLER -O6 -DNO_BB -I. -I. -c -o rateGovernor.o rateGovernor.c
    gcc -g -O2 -Wall -Wall -DBB_FEATURE_UDPCAST_FEC -D_FILE_OFFSET_BITS=64 -DUSE_SYSLOG -DUSE_ASSEMBLER -O6 -DNO_BB -I. -I. -c -o rate-limit.o rate-limit.c
    gcc -g -O2 -Wall -Wall -DBB_FEATURE_UDPCAST_FEC -D_FILE_OFFSET_BITS=64 -DUSE_SYSLOG -DUSE_ASSEMBLER -O6 -DNO_BB -I. -I. -c -o auto-rate.o auto-rate.c
    gcc -g -O2 -Wall -Wall -DBB_FEATURE_UDPCAST_FEC -D_FILE_OFFSET_BITS=64 -DUSE_SYSLOG -DUSE_ASSEMBLER -O6 -DNO_BB -I. -I. -c -o sender-diskio.o sender-diskio.c
    gcc -g -O2 -Wall -Wall -DBB_FEATURE_UDPCAST_FEC -D_FILE_OFFSET_BITS=64 -DUSE_SYSLOG -DUSE_ASSEMBLER -O6 -DNO_BB -I. -I. -c -o senddata.o senddata.c
    gcc -g -O2 -Wall -Wall -DBB_FEATURE_UDPCAST_FEC -D_FILE_OFFSET_BITS=64 -DUSE_SYSLOG -DUSE_ASSEMBLER -O6 -DNO_BB -I. -I. -c -o udps-negotiate.o udps-negotiate.c
    gcc -g -O2 -Wall -Wall -DBB_FEATURE_UDPCAST_FEC -D_FILE_OFFSET_BITS=64 -DUSE_SYSLOG -DUSE_ASSEMBLER -O6 -DNO_BB -I. -I. -c -o participants.o participants.c
    gcc -s udp-sender.o socklib.o udpcast.o rateGovernor.o rate-limit.o auto-rate.o sender-diskio.o senddata.o udps-negotiate.o fifo.o produconsum.o participants.o log.o statistics.o fec.o udpc_version.o console.o process.o -ldl -lpthread -ldl -lpthread -o udp-sender
    cat udp-receiver.txt udp-sender.txt cmd.html | m4 >cmd.html.man
    perl html2man.pl cmd.html.man
    install -d /usr/local/sbin
    install -m 755 udp-sender udp-receiver /usr/local/sbin
    install -d /usr/local/share/man/man1
    install -m 644 udp-sender.1 udp-receiver.1 /usr/local/share/man/man1
    install -d /usr/local/include/udpcast
    install -m 644 rateGovernor.h /usr/local/include/udpcast


  • Senior Developer

    Try this:

    make clean; ./configure; make; make install

    And show output again, sorry.



  • gcc -s udp-sender.o socklib.o udpcast.o rateGovernor.o rate-limit.o auto-rate.o sender-diskio.o senddata.o udps-negotiate.o fifo.o produconsum.o participants.o log.o statistics.o fec.o udpc_version.o console.o process.o -ldl -lpthread -ldl -lpthread -o udp-sender
    /usr/bin/ld: i386 architecture of input file socklib.o' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input fileudpcast.o’ is incompatible with i386:x86-64 output
    /usr/bin/ld: i386 architecture of input file fifo.o' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input fileproduconsum.o’ is incompatible with i386:x86-64 output
    /usr/bin/ld: i386 architecture of input file log.o' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input filestatistics.o’ is incompatible with i386:x86-64 output
    /usr/bin/ld: i386 architecture of input file fec.o' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input fileudpc_version.o’ is incompatible with i386:x86-64 output
    log.o: In function udpc_printLongNum': /tmp/udpcast-20120424/log.c:121: undefined reference to__udivdi3’
    /tmp/udpcast-20120424/log.c:121: undefined reference to __umoddi3' /tmp/udpcast-20120424/log.c:135: undefined reference to__divdi3’
    /tmp/udpcast-20120424/log.c:121: undefined reference to __udivdi3' /tmp/udpcast-20120424/log.c:121: undefined reference to__umoddi3’
    statistics.o: In function udpc_displayReceiverStats': /tmp/udpcast-20120424/statistics.c:172: undefined reference to__divdi3’
    statistics.o: In function udpc_displaySenderStats': /tmp/udpcast-20120424/statistics.c:252: undefined reference to__udivdi3’
    /tmp/udpcast-20120424/statistics.c:256: undefined reference to `__udivdi3’
    collect2: error: ld returned 1 exit status
    make: *** [udp-sender] Error 1


  • Senior Developer

    Try

    make install

    And show output.


Log in to reply
 

354
Online

39.3k
Users

11.0k
Topics

104.4k
Posts

Looks like your connection to FOG Project was lost, please wait while we try to reconnect.