Re: Install problems with VCL

2011-03-23 Thread Frento Burton
Well guys,

I finally found the problem. It was a naming error in my secrets.php file.
As it turns out, I was using the wrong name for the $vclhost. I was using my
'computername'@localhost but when I changed this to simply localhost, the
VCL login page finally appeared. Thanks for every one's input, it was
greatly appreciated. I'm sure I will have more question to come.


Re: Install problems with VCL

2011-03-10 Thread Andy Kurth

I think this line may be the problem:
$myhost='<138.238.148.123>';

Try removing < and >:
$myhost='138.238.148.123';

-Andy


On 2/22/2011 8:05 PM, Frento Burton wrote:

Oh sorry, I actually made those modifications to the .ht-inc/conf.php file.
Here is what the top sections looks like:


**
http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.
*/

$myhost='<138.238.148.123>';

define("ONLINEDEBUG", 1); // 1 to display errors to screen, 0 to email
errors


   Things in this section must be modified
#

define("BASEURL", "https://$myhost/vcl";);   // no trailing slash - all of
the URL except /index.php
define("SCRIPT", "/index.php"); // this should only be
"/index.php" unless you rename index.php to something else
define("HELPURL", "https://vcl.example.org/help/";);
define("HELPFAQURL", "http://vcl.example.org/help-faq/";);
define("HELPEMAIL", "vcl_h...@example.org");
define("ERROREMAIL", "webmas...@example.org");
define("ENVELOPESENDER", "webser...@example.org");   // email address for
envelope sender of mail messages
  //   if a message gets
bounced, it goes to this address
define("COOKIEDOMAIN", "");   // domain in which cookies are set
define("HOMEURL", "https://$myhost/vcl";); // url to go to when someone
clicks HOME or Logout





Re: Install problems with VCL

2011-03-01 Thread Alexander Patterson
Hello Fento,

Have you add the information about your Managment Node and Web Page
URL to your secrets.php file.

Also Did you setup the Mysql?

yum install mysql -y
yum install mysql-server -y
/sbin/chkconfig --level 345 mysqld on
/sbin/service mysqld start

Enter into mysql

mysql

Create a database in mysql named for use with VCL

CREATE DATABASE vcl;

create a user with SELECT, INSERT, UPDATE, and DELETE privileges on
the database you just created

GRANT SELECT,INSERT,UPDATE,DELETE ON vcl.* TO 'vcluser'@'localhost'
IDENTIFIED BY 'YOUR VCL PASSWORD HERE';

Another Way is to manually type in

Check and Make sure

mysql -u vcldbuser2 -h localhost –p

Log in and make sure your password will match your secrets file

For the Secrets file

vim secrets.php
should be located vcl/.ht-inc/secrets.php

mv secrets-default.php secrets.php

You need to make changes to
 $vclhost, $vcldb, $vclusername, and $vclpassword to match your database setup

Hope this is helpful.

-Alex

On Tue, Mar 1, 2011 at 8:23 AM, Frento Burton  wrote:
> Do you think errors made in the modifications to the vcl/.ht-inc/secrets.php
> file would cause the "Error connecting to name@localhost" message? Also,
> were there any modifications that needed to be made to the index.php file?
>



-- 
Thanks,
Alex  Patterson
User Support Services
Operating System Analyst
California State University, East Bay


Re: Install problems with VCL

2011-03-01 Thread Frento Burton
Do you think errors made in the modifications to the vcl/.ht-inc/secrets.php
file would cause the "Error connecting to name@localhost" message? Also,
were there any modifications that needed to be made to the index.php file?


Re: Install problems with VCL

2011-02-25 Thread Frento Burton
I can in fact view the testsetup.php through my browser, I'm assuming that
means php is configured correctly and that isn't the source of the problem?


Re: Install problems with VCL

2011-02-24 Thread Josh Thompson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Have you tried viewing the testsetup.php page?

Josh

On Tuesday February 22, 2011, Frento Burton wrote:
> Oh sorry, I actually made those modifications to the .ht-inc/conf.php file.
> Here is what the top sections looks like:
> 
> 
> ***
> ***  /*
>   Licensed to the Apache Software Foundation (ASF) under one or more
>   contributor license agreements.  See the NOTICE file distributed with
>   this work for additional information regarding copyright ownership.
>   The ASF licenses this file to You under the Apache License, Version 2.0
>   (the "License"); you may not use this file except in compliance with
>   the License.  You may obtain a copy of the License at
> 
>   http://www.apache.org/licenses/LICENSE-2.0
> 
>   Unless required by applicable law or agreed to in writing, software
>   distributed under the License is distributed on an "AS IS" BASIS,
>   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
>   See the License for the specific language governing permissions and
>   limitations under the License.
> */
> 
> $myhost='<138.238.148.123>';
> 
> define("ONLINEDEBUG", 1); // 1 to display errors to screen, 0 to email
> errors
> 
> 
>    Things in this section must be modified
> #
> 
> define("BASEURL", "https://$myhost/vcl";);   // no trailing slash - all of
> the URL except /index.php
> define("SCRIPT", "/index.php"); // this should only be
> "/index.php" unless you rename index.php to something else
> define("HELPURL", "https://vcl.example.org/help/";);
> define("HELPFAQURL", "http://vcl.example.org/help-faq/";);
> define("HELPEMAIL", "vcl_h...@example.org");
> define("ERROREMAIL", "webmas...@example.org");
> define("ENVELOPESENDER", "webser...@example.org");   // email address for
> envelope sender of mail messages
>  //   if a message gets
> bounced, it goes to this address
> define("COOKIEDOMAIN", "");   // domain in which cookies are set
> define("HOMEURL", "https://$myhost/vcl";); // url to go to when someone
> clicks HOME or Logout
> 
> ***
> *
- -- 
- ---
Josh Thompson
VCL Developer
North Carolina State University

my GPG/PGP key can be found at pgp.mit.edu
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.16 (GNU/Linux)

iEYEARECAAYFAk1moXAACgkQV/LQcNdtPQOj8QCeNMVLpCZEFp9+nxjMaA6sUFKf
JNUAn29Y2pXBfYsMfvWWYJKcFCX/K1Ll
=f2iP
-END PGP SIGNATURE-


RE: Install problems with VCL

2011-02-24 Thread mcraft2
I experienced the same problem with FC14, my solution was that I had SELinux 
set to enforce and ran the following command to enable socket connections from 
httpd:
"setsebool -P httpd_can_network_connect 1"
 

-Original Message-
From: Frento Burton [mailto:fbur...@scs.howard.edu] 
Sent: Tuesday, February 22, 2011 8:05 PM
To: vcl-dev@incubator.apache.org
Subject: Re: Install problems with VCL

Oh sorry, I actually made those modifications to the .ht-inc/conf.php file.
Here is what the top sections looks like:


**
http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.
*/

$myhost='<138.238.148.123>';

define("ONLINEDEBUG", 1); // 1 to display errors to screen, 0 to email
errors


   Things in this section must be modified
#

define("BASEURL", "https://$myhost/vcl";);   // no trailing slash - all of
the URL except /index.php
define("SCRIPT", "/index.php"); // this should only be
"/index.php" unless you rename index.php to something else define("HELPURL", 
"https://vcl.example.org/help/";); define("HELPFAQURL", 
"http://vcl.example.org/help-faq/";);
define("HELPEMAIL", "vcl_h...@example.org"); define("ERROREMAIL", 
"webmas...@example.org");
define("ENVELOPESENDER", "webser...@example.org");   // email address for
envelope sender of mail messages
 //   if a message gets
bounced, it goes to this address
define("COOKIEDOMAIN", "");   // domain in which cookies are set
define("HOMEURL", "https://$myhost/vcl";); // url to go to when someone clicks 
HOME or Logout






Re: Install problems with VCL

2011-02-22 Thread Frento Burton
Oh sorry, I actually made those modifications to the .ht-inc/conf.php file.
Here is what the top sections looks like:


**
http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.
*/

$myhost='<138.238.148.123>';

define("ONLINEDEBUG", 1); // 1 to display errors to screen, 0 to email
errors


   Things in this section must be modified
#

define("BASEURL", "https://$myhost/vcl";);   // no trailing slash - all of
the URL except /index.php
define("SCRIPT", "/index.php"); // this should only be
"/index.php" unless you rename index.php to something else
define("HELPURL", "https://vcl.example.org/help/";);
define("HELPFAQURL", "http://vcl.example.org/help-faq/";);
define("HELPEMAIL", "vcl_h...@example.org");
define("ERROREMAIL", "webmas...@example.org");
define("ENVELOPESENDER", "webser...@example.org");   // email address for
envelope sender of mail messages
 //   if a message gets
bounced, it goes to this address
define("COOKIEDOMAIN", "");   // domain in which cookies are set
define("HOMEURL", "https://$myhost/vcl";); // url to go to when someone
clicks HOME or Logout




Re: Install problems with VCL

2011-02-22 Thread David Hutchins
There is an example conf file in the .ht-inc directory that you need to
copy/rename to conf.php and then update the settings for your site.

On Feb 22, 2011 3:29 PM, "Frento Burton"  wrote:
>
> Well, there is actually nothing theredid I miss a step in the php
> installation portion?


Re: Install problems with VCL

2011-02-22 Thread Frento Burton
Well, there is actually nothing theredid I miss a step in the php
installation portion?


Re: Install problems with VCL

2011-02-22 Thread David Hutchins
What does the top section of your .ht-inc/conf.php look like?

On Mon, Feb 21, 2011 at 8:58 PM, Frento Burton wrote:

> Hi all,
>
> I am installing VCL on a Dell Desktop running Fedora 13. I have reached the
> Management node installation. However upon typing https:/'my ip
> address'/vcl, I do not see the login screen. Instead the browser displays
> the error message "Error connecting to name@localhost". I know this is
> rather broad and there could be many reason the VCL login screen does not
> appear. I am wondering if anyone knows where to begin troubleshooting for
> this type of problem. I begin troubleshooting by looking at the
> dependencies
> of php, apache, and mysql. Checking the dependencies for mysql returns this
> error message;
>
> /usr/libexec/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql
> --log-error=/var/log/mysqld.log --pid-file=/var/run/mysqld/mysqld.pid
> --socket=/var/lib/mysql/mysql.sock
>
>
>  Maybe there's some quicker solution that I am unaware of, your response is
> greatly appreciated.
>