Re: [Dspace-tech] How to Restart Postgres

2013-05-10 Thread George Vernon
On RHEL 5.9 we use:

/usr/local/pgsql/bin/pg_ctl -D /dspace/pgsql/data -l logfile start

  And

/usr/local/pgsql/bin/pg_ctl -D /dspace/pgsql/data -m fast  stop




From: rémi Asare [mailto:ramirez.as...@gmail.com]
Sent: 10 May 2013 13:06
To: Eric Martyns
Cc: dspace-tech
Subject: Re: [Dspace-tech] How to Restart Postgres

On ubuntu or windows system?

2013/5/10 Eric Martyns martynse...@gmail.commailto:martynse...@gmail.com
Please kindly help with how i can restart Postgres

--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and
their applications. This 200-page book is written by three acclaimed
leaders in the field. The early access version is available now.
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.netmailto:DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette



--
Rémi Asare.


This email and any files with it are confidential and intended solely for the 
use of the recipient to whom it is addressed. If you are not the intended 
recipient then copying, distribution or other use of the information contained 
is strictly prohibited and you should not rely on it. If you have received this 
email in error please let the sender know immediately and delete it from your 
system(s). Internet emails are not necessarily secure. While we take every 
care, Plymouth University accepts no responsibility for viruses and it is your 
responsibility to scan emails and their attachments. Plymouth University does 
not accept responsibility for any changes made after it was sent. Nothing in 
this email or its attachments constitutes an order for goods or services unless 
accompanied by an official order form.
--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may___
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] kill handle server process ids

2010-01-27 Thread George Vernon
Interesting. I've just found the same messages in my handle server  error logs.

Both of them are running, though, so that may not be your problem.

-Original Message-
From: Evans, Kevin [mailto:kevin.ev...@exeter.ac.uk] 
Sent: 22 January 2010 10:45
To: 'Filippos Kolovos'; Dspace-Tech-List
Cc: George Vernon
Subject: RE: [Dspace-tech] kill handle server process ids (George Vernon)

 Thanks Guys,

That's helpful. 

Further to that I'm still getting errors from the Handle Server and the
Handle cannot connect.

2010/01/19 01:21:22 GMT 25 Started new run.
2010/01/19 01:21:23 GMT 50 unspecified max_handlers count, using default:
200
2010/01/19 01:21:23 GMT 50 unspecified max_handlers count, using default:
200
2010/01/19 01:21:23 GMT 50 unspecified max_handlers count, using default:
200

Any Ideas?

Cheers

Kevin

-Original Message-
From: Filippos Kolovos [mailto:filip...@uom.gr] 
Sent: 22 January 2010 07:11
To: Dspace-Tech-List
Subject: Re: [Dspace-tech] kill handle server process ids (George Vernon)

Hi George,

You can also try ps cauxf | grep java,
the processes started as dspace, one of them is the handle server and the
other the tomcat. The one under dsrun is the handle server, unless you are
not running anything else with dsrun at the time

Regards,


--
Filippos Kolovos
Software Systems Analyst  Engineer
M.Sc. (Eng.) in Data Communications

Automation  Networking Department
University of Macedonia Library
Egnatia 156, P.O.Box 1591
540 06 Thessaloniki, Greece

E-Mail: f.kolo...@ieee.org,
   filip...@uom.gr
Profile: http://www.linkedin.com/in/filipposkolovos
---


- Original Message -  Message: 1
 Date: Thu, 21 Jan 2010 12:30:56 +
 From: George Vernon george.ver...@plymouth.ac.uk
 Subject: [Dspace-tech]  kill handle server process ids
 To: dspace-tech@lists.sourceforge.net
 dspace-tech@lists.sourceforge.net
 Message-ID:
 e3e8141563695f4da9fa39fa3c06e7c86849ab6...@ils130.uopnet.plymouth.ac.
 uk

 Content-Type: text/plain; charset=us-ascii


 I'm fairly new to Dspace

 Does anyone know a quick way to locate the process id of a handle 
 server. I need to kill the process.

 Cheers

 Kevin

 Hi Kevin,

 On a Unix type platform you could use:

  lsof | grep hdl

 the pid is the second column.

 George
 ILS, University of Plymouth





--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for
Conference attendees to learn about information security's most important
issues through interactions with peers, luminaries and emerging and
established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] kill handle server process ids

2010-01-21 Thread George Vernon

 I'm fairly new to Dspace

 Does anyone know a quick way to locate the process id of a handle server. I 
 need to kill the process.

 Cheers

 Kevin

Hi Kevin,

On a Unix type platform you could use:

  lsof | grep hdl

the pid is the second column.

George
ILS, University of Plymouth


--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] FW: make-handle-config fails

2009-10-19 Thread George Vernon
I had the same problem.

Got round it by copying the first config.dct and the editing the port values 
manually (e.g. 2642, 8001)

From: Jeffrey Trimble [mailto:jtrim...@cc.ysu.edu]
Sent: 15 October 2009 16:59
To: DSpace Tech
Subject: [Dspace-tech] make-handle-config fails

I'm got another instance  in which I need the handle server to be configured.  
When I
run make-handle-config, it fails with the following error:

Writing simple Handle server configuration
Error setting up the server:
java.lang.NullPointerException
java.lang.NullPointerException
at 
net.handle.server.SimpleSetup.responseToPrompt(SimpleSetup.java:930)
at net.handle.server.SimpleSetup.getIPAddress(SimpleSetup.java:572)
at net.handle.server.SimpleSetup.main(SimpleSetup.java:96)
./make-handle-config: line 90: /dspace/handle-server/config.dct: No such file 
or directory
./make-handle-config: line 99: /tmp/handleconfig2936: No such file or directory


Dspace version: 1.5.2
Java verion: java version 1.6.0_16
Java(TM) SE Runtime Environment (build 1.6.0_16-b01)
Java HotSpot(TM) Client VM (build 14.2-b01, mixed mode, sharing)

Any ideas?

TIA,

Jeff


Jeffrey Trimble
System LIbrarian
William F.  Maag Library
Youngstown State University
330.941.2483 (Office)
jtrim...@cc.ysu.edumailto:jtrim...@cc.ysu.edu
http://www.maag.ysu.edu
http://digital.maag.ysu.edu
I must not fear.  Fear is the mind-killer.
I will permit it to pass over me and through me...
--Litany against fear

--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] FW: 1.5 install

2008-03-28 Thread George Vernon
There were 40 tables created - I cut the middle 36 out for brevity.

The test box has:

openSUSE 10.3(x86_64)
ant 1.7.0-30
java 1.5.0 update 12_23 x86_64
postgres 8.2.4-27 x86_64


From: Mark Diggory [EMAIL PROTECTED]
Sent: 27 March 2008 18:30
To: George Vernon
Cc: DSpace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] 1.5 install

Hello George,

I just ran a test on my workstation to do a fresh install of DSpace
1.5.0 and was successful. So I suspect it is something with your
environment/configuration.  Can you give me more detail about your
setup (database version, OS)?  Are those 4 tables the only ones
created? there should be 40.

Cheers,
Mark


On Mar 27, 2008, at 9:13 AM, George Vernon wrote:

 Trying a test install and getting the following error at the ‘ant
 fresh install’. Has anyone else come across this?





 (log.init.config)

  [java] 2008-03-27 15:02:51,479 FATAL
 org.dspace.administer.RegistryLoader @
 anonymous::error_loading_registries:

  [java] java.lang.NullPointerException

  [java] at org.dspace.storage.rdbms.TableRow.canonicalize
 (TableRow.java:611)

  [java] at org.dspace.storage.rdbms.TableRow.hasColumn
 (TableRow.java:110)





 The tables appear to have been created correctly:



 dspace_test= \dt

  List of relations

  Schema |Name| Type  |Owner

 ++---+-

  public | bi_2_dis   | table | dspace_test

  public | bi_2_dmap  | table | dspace_test

 .

 .

 public | workflowitem   | table | dspace_test

  public | workspaceitem  | table | dspace_test

 (40 rows)



 dspace_test=



 The full response from ant was:



 [EMAIL PROTECTED]:/usr/local/dspace_test/dspace/target/
 dspace-1.5.0-build.dir ant fresh_install

 Buildfile: build.xml



 init_installation:

 [mkdir] Created dir: /home/dspace_test/bin

 [mkdir] Created dir: /home/dspace_test/config

 [mkdir] Created dir: /home/dspace_test/lib

 [mkdir] Created dir: /home/dspace_test/webapps

 [mkdir] Created dir: /home/dspace_test/assetstore

 [mkdir] Created dir: /home/dspace_test/handle-server

 [mkdir] Created dir: /home/dspace_test/search

 [mkdir] Created dir: /home/dspace_test/log

 [mkdir] Created dir: /home/dspace_test/upload

 [mkdir] Created dir: /home/dspace_test/reports



 init_configs:

  [copy] Copying 43 files to /home/dspace_test/config



 setup_database:

  [java] 2008-03-27 15:02:40,880 INFO
 org.dspace.core.ConfigurationManager @ Loading system provided
 config property (-Ddspace.configuration): config/dspace.cfg

  [java] 2008-03-27 15:02:40,884 INFO
 org.dspace.core.ConfigurationManager @ Using default log4j provided
 log configuration,if uninitended, check your dspace.cfg for
 (log.init.config)

  [java] 2008-03-27 15:02:40,884 INFO
 org.dspace.storage.rdbms.InitializeDatabase @ Initializing Database

  [java] 2008-03-27 15:02:49,029 INFO
 org.dspace.core.ConfigurationManager @ Loading system provided
 config property (-Ddspace.configuration): config/dspace.cfg

  [java] 2008-03-27 15:02:49,033 INFO
 org.dspace.core.ConfigurationManager @ Using default log4j provided
 log configuration,if uninitended, check your dspace.cfg for
 (log.init.config)



 load_registries:

  [java] 2008-03-27 15:02:50,956 INFO
 org.dspace.core.ConfigurationManager @ Loading system provided
 config property (-Ddspace.configuration): config/dspace.cfg

  [java] 2008-03-27 15:02:50,960 INFO
 org.dspace.core.ConfigurationManager @ Using default log4j provided
 log configuration,if uninitended, check your dspace.cfg for
 (log.init.config)

  [java] 2008-03-27 15:02:51,479 FATAL
 org.dspace.administer.RegistryLoader @
 anonymous::error_loading_registries:

  [java] java.lang.NullPointerException

  [java] at org.dspace.storage.rdbms.TableRow.canonicalize
 (TableRow.java:611)

  [java] at org.dspace.storage.rdbms.TableRow.hasColumn
 (TableRow.java:110)

  [java] at org.dspace.storage.rdbms.TableRow.setColumn
 (TableRow.java:466)

  [java] at org.dspace.storage.rdbms.DatabaseManager.insert
 (DatabaseManager.java:589)

  [java] at org.dspace.storage.rdbms.DatabaseManager.create
 (DatabaseManager.java:384)

  [java] at org.dspace.content.BitstreamFormat.create
 (BitstreamFormat.java:400)

  [java] at org.dspace.administer.RegistryLoader.loadFormat
 (RegistryLoader.java:203)

  [java] at
 org.dspace.administer.RegistryLoader.loadBitstreamFormats
 (RegistryLoader.java:169)

  [java] at org.dspace.administer.RegistryLoader.main
 (RegistryLoader.java:107)



 BUILD FAILED

 /usr/local/dspace_test/dspace/target/dspace-1.5.0-build.dir/
 build.xml:424: Java returned: 1



 Total time: 11 seconds

[Dspace-tech] 1.5 install

2008-03-27 Thread George Vernon
Trying a test install and getting the following error at the 'ant fresh 
install'. Has anyone else come across this?


(log.init.config)
 [java] 2008-03-27 15:02:51,479 FATAL org.dspace.administer.RegistryLoader 
@ anonymous::error_loading_registries:
 [java] java.lang.NullPointerException
 [java] at 
org.dspace.storage.rdbms.TableRow.canonicalize(TableRow.java:611)
 [java] at 
org.dspace.storage.rdbms.TableRow.hasColumn(TableRow.java:110)


The tables appear to have been created correctly:

dspace_test= \dt
 List of relations
 Schema |Name| Type  |Owner
++---+-
 public | bi_2_dis   | table | dspace_test
 public | bi_2_dmap  | table | dspace_test
.
.
public | workflowitem   | table | dspace_test
 public | workspaceitem  | table | dspace_test
(40 rows)

dspace_test=

The full response from ant was:

[EMAIL PROTECTED]:/usr/local/dspace_test/dspace/target/dspace-1.5.0-build.dir 
ant fresh_install
Buildfile: build.xml

init_installation:
[mkdir] Created dir: /home/dspace_test/bin
[mkdir] Created dir: /home/dspace_test/config
[mkdir] Created dir: /home/dspace_test/lib
[mkdir] Created dir: /home/dspace_test/webapps
[mkdir] Created dir: /home/dspace_test/assetstore
[mkdir] Created dir: /home/dspace_test/handle-server
[mkdir] Created dir: /home/dspace_test/search
[mkdir] Created dir: /home/dspace_test/log
[mkdir] Created dir: /home/dspace_test/upload
[mkdir] Created dir: /home/dspace_test/reports

init_configs:
 [copy] Copying 43 files to /home/dspace_test/config

setup_database:
 [java] 2008-03-27 15:02:40,880 INFO  org.dspace.core.ConfigurationManager 
@ Loading system provided config property (-Ddspace.configuration): 
config/dspace.cfg
 [java] 2008-03-27 15:02:40,884 INFO  org.dspace.core.ConfigurationManager 
@ Using default log4j provided log configuration,if uninitended, check your 
dspace.cfg for (log.init.config)
 [java] 2008-03-27 15:02:40,884 INFO  
org.dspace.storage.rdbms.InitializeDatabase @ Initializing Database
 [java] 2008-03-27 15:02:49,029 INFO  org.dspace.core.ConfigurationManager 
@ Loading system provided config property (-Ddspace.configuration): 
config/dspace.cfg
 [java] 2008-03-27 15:02:49,033 INFO  org.dspace.core.ConfigurationManager 
@ Using default log4j provided log configuration,if uninitended, check your 
dspace.cfg for (log.init.config)

load_registries:
 [java] 2008-03-27 15:02:50,956 INFO  org.dspace.core.ConfigurationManager 
@ Loading system provided config property (-Ddspace.configuration): 
config/dspace.cfg
 [java] 2008-03-27 15:02:50,960 INFO  org.dspace.core.ConfigurationManager 
@ Using default log4j provided log configuration,if uninitended, check your 
dspace.cfg for (log.init.config)
 [java] 2008-03-27 15:02:51,479 FATAL org.dspace.administer.RegistryLoader 
@ anonymous::error_loading_registries:
 [java] java.lang.NullPointerException
 [java] at 
org.dspace.storage.rdbms.TableRow.canonicalize(TableRow.java:611)
 [java] at 
org.dspace.storage.rdbms.TableRow.hasColumn(TableRow.java:110)
 [java] at 
org.dspace.storage.rdbms.TableRow.setColumn(TableRow.java:466)
 [java] at 
org.dspace.storage.rdbms.DatabaseManager.insert(DatabaseManager.java:589)
 [java] at 
org.dspace.storage.rdbms.DatabaseManager.create(DatabaseManager.java:384)
 [java] at 
org.dspace.content.BitstreamFormat.create(BitstreamFormat.java:400)
 [java] at 
org.dspace.administer.RegistryLoader.loadFormat(RegistryLoader.java:203)
 [java] at 
org.dspace.administer.RegistryLoader.loadBitstreamFormats(RegistryLoader.java:169)
 [java] at 
org.dspace.administer.RegistryLoader.main(RegistryLoader.java:107)

BUILD FAILED
/usr/local/dspace_test/dspace/target/dspace-1.5.0-build.dir/build.xml:424: Java 
returned: 1

Total time: 11 seconds
-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech