Script Installer Not Working

I was trying to install piwik.

Got no response.

Status: 
Active

Comments

Howdy -- we're sorry that you've having problems installing Pwiki.

I'm not sure I understand the issue you're seeing though -- can you describe what happens when you try to perform the installation? What options are you enabling, and what output do you see during the installation process?

bislinks's picture
Submitted by bislinks on Mon, 11/25/2013 - 12:09 Pro Licensee

Once I click 'Install Now',' nothing happens...

bislinks's picture
Submitted by bislinks on Mon, 11/25/2013 - 12:12 Pro Licensee

I tried installing WordPress. No output at all. My options were Folder: /blog. New Database.

bislinks's picture
Submitted by bislinks on Mon, 11/25/2013 - 12:14 Pro Licensee

Oh, This is what I got when I tried in FireFox25 in win 8.1. No output at all in IE.

Failed to install script : Failed to lock file /etc/httpd/conf/httpd.conf after 5 minutes. Last error was :

Okay, what output do you receive if you run this command:

find /etc -name "*.lock"

bislinks's picture
Submitted by bislinks on Mon, 11/25/2013 - 13:23 Pro Licensee

Output: /etc/.pwd.lock /etc/httpd/conf/httpd.conf.lock

Okay, try running the following commands as root from the command line in order to correct that:

/etc/init.d/webmin stop
rmĀ  /etc/.pwd.lock
rm /etc/httpd/conf/httpd.conf.lock
/etc/init.d/webmin start

After running those commands, are you then able to install the scripts that weren't previously working?

bislinks's picture
Submitted by bislinks on Mon, 11/25/2013 - 14:33 Pro Licensee

Starts the install but stops at

Downloading http://scripts.virtualmin.com:80/piwik-1.12.zip (6.68 MB) .. Received 1024 bytes (0 %) Received 685 kB (10 %) Received 1.34 MB (20 %) Received 2 MB (30 %) Received 2.67 MB (40 %)

But the script is not installed into domain when I check after a few minutes..

Hmm, I don't seem to be able to reproduce the problem that you've having.

What output do you receive if you run these commands:

find /etc -name "*.lock"
dmesg | tail -30
free -m

Also, do you see any errors in /var/webmin/miniserv.error?

And lastly -- has your server been experiencing any network or resource problems?

bislinks's picture
Submitted by bislinks on Mon, 11/25/2013 - 16:31 Pro Licensee

/etc/httpd/conf/httpd.conf.lock

dmesg | tail -30 usb 2-6: New USB device found, idVendor=1bbb, idProduct=0168 usb 2-6: New USB device strings: Mfr=2, Product=3, SerialNumber=4 usb 2-6: Product: MT65xx Android Phone usb 2-6: Manufacturer: MediaTek usb 2-6: SerialNumber: usb 2-6: configuration #1 chosen from 1 choice usb 2-6: USB disconnect, device number 9 usb 2-6: new high speed USB device number 10 using ehci_hcd usb 2-6: New USB device found, idVendor=1bbb, idProduct=0168 usb 2-6: New USB device strings: Mfr=2, Product=3, SerialNumber=4 usb 2-6: Product: MT65xx Android Phone usb 2-6: Manufacturer: MediaTek usb 2-6: SerialNumber: usb 2-6: configuration #1 chosen from 1 choice usb 2-6: USB disconnect, device number 10 usb 2-6: new high speed USB device number 11 using ehci_hcd usb 2-6: New USB device found, idVendor=1bbb, idProduct=0168 usb 2-6: New USB device strings: Mfr=2, Product=3, SerialNumber=4 usb 2-6: Product: MT65xx Android Phone usb 2-6: Manufacturer: MediaTek usb 2-6: SerialNumber: usb 2-6: configuration #1 chosen from 1 choice usb 2-6: USB disconnect, device number 11 usb 2-6: new high speed USB device number 12 using ehci_hcd usb 2-6: New USB device found, idVendor=1bbb, idProduct=0168 usb 2-6: New USB device strings: Mfr=2, Product=3, SerialNumber=4 usb 2-6: Product: MT65xx Android Phone usb 2-6: Manufacturer: MediaTek usb 2-6: SerialNumber: usb 2-6: configuration #1 chosen from 1 choice

============================================

free -m total used free shared buffers cached Mem: 3833 3294 538 0 173 778 -/+ buffers/cache: 2342 1490 Swap: 3967 583 3384

bislinks's picture
Submitted by bislinks on Mon, 11/25/2013 - 15:19 Pro Licensee

I haven't noticed any network or resource problem recently.

Okay, I see something very bizarre going on with Piwik -- but before we get into that, can you try a quick test?

Are you now able to install other scripts, such as WordPress?

bislinks's picture
Submitted by bislinks on Mon, 11/25/2013 - 18:42 Pro Licensee

Yes, I can install wordpress but not Piwik. PhpMyAdmin also fails.

Okay, that's good that WordPress works.

The problem with Piwik -- unfortunately, I can't seem to reproduce this on any system but yours.

However, what I'm seeing is that the download cuts out after downloading exactly 2.9MB.

I tested a number of other files from the Virtualmin software repository from your server, and only that one file had a problem.

But it's reproducible, it happens each time I test it on your server.

Also, this issue doesn't occur on other systems.

That makes me wonder if there's something unusual going on there... do you by chance have a router or firewall in front of your server that performs any filtering? I'm wondering if maybe something about that file is being incorrectly detected as a virus.

bislinks's picture
Submitted by bislinks on Mon, 11/25/2013 - 19:47 Pro Licensee

Of course, the server is behind a router. But as far as I know the server IP is in DMZ and I have no other filers in place.

My only other guess then is that your ISP may be performing some sort of filtering that's causing the problem.

Do you by chance have any other computers on your LAN?

If so, I'd be curious if you can download all of this file on one of them:

http://scripts.virtualmin.com:80/piwik-1.12.zip

It should be 6.7MB.

bislinks's picture
Submitted by bislinks on Mon, 11/25/2013 - 22:57 Pro Licensee

Tried on another PC with windows 8.1; The download stops/halts at 42% at 2.20MB/sec.

You are right. Something is interfering the complete download of this file. May be Router or ISP.

Will look into it further tomorrow first thing in the morning.

Thanks Eric for all your hard work/efforts.

bislinks's picture
Submitted by bislinks on Tue, 11/26/2013 - 20:49 Pro Licensee

Today, while doing another task I got a similar error. This time, there are some extra details on it, I believe. Not sure if these errors are related to what we have discussed in this report...

===== Changing domain name to books.bislinks.com .. Changing administration user to books .. Changing home directory to /home/books ..

Modifying administration user ..

.. Administration user failed! : Failed to lock file /var/spool/cron/root after 5 minutes. Last error was : at /usr/libexec/webmin/web-lib-funcs.pl line 1376.

And then it took kind a forever to load/reload....

And then, when I did recheck configuration, I got this error:

Warning: DocumentRoot [/home/rachelmurthy/public_html] does not exist Warning: DocumentRoot [/home/bl21710103/public_html] does not exist Syntax error on line 1816 of /etc/httpd/conf/httpd.conf:

Wrapper /home/bl21710103/fcgi-bin/php5.fcgi cannot be accessed: (2)No such file or directory

Hmm, that may be a remnant of that original script not working.

I didn't think Virtualmin would lock files in /var/, but apparently it does!

What output does this show:

find /var -name "*.lock"

bislinks's picture
Submitted by bislinks on Wed, 11/27/2013 - 14:13 Pro Licensee

find /var -name "*.lock"

/var/spool/cron/analytics.lock /var/spool/cron/root.lock /var/spool/cron/legacy.lock /var/spool/postfix/postgrey/postgrey.lock /var/lib/rpm/.rpm.lock /var/lib/postfix/master.lock /var/run/console/console.lock

/var/run/rpcbind.lock

Yeah, those likely occurred due to that other Install Script failing.

My suggestion would be to stop Webmin, delete those .lock files, and then to startup Webmin again.

Also, while you're at it, it wouldn't hurt to double-check /etc for any lockfiles.