How to start Sybase under Linux

Source: Internet
Author: User
Tags sybase sybase database

isql-dxxx-uxxx-p111111 connect the database with isql to discover that the database is not started.

How do I start the Sybase database?

[Ta_sybase] [/home/bta]su-sybase//Switch to Sybase user.
Password:handsome
[Email protected] ~]$ pwd
/sdb1/sybase
Description: SDB1 is the mount virtual machine disk.
Sdb1/sybase/ase-12_5/install start Sybase under this path.
[[email protected] ~]$ ls
Ase-12_5 ocs-12_5 sybase.csh _JVM data jconnect-5_5 media.inf sybcent41
ASEP odbc-12_5 sybase.env charsets installed jconnect-6_0 Setup Uninstall
Hsfss_sybase.cfg rpl-12_5 sybase.sh Collate interf.old locales shared-1_0 vpd.properties
Js-12_5 SQL SYSAM-1_0 config Interfaces log.txt Sybase
[Email protected] ~]$ CD Ase-12_5
[[email protected] ase-12_5]$ ls
hsfss_sybase.001 hsfss_sybase.007 hsfss_sybase.013 hsfss_sybase.019 hsfss_sybase.bak Certificates Scripts
hsfss_sybase.002 hsfss_sybase.008 hsfss_sybase.014 hsfss_sybase.020 hsfss_sybase.cfg Debugger Sqlsrv.res
hsfss_sybase.003 hsfss_sybase.009 hsfss_sybase.015 hsfss_sybase.021 HSFSS_SYBASE.KRG init sybhelp
hsfss_sybase.004 hsfss_sybase.010 hsfss_sybase.016 hsfss_sybase.022 hsfss_sybase.srg0 Install Symlib
hsfss_sybase.005 hsfss_sybase.011 hsfss_sybase.017 hsfss_sybase.023 bin Lib Upgrade
hsfss_sybase.006 hsfss_sybase.012 hsfss_sybase.018 hsfss_sybase.024 bsrv.res Sample Xappdefaults
[[Email protected] ase-12_5]$ CD Install
[[email protected] install]$ ls
Hsfss_sybase.log run_hsfss_sybase SPR auditinit.sym setperm_monserv startserver sybinit.err
Hsfss_sybase_bs.log run_hsfss_sybase_bs auditinit setperm_all showserver sybhauser Veritas
[Email protected] install]$ run_hsfss_sybase

Startup success is:
00:00000:00001:2014/05/06 00:50:36.88 Server Master device size:30 megabytes, or 15360 virtual pages. (A virtual page is 2048 bytes.)

--------------------------------------------------------------------------------------------------------------- ------
[[email protected] ~]# DF
Filesystem 1k-block already used% mount point available
/dev/mapper/volgroup00-logvol00
5482948 2501756 2702664 49%/
/DEV/SDA1 101086 9145 86722 10%/boot
None 150364 0 150364 0%/dev/shm
[[email protected] ~]# MOUNT/DEV/SDB1/SDB1//Execute Mount command.
--------------------------------------------------------------------------------------------------------------- -----

How do I view the ports of a Sybase database connection?
Log in with Syase User:
[Ta_sybase] [/home/bta]su-sybase
Password:
[Email protected] ~]$
[Email protected] ~]$ pwd
/sdb1/sybase
[[email protected] ~]$ ls
Ase-12_5 ocs-12_5 sybase.csh _JVM data jconnect-5_5 media.inf sybcent41
ASEP odbc-12_5 sybase.env charsets installed jconnect-6_0 Setup Uninstall
Hsfss_sybase.cfg rpl-12_5 sybase.sh Collate interf.old locales shared-1_0 vpd.properties
Js-12_5 SQL SYSAM-1_0 config Interfaces log.txt Sybase
See interfaces this file name:
[Email protected] ~]$ VI interfaces
Hsfss_sybase
Master TCP ether 192.168.236.128 61001
Query TCP ether 192.168.236.128 61001


Hsfss_sybase_bs
Master TCP ether Yudj 61002
Query TCP ether YUDJ 61002

Hsfss_sybase below is the port where you see the host's IP address and database connection.

--------------------------------------------------------------------------------------------------------------- --------

If the IP address of the host changes, two files need to be modified.
1. Is the IP address in the interfaces file above.
2. Modify the/etc/hosts file with the root user. Change the IP address in the Hosts file to the current new host address.
[Ta_sybase] [/home/bta]su-root
Password:
[Email protected] ~]# cd/etc
[Email protected] etc]# VI hosts
# don't remove the following line, or various programs
# that require network functionality would fail.
127.0.0.1 localhost
192.168.236.128 YUDJ.HSJR Yudj

How to start Sybase under Linux

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.