Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Domain setup has an issue #8

Open
drmike opened this issue Jun 13, 2011 · 3 comments
Open

Domain setup has an issue #8

drmike opened this issue Jun 13, 2011 · 3 comments

Comments

@drmike
Copy link

drmike commented Jun 13, 2011

Tried doing the domain comment line:

bash setup-debian.sh domain cynix.us

And got the following:

Created cynix (OWQ1ZTdmYjc2O) with all permissions on cynix_us
setup-debian.sh: line 512: name: command not found
Reloading nginx configuration: nginx.
Created /var/www/cynix.us, /var/www/log/cynix.us, and /etc/nginx/sites-enabled/cynix.us.conf

The script creates an index.php within root with the following contents:

exec("CREATE TABLE IF NOT EXISTS ( varchar(100)) ENGINE=MyISAM"); $result = $db->query("SHOW TABLES"); while ($row = $result->fetch()) { var_dump($row); }
@drmike
Copy link
Author

drmike commented Jun 20, 2011

bumpie :)

This is a showstopper for us.

@ovizii
Copy link

ovizii commented Jun 28, 2011

not sure what it is supposed to do, I got the same problem line 511-512 reads:

# Create sample database script cat > "/var/www/$1/index.php" <<END

so I guess its not a big deal...

@ovizii
Copy link

ovizii commented Jun 28, 2011

more concerned about the few lines before those:

# Save the new MySQL user/pass in a file in that directory echo "Created $userid ($passwd) with all permissions on $dbname"
not sure where that file should be located and if my DB has been created?

asimzeeshan referenced this issue in asimzeeshan/lowendscript Nov 18, 2012
Fix locale, MOTD & updates to Webmin
peterdorsi referenced this issue in peterdorsi/lowendscript May 15, 2013
Fix locale, MOTD & updates to Webmin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants