Can't complete the fog install!
-
Your own log is telling you something else is screwed up.
Press enter to acknowledge this message.
E: dpkg was interrupted, you must manually run ‘sudo dpkg --configure -a’ to correct the problem.
- Installing package: mysql-client
-
well yes there was an interruption, as this isn’t the first install’s log, but subsequent, after it got stuck as well.
apache log can’t post here, so its at pastebin
[url]http://pastebin.com/FAYdac7U[/url]
ive searched a plenty… and my eyes are square, so i will need to leave this till tomorrow.
-
First thing I notice,
[Thu Feb 12 00:13:05 2015] [warn] (101)Network is unreachable: connect to listener on [::]:80
-
funny as theres no firewall I dont think, its a fresh install of debian
-
There is always a firewall installed on Ubuntu, called
ufw.
[code]sudo ufw disable[/code]
What worries me though is you seem to have performed steps before you knew what to do.
Meaning you had mysql installed before installing fog, so how many problems.
-
I have also purged mysql and let it install with fog too. the first time mysql simply wouldn’t start - until I hashed out the bind-address line - so i tried then to install it before fog.
this is debian not ubuntu!!
-
Why?
The bind-address will need to be commented out later, but if you’re specifying a mysql password, then why not enter it on your localhost (of which bindaddress is defaulted to anyway)?
-
I last installed mysql without password, just blanks
plus what you suggest is not given in the user guide so how would I know (I’m not a server experienced person)
-
what do you mean it’s not in the userguid?
What guide, exactly, did you follow?
It looks like you have done whatever you think is correct based on other peoples ideas.
Rather than looking at what’s changed between versions, you went under an assumption to set mysql password in the /opt/fog/etc/config.php file (which won’t work)
You say it’s not there, but I want to know what you’re reading and failing to understand.
-
I found that I should change Listen 80 to Listen 0.0.0.0:80 in /etc/apache2/ports.conf
for that apache error, and restart it, but I still can’t access fog in web browser
-
Pls refer to top post! link to user guide for other versions of Linux - ie Debian. That’s what I followed, official fog pages right?
I only search for answers when problems happened, like not what was expected from following the guide.
-
You mean [url]http://www.fogproject.org/wiki/index.php/Installation_on_Debian_Lenny[/url]
Which is for 0.32 installation of Debian Lenny,
Not FOG 1.2.0 on Debian Wheezy?
-
Well, you are correct in that Lenny is not my release of Debian.
I got to that page from the front page of the User Guide here [url]http://fogproject.org/wiki/index.php/FOGUserGuide[/url]
link:
2 Installing FOG > 2.2 Installation on different distributions of Linux >> Debian > Debian Wheezy -
To be honest, the guide for say, Ubuntu 12.10, looks pretty much the same.
-
Look,
I’m trying to help, but I’m not getting very far. I know I’m coming off rude, but I’m trying to understand where you got the ideas to try the “tricks” you’ve tried while you’re blatently missing the idea of how to install fog following the “official” documentation.
FOG 1.x.x is fairly new and I’m the “new kid” on the block for the developement of anything 1.x.x and potentially further.
When I’m tryign to make suggestions it is in all honesty an attempt to assist a person out.
I really do want to know what and how you came to the troubleshooting things you did.
But to further add to my confusion:
If the guide (our official documentation as you put it) tells you to download 0.32 and install it using the following instructions, where do you get downloading something COMPLETELY different and attempting to install it?
-
Ok, no I didn’t copy the exact command that is on that page, because I know fog has developed pretty fast over 2014, so I downloaded straight from the link to sourceforge, the tar.gz, fog 1.2.0
-
thanks Tom, for doing your best to help, I’ve gotta go, its 2.37am here.
-
If you copied and pasted the exact information in that install guide that means you copied the example that was 0.32. Please see that wiki again after the resent update. It should be more clear.
[url]http://fogproject.org/wiki/index.php/Installation_on_Debian_Lenny[/url]
-
I’m back, @wolf
I said that i didn’t just cut and paste that install line for fog 0.32, I downloaded 1.2.0 from big bold link on the fog home page. That 0.32 no longer exists anyways!My problems: 1. Mysql failed to start during fog install… solution: I comment out bind-address
2. Cannot get to the fog management page when prompted to… Apache error log reports not connecting on 80
So I need a solution to this… it might be apache or mysql password - but I just installed mysql with blanks.Thanks
-
This morning, apache log does not report an error when trying to connect to fog management, only this
[Thu Feb 12 10:02:31 2015] [notice] Apache/2.2.22 (Debian) PHP/5.4.36-0+deb7u3 configured – resuming normal operations
[CODE]sudo lsof -i :80
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
chromium 4655 fog 155u IPv4 33318 0t0 TCP debian.local:46894->a125-252-236-186.deploy.akamaitechnologies.com:http (CLOSE_WAIT)
apache2 9661 root 3u IPv4 32521 0t0 TCP *:http (LISTEN)
apache2 9681 www-data 3u IPv4 32521 0t0 TCP *:http (LISTEN)
apache2 9682 www-data 3u IPv4 32521 0t0 TCP *:http (LISTEN)
apache2 9683 www-data 3u IPv4 32521 0t0 TCP *:http (LISTEN)
apache2 9684 www-data 3u IPv4 32521 0t0 TCP *:http (LISTEN)
apache2 9685 www-data 3u IPv4 32521 0t0 TCP *:http (LISTEN)[/CODE][CODE]sudo netstat -lnp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN 3601/mysqld
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 1857/rpcbind
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 9661/apache2
…[/CODE]