@Tom-Elliott That must have been what it was, I deleted the username and password in the .fogsettings file and it now works
Posts made by the_duke
-
RE: Failed vista image upload help
-
RE: Failed vista image upload help
@Tom-Elliott This is from my .fogsettings file
snmysqluser=“fogstorage”
snmysqlpass=“fs6181”;
snmysqlhost=“localhost”;do I need to delete the username and password here?
Full fledged server -
RE: Failed vista image upload help
@Tom-Elliott apache is fine, just the database update failing
-
RE: Failed vista image upload help
@Tom-Elliott Ok, now it restarted the apache2, but when I go to my web gui to update/install database schema, I get the update/installed failed
-
RE: Failed vista image upload help
@Tom-Elliott Here is what it it is saying now:
Restarting web server apache2 [fail]
- The apache2 configtest failed.
Output of config test was:
AH00526: Syntax error on line 12 of /etc/apache2/sites-enabled/001-fog.conf:
SSLCertificateFile: file ‘/var/www/fog/management/other/ssl/srvpublic.crt’ does not exist or is empty
Action ‘configtest’ failed.
The Apache error log may have more information.
- The apache2 configtest failed.
-
RE: Failed vista image upload help
@Tom-Elliott Tried that too, here’s the output of that:
jcsadmin@jcstest69:~$ sudo service apache2 restart
- Restarting web server apache2 [fail]
- There are processes named ‘apache2’ running which do not match your pid file which are left untouched in the name of safety, Please review the situation by hand.
-
RE: Failed vista image upload help
@Tom-Elliott Ok, installed revision 2096 and apache2 still failed. I then ran the commands that you posted and here is what came out:
Module authz_default already disabled
Module authz_default already disabled
ERROR: Module mem_cached does not exist!
jcsadmin@jcstest69:~$ sudo a2enmod authz_core
Module authz_core already enabled
jcsadmin@jcstest69:~$ sudo apache2 restart
Usage: apache2 [-D name] [-d directory] [-f file]
[-C “directive”] [-c “directive”]
[-k start|restart|graceful|graceful-stop|stop]
[-v] [-V] [-h] [-l] [-L] [-t] [-T] [-S] [-X]
Options:
-D name : define a name for use in <IfDefine name> directives
-d directory : specify an alternate initial ServerRoot
-f file : specify an alternate ServerConfigFile
-C “directive” : process directive before reading config files
-c “directive” : process directive after reading config files
-e level : show startup errors of level (see LogLevel)
-E file : log startup errors to file
-v : show version number
-V : show compile settings
-h : list available command line options (this page)
-l : list compiled in modules
-L : list available configuration directives
-t -D DUMP_VHOSTS : show parsed vhost settings
-t -D DUMP_RUN_CFG : show parsed run settings
-S : a synonym for -t -D DUMP_VHOSTS -D DUMP_RUN_CFG
-t -D DUMP_MODULES : show all loaded modules
-M : a synonym for -t -D DUMP_MODULES
-t : run syntax check for config files
-T : start without DocumentRoot(s) check
-X : debug mode (only one worker, do not detach) -
RE: Failed vista image upload help
@Tom-Elliott Yes I did, I’ll do this now
-
RE: Failed vista image upload help
@Tom-Elliott Here is what came out in the terminal
- Starting web server apache2 *
- The apache2 configtest failed.
Output of config test was:
apache2: Syntax error on line 140 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/mods-enabled/authz_default.load: Cannot load /usr/lib/apache2/modules/mod_authz_default.so into server: /usr/lib/apache2/modules/mod_authz_default.so: cannot open shared object file: No such file or directory
Action ‘configtest’ failed.
The Apache error log may have more information.
-
RE: Failed vista image upload help
@Tom-Elliott Ok, it got to the restarting apache2 for fog vhost and failed. Should I try to install again or is there something else I need to look at?
-
RE: Failed vista image upload help
@Tom-Elliott oh ok, does it matter which method that I use to update to trunk?
-
RE: Failed vista image upload help
I’ll go ahead and apologize before hand if I needed to create a new post here. I know that this is a really old post, but I have come back to these laptops and trying to deploy a vista image to them now that I have updated fog versions. I am using fog 1.2.0 on ubuntu 12.04. I have been successful at deploying linux mint 17, ubuntu 12.04 and 14.04 to these laptops. When I try to do a clean install of vista it seems to upload just fine, but on deployment, it starts going through the process;
checking os…windows vista
checking cpu cores…2
send method…nfs
attempting to send inventory…done
etc, etcgoes all the way down to changing hostname…done
updating computer database status
database updated
task is completed, computer will now restart, but it never actually deploys. Computer will reboot and black screen with missing OS.Any ideas or suggestions.
Again these are Lenovo SL500s
-
RE: OS reinstall
@Tom-Elliott Oh ok. I just thought all that would be pulled from the database backup.
-
RE: OS reinstall
@Tom-Elliott Yes I used 1.2.0. I have edited the file and was able to restore my database, but when I go to image management, there are no images listed. My path is correct in storage management and my /images directory has all my images
-
RE: OS reinstall
@ITSolutions Ok, I have reinstalled 12.04 and installed fog and tried to import my database backup but it says can’t upload file. I have uploaded all of my hosts from .csv file, but when I look in the image management section, I can’t find my images. In the filesystem, the /images directory is where all of my images are located. It just auto mounted into the /images directory. Any ideas as to what maybe happening?
-
RE: Upload issues on laptop with hybrid drive
@Tom-Elliott Sorry for the confusion, was just saying that at that time, before reading your post on the 14.04 issue with mysql, the only way I had been told to fix that problem was to go through the install process of fog again.
As for the image type question, I didn’t know if that would have any effect on this or not.
-
RE: Upload issues on laptop with hybrid drive
@Tom-Elliott After reinstalling fog again to be able to access the web interface, I looked in my images path and it is listed in for to go directly to the /images/hpenvy folder. One question that I have is that with this being a hybrid drive and the OS only on one of the drives, does it matter which image typed that it is; type 2 or type 3 for single disk vs all disk?
No I have not gone through the troubleshoot_ftp yet -
RE: Upload issues on laptop with hybrid drive
@Tom-Elliott Well, my problem is that with my system, I have ubuntu 14.04 and fog 1.2.0 and it has been very buggy ever since I upgraded to 14.04. If my computer ever restarts, I basically have to go back and reinstall fog because I get the error on the web interface saying that the schema needs to be updated or installed. I just ran the backup script and am planning on going back to 12.04 and then import my database after I install fog.
I know which system that it is and what image is supposed to be assigned to it. I gave the system and the image a specific name, however the image did not get uploaded that way to my /images folder in fog.