Run the install with the -X switch. I ran into this the other night.
Posts made by Fog_Newb
-
RE: Fog installation failed
-
RE: Dev branch 1.5.9.79 Installing package: php-gettext.............................Failed! has to use -X switch to get it to work.
Okay. I will try it later. I was going to post this under Bug Reports initially but I wasn’t sure if something was up with my Ubuntu install. This is the first time I installed Desktop Ubuntu. I am a wicked newb and could not figure out how to properly make the EFI\ESP partition to EFI boot Ubuntu with the server install.
-
RE: Dev branch 1.5.9.79 Installing package: php-gettext.............................Failed! has to use -X switch to get it to work.
@sebastian-roth said in Dev branch 1.5.9.79 Installing package: php-gettext.............................Failed! has to use -X switch to get it to work.:
@Tom-Elliott Do you know if
php-gettext
is in use anymore? Don’t really think it is because:- It’s only part of the Ubuntu/Debian/Mint
packages
variable but not for other distros. - Ubuntu 20.04 does not install it anyway:
* Skipping package: php-gettext...............................(Does not exist)
So I’d think we better remove it from the [packages list]
Thanks
Could I have edited config.sh in a text editor, removed
php-gettext
or edited to readphp-php-gettext
on thepackages=
line, saved it and re-run the setup without errors? I should just try it and see but not able to ATM. - It’s only part of the Ubuntu/Debian/Mint
-
Dev branch 1.5.9.79 Installing package: php-gettext.............................Failed! has to use -X switch to get it to work.
I had to reinstall Ubuntu fresh and along with it FOG. The install wouldn’t complete. It seems to fail finding php-gettext. I installed that package manually without any errors and\set the locales.
php-php-gettext is already the newest version (1.0.12-4).
I ran the FOG installer again but ran into the same error.
UPDATE: After searching this forum, (IKR?), someone else ran into a similar problem and there is a workaround.
https://forums.fogproject.org/topic/6781/php5-gettext/2?_=1619910130139
Thanks
-
RE: dnsmasq won't start automatically. [SOLVED]
@george1421 said in dnsmasq won't start automatically. [SOLVED]:
@fog_newb Well there are really two commands you need to use.
- Enable the service to start every reboot
systemctl enable dnsmasq
- To start the service now
systemctl start dnsmasq
These are two distinct actions and one doesn’t depend on the other.
Thanks. I have used both of those commands before trying to get it to autostart on boot. I haven’t used them since running
sudo systemctl enable dnsmasq
, which was the one that got dnsmasq starting on boot for me. Perhaps since I used those commands prior it is all good?I went through my bash history and saw I almost used
sudo systemctl enable dnsmasq
I had the syntax messed up though. I usedsudo systemctl dnsmasq enable
I am really starting to like Linux. I digress, I am mostly a casual so I doubt I will ever have it on my daily driver but I am thinking about trying it on a laptop. I don’t know though, sometimes, I just like to point and click.
- Enable the service to start every reboot
-
RE: dnsmasq won't start automatically. [SOLVED]
Hello,
Nice! that worked. I’d swear I had tried that before as I was scouring different dnsmasq guides most of the night trying to get it started automatically.
Thanks again.
That thing it did after running the command, I never saw that come up last night.
-
RE: dnsmasq won't start automatically. [SOLVED]
Ooops I got the formatting wrong. Here is a text output.
-
dnsmasq won't start automatically. [SOLVED]
Sorry guys I am frazzled been up all night messing more with Linux.
dnsmasq is in rc.d and after booting
service --status-all
shows dnsmasq present in the list but it has a minus sign (not started). Starting dnsmasq manually - all good no errors.
My router runs DHCP and dnsmasq is (now) on the FOG server for UEFI and Legacy PXE boot. The awesome guide by @george1421 worked like a charm.
https://forums.fogproject.org/topic/12796/installing-dnsmasq-on-your-fog-server
I found this in syslog
Apr 26 07:25:25 fogger systemd[1]: Starting dnsmasq - A lightweight DHCP and caching DNS server... Apr 26 07:25:25 fogger dnsmasq[2610]: started, version 2.84rc2 DNS disabled Apr 26 07:25:25 fogger dnsmasq[2610]: compile time options: IPv6 GNU-getopt DBus no-UBus i18n IDN2 DHCP DHCPv6 no-Lua TFTP conntrack ipset auth cryptohash DNSSEC loop-detect inotify dumpfile Apr 26 07:25:25 fogger dnsmasq-dhcp[2610]: DHCP, proxy on subnet 192.168.1.100 Apr 26 07:25:25 fogger systemd[1]: Started dnsmasq - A lightweight DHCP and caching DNS server. Apr 26 07:25:25 fogger systemd[1]: Reached target Host and Network Name Lookups.
Then further down in syslog dnsmasq entries related to the ltsp.conf settings. There are no errors or anything.
I can provide any logs or confs if needed to solve the problem. I am so close and was thinking I could just start the service using cron
@reboot sudo service dnsmasq start
That seems like cheating and there has to be a correct way to do it.
Thanks
-
RE: Ubuntu 21.04: FOG 1.5.9.68 was working then I tried updating to fog dev branch 1.5.9.73 failed... Why is FOG looking for and trying to install PHP 7.1? Please help error log inside.
It was just a hiccup. Running the installer again without git pull there weren’t any errors.
-
RE: Ubuntu 21.04: FOG 1.5.9.68 was working then I tried updating to fog dev branch 1.5.9.73 failed... Why is FOG looking for and trying to install PHP 7.1? Please help error log inside.
Thank you.
There was one error during the upgrade process but it completed.
- Installing package: php7.4-mysql…Failed! (Will try later)
Everything seems to be working so far. copied over the inits for dual NVMe and I was able to capture an image without any problems.
-
RE: Ubuntu 21.04: FOG 1.5.9.68 was working then I tried updating to fog dev branch 1.5.9.73 failed... Why is FOG looking for and trying to install PHP 7.1? Please help error log inside.
Thanks. I do have Internet access and have been updating FOG dev branch every time a new version is released. PHP 7.1 packages are not available on 21.04. I just think it is odd that it is looking for 7.1.
-
Ubuntu 21.04: FOG 1.5.9.68 was working then I tried updating to fog dev branch 1.5.9.73 failed... Why is FOG looking for and trying to install PHP 7.1? Please help error log inside.
I just upgraded to Ubuntu 21.04 everything was great then I tried to update to 1.5.9.73 from 1.5.9.68 but got these error messages about php. Now I can not access the fog web management. It just displays the php code. I can’t pxe boot either.
Why is FOG looking for and trying to install PHP 7.1? Isn’t that really old?
When I ran $ php -version shows PHP 7.4.16 (cli)
When I try to upgrade FOG again it removes php and apache and tries to reinstall them but the same error occurs.
-
RE: M.2 not recognised during deploying stage
@will said in M.2 not recognised during deploying stage:
But when put these 2 modules together
What do you mean by put them together? Like in onboard RAID?
Is it possible like with NVMe drives, the M.2s are initializing at different times during the boot process and the drives switch places? Like changes from say /dev/nvme0n1 to /dev/nvme1n1?
-
RE: NVMe madness
Thanks. I updated and instead of checking I got lazy and posted. Where can I find info on what’s changed in each dev build? Github didn’t seem to have anything listed.
-
RE: NVMe madness
Quick question. Does 1.5.9.36 dev build have these NVME related intits?
-
RE: NVMe madness
So yes, this is a perfect solution since Primary host disk can now be set by size. I have one image for the OS disk, and one for the “D” drive. I just switch the Primary Host disk setting depending on which image I want to capture or deploy.
-
RE: NVMe madness
I copied over the updated init.xz to
/var/www/html/fog/service/ipxe/
Then set the host primary disk to 1000204886016 and attempted to capture
It worked great
Thank you very much