No such file or directory?



  • Hi guys,

    I’m really at a loss here, im trying to boot some of my images but when i try to boot something it says no such file or directory?
    Can somebody please help me I found nothing about this problem.

    Thank you



  • @Sebastian-Roth Yeah thanks got it now pffft. its not in /var/www/fog but in /var/www/html/fog. Weird thing is these two maps are duplicates. I’m dumb lol.

    Thank you everyone


  • Developer

    File really seems to not be where you expect it to be… What about ls -al /var/www/html/fog/iso/hirens or ls -al /var/www/fog/iso/hirens??



  • @Sebastian-Roth Alright, it’s not downloading gives me a 404

    and for the log:

    Sun Apr 24 12:37:42.977858 2016] [mpm_prefork:notice] [pid 961] AH00163: Apache/2.4.10 (Debian) OpenSSL/1.0.1k configured – resuming normal operations
    [Sun Apr 24 12:37:42.977896 2016] [core:notice] [pid 961] AH00094: Command line: ‘/usr/sbin/apache2’

    EDIT:

    [Fri Apr 15 16:41:29.616121 2016] [mpm_event:notice] [pid 3003:tid 139783495444352] AH00489: Apache/2.4.10 (Debian) configured – resuming normal operations
    [Fri Apr 15 16:41:29.616231 2016] [core:notice] [pid 3003:tid 139783495444352] AH00094: Command line: ‘/usr/sbin/apache2’
    [Fri Apr 15 16:41:47.420331 2016] [mpm_event:notice] [pid 3003:tid 139783495444352] AH00491: caught SIGTERM, shutting down
    [Fri Apr 15 16:41:48.481021 2016] [mpm_prefork:notice] [pid 4526] AH00163: Apache/2.4.10 (Debian) configured – resuming normal operations
    [Fri Apr 15 16:41:48.481117 2016] [core:notice] [pid 4526] AH00094: Command line: ‘/usr/sbin/apache2’
    [Fri Apr 15 16:41:49.780884 2016] [mpm_prefork:notice] [pid 4526] AH00169: caught SIGTERM, shutting down
    [Fri Apr 15 16:41:50.887485 2016] [mpm_prefork:notice] [pid 4626] AH00163: Apache/2.4.10 (Debian) configured – resuming normal operations
    [Fri Apr 15 16:41:50.887551 2016] [core:notice] [pid 4626] AH00094: Command line: ‘/usr/sbin/apache2’
    [Fri Apr 22 14:29:18.796761 2016] [mpm_prefork:notice] [pid 920] AH00163: Apache/2.4.10 (Debian) configured – resuming normal operations
    [Fri Apr 22 14:29:18.840556 2016] [core:notice] [pid 920] AH00094: Command line: ‘/usr/sbin/apache2’
    [Fri Apr 22 14:36:03.264199 2016] [mpm_prefork:notice] [pid 920] AH00169: caught SIGTERM, shutting down
    [Fri Apr 22 14:36:04.332871 2016] [mpm_prefork:notice] [pid 3205] AH00163: Apache/2.4.10 (Debian) configured – resuming normal operations
    [Fri Apr 22 14:36:04.332940 2016] [core:notice] [pid 3205] AH00094: Command line: ‘/usr/sbin/apache2’
    [Fri Apr 22 14:36:29.143941 2016] [:error] [pid 3209] [client 192.168.1.66:52953] PHP Warning: mysqli::mysqli(): (28000/1045): Access denied for user ‘root’@‘localhost’ (using password: NO) in /var/www/fog/lib/db/MySQL.class.php on line$
    [Fri Apr 22 14:36:29.143980 2016] [:error] [pid 3209] [client 192.168.1.66:52953] PHP Warning: mysqli::select_db(): Couldn’t fetch mysqli in /var/www/fog/lib/db/MySQL.class.php on line 165
    [Fri Apr 22 14:36:29.144053 2016] [:error] [pid 3209] [client 192.168.1.66:52953] PHP Warning: mysqli::query(): Couldn’t fetch mysqli in /var/www/fog/lib/db/MySQL.class.php on line 89
    [Fri Apr 22 14:36:29.144070 2016] [:error] [pid 3209] [client 192.168.1.66:52953] PHP Warning: MySQL::sqlerror(): Couldn’t fetch mysqli in /var/www/fog/lib/db/MySQL.class.php on line 180
    [Fri Apr 22 14:36:29.144107 2016] [:error] [pid 3209] [client 192.168.1.66:52953] PHP Warning: array_key_exists() expects parameter 2 to be array, null given in /var/www/fog/lib/db/MySQL.class.php on line 150
    [Fri Apr 22 14:36:29.158405 2016] [:error] [pid 3209] [client 192.168.1.66:52953] PHP Warning: mysqli::mysqli(): (28000/1045): Access denied for user ‘root’@‘localhost’ (using password: NO) in /var/www/fog/lib/db/MySQL.class.php on line$
    [Fri Apr 22 14:36:29.158443 2016] [:error] [pid 3209] [client 192.168.1.66:52953] PHP Warning: mysqli::select_db(): Couldn’t fetch mysqli in /var/www/fog/lib/db/MySQL.class.php on line 165
    [Fri Apr 22 14:36:29.158504 2016] [:error] [pid 3209] [client 192.168.1.66:52953] PHP Warning: mysqli::query(): Couldn’t fetch mysqli in /var/www/fog/lib/db/MySQL.class.php on line 89
    [Fri Apr 22 14:36:29.158521 2016] [:error] [pid 3209] [client 192.168.1.66:52953] PHP Warning: MySQL::sqlerror(): Couldn’t fetch mysqli in /var/www/fog/lib/db/MySQL.class.php on line 180
    [Fri Apr 22 14:36:29.158559 2016] [:error] [pid 3209] [client 192.168.1.66:52953] PHP Warning: array_key_exists() expects parameter 2 to be array, null given in /var/www/fog/lib/db/MySQL.class.php on line 150
    [Fri Apr 22 14:36:29.163634 2016] [:error] [pid 3209] [client 192.168.1.66:52953] PHP Warning: mysqli::escape_string(): Couldn’t fetch mysqli in /var/www/fog/lib/db/MySQL.class.php on line 247
    [Fri Apr 22 14:36:29.163669 2016] [:error] [pid 3209] [client 192.168.1.66:52953] PHP Warning: mysqli::escape_string(): Couldn’t fetch mysqli in /var/www/fog/lib/db/MySQL.class.php on line 247
    [Fri Apr 22 14:36:29.163702 2016] [:error] [pid 3209] [client 192.168.1.66:52953] PHP Warning: mysqli::query(): Couldn’t fetch mysqli in /var/www/fog/lib/db/MySQL.class.php on line 89
    [Fri Apr 22 14:36:29.163731 2016] [:error] [pid 3209] [client 192.168.1.66:52953] PHP Warning: MySQL::sqlerror(): Couldn’t fetch mysqli in /var/www/fog/lib/db/MySQL.class.php on line 180
    [Fri Apr 22 14:36:29.163851 2016] [:error] [pid 3209] [client 192.168.1.66:52953] PHP Warning: mysqli::escape_string(): Couldn’t fetch mysqli in /var/www/fog/lib/db/MySQL.class.php on line 247
    [Fri Apr 22 14:36:29.163876 2016] [:error] [pid 3209] [client 192.168.1.66:52953] PHP Warning: mysqli::escape_string(): Couldn’t fetch mysqli in /var/www/fog/lib/db/MySQL.class.php on line 247
    [Fri Apr 22 14:36:29.163903 2016] [:error] [pid 3209] [client 192.168.1.66:52953] PHP Warning: mysqli::query(): Couldn’t fetch mysqli in /var/www/fog/lib/db/MySQL.class.php on line 89
    [Fri Apr 22 14:36:29.163917 2016] [:error] [pid 3209] [client 192.168.1.66:52953] PHP Warning: MySQL::sqlerror(): Couldn’t fetch mysqli in /var/www/fog/lib/db/MySQL.class.php on line 180
    [Fri Apr 22 14:36:29.164039 2016] [:error] [pid 3209] [client 192.168.1.66:52953] PHP Warning: mysqli::escape_string(): Couldn’t fetch mysqli in /var/www/fog/lib/db/MySQL.class.php on line 247
    [Fri Apr 22 14:36:29.164063 2016] [:error] [pid 3209] [client 192.168.1.66:52953] PHP Warning: mysqli::escape_string(): Couldn’t fetch mysqli in /var/www/fog/lib/db/MySQL.class.php on line 247
    [Fri Apr 22 14:36:29.164090 2016] [:error] [pid 3209] [client 192.168.1.66:52953] PHP Warning: mysqli::query(): Couldn’t fetch mysqli in /var/www/fog/lib/db/MySQL.class.php on line 89
    [Fri Apr 22 14:36:29.164104 2016] [:error] [pid 3209] [client 192.168.1.66:52953] PHP Warning: MySQL::sqlerror(): Couldn’t fetch mysqli in /var/www/fog/lib/db/MySQL.class.php on line 180
    [Fri Apr 22 14:36:29.164235 2016] [:error] [pid 3209] [client 192.168.1.66:52953] PHP Warning: mysqli::escape_string(): Couldn’t fetch mysqli in /var/www/fog/lib/db/MySQL.class.php on line 247
    [Fri Apr 22 14:36:29.164259 2016] [:error] [pid 3209] [client 192.168.1.66:52953] PHP Warning: mysqli::escape_string(): Couldn’t fetch mysqli in /var/www/fog/lib/db/MySQL.class.php on line 247
    [Fri Apr 22 14:36:29.164285 2016] [:error] [pid 3209] [client 192.168.1.66:52953] PHP Warning: mysqli::query(): Couldn’t fetch mysqli in /var/www/fog/lib/db/MySQL.class.php on line 89
    [Fri Apr 22 14:36:29.164299 2016] [:error] [pid 3209] [client 192.168.1.66:52953] PHP Warning: MySQL::sqlerror(): Couldn’t fetch mysqli in /var/www/fog/lib/db/MySQL.class.php on line 180
    [Fri Apr 22 14:36:29.164392 2016] [:error] [pid 3209] [client 192.168.1.66:52953] PHP Warning: mysqli::escape_string(): Couldn’t fetch mysqli in /var/www/fog/lib/db/MySQL.class.php on line 247
    [Fri Apr 22 14:36:29.164415 2016] [:error] [pid 3209] [client 192.168.1.66:52953] PHP Warning: mysqli::escape_string(): Couldn’t fetch mysqli in /var/www/fog/lib/db/MySQL.class.php on line 247
    [Fri Apr 22 14:36:29.164442 2016] [:error] [pid 3209] [client 192.168.1.66:52953] PHP Warning: mysqli::query(): Couldn’t fetch mysqli in /var/www/fog/lib/db/MySQL.class.php on line 89
    [Fri Apr 22 14:36:29.164455 2016] [:error] [pid 3209] [client 192.168.1.66:52953] PHP Warning: MySQL::sqlerror(): Couldn’t fetch mysqli in /var/www/fog/lib/db/MySQL.class.php on line 180
    [Fri Apr 22 14:36:29.164573 2016] [:error] [pid 3209] [client 192.168.1.66:52953] PHP Warning: mysqli::escape_string(): Couldn’t fetch mysqli in /var/www/fog/lib/db/MySQL.class.php on line 247
    [Fri Apr 22 14:36:29.164596 2016] [:error] [pid 3209] [client 192.168.1.66:52953] PHP Warning: mysqli::escape_string(): Couldn’t fetch mysqli in /var/www/fog/lib/db/MySQL.class.php on line 247
    [Fri Apr 22 14:36:29.164623 2016] [:error] [pid 3209] [client 192.168.1.66:52953] PHP Warning: mysqli::query(): Couldn’t fetch mysqli in /var/www/fog/lib/db/MySQL.class.php on line 89
    [Fri Apr 22 14:36:29.164637 2016] [:error] [pid 3209] [client 192.168.1.66:52953] PHP Warning: MySQL::sqlerror(): Couldn’t fetch mysqli in /var/www/fog/lib/db/MySQL.class.php on line 180
    [Fri Apr 22 14:36:29.164767 2016] [:error] [pid 3209] [client 192.168.1.66:52953] PHP Warning: mysqli::escape_string(): Couldn’t fetch mysqli in /var/www/fog/lib/db/MySQL.class.php on line 247
    [Fri Apr 22 14:36:29.164798 2016] [:error] [pid 3209] [client 192.168.1.66:52953] PHP Warning: mysqli::escape_string(): Couldn’t fetch mysqli in /var/www/fog/lib/db/MySQL.class.php on line 247
    [Fri Apr 22 14:36:29.164825 2016] [:error] [pid 3209] [client 192.168.1.66:52953] PHP Warning: mysqli::query(): Couldn’t fetch mysqli in /var/www/fog/lib/db/MySQL.class.php on line 89
    [Fri Apr 22 14:36:29.164839 2016] [:error] [pid 3209] [client 192.168.1.66:52953] PHP Warning: MySQL::sqlerror(): Couldn’t fetch mysqli in /var/www/fog/lib/db/MySQL.class.php on line 180
    [Fri Apr 22 14:36:29.164932 2016] [:error] [pid 3209] [client 192.168.1.66:52953] PHP Warning: mysqli::escape_string(): Couldn’t fetch mysqli in /var/www/fog/lib/db/MySQL.class.php on line 247
    [Fri Apr 22 14:36:29.164955 2016] [:error] [pid 3209] [client 192.168.1.66:52953] PHP Warning: mysqli::escape_string(): Couldn’t fetch mysqli in /var/www/fog/lib/db/MySQL.class.php on line 247
    [Fri Apr 22 14:36:29.164981 2016] [:error] [pid 3209] [client 192.168.1.66:52953] PHP Warning: mysqli::query(): Couldn’t fetch mysqli in /var/www/fog/lib/db/MySQL.class.php on line 89
    [Fri Apr 22 14:36:29.164995 2016] [:error] [pid 3209] [client 192.168.1.66:52953] PHP Warning: MySQL::sqlerror(): Couldn’t fetch mysqli in /var/www/fog/lib/db/MySQL.class.php on line 180
    [Fri Apr 22 14:36:29.165114 2016] [:error] [pid 3209] [client 192.168.1.66:52953] PHP Warning: mysqli::escape_string(): Couldn’t fetch mysqli in /var/www/fog/lib/db/MySQL.class.php on line 247
    [Fri Apr 22 14:36:29.165137 2016] [:error] [pid 3209] [client 192.168.1.66:52953] PHP Warning: mysqli::escape_string(): Couldn’t fetch mysqli in /var/www/fog/lib/db/MySQL.class.php on line 247
    [Fri Apr 22 14:36:29.165164 2016] [:error] [pid 3209] [client 192.168.1.66:52953] PHP Warning: mysqli::query(): Couldn’t fetch mysqli in /var/www/fog/lib/db/MySQL.class.php on line 89
    [ line 1/1533 (0%), col 1/157 (0%), char 0/385767 (0%) ]


  • Developer

    What happens when you access the URL http://192.168.1.76/fog/iso/hirens/hirens151.iso in your browser? Download starts? If not, check you apache error log (ubuntu/debian: /var/log/apache/error.log, Centos/Fedora/RHEL: /var/log/httpd/error_log). Please post the error you see in the log here in the forum and we might be able to help.



  • @Wayne-Workman Yeah I know but it should atleast recognize the iso? It’s saying that he doesn’t recognize the directory/files that’s my problem… Thanks anyway


  • Moderator

    There is a hirens example in here, and that’s about as far as I can go on this one:
    https://wiki.fogproject.org/wiki/index.php?title=Include_any_ISO_in_the_FOG_Bootmenu



  • @george1421

    Yes when i do ls /var/www/fog/iso/hirens the iso is in there.

    i’ve set it up like this:

    :Hirens
    initrd http://192.168.1.76/fog/iso/hirens/hirens151.iso
    chain memdisk iso raw ||

    weird thing is when I open my explorer and type in ftp://192.168.1.76 im chrooted into a fogproject map… Has it something to do with that? i can’t go to other locations, and in filezilla i can.


  • Moderator

    Did you setup the PXE menus similar to option 1 here? https://forums.fogproject.org/topic/6284/booting-mdt-2013-litetouch-with-fog

    what happens if you try to ls /var/www/html/fog/iso/hirens or ls /var/www/fog/iso/hirens depending on your distro? Does that iso exist in the right place and it is world readable?



  • @Sebastian-Roth Yes I did in the advanced menu


  • Developer

    @Torgeir Why does it say hirens151.iso in one of the pictures? That ISO is definitely not part of FOG and you need to take care of putting the ISO where you want to have it. Did you modify the FOG boot menu to add the ISO?



  • Thanks for the fast replies :) I´ve been busy lately so didn´t have the time to respond yet.

    I’m running 7274 on Debian 3.16.7-ckt25-2

    Boot menu loads fine, I have some entries in the advanced menu

    This in UEFI PXE environment: https://puu.sh/ou71N/2f66697d82.jpg
    And this in Legacy PXE environment: https://puu.sh/ou79O/c910409241.jpg


  • Developer

    Need more information! FOG version, OS, where exactly do you see the error?? Best if you can upload a picture in the forums!


  • Moderator

    That’s an interesting error, can you provide a screen shot or photo please? Also - what version of FOG are you running, please?


Log in to reply
 

340
Online

38751
Users

10577
Topics

100136
Posts

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