10-11-2002
it's Linux ( RH 7.2 ),
thanks,
Ivan
10 More Discussions You Might Find Interesting
1. Solaris
How can I make sure that all the database instances are shut down and brought up when the server is restarted.
Krishan (3 Replies)
Discussion started by: krishan
3 Replies
2. Shell Programming and Scripting
hi,
I need a command that restart the tomcat server.
for example for restart the tomcat i am using following command, /etc/init.d/tomcat restart ..but sometimes is not working...might be i want to use java code access this peace of script.
like using the grep and ps commands can i use?... (2 Replies)
Discussion started by: sankar reddy
2 Replies
3. Windows & DOS: Issues & Discussions
Hi all expert,
Anybody know how to restart the windows 2000 server through command line and without using any additional tool?
Thanks :):) (2 Replies)
Discussion started by: wilsonSurya
2 Replies
4. Red Hat
Hi everyone,
- I have CentOs server 5.4 , I usually remote by ssh.
- My problem is server usually restart but I don't reason. I check log in file /var/log/messages: I don't see "signal 15" which kernel have to receive before restart. Everyone can see in attach.
- I try to restart with command... (3 Replies)
Discussion started by: vietbk87
3 Replies
5. Solaris
Hi
My i ask how to restart the Xvnc server running on a solaris box. This is the Xvnc server running process:
Xvnc:1 -httpd /usr/local/vnc/classes -geometry 1024x768 -rfbwait 5000 -rfauth <dir> -rfbport <port no> -alwaysshared
Additional Question:
1. Should i kill the process and restart... (1 Reply)
Discussion started by: jao_madn
1 Replies
6. UNIX for Advanced & Expert Users
Hello all:
I am new to LINUX/UNIX administration task. My Infrastructure admin has allocated me a special lab server in client location. Per my requirement, had chanted few settings in LINUX/UNIX and need to reboot the server. I am the "root" user. I had used "shutdown -r now" at command line... (3 Replies)
Discussion started by: nvkuriseti
3 Replies
7. HP-UX
We have HP K class unix server, It's automatically restart the server. (10 Replies)
Discussion started by: ganesh24pal
10 Replies
8. Shell Programming and Scripting
Can any one help me with a script to restart secondary server and sync data in it..
smsc101-0:ssh smsc101-1 "invoke-rc.d smsc restart"
pwd:***
smsc101-0:rsync -avz /usr/local/smsc/data smsc101-1:/usr/local/npac/data (1 Reply)
Discussion started by: chinuku
1 Replies
9. UNIX for Advanced & Expert Users
Hi,
I have a couch Db server running. I have written a script which will check and kill the multiple instances of the same and then start again a new one.
Now when i start the db server manually, the UI of the DB is accessible via browser. But when i do the same using cronjob, the UI of... (0 Replies)
Discussion started by: sarath@123
0 Replies
10. UNIX for Advanced & Expert Users
Hi,
Unix AIX, on WebLogic
How to Restart the web server
Thank you. (2 Replies)
Discussion started by: big123456
2 Replies
LEARN ABOUT DEBIAN
dbix::datasource::driver
DataSource::Driver(3) User Contributed Perl Documentation DataSource::Driver(3)
NAME
DBIx::DataSource::Driver - Driver Writer's Guide and base class
SYNOPSIS
perldoc DBIx::DataSource::Driver;
or
package DBIx::DataSource::FooBase;
use DBIx::DataSource::Driver;
@ISA = qw( DBIx::DataSource::Driver );
DESCRIPTION
To implement a driver for your database:
1) If you can create a database with an SQL command through DBI/DBD, simply
provide a parse_dsn class method which returns a list consisting of the
*actual* data source to use in DBI->connect and the SQL.
package DBIx::DataSource::NewDatabase;
use DBIx::DataSource::Driver;
@ISA = qw( DBIx::DataSource::Driver );
sub parse_dsn {
my( $class, $action, $dsn ) = @_;
# $action is `create' or `drop'
# for example, if you parse parse $dsn for $database,
# $sql = "$action $database";
# you can die on errors - it'll be caught
( $new_dsn, $sql );
}
2) Otherwise, you'll need to write create_database and drop_database
class methods.
package DBIx::DataSource::NewDatabase;
sub create_database {
my( $class, $dsn, $user, $pass ) = @_;
# for success, return true
# for failure, die (it'll be caught)
}
sub drop_database {
my( $class, $dsn, $user, $pass ) = @_;
# for success, return true
# for failure, die (it'll be caught)
}
AUTHOR
Ivan Kohler <ivan-dbix-datasource@420.am>
COPYRIGHT
Copyright (c) 2000 Ivan Kohler Copyright (c) 2000 Mail Abuse Prevention System LLC All rights reserved. This program is free software; you
can redistribute it and/or modify it under the same terms as Perl itself.
BUGS
SEE ALSO
DBIx::DataSource, DBIx::DataSource::mysql, DBIx::DataSource::Pg, DBI
perl v5.8.0 2000-09-25 DataSource::Driver(3)