• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. Manuel
    M
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 6
    • Best 0
    • Controversial 0
    • Groups 0

    Manuel

    @Manuel

    0
    Reputation
    166
    Profile views
    6
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    Manuel Unfollow Follow

    Latest posts made by Manuel

    • RE: Issue

      @sebastian-roth and all Many thanks, it’s work , for my excuse i thinked the ftp path was beginned from the root profile (/home/fog) not at the complete path (/)

      Regards

      i marks this topic as solved

      posted in FOG Problems
      M
      Manuel
    • RE: Issue

      same issue with another server :
      HP Dl 360e Gen8 on debian 8 raid1 with mdadm ext4 fs

      fresh install (this afternoon)

      error log

      [Thu Aug 31 17:59:32.625387 2017] [:error] [pid 39238] [client 192.168.0.24:52958] PHP Warning: ftp_put(/images/dev/782bcb7efba1): failed to open stream: No such file or directory in /var/www/fog/lib/fog/fogftp.class.php on line 708
      [Thu Aug 31 17:59:32.625287 2017] [:error] [pid 39238] [client 192.168.0.24:52958] PHP Warning: ftp_rename(): RNFR command failed. in /var/www/fog/lib/fog/fogftp.class.php on line 769 
      

      .fogsetting

      ## Start of FOG Settings
      ## Created by the FOG Installer
      ## Find more information about this file in the FOG Project wiki:
      ##     https://wiki.fogproject.org/wiki/index.php?title=.fogsettings
      ## Version: 1.4.4
      ## Install time: jeu. 31 août 2017 17:18:31 CEST
      ipaddress='192.168.0.246'
      copybackold='0'
      interface='eth0'
      submask='255.255.240.0'
      routeraddress='192.168.1.254'
      plainrouter='192.168.1.254'
      dnsaddress='8.8.8.8'
      username='fog'
      password='*****'
      osid='2'
      osname='Debian'
      dodhcp='N'
      bldhcp='0'
      dhcpd=''
      blexports='1'
      installtype='N'
      snmysqluser='root'
      snmysqlpass=''
      snmysqlhost='localhost'
      installlang='0'
      storageLocation='/home/fog/images'
      fogupdateloaded=1
      docroot='/var/www/'
      webroot='/fog/'
      caCreated='yes'
      startrange=''
      endrange=''
      bootfilename='undionly.kpxe'
      packages='apache2 bc build-essential cpp curl g++ gawk gcc gzip htmldoc lftp libapache2-mod-php5 libc6 libcurl3 m4 mysql-client mysql-server net-tools nfs-kernel-server openssh-server php5 php5-cli php5-curl php5-fpm php5-gd php5-json php5-mcrypt php5-mysqlnd php-gettext sysv-rc-conf tar tftpd-hpa tftp-hpa unzip vsftpd wget xinetd zlib1g '
      noTftpBuild=''
      notpxedefaultfile=''
      sslpath='/opt/fog/snapins/ssl/'
      backupPath='/home/'
      php_ver='5'
      php_verAdds='-5.6'
      sslprivkey='/opt/fog/snapins/ssl//.srvprivate.key'
      ## End of FOG Settings
      

      return of ls -hail /home/fog/images

      total 12K
      11665413 drwxrwxrwx 3 fog root 4,0K août  31 17:32 .
      11665409 drwxrwxrwx 3 fog root 4,0K août  31 17:31 ..
      11665414 drwxrwxrwx 3 fog root 4,0K août  31 17:45 dev
      11665415 -rwxrwxrwx 1 fog root    0 août  31 17:32 .mntcheck
      

      tftp-hpa

      # /etc/default/tftpd-hpa
      # FOG Modified version
      TFTP_USERNAME="root"
      TFTP_DIRECTORY="/tftpboot"
      TFTP_ADDRESS=":69"
      TFTP_OPTIONS="-4 -s"
      

      vsftpd.conf

      anonymous_enable=NO
      local_enable=YES
      write_enable=YES
      local_umask=022
      dirmessage_enable=YES
      xferlog_enable=YES
      connect_from_port_20=YES
      xferlog_std_format=YES
      listen=YES
      pam_service_name=vsftpd
      userlist_enable=NO
      tcp_wrappers=YES
      seccomp_sandbox=NO
      idle_session_timeout=60000
      data_connection_timeout=12000
      

      dhcpd.conf

      # Sample configuration file for ISC dhcpd for Debian
      use-host-decl-names on;
      ddns-update-style interim;
      ignore client-updates;
      next-server 192.168.0.246;
      
      subnet 192.168.0.0 netmask 255.255.0.0 {
              option domain-name-servers 192.168.1.254;
              option domain-name "edu.psallette.fr";
              option routers 192.168.1.254;
              option broadcast-address 192.168.0.255;
              filename "undionly.kpxe";
              default-lease-time 600;
              max-lease-time 7200;
              option tftp-server-name "192.168.0.246";
      	option bootfile-name "undionly.kpxe";
      	next-server 192.168.0.246;
      	deny unknown-clients;
      }
      
      posted in FOG Problems
      M
      Manuel
    • RE: Issue

      @george1421 said in Issue:

      ls -la /opt/fog

      I know and the result is the same no .fogsetting

      posted in FOG Problems
      M
      Manuel
    • RE: Issue

      @george1421 I have no .fogsetting in /opt/fog/
      here the content of this folder :
      total 12K
      8142850 drwsrwsrwx 3 root root 4,0K août 30 12:02 .
      8126465 drwxr-xr-x 7 root root 4,0K août 30 12:02 …
      8142851 drwsrwsrwx 3 root root 4,0K août 30 12:02 snapins

      i have already notified this, is it very serious ?

      posted in FOG Problems
      M
      Manuel
    • RE: Issue

      @george1421 i changed the fog user manager password and the fog linux user to be the same

      posted in FOG Problems
      M
      Manuel
    • Issue
      Server
      • FOG Version: 1.4.4
      • OS: debian 8
      Client
      • Service Version:
      • OS: Windows 7 pro 64

      Hello, I have a problem with the upload of an image, everything goes well but in the end at the time of writing / moving the image I get this error message :

      [client 192.168.0.24:55364] PHP Warning: ftp_put(/images/dev/782bcb7efba1): failed to open stream: No such file or directory in /var/www/html/fog/lib/fog/fogftp.class.php on line 708

      PHP Warning: ftp_put(/images/dev/782bcb7efba1): failed to open stream: No such file or directory in /var/www/html/fog/lib/fog/fogftp.class.php on line 708

      0_1504185081005_img.jpg

      I have check permission of /home/fog/images and it’s seem to be ok, here the return of : ls -hail /home/fog/images

      15335426 drwxrwxrwx 3 fog root 4,0K août 31 13:47 .
      15335425 drwxrwxrwx 3 fog root 4,0K août 31 10:35 …
      15335427 drwxrwxrwx 3 fog root 4,0K août 31 11:21 dev
      15335429 -rwxrwxrwx 1 fog root 0 août 31 10:35 .mntcheck

      I tried with a ftp client, to see if the problem came from VSFTP but everything works idem for TFTP , here my vsftpd.conf :

      anonymous_enable=NO
      local_enable=YES
      write_enable=YES
      local_umask=022
      dirmessage_enable=YES
      xferlog_enable=YES
      connect_from_port_20=YES
      xferlog_std_format=YES
      listen=YES
      pam_service_name=vsftpd
      userlist_enable=NO
      tcp_wrappers=YES
      seccomp_sandbox=NO

      and tftp in /etc/default/

      /etc/default/tftpd-hpa

      FOG Modified version

      TFTP_USERNAME=“root”
      TFTP_DIRECTORY=“/tftpboot”
      TFTP_ADDRESS=“:69”
      TFTP_OPTIONS=“-4 -s”

      I have already change (twice) password for fog user and make the change in “Fog Settings” and “Storange Managment” but the issue remain.

      Did you have a idea ? thank !

      posted in FOG Problems
      M
      Manuel