Re: [Dspace-tech] Unable to send email

2013-06-14 Thread SanjibKumarDeka
Hi,

The problem has been resolved. Now new user can register and login.
Thank you all for your help.

With regards,
sanjib umar deka


On Fri, Jun 14, 2013 at 1:49 PM, Amandeep Kapila
kapila.amand...@gmail.comwrote:

 Hello,

 Then recheck the next line containing your public IP and FQDN. May
 be an extra space causing some error though I am not sure. I simply put
 tabs in between and it works. Also check this link,


 https://confluence.atlassian.com/display/CONFKB/Sending+email+fails+due+to+501+Syntax%3A+HELO+hostname+error

 Cheers,

 
 aman,
 (Amandeep Kapila),
 Consultant, Digitization
 National University of Educational
 Planning  Administration (NUEPA),
 New Delhi,
 INDIA.


 On Fri, Jun 14, 2013 at 12:24 PM, SanjibKumarDeka xan...@gmail.comwrote:

 Hi,

 I edited the localhost file by putting the line 127.0.0.1localhost.
 But still unable to send email. When I checked test email, I found the
 following:

 [dspace@CENTRAL-LIBRARY bin]$ /dspace/bin/dspace test-email
  INFO [main] (DSpaceKernelInit.java:52) - Created new kernel:
 DSpaceKernel:org.dspace:name=4eda429a-0a65-4b68-bd6b-965844cd8ef6,type=DSpaceKernel:lastLoad=null:loadTime=0:running=false:kernel=null

  INFO [main] (ConfigurationManager.java:1224) - Loading from classloader:
 file:/dspace/config/dspace.cfg
  INFO [main] (ConfigurationManager.java:1224) - Using dspace provided log
 configuration (log.init.config)
  INFO [main] (ConfigurationManager.java:1224) - Loading:
 /dspace/config/log4j.properties

 About to send test email:
  - To: skd...@iitg.ernet.in
  - Subject: DSpace test email
  - Server: naambor.iitg.ernet.in

 Error sending email:
  - Error: javax.mail.MessagingException: 501 Syntax: HELO hostname


 Please see the DSpace documentation for assistance.



 [dspace@CENTRAL-LIBRARY bin]$
 =

 Regards,
 sanjib kumar deka



 On Fri, Jun 14, 2013 at 9:59 AM, Amandeep Kapila 
 kapila.amand...@gmail.com wrote:

 Hi,

 The system might be telling you the file is read only because
 the user you are logged in with doesn't have permissions to edit it. You
 can edit it as root user or using sudo privileges.

 Before making any edits you should backup a copy of the file in
 case you need to revert back. Your loopback IP has multiple domain entries.
 try by removing them by commenting out the original line and putting
 instead the following

 127.0.0.1   localhost

  Also you should keep a separate small machine with similar
 installation for testing such problem.

  Hope this will help.

  Best of Luck.

 Regards,

 Cheers,

 
 aman,
 (Amandeep Kapila),
 Consultant, Digitization
 National University of Educational
 Planning  Administration (NUEPA),
 New Delhi,
 INDIA.


 On Fri, Jun 14, 2013 at 9:48 AM, SanjibKumarDeka xan...@gmail.comwrote:

 HI,

 Could you please tell me what's the wrong with the /etc/hosts.
 This is read only file. Should I make the changes here ?

 Regards,
 sanjib kumar deka


 On Thu, Jun 13, 2013 at 5:31 PM, SanjibKumarDeka xan...@gmail.comwrote:

 Hi,

 Following contents is available in the /etc/hosts.
 
 127.0.0.1   localhost localhost.localdomain localhost4
 localhost4.localdomain4
 ::1 localhost localhost.localdomain localhost6
 localhost6.localdomain6
 202.141.80.9nmbor.iitg.ernet.in nmbor
 
 nmbor is institute mail server name.

 Kindly suggest where I have to make the changes.

 Regards,
 sanjib kumar deka


 On Thu, Jun 13, 2013 at 5:04 PM, Drover, Matt mattdro...@mun.cawrote:

 Hi, edit your /etc/hosts and specify a hostname for your ip. By IP,
 I'm referring to the dspace computers IP. This is not a mailserver issue.
 

 ** **

 ** **

 *Matthew Drover
 *Programmer Consultant

 Immersive Technology
 Distance Education, Learning and Teaching Support
 *Memorial University of Newfoundland* 

 ** **

 ** **

 ** **

 *From:* SanjibKumarDeka [mailto:xan...@gmail.com]
 *Sent:* Thursday, June 13, 2013 8:35 AM
 *To:* dspace-tech
 *Subject:* [Dspace-tech] Unable to send email

 ** **

 Dear Sir,

 We are using DSpace 3.1 in RHEL 6.4 with xmlui interface.
 I configured the email setting using my Institute's mail server. But
 still unable to register as new user.
 When I run the test-email command, found the following messages.
 ==
 [dspace@CENTRAL-LIBRARY root]$ /dspace/bin/dspace test-email
  INFO [main] (DSpaceKernelInit.java:52) - Created new kernel:
 DSpaceKernel:org.dspace:name=c586bdc6-4e48-4094-9946-7f8875f3a3f3,type=DSpaceKernel:lastLoad=null:loadTime=0:running=false:kernel=null
  INFO [main] (ConfigurationManager.java:1224) - Loading from
 classloader: file:/dspace/config/dspace.cfg
  INFO [main] (ConfigurationManager.java:1224) - Using dspace provided
 log configuration (log.init.config)
  INFO [main] (ConfigurationManager.java:1224) - Loading:
 /dspace/config/log4j.properties

 About to send test email:
  - To: skd...@iitg.ernet.in
  - Subject: DSpace test email
  

Re: [Dspace-tech] Unable to send email

2013-06-14 Thread helix84
What was the solution?

Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Unable to send email

2013-06-14 Thread SanjibKumarDeka
Hi,

I have edited the /etc/hosts file and entered the server IP and name along
with mail server domain name and the local host. Its like,

127.0.0.1 localhosts
202.141.0.0nmbor.iit.ernet.innmbor
202.141.8.7central-library

Thank you very much for your support.

Regards,
sanjib


On Fri, Jun 14, 2013 at 4:23 PM, helix84 heli...@centrum.sk wrote:

 What was the solution?

 Regards,
 ~~helix84

 Compulsory reading: DSpace Mailing List Etiquette
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Unable to send email

2013-06-14 Thread helix84
On Fri, Jun 14, 2013 at 1:01 PM, SanjibKumarDeka xan...@gmail.com wrote:
 I have edited the /etc/hosts file and entered the server IP and name along
 with mail server domain name and the local host. Its like,

OK, but you had an IP there before for nmbor.iit.ernet.in, which was a
different IP (202.141.80.9nmbor.iitg.ernet.in nmbor ).
So the problem was just that the IP was wrong, right?

 
 127.0.0.1 localhosts
 202.141.0.0nmbor.iit.ernet.innmbor
 202.141.8.7central-library
 

Secondly, you now have 127.0.0.1 localhosts there. It's not localhosts,
it's localhost. If you don't correct this, it can cause you problems at
places where you wouldn't even expect it.

In fact, I recommend you to use what you originally had there:

127.0.0.1   localhost localhost.localdomain localhost4
localhost4.localdomain4
::1 localhost localhost.localdomain localhost6
localhost6.localdomain6


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Unable to send email

2013-06-14 Thread jayachandra B
see this link

http://blog.stuartlewis.com/2009/09/05/using-gmail-with-dspace/


On Fri, Jun 14, 2013 at 5:14 PM, helix84 heli...@centrum.sk wrote:

 On Fri, Jun 14, 2013 at 1:01 PM, SanjibKumarDeka xan...@gmail.com wrote:
  I have edited the /etc/hosts file and entered the server IP and name
 along
  with mail server domain name and the local host. Its like,

 OK, but you had an IP there before for nmbor.iit.ernet.in, which was a
 different IP (202.141.80.9nmbor.iitg.ernet.in nmbor ).
 So the problem was just that the IP was wrong, right?

  
  127.0.0.1 localhosts
  202.141.0.0nmbor.iit.ernet.innmbor
  202.141.8.7central-library
  

 Secondly, you now have 127.0.0.1 localhosts there. It's not
 localhosts, it's localhost. If you don't correct this, it can cause you
 problems at places where you wouldn't even expect it.

 In fact, I recommend you to use what you originally had there:

 127.0.0.1   localhost localhost.localdomain localhost4
 localhost4.localdomain4
 ::1 localhost localhost.localdomain localhost6
 localhost6.localdomain6


 Regards,
 ~~helix84

 Compulsory reading: DSpace Mailing List Etiquette
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


 --
 This SF.net email is sponsored by Windows:

 Build for Windows Store.

 http://p.sf.net/sfu/windows-dev2dev
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette:
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette




-- 
Regards
Jayachandra
--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Unable to send email

2013-06-13 Thread Hilton Gibson
Hi Sanjib

With Ubuntu, I reccommend to send an email to the root user first before
setting up DSpace.
See:
http://wiki.lib.sun.ac.za/index.php/SUNScholar/Prepare_Ubuntu/S07#Step_7.5:_Send_a_test_email_to_root
This way when you setup DSpace you know that your sending email server
works.

Cheers

hg


On 13 June 2013 13:04, SanjibKumarDeka xan...@gmail.com wrote:

 Dear Sir,

 We are using DSpace 3.1 in RHEL 6.4 with xmlui interface.
 I configured the email setting using my Institute's mail server. But still
 unable to register as new user.
 When I run the test-email command, found the following messages.
 ==
 [dspace@CENTRAL-LIBRARY root]$ /dspace/bin/dspace test-email
  INFO [main] (DSpaceKernelInit.java:52) - Created new kernel:
 DSpaceKernel:org.dspace:name=c586bdc6-4e48-4094-9946-7f8875f3a3f3,type=DSpaceKernel:lastLoad=null:loadTime=0:running=false:kernel=null
  INFO [main] (ConfigurationManager.java:1224) - Loading from classloader:
 file:/dspace/config/dspace.cfg
  INFO [main] (ConfigurationManager.java:1224) - Using dspace provided log
 configuration (log.init.config)
  INFO [main] (ConfigurationManager.java:1224) - Loading:
 /dspace/config/log4j.properties

 About to send test email:
  - To: skd...@iitg.ernet.in
  - Subject: DSpace test email
  - Server: naambor.iitg.ernet.in

 Error sending email:
  - Error: javax.mail.MessagingException: 501 Syntax: HELO hostname


 Please see the DSpace documentation for assistance.
 ===

 Kindly help me please.
 Regards,
 sanjib kumar deka




 --
 This SF.net email is sponsored by Windows:

 Build for Windows Store.

 http://p.sf.net/sfu/windows-dev2dev
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette:
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette




-- 
*Hilton Gibson*
Linux Systems Administrator
JS Gericke Library
Room 1025C
Stellenbosch University
Private Bag X5036
Stellenbosch
7599
South Africa

Tel: +27 21 808 4100 | Cell: +27 84 646 4758
http://library.sun.ac.za
http://scholar.sun.ac.za
http://www.journals.ac.za
--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Unable to send email

2013-06-13 Thread Drover, Matt
Hi, edit your /etc/hosts and specify a hostname for your ip. By IP, I'm
referring to the dspace computers IP. This is not a mailserver issue.

 

 

Matthew Drover
Programmer Consultant

Immersive Technology
Distance Education, Learning and Teaching Support
Memorial University of Newfoundland 

 

 

 

From: SanjibKumarDeka [mailto:xan...@gmail.com] 
Sent: Thursday, June 13, 2013 8:35 AM
To: dspace-tech
Subject: [Dspace-tech] Unable to send email

 

Dear Sir, 

We are using DSpace 3.1 in RHEL 6.4 with xmlui interface. 
I configured the email setting using my Institute's mail server. But
still unable to register as new user. 
When I run the test-email command, found the following messages. 
== 
[dspace@CENTRAL-LIBRARY root]$ /dspace/bin/dspace test-email
 INFO [main] (DSpaceKernelInit.java:52) - Created new kernel:
DSpaceKernel:org.dspace:name=c586bdc6-4e48-4094-9946-7f8875f3a3f3,type=D
SpaceKernel:lastLoad=null:loadTime=0:running=false:kernel=null
 INFO [main] (ConfigurationManager.java:1224) - Loading from
classloader: file:/dspace/config/dspace.cfg
 INFO [main] (ConfigurationManager.java:1224) - Using dspace provided
log configuration (log.init.config)
 INFO [main] (ConfigurationManager.java:1224) - Loading:
/dspace/config/log4j.properties

About to send test email:
 - To: skd...@iitg.ernet.in
 - Subject: DSpace test email
 - Server: naambor.iitg.ernet.in

Error sending email:
 - Error: javax.mail.MessagingException: 501 Syntax: HELO hostname


Please see the DSpace documentation for assistance.
===

Kindly help me please. 

Regards,

sanjib kumar deka

 


This electronic communication is governed by the terms and conditions at
http://www.mun.ca/cc/policies/electronic_communications_disclaimer_2012.php
--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Unable to send email

2013-06-13 Thread SanjibKumarDeka
Hi,

Following contents is available in the /etc/hosts.

127.0.0.1   localhost localhost.localdomain localhost4
localhost4.localdomain4
::1 localhost localhost.localdomain localhost6
localhost6.localdomain6
202.141.80.9nmbor.iitg.ernet.in nmbor

nmbor is institute mail server name.

Kindly suggest where I have to make the changes.

Regards,
sanjib kumar deka


On Thu, Jun 13, 2013 at 5:04 PM, Drover, Matt mattdro...@mun.ca wrote:

 Hi, edit your /etc/hosts and specify a hostname for your ip. By IP, I'm
 referring to the dspace computers IP. This is not a mailserver issue.

 ** **

 ** **

 *Matthew Drover
 *Programmer Consultant

 Immersive Technology
 Distance Education, Learning and Teaching Support
 *Memorial University of Newfoundland* 

 ** **

 ** **

 ** **

 *From:* SanjibKumarDeka [mailto:xan...@gmail.com]
 *Sent:* Thursday, June 13, 2013 8:35 AM
 *To:* dspace-tech
 *Subject:* [Dspace-tech] Unable to send email

 ** **

 Dear Sir,

 We are using DSpace 3.1 in RHEL 6.4 with xmlui interface.
 I configured the email setting using my Institute's mail server. But still
 unable to register as new user.
 When I run the test-email command, found the following messages.
 ==
 [dspace@CENTRAL-LIBRARY root]$ /dspace/bin/dspace test-email
  INFO [main] (DSpaceKernelInit.java:52) - Created new kernel:
 DSpaceKernel:org.dspace:name=c586bdc6-4e48-4094-9946-7f8875f3a3f3,type=DSpaceKernel:lastLoad=null:loadTime=0:running=false:kernel=null
  INFO [main] (ConfigurationManager.java:1224) - Loading from classloader:
 file:/dspace/config/dspace.cfg
  INFO [main] (ConfigurationManager.java:1224) - Using dspace provided log
 configuration (log.init.config)
  INFO [main] (ConfigurationManager.java:1224) - Loading:
 /dspace/config/log4j.properties

 About to send test email:
  - To: skd...@iitg.ernet.in
  - Subject: DSpace test email
  - Server: naambor.iitg.ernet.in

 Error sending email:
  - Error: javax.mail.MessagingException: 501 Syntax: HELO hostname


 Please see the DSpace documentation for assistance.
 ===

 Kindly help me please. 

 Regards,

 sanjib kumar deka

 ** **

 This electronic communication is governed by the terms and conditions at
 http://www.mun.ca/cc/policies/electronic_communications_disclaimer_2012.php

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Unable to send email

2013-06-13 Thread helix84
On Thu, Jun 13, 2013 at 2:01 PM, SanjibKumarDeka xan...@gmail.com wrote:
 Following contents is available in the /etc/hosts.

That looks correct. What's the contents of your /etc/nsswitch.conf file?


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Unable to send email

2013-06-13 Thread Hilton Gibson
And what about: /etc/hostname ?



On 13 June 2013 14:01, SanjibKumarDeka xan...@gmail.com wrote:

 Hi,

 Following contents is available in the /etc/hosts.
 
 127.0.0.1   localhost localhost.localdomain localhost4
 localhost4.localdomain4
 ::1 localhost localhost.localdomain localhost6
 localhost6.localdomain6
 202.141.80.9nmbor.iitg.ernet.in nmbor
 
 nmbor is institute mail server name.

 Kindly suggest where I have to make the changes.

 Regards,
 sanjib kumar deka


 On Thu, Jun 13, 2013 at 5:04 PM, Drover, Matt mattdro...@mun.ca wrote:

 Hi, edit your /etc/hosts and specify a hostname for your ip. By IP, I'm
 referring to the dspace computers IP. This is not a mailserver issue.

 ** **

 ** **

 *Matthew Drover
 *Programmer Consultant

 Immersive Technology
 Distance Education, Learning and Teaching Support
 *Memorial University of Newfoundland* 

 ** **

 ** **

 ** **

 *From:* SanjibKumarDeka [mailto:xan...@gmail.com]
 *Sent:* Thursday, June 13, 2013 8:35 AM
 *To:* dspace-tech
 *Subject:* [Dspace-tech] Unable to send email

 ** **

 Dear Sir,

 We are using DSpace 3.1 in RHEL 6.4 with xmlui interface.
 I configured the email setting using my Institute's mail server. But
 still unable to register as new user.
 When I run the test-email command, found the following messages.
 ==
 [dspace@CENTRAL-LIBRARY root]$ /dspace/bin/dspace test-email
  INFO [main] (DSpaceKernelInit.java:52) - Created new kernel:
 DSpaceKernel:org.dspace:name=c586bdc6-4e48-4094-9946-7f8875f3a3f3,type=DSpaceKernel:lastLoad=null:loadTime=0:running=false:kernel=null
  INFO [main] (ConfigurationManager.java:1224) - Loading from classloader:
 file:/dspace/config/dspace.cfg
  INFO [main] (ConfigurationManager.java:1224) - Using dspace provided log
 configuration (log.init.config)
  INFO [main] (ConfigurationManager.java:1224) - Loading:
 /dspace/config/log4j.properties

 About to send test email:
  - To: skd...@iitg.ernet.in
  - Subject: DSpace test email
  - Server: naambor.iitg.ernet.in

 Error sending email:
  - Error: javax.mail.MessagingException: 501 Syntax: HELO hostname


 Please see the DSpace documentation for assistance.
 ===

 Kindly help me please. 

 Regards,

 sanjib kumar deka

 ** **

 This electronic communication is governed by the terms and conditions at
 http://www.mun.ca/cc/policies/electronic_communications_disclaimer_2012.php




 --
 This SF.net email is sponsored by Windows:

 Build for Windows Store.

 http://p.sf.net/sfu/windows-dev2dev
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette:
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette




-- 
*Hilton Gibson*
Linux Systems Administrator
JS Gericke Library
Room 1025C
Stellenbosch University
Private Bag X5036
Stellenbosch
7599
South Africa

Tel: +27 21 808 4100 | Cell: +27 84 646 4758
http://library.sun.ac.za
http://scholar.sun.ac.za
http://www.journals.ac.za
--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Unable to send email

2013-06-13 Thread SanjibKumarDeka
hi,

Following details I found in the /etc/nsswitch.conf file.

=
# /etc/nsswitch.conf
#
# An example Name Service Switch config file. This file should be
# sorted with the most-used services at the beginning.
#
# The entry '[NOTFOUND=return]' means that the search for an
#
# /etc/nsswitch.conf
#
# An example Name Service Switch config file. This file should be
# sorted with the most-used services at the beginning.
#
# The entry '[NOTFOUND=return]' means that the search for an
# entry should stop if the search in the previous entry turned
# up nothing. Note that if the search failed due to some other reason
# (like no NIS server responding) then the search continues with the
# next entry.
#
# Valid entries include:
#
#   nisplus Use NIS+ (NIS version 3)
#   nis Use NIS (NIS version 2), also called YP
#   dns Use DNS (Domain Name Service)
#   files   Use the local files
#   db  Use the local database (.db) files
#   compat  Use NIS on compat mode
#   hesiod  Use Hesiod for user lookups
#   [NOTFOUND=return]   Stop searching if not found so far
#

# To use db, put the db in front of files for entries you want to be
# looked up first in the databases
#
# Example:
#passwd:db files nisplus nis
#shadow:db files nisplus nis
#group: db files nisplus nis

passwd: files
shadow: files
group:  files

#hosts: db files nisplus nis dns
hosts:  files dns

# Example - obey only what nisplus tells us...
#services:   nisplus [NOTFOUND=return] files
#networks:   nisplus [NOTFOUND=return] files
#protocols:  nisplus [NOTFOUND=return] files
#rpc:nisplus [NOTFOUND=return] files
#ethers: nisplus [NOTFOUND=return] files
#netmasks:   nisplus [NOTFOUND=return] files

bootparams: nisplus [NOTFOUND=return] files

ethers: files
netmasks:   files
networks:   files
protocols:  files
rpc:files
services:   files

netgroup:   nisplus

publickey:  nisplus

automount:  files nisplus
aliases:files nisplus


Regrds,
sanjib kumar deka


On Thu, Jun 13, 2013 at 6:16 PM, helix84 heli...@centrum.sk wrote:

 On Thu, Jun 13, 2013 at 2:01 PM, SanjibKumarDeka xan...@gmail.com wrote:
  Following contents is available in the /etc/hosts.

 That looks correct. What's the contents of your /etc/nsswitch.conf file?


 Regards,
 ~~helix84

 Compulsory reading: DSpace Mailing List Etiquette
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Unable to send email

2013-06-13 Thread SanjibKumarDeka
Hi,

Following contents is available in the /etc/hosts.

127.0.0.1   localhost localhost.localdomain localhost4
localhost4.localdomain4
::1 localhost localhost.localdomain localhost6
localhost6.localdomain6
202.141.80.9nmbor.iitg.ernet.in nmbor

nmbor is institute mail server name.


Regards,
sanjib kumar deka


On Thu, Jun 13, 2013 at 6:21 PM, Hilton Gibson hilton.gib...@gmail.comwrote:

 And what about: /etc/hostname ?



 On 13 June 2013 14:01, SanjibKumarDeka xan...@gmail.com wrote:

 Hi,

 Following contents is available in the /etc/hosts.
 
 127.0.0.1   localhost localhost.localdomain localhost4
 localhost4.localdomain4
 ::1 localhost localhost.localdomain localhost6
 localhost6.localdomain6
 202.141.80.9nmbor.iitg.ernet.in nmbor
 
 nmbor is institute mail server name.

 Kindly suggest where I have to make the changes.

 Regards,
 sanjib kumar deka


 On Thu, Jun 13, 2013 at 5:04 PM, Drover, Matt mattdro...@mun.ca wrote:

 Hi, edit your /etc/hosts and specify a hostname for your ip. By IP, I'm
 referring to the dspace computers IP. This is not a mailserver issue.***
 *

 ** **

 ** **

 *Matthew Drover
 *Programmer Consultant

 Immersive Technology
 Distance Education, Learning and Teaching Support
 *Memorial University of Newfoundland* 

 ** **

 ** **

 ** **

 *From:* SanjibKumarDeka [mailto:xan...@gmail.com]
 *Sent:* Thursday, June 13, 2013 8:35 AM
 *To:* dspace-tech
 *Subject:* [Dspace-tech] Unable to send email

 ** **

 Dear Sir,

 We are using DSpace 3.1 in RHEL 6.4 with xmlui interface.
 I configured the email setting using my Institute's mail server. But
 still unable to register as new user.
 When I run the test-email command, found the following messages.
 ==
 [dspace@CENTRAL-LIBRARY root]$ /dspace/bin/dspace test-email
  INFO [main] (DSpaceKernelInit.java:52) - Created new kernel:
 DSpaceKernel:org.dspace:name=c586bdc6-4e48-4094-9946-7f8875f3a3f3,type=DSpaceKernel:lastLoad=null:loadTime=0:running=false:kernel=null
  INFO [main] (ConfigurationManager.java:1224) - Loading from
 classloader: file:/dspace/config/dspace.cfg
  INFO [main] (ConfigurationManager.java:1224) - Using dspace provided
 log configuration (log.init.config)
  INFO [main] (ConfigurationManager.java:1224) - Loading:
 /dspace/config/log4j.properties

 About to send test email:
  - To: skd...@iitg.ernet.in
  - Subject: DSpace test email
  - Server: naambor.iitg.ernet.in

 Error sending email:
  - Error: javax.mail.MessagingException: 501 Syntax: HELO hostname


 Please see the DSpace documentation for assistance.
 ===

 Kindly help me please. 

 Regards,

 sanjib kumar deka

 ** **

 This electronic communication is governed by the terms and conditions at
 http://www.mun.ca/cc/policies/electronic_communications_disclaimer_2012.php




 --
 This SF.net email is sponsored by Windows:

 Build for Windows Store.

 http://p.sf.net/sfu/windows-dev2dev
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette:
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette




 --
 *Hilton Gibson*
 Linux Systems Administrator
 JS Gericke Library
 Room 1025C
 Stellenbosch University
 Private Bag X5036
 Stellenbosch
 7599
 South Africa

 Tel: +27 21 808 4100 | Cell: +27 84 646 4758
 http://library.sun.ac.za
 http://scholar.sun.ac.za
 http://www.journals.ac.za

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette