Hi, after installing this to my local Wamp server, prior to the welcome to drupal screen, the Profile install throws the following error.

Fatal error: Call to undefined function posix_getgrgid() in C:\wamp\www\hostmaster\profiles\hostmaster\modules\provision\provision.module on line 78

Here's the lines in question

$info = posix_getgrgid(posix_getgid());
  define('PROVISION_WEB_GROUP', variable_get('provision_web_group', $info['name']));

I've tried changing my password settings from nopass to yespass but still did nothing.
Also re-tried with earlier version of provision.

Can someone please help me out?

Comments

theohawse’s picture

This is probably a given but I'm using the hostmaster Install Profile v3

adrian’s picture

Title: Fatal error Upon Fresh Install » Document requirements of posix_* functions being built into php.

You need to have the posix lib included in your php build. It is enabled on most standard servers in unix.

Was this compiled from source. Regardless, this needs to be documented.

theohawse’s picture

I've done numerous searches on the posix library and can't find any way to enable this in my wamp server.
Is this something to do with my OS, or is this supposed to work on a standard wamp server?
Couldn't find anything in httpd.conf either.

adrian’s picture

Title: Document requirements of posix_* functions being built into php. » hook_requirements implementation to detect lack of posix api and/or WAMP installations.

Aegir will not work on windows hosts.

I've updated the documentation on the http://groups.drupal.org/aegir/overview page, and it was also documented on the first page of the wizard.

We need to have a hook_requirements implementation to check for this before installation, so that we can stop people from running into a brick wall with this.

adrian’s picture

Status: Active » Fixed

Fixed in HEAD.

Sorry but windows is just completely unsupported, and there is little to no chance of that changing in the future as the base libraries required are not available for windows, to say nothing of the inadequate command line support.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

  • Commit 327f7c2 on debian, dev-dns, dev-envobject, dev-koumbit, dev-log_directory, dev-migrate_aliases, dev-multiserver-install, dev-newhooks, dev-nginx, dev-platform_management, dev-ports, dev-purgebackup, dev-restore, dev-services, dev-simplerinstaller, dev-site_rename, dev-ssl, dev_716166_apache_conf, dev_dns, dev_server_verify, prod-koumbit, ssl, dev-ssl-ip-allocation-refactor, dev-1205458-move_sites_out_of_platforms, 7.x-3.x, dev-subdir-multiserver, 6.x-2.x-backports, dev-helmo-3.x authored by adrian:
    #312515 - add requirements hook to ensure that we have the posix...