Welcome, Guest. Please login or register.

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - jbruyet

Pages: [1] 2
1
Installation / Re: Sigh, I must have a typo in NeDi password
« on: October 23, 2017, 05:50:06 PM »
Yep, that got it.  :)

Thanks!

Joe B 

2
Installation / Sigh, I must have a typo in NeDi password
« on: October 20, 2017, 05:48:42 PM »
Hey all, I must have a typo in my password list for NeDi. I've tried a couple different login names and a few variations of what I thought was the password but no joy. Is there a way to reset the password from the command line on the server? I took at look at the NeDi Guide but didn't see anything there (well, except for using the GUI). Hopefully I won't have to do a Nuke & Repopulate.

Any help here would be greatly appreciated.

Thanks,

Joe B

3
Installation / Re: It's installed but I get a 403 error from the web page
« on: October 19, 2017, 10:49:34 PM »
Thanks Rickli, I downloaded Ubuntu 16, did the script tweak, ran it and now NeDi is running.

Thanks,

Joe B

4
Installation / Re: It's installed but I get a 403 error from the web page
« on: October 17, 2017, 05:47:14 PM »
Quick question -- I've been using 64 bit Ubuntu so I checked to see if NeDi needs 32 bit but I can't find any information as to the preferred bit-ness. Should I be using 32 bit Ubuntu?

Thanks,

Joe B

5
Installation / Re: It's installed but I get a 403 error from the web page
« on: October 17, 2017, 05:39:53 PM »
Well, since I just did another fresh install and I'm getting the same error I think I'll try that. Hopefully I'll be back with a happy face.

Thanks,

Joe B

6
Installation / Re: It's installed but I get a 403 error from the web page
« on: October 16, 2017, 10:52:40 PM »
I've been looking around for nginx fixes and from what I can see nginx is working fine. File permissions are fine. I checked the nginx error log and found this entry for every time I tried to access NeDi through the web interface:

Code: [Select]
2017/10/16 13:40:47 [error] 5600#5600: *1 directory index of "/opt/nedi/html/" is forbidden,
client: 192.168.2.22, server: _, request: "GET / HTTP/1.1", host: "192.168.2.32"


I have to be missing something simple but I'm not finding anything.

Anyone?

Thanks,

Joe B

7
Installation / It's installed but I get a 403 error from the web page
« on: October 09, 2017, 09:53:56 PM »
Hey all, I was finally able to complete my NeDi installation without errors; I was neglecting to "sudo" that initialization command.

Now that I'm trying to access the web page I'm getting a "403 Forbidden" error. I've chown'ed the entire /opt directory to www-data but no joy. I deleted the soft link and recreated it. Nope. I even went into the nginx default sites configuration and made /opt/nedi/html the default web site but I'm still getting the 403 error.

I've been using the NeDi instructions from this site: https://help.ubuntu.com/community/NediHowTo

Can anyone see where I may have gone wrong?

Thanks,

Joe B

8
OOOOHHHHHHH!!!!!!

Yep, it just initialized without any errors. Thanks for you help and your patience!

Thanks,

Joe B

9
I tried that too. No joy:

Code: [Select]
jobee@NeDi:/opt/nedi$ ./nedi.pl -i

Initialize NeDi DB!!!
------------------------------------------------------------------------
mysql admin user: root
mysql admin pass:
DBI connect('dbname=mysql;host=localhost','root',...) failed: Access denied for user 'root'@'localhost' at ./inc/libdb.pm line 37.
jobee@NeDi:/opt/nedi$

This is Ubuntu 16.04.3 LTS. Should I try it with a different version of Ubuntu? Or a different distribution?

Thanks,

Joe B

10
Hey all, when I run the nedi.pl script my mysql login fails:

Code: [Select]
jobee@NeDi:/opt/nedi$ ./nedi.pl -i

Initialize NeDi DB!!!
------------------------------------------------------------------------
mysql admin user: root
mysql admin pass: Pass123
DBI connect('dbname=mysql;host=localhost','root',...) failed: Access denied for user 'root'@'localhost' at ./inc/libdb.pm line 37.
jobee@NeDi:/opt/nedi$

I can log in to mysql using the same credentials, create a new user, grant that user all privileges and flush privileges. But even using THAT user for the nedi.pl script fails although the error is a little different:

Code: [Select]
Initialize NeDi DB!!!
------------------------------------------------------------------------
mysql admin user: jobee
mysql admin pass:
DB Version      : 10.0.31-MariaDB-0ubuntu0.16.04.2
----------------------------------------------------------------------
Old DB 'nedi' dropped!
Creating 'nedi' for nedi@localhost:
DBD::mysql::db do failed: Access denied for user 'jobee'@'localhost' to database 'nedi' at ./inc/libdb.pm line 135, <STDIN> line 2.
DBD::mysql::db do failed: Access denied for user 'jobee'@'localhost' to database 'nedi' at ./inc/libdb.pm line 135, <STDIN> line 2.
jobee@NeDi:/opt/nedi$ ./nedi.pl -i

Any ideas, suggestions or recommendations on what is going on here? I've wiped and reinstalled three times now thinking maybe I missed a step somewhere but not that I can tell. I'm using the instructions on this page https://help.ubuntu.com/community/NediHowTo. Is there a step missing here that will fix my problem?

Thanks,

Joe B



11
Installation / Re: Ubuntu installation script references wrong files?
« on: October 06, 2017, 06:44:45 PM »
Yep, that last file isn't php-dap, it's php.dap. All of these dependencies install correctly now.

Thanks,

Joe B

12
Installation / Re: Ubuntu installation script references wrong files?
« on: October 05, 2017, 09:56:34 PM »
I erased that VM and started over (I love my VMware). That last file is giving me this error:

Code: [Select]
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package php-dap
jobee@NeDi:~$

I was going to search for it but my fingers tried to install it on their own. Ubuntu gave me this message:

Code: [Select]
jobee@NeDi:~$ sudo apt-get install php.dap
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'phpldapadmin' for regex 'php.dap'
The following additional packages will be installed:
  apache2 apache2-bin apache2-data apache2-utils libapache2-mod-php libapache2-mod-php7.0 libapr1 libaprutil1
  libaprutil1-dbd-sqlite3 libaprutil1-ldap liblua5.1-0 libxslt1.1 php-common php-ldap php-xml php7.0-cli
  php7.0-common php7.0-json php7.0-ldap php7.0-opcache php7.0-readline php7.0-xml ssl-cert
Suggested packages:
  www-browser apache2-doc apache2-suexec-pristine | apache2-suexec-custom php-pear openssl-blacklist
The following NEW packages will be installed:
  apache2 apache2-bin apache2-data apache2-utils libapache2-mod-php libapache2-mod-php7.0 libapr1 libaprutil1
  libaprutil1-dbd-sqlite3 libaprutil1-ldap liblua5.1-0 libxslt1.1 php-common php-ldap php-xml php7.0-cli
  php7.0-common php7.0-json php7.0-ldap php7.0-opcache php7.0-readline php7.0-xml phpldapadmin ssl-cert
0 upgraded, 24 newly installed, 0 to remove and 3 not upgraded.
Need to get 6,046 kB of archives.
After this operation, 26.6 MB of additional disk space will be used.
Do you want to continue? [Y/n]

Will installing this give me what I need? I see ldap admin in there so I thought I should ask first.

Thanks,

Joe B

13
Installation / Re: Initialize NeDi database failed
« on: October 03, 2017, 09:24:13 PM »
I found and installed libapache2-mod-log-sql-dbi but still no joy -- when I run nedi.pl -i I get the same error.

Thanks,

Joe B

14
Installation / Initialize NeDi database failed
« on: October 03, 2017, 08:29:23 PM »
I'm following the installation instructions and made it to the database initialization. I ran the nedi.pl -i command and here's the error:

Code: [Select]
Can't locate DBI.pm in @INC (you may need to install the DBI module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.22.1 /usr/local/share/perl/5.22.1 /usr/lib/x86_64-linux-gnu/perl5/5.22 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.22 /usr/share/perl/5.22 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .) at ./inc/libdb.pm line 17.
BEGIN failed--compilation aborted at ./inc/libdb.pm line 17.
Compilation failed in require at ./nedi.pl line 69.

I posted an earlier problem regarding the available versions of PHP in Ubuntu -- the installation instructions say to use php5 but Ubuntu only has php and php7.0. I decided to go ahead with this install in the hope that by using the 7.0 PHP and the 7.0 PHP mysql they would work with each other. Is this error related to that issue or is this something else?

Thanks,

Joe B

15
Installation / Re: Ubuntu installation script references wrong files?
« on: October 03, 2017, 07:14:50 PM »
Ok, I just did an apt-cache search and found libapache2.mod-php7.0. I had done a search earlier but I made an assumption the results would be alphabetized. Nope, this time I searched the entire list and I found the php file eighth from the top. Sigh.

Thanks,

Joe B

Pages: [1] 2