[ixpmanager] issue in Doctrine (IXP Manager)

chandra prakash chandra.mr.prakash at gmail.com
Thu Sep 24 06:48:02 IST 2015


HI,

We already updated below entry in fixtures.php

// now you need your admin user!

$contact = new \Entities\Contact();

$contact->setCustomer( $c );
$contact->setName( 'Chandra Prakash' );
$contact->setPosition( 'Internet Resource Analyst' );
$contact->setEmail( 'chandra.mr.prakash at gmail.com' );
$contact->setPhone( '+91847230806' );
$contact->setMobile( '+91847230806' );
$contact->setFacilityaccess( true );
$contact->setMayauthorize( true );
$contact->setLastupdated( new \DateTime() );
$contact->setLastupdatedby( 1 );
$contact->setCreator( 1 );
$contact->setCreated( new \DateTime() );
$contact->setNotes( "" );

$em->persist( $contact );

$u = new \Entities\User();

$contact->setUser( $u );

$u->setUsername( 'admin' );

// Please choose a secure password below (in place of 'letmein1') or
// immeidately change your password when logged in for the first time.
$u->setPassword(
    OSS_Auth_Password::hash( 'admin', $config['auth']['oss'] )
);

Regards,
Prakash

On Thu, Sep 24, 2015 at 5:00 AM, chandra prakash <
chandra.mr.prakash at gmail.com> wrote:

> Hi Barry,
>
> Thanks for a big support.
> Now we installed IXP-Manager successfully but can you share the
> default login credential for IXP-Manager.
> Or can we update/check it in any configuration file ?
>
> Regards,
> Chandra Prakash
> Inrernet Resource Analyst
>
> On 9/21/15, Barry O'Donovan <barry.odonovan at inex.ie> wrote:
> >
> > Chandra,
> >
> > here's a crash course for CentOS7 I've just worked through:
> >
> > https://github.com/inex/IXP-Manager/wiki/Installation-Misc-CentOS7
> >
> >   - Barry
> >
> >
> > On 21/09/2015 11:28, Barry O'Donovan wrote:
> >>
> >>
> >> On 21/09/2015 09:16, chandra prakash wrote:
> >>> I already did it, and my colleague Mr. Nitin  tried to install
> >>> IXP-Manager on Ubuntu and got the same issue.
> >>
> >> I can't imagine you got the **same** issue on Ubuntu.
> >>
> >> Looks like the CentOS7 issue is SELinux. Try the following:
> >>
> >>
> >> chcon -t httpd_sys_content_t /usr/local/ixp -R
> >> chcon -t httpd_sys_rw_content_t /usr/local/ixp/var -R
> >>
> >>
> >>   - Barry
> >>
> >>> chown -R apache: /usr/local/ixp
> >>> chown -R apache:apache /usr/local/ixp
> >>>
> >>> [root at nixi ~]# ps -ef | grep httpd
> >>> root     18423 18378  0 12:41 pts/0    00:00:00 grep --color=auto httpd
> >>> apache   22238 28320  0 03:37 ?        00:00:00 /usr/sbin/httpd
> >>> -DFOREGROUND
> >>> apache   22239 28320  0 03:37 ?        00:00:00 /usr/sbin/httpd
> >>> -DFOREGROUND
> >>> apache   22240 28320  0 03:37 ?        00:00:00 /usr/sbin/httpd
> >>> -DFOREGROUND
> >>> apache   22241 28320  0 03:37 ?        00:00:00 /usr/sbin/httpd
> >>> -DFOREGROUND
> >>> apache   22242 28320  0 03:37 ?        00:00:00 /usr/sbin/httpd
> >>> -DFOREGROUND
> >>> apache   25586 28320  0 04:16 ?        00:00:00 /usr/sbin/httpd
> >>> -DFOREGROUND
> >>> root     28320     1  0 Sep20 ?        00:00:00 /usr/sbin/httpd
> >>> -DFOREGROUND
> >>> [root at nixi ~]#
> >>>
> >>>
> >>> On Mon, Sep 21, 2015 at 12:37 PM, Barry O'Donovan
> >>> <barry.odonovan at inex.ie <mailto:barry.odonovan at inex.ie>> wrote:
> >>>
> >>>
> >>>     Hi,
> >>>
> >>>     On 21/09/2015 07:22, chandra prakash wrote:
> >>>
> >>>         1) |chown -R www-data /usr/local/ixp (*Not able to execute this
> >>>         command*)
> >>>         |
> >>>         |*
> >>>         Explanation:-* This command is optional or mandatory ? because
> >>>         |||*www-data* user is not available and I think no instruction
> >>>         to add
> >>>         this user.
> >>>
> >>>
> >>>     I think the user is 'apache' on CentOS - try:
> >>>
> >>>     chown -R apache: /usr/local/ixp
> >>>
> >>>     Otherwise try and figure out what Apache is running as (e.g. ps -ef
> >>>     | grep httpd)
> >>>
> >>>
> >>>     <snip>
> >>>
> >>>         |Now it's show me php page (*attached in mail*) after execution
> >>>         ||*|http://hostname/ixp/. I mean to say PHP not able to parse
> >>> the
> >>>         index.php.
> >>>         |*|
> >>>         |*|I also did it again in separate machine but same issue.
> >>>
> >>>
> >>>     Right, looks like you have an Apache/PHP issue. I'm not
> sufficiently
> >>>     familiar with CentOS to help. Try:
> >>>
> >>>
> >>>
> https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-on-centos-6
> >>>
> >>>
> >>>     If that doesn't work, let me know and I might spin up a CentOS VM
> >>>     and see where the instructions breakdown.
> >>>
> >>>
> >>>       - Barry
> >>>
> >>>
> >>>     _______________________________________________
> >>>     INEX IXP Manager mailing list
> >>>     ixpmanager at inex.ie <mailto:ixpmanager at inex.ie>
> >>>     https://www.inex.ie/mailman/listinfo/ixpmanager
> >>>
> >>>
> >>>
> >>>
> >>> --
> >>> --------------------------------
> >>> Chandra Prakash
> >>> Sr Internet Resource Analyst
> >>> National Internet Exchange of India
> >>>
> >>>
> >>>
> >>> _______________________________________________
> >>> INEX IXP Manager mailing list
> >>> ixpmanager at inex.ie
> >>> https://www.inex.ie/mailman/listinfo/ixpmanager
> >>>
> >>
> >
> > --
> >
> > Kind regards,
> > Barry O'Donovan
> > INEX Operations
> >
> > Mob: +353 86 801 7669
> > Tel: +353 1 685 4220
> >
> > +-------------------------------+-------------------------------------+
> > | Open Source Solutions Ltd.    | INEX Operations Team                |
> > | 52 Sandwith Street Lower,     | Internet Neutral Exchange           |
> > | Dublin D02 WR26, Ireland      | Association, 4027 Kingswood Road,   |
> > |                               | Citywest Business Campus, Dublin 24 |
> > | http://www.opensolutions.ie/  | http://www.inex.ie/                 |
> > +-------------------------------+-------------------------------------+
> > _______________________________________________
> > INEX IXP Manager mailing list
> > ixpmanager at inex.ie
> > https://www.inex.ie/mailman/listinfo/ixpmanager
> >
>
>
> --
> --------------------------------
> Chandra Prakash
> Sr Internet Resource Analyst
> National Internet Exchange of India
>



-- 
--------------------------------
Chandra Prakash
Sr Internet Resource Analyst
National Internet Exchange of India
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.inex.ie/pipermail/ixpmanager/attachments/20150924/3303b59b/attachment.html>


More information about the ixpmanager mailing list