Thank you for the advice (run fsck!).
Here I had the same problem: ubuntu 12.04, ext3 partition, uploaded a 900 bytes image!
I run a fsck (which said “everything clean”), and the image is now uploading …
now try to deploy it
bye
giammy
Thank you for the advice (run fsck!).
Here I had the same problem: ubuntu 12.04, ext3 partition, uploaded a 900 bytes image!
I run a fsck (which said “everything clean”), and the image is now uploading …
now try to deploy it
bye
giammy
did you solve the problem?
I got that error using php 5.4: everything went ok using php 5.3
bye
giammy
Hi,
tftp service do not need a password, so it is not a password problem.
Note that FTP is not TFTP, are 2 different services.
Do you have a tftp service on your machine?
Do you see it with ps?
in my machine I see:
root@foggy:/# ps aux | grep tftp
root 6396 0.0 0.0 7548 856 pts/0 S+ 11:02 0:00 grep tftp
root 12614 0.0 0.0 14632 320 ? Ss May02 0:00 /usr/sbin/in.tftpd --listen --user tftp --address 0.0.0.0:69 --secure /tftpboot
Where do you get the message “unable to connect …”?
If you do from another PC
tftp <your fog server IP> which message do you have?
bye
giammy
Dear all,
I’m trying to understand the password scheme of FOG:
I have a (more or less) working configuration, but
I’d like to make things more clear!
I summarize what I have uderstand up to now …
if someone wants to integrate, perhaps it will be usefull
for everyone.
The reference Fog Installation installation is a
Linux box (Debian) with both storage node and Web UI
(DNS and DHCP are on different machines), and 1 user
configured with
FOG PASSWORD CONFIGURATION
In the FOG configuration file commons/config.php
define( “MYSQL_DATABASE”, “fog” );
define( “MYSQL_USERNAME”, “root” );
define( “MYSQL_PASSWORD”, “mypass” );
This password is used by the Web UI to access the database.
If wrong - the Web UI says: “Unable to connect to database.”
define( “TFTP_FTP_USERNAME”, “fog” );
define( “TFTP_FTP_PASSWORD”, “mypass” );
This password is used for the FTP access?
(tftp do not need password)
define( “STORAGE_FTP_USERNAME”, “fog” );
define( “STORAGE_FTP_PASSWORD”, “mypass” );
And this password? For FTP? And the previous one?
Which is the difference between the 2?
On the Fog Web UI I have:
Other Information -> Fog Settings
FOG Storage Nodes
FOG_STORAGENODE_MYSQLUSER fogstorage
FOG_STORAGENODE_MYSQLPASS anotherpass
(in my configuration here I have a password in the form fsnnnn …
created at installation time: where is it used?)
FOG_TFTP_FTP_USERNAME fog
FOG_TFTP_FTP_PASSWORD mypass
(same as TFTP_FTP_PASSWORD I imagine)
Storage Management -> Edit Storage Node Definition
Management Username: fog
Management Password: mypass
(this must match the FTP password of the PC?)
thanks
bye
giammy
Hi,
I found out the problem: it was the PHP version.
I install fog letting the installer to download all it needs, but the first installation
was debian testing, which install php5.4, which is NOT compatible with FOG.
I reinstalled all the PC with a debian 6.04 (the last stable), which comes with
php 5.3 and everything go up and works!
thanks for the help
giammy
hi,
I agree: there a problem in my installation ad I get a blank page, not the one yuo attached!
I’m trying to find out ehich is the problem
bye
giammy
hi,
looking at the webserver logs, when I click on “Upload Image”
(and got a blank page) I see various errors.
Can this problem be caused by a wrong php version?
i installed debian testing netinstall, and run the fog
installation script which installed the needed software.
The php version I have now is php5 5.4.0-3.
Can this be a problem?
Is there a php reccomended version?
thanks
giammy
[Wed May 02 07:56:13 2012] [error] [client 147.162.35.15] PHP Notice: Undefined index: groupid in /var/www/fog/commons/init.php on line 5, referer: [url]http://147.162.35.219/fog/management/index.php?node=host&sub=edit&tab=tasks&id=3[/url]
[Wed May 02 07:56:13 2012] [error] [client 147.162.35.15] PHP Notice: Undefined index: id in /var/www/fog/commons/init.php on line 5, referer: [url]http://147.162.35.219/fog/management/index.php?node=host&sub=edit&tab=tasks&id=3[/url]
[Wed May 02 07:56:13 2012] [error] [client 147.162.35.15] PHP Notice: Undefined index: imageid in /var/www/fog/commons/init.php on line 5, referer: [url]http://147.162.35.219/fog/management/index.php?node=host&sub=edit&tab=tasks&id=3[/url]
[Wed May 02 07:56:13 2012] [error] [client 147.162.35.15] PHP Notice: Undefined index: sub in /var/www/fog/commons/init.php on line 5, referer: [url]http://147.162.35.219/fog/management/index.php?node=host&sub=edit&tab=tasks&id=3[/url]
[Wed May 02 07:56:13 2012] [error] [client 147.162.35.15] PHP Notice: Undefined index: snapinid in /var/www/fog/commons/init.php on line 5, referer: [url]http://147.162.35.219/fog/management/index.php?node=host&sub=edit&tab=tasks&id=3[/url]
[Wed May 02 07:56:13 2012] [error] [client 147.162.35.15] PHP Notice: Undefined index: userid in /var/www/fog/commons/init.php on line 5, referer: [url]http://147.162.35.219/fog/management/index.php?node=host&sub=edit&tab=tasks&id=3[/url]
[Wed May 02 07:56:13 2012] [error] [client 147.162.35.15] PHP Notice: Undefined index: storagegroupid in /var/www/fog/commons/init.php on line 5, referer: [url]http://147.162.35.219/fog/management/index.php?node=host&sub=edit&tab=tasks&id=3[/url]
[Wed May 02 07:56:13 2012] [error] [client 147.162.35.15] PHP Notice: Undefined index: storagenodeid in /var/www/fog/commons/init.php on line 5, referer: [url]http://147.162.35.219/fog/management/index.php?node=host&sub=edit&tab=tasks&id=3[/url]
[Wed May 02 07:56:13 2012] [error] [client 147.162.35.15] PHP Notice: Undefined index: crit in /var/www/fog/commons/init.php on line 5, referer: [url]http://147.162.35.219/fog/management/index.php?node=host&sub=edit&tab=tasks&id=3[/url]
[Wed May 02 07:56:13 2012] [error] [client 147.162.35.15] PHP Notice: Undefined index: sort in /var/www/fog/commons/init.php on line 5, referer: [url]http://147.162.35.219/fog/management/index.php?node=host&sub=edit&tab=tasks&id=3[/url]
[Wed May 02 07:56:13 2012] [error] [client 147.162.35.15] PHP Notice: Undefined index: userid in /var/www/fog/commons/init.php on line 5, referer: [url]http://147.162.35.219/fog/management/index.php?node=host&sub=edit&tab=tasks&id=3[/url]
[Wed May 02 07:56:13 2012] [error] [client 147.162.35.15] PHP Notice: Undefined index: confirm in /var/www/fog/commons/init.php on line 5, referer: [url]http://147.162.35.219/fog/management/index.php?node=host&sub=edit&tab=tasks&id=3[/url]
[Wed May 02 07:56:13 2012] [error] [client 147.162.35.15] PHP Notice: Undefined index: tab in /var/www/fog/commons/init.php on line 5, referer: [url]http://147.162.35.219/fog/management/index.php?node=host&sub=edit&tab=tasks&id=3[/url]
[Wed May 02 07:56:13 2012] [error] [client 147.162.35.15] PHP Notice: Undefined index: uname in /var/www/fog/management/includes/processlogin.include.php on line 17, referer: [url]http://147.162.35.219/fog/management/index.php?node=host&sub=edit&tab=tasks&id=3[/url]
[Wed May 02 07:56:13 2012] [error] [client 147.162.35.15] PHP Notice: Undefined variable: SERVER in /var/www/fog/management/includes/mainmenu.include.php on line 32, referer: [url]http://147.162.35.219/fog/management/index.php?node=host&sub=edit&tab=tasks&id=3[/url]
[Wed May 02 07:56:13 2012] [error] [client 147.162.35.15] PHP Notice: Undefined variable: SERVER in /var/www/fog/management/includes/mainmenu.include.php on line 32, referer: [url]http://147.162.35.219/fog/management/index.php?node=host&sub=edit&tab=tasks&id=3[/url]
[Wed May 02 07:56:13 2012] [error] [client 147.162.35.15] PHP Notice: Undefined variable: SERVER in /var/www/fog/management/includes/mainmenu.include.php on line 32, referer: [url]http://147.162.35.219/fog/management/index.php?node=host&sub=edit&tab=tasks&id=3[/url]
[Wed May 02 07:56:13 2012] [error] [client 147.162.35.15] PHP Notice: Undefined variable: SERVER in /var/www/fog/management/includes/mainmenu.include.php on line 32, referer: [url]http://147.162.35.219/fog/management/index.php?node=host&sub=edit&tab=tasks&id=3[/url]
[Wed May 02 07:56:13 2012] [error] [client 147.162.35.15] PHP Notice: Undefined variable: SERVER in /var/www/fog/management/includes/mainmenu.include.php on line 32, referer: [url]http://147.162.35.219/fog/management/index.php?node=host&sub=edit&tab=tasks&id=3[/url]
[Wed May 02 07:56:13 2012] [error] [client 147.162.35.15] PHP Notice: Undefined variable: SERVER in /var/www/fog/management/includes/mainmenu.include.php on line 32, referer: [url]http://147.162.35.219/fog/management/index.php?node=host&sub=edit&tab=tasks&id=3[/url]
[Wed May 02 07:56:13 2012] [error] [client 147.162.35.15] PHP Notice: Undefined variable: SERVER in /var/www/fog/management/includes/mainmenu.include.php on line 32, referer: [url]http://147.162.35.219/fog/management/index.php?node=host&sub=edit&tab=tasks&id=3[/url]
[Wed May 02 07:56:13 2012] [error] [client 147.162.35.15] PHP Notice: Undefined variable: SERVER in /var/www/fog/management/includes/mainmenu.include.php on line 32, referer: [url]http://147.162.35.219/fog/management/index.php?node=host&sub=edit&tab=tasks&id=3[/url]
[Wed May 02 07:56:13 2012] [error] [client 147.162.35.15] PHP Notice: Undefined variable: SERVER in /var/www/fog/management/includes/mainmenu.include.php on line 32, referer: [url]http://147.162.35.219/fog/management/index.php?node=host&sub=edit&tab=tasks&id=3[/url]
[Wed May 02 07:56:13 2012] [error] [client 147.162.35.15] PHP Notice: Undefined variable: SERVER in /var/www/fog/management/includes/mainmenu.include.php on line 32, referer: [url]http://147.162.35.219/fog/management/index.php?node=host&sub=edit&tab=tasks&id=3[/url]
[Wed May 02 07:56:13 2012] [error] [client 147.162.35.15] PHP Notice: Undefined variable: SERVER in /var/www/fog/management/includes/mainmenu.include.php on line 32, referer: [url]http://147.162.35.219/fog/management/index.php?node=host&sub=edit&tab=tasks&id=3[/url]
[Wed May 02 07:56:13 2012] [error] [client 147.162.35.15] PHP Notice: Undefined variable: SERVER in /var/www/fog/management/includes/mainmenu.include.php on line 32, referer: [url]http://147.162.35.219/fog/management/index.php?node=host&sub=edit&tab=tasks&id=3[/url]
[Wed May 02 07:56:13 2012] [error] [client 147.162.35.15] PHP Notice: Undefined variable: SERVER in /var/www/fog/management/includes/mainmenu.include.php on line 32, referer: [url]http://147.162.35.219/fog/management/index.php?node=host&sub=edit&tab=tasks&id=3[/url]
[Wed May 02 07:56:13 2012] [error] [client 147.162.35.15] PHP Notice: Undefined index: confirm in /var/www/fog/management/includes/tasks.include.php on line 5, referer: [url]http://147.162.35.219/fog/management/index.php?node=host&sub=edit&tab=tasks&id=3[/url]
[Wed May 02 07:56:13 2012] [error] [client 147.162.35.15] PHP Fatal error: Call-time pass-by-reference has been removed in /var/www/fog/management/includes/tasks.confirm.include.php on line 754, referer: [url]http://147.162.35.219/fog/management/index.php?node=host&sub=edit&tab=tasks&id=3[/url]
hi,
in storage management, all storage nodes, default member, I have:
Management Username fog
Management Password mypass
I must I I do not have a very clear understanding of the use of this password:
from what I understand, the linux box has 1 user and 1 mypass to access
both via ssh and ftp: the linux box needs to have other access types?
thanks
giammy
[FONT=Ubuntu][COLOR=#333333][/COLOR][/FONT]
hi,
and thanks for the reply!
I’m working on a Debian GNU/Linux wheezy/sid
root@foggy:# uname -a
Linux foggy 3.2.0-2-amd64 #1 SMP Sun Apr 15 16:47:38 UTC 2012 x86_64 GNU/Linux
I installed on the vanilla debian (netinstall) the fog_0.32.tar.gz package.
The configuration I used is:
Distro: Ubuntu
Installation Type: Normal Server
Server IP Address: x.x.35.223
DHCP router Address: x.x.35.225
DHCP DNS Address: x.x.35.1
Interface: eth0
Using FOG DHCP: 0
Internationalization: 0
I have a single machine with web UI, tftp and storage, while DNS and DHCP
are on different machines.
The fox machine has 1 user fog with password mypass,
and I can connect to it via ssh or ftp.
I setted mypass in the database as:
sudo mysql -p’password’
use fog;
UPDATE users SET uPass = MD5(‘mypass’) WHERE uName = ‘fog’;
exit;
in the file /var/www/fog/commons/config.php I have:
define( “TFTP_FTP_USERNAME”, “fog” );
define( “TFTP_FTP_PASSWORD”, “mypass” );
…
define( “STORAGE_FTP_USERNAME”, “fog” );
define( “STORAGE_FTP_PASSWORD”, “mypass” );
define( “MYSQL_HOST”, “localhost” );
define( “MYSQL_DATABASE”, “fog” );
define( “MYSQL_USERNAME”, “root” );
define( “MYSQL_PASSWORD”, “mypass” );
I think I setted all the password to mypass.
in the web UI -> Fog Settings, I see, as password:
FOG Storage Nodes
FOG_STORAGENODE_MYSQLUSERfogstorage
FOG_STORAGENODE_MYSQLPASSmypass
TFTP server
FOG_TFTP_FTP_USERNAMEfog
FOG_TFTP_FTP_PASSWORDmypass
Am I missing other passwords?
Have you gone through and updated your TFTP password and default storage password after you installed FOG?
I can correctly access to TFTP (no password), and ftp (using mypass).
The default storage password how cam be setted? where is used?
thanks again
giammy
Hi all,
I have a new FOG installation: it has 1 host configured: the host correctly
boots from FOG tftpboot.
From the fog WebUI I correctly see my host as green (I imagine it means that
host server can ping my client).
When I go to Host management, list hosts, click on my host,
go in basic action an click on Upload (I want upload an host image)
I’m shown a page with title “Task management” and a white page.
If I go to task management, active task, no tasks are shown.
Obviously, if I reboot my host, it just boots with pxe, no image upload.
I think the task is not activated: how can I find the reason?
any log file to look at?
thanks
giammy