Unknown hostname & DHCP
I have a Solaris 8 IA box. During installation, a host name was never prompted for, and I selected DHCP. From comments in the forum, it appears the hostname of 'unknown' may be due to the fact that I selected DHCP.
I have tried using admintool, the command hostname, and ifconfig to no avail.
I would like to diable the DHCP, plus specify a new hostname. (As a matter of curiosity, can a alternate host be selected if DHCP is left enabled?)
Can someone help?
Thanks in advance
Jake
I seems also have such problem.
And I feel it is really weird, because after I rebooted the system several times, and di "sys-unconfig" sever times (each time input and configure exactly the same), it is all OK now.
I wonder Solaris (at least 8 for x86) sometimes do not save my configuration. One obvious example is, when I logout CDE and relogin, sometimes it will startup the default welcome screen with the Help and File folder on screen (sometime is sometime not), as if I am the first time login.
Strange.
Similar Messages
-
I suddenly saw that my hostname in the Terminal has changed to "unknown406c8f255bd7". I checked the Computer name under System Pref>>Sharing and its the correct one("ABC_Macbook_Pro"). I further checked the environment variable or used hostname command and i could see the unknown hostname "unknown406c8f255bd7" there.
When i try to change the hostname thru terminal, it gives me this error "hostname: sethostname: Operation not permitted".
I tried opening a new terminal window but it did not help.
I searched thru the existing forum discussions but could not find anything relevant.
Can someone tell me why the hostname under Sharing and environment variable have different values?
Thanks'bash' the default shell has a default prompt that gets your hostname by taking your IP address and doing a reverse DNS lookup and if the DNS server returns a value, it uses that value. If AND ONLY IF the DNS server does not return anything will your System Preferences -> Sharing -> Computer name.
So your DNS server has returned unknown406c8f255bd7 and bash is using it.
You have a few choices.
Get your DNS server to stop returning unknown406c8f255bd7
Change your bash prompt to use something else for your command prompt. Add the following to your .bash_profile or .bash_login or .profile (whichever one you happen to already have; if you do not have one of the above, then create your own .bash_profile using - nano .bash_profile)
PS1='$(networksetup -getcomputername):\W \u\$ '
Other? -
hi
I am practicing on RMI with sun samples.
in
java -D.... hostname=localhost , I return back an error such:
unknown hostname....
i am beginner in this case.
would some body helps me??unknown hostname what? If it's 'localhost' or some other known host you have a hosts/DNS problem. If it's 127.0.0.1 and the server is on a different host from the client you have a host/DNS problem at the server host, but you can work around it by setting -Djava.rmi.server.hostname at the server host. See the Javadoc/RMI/Guide to Features/java.rmi properties.
-
Where can I put a hostname so that the computer will have one when it is at the login screen? I have tried placing it in dhcp.hme0 and hostname.hme0 and /etc/hosts. Thanks in advance for helping me.
Hi,
You will need to set the hostname on the DHCP server. ONe of the configurable options in a DHCP record st is the hostname, if this has not been set then Solaris sets the hostname to unknown.
Hope this helps.
Kind regards,
Ken.<br>
--<br>
job: technical directory<br>
web: odtv.com<br>
eml: ken@<br> -
[Solved] Question mark instead of hostname dhcp lease list
My router running OpenWRT (runs dnsmasq) doesn't always pick up the hostname from one of my Arch pc's. I've recently reinstalled 2 pc's and I always follow the same procedure but sometimes one of them is not showing a hostname in the list. It gets an ip address alright, its just that other pc's can't resolve the missing hostname. Until now I've worked around it but I rather just solve this little mistery.
I've used both dhcpcd@ and NetworkManager, it happens with both, after more testing today it seems that it happens (more/exclusively) with NetworkManager.
I checked journalctl --unit NetworkManager but I see no errors or warnings there, just info.
In the system log on the router where dhcp messages are logged, I see some warnings, nothing relevant I think:
Sat May 2 17:06:22 2015 daemon.warn odhcpd[916]: DHCPV6 SOLICIT IA_NA from 000100011cd684244c0bbead15ea on br-lan: ok fdab:ff96:6241::50a/128
Sat May 2 17:06:23 2015 daemon.warn odhcpd[916]: DHCPV6 REQUEST IA_NA from 000100011cd684244c0bbead15ea on br-lan: ok fdab:ff96:6241::50a/128
5 kern.debug kernel: [86847.150000] icmp6_send: no reply to icmp error
Sat May 2 17:19:05 2015 kern.debug kernel: [86847.150000] icmp6_send: no reply to icmp error
Sat May 2 17:19:05 2015 kern.debug kernel: [86847.150000] icmp6_send: no reply to icmp error
Sat May 2 17:19:05 2015 kern.debug kernel: [86847.160000] icmp6_send: no reply to icmp error
Sat May 2 17:19:09 2015 kern.debug kernel: [86851.140000] icmp6_send: no reply to icmp error
Sat May 2 17:19:09 2015 kern.debug kernel: [86851.140000] icmp6_send: no reply to icmp error
Other than that, I see my pc sending a DHCP request and getting a reply:
5 daemon.info dnsmasq-dhcp[1336]: DHCPREQUEST(br-lan) 1.2.3.4 ec:a6:4c:fd:fe:ec
Sat May 2 18:44:58 2015 daemon.info dnsmasq-dhcp[1336]: DHCPACK(br-lan) 1.2.3.4 ec:a6:4c:fd:fe:ec nucky
I don't even know if the problem is with the pc's or the router but since its running Linux with dnsmasq, Im sure some knowledgable soul must have an idea about that too .
Thanks for the help!
Last edited by mouseman (2015-05-09 07:59:33)Marked as solved. Turned out to be an issue with OpenWRT. I upgraded to the latest trunk which also came with a later version dnsmasq. No more question marks and unresolvable hostnames .
-
I have a SunBlade using Solaris 9 with the DHCP client. I am requesting the DHCP information from a w2k box that is sharing my DSL connection. I cannot seem to get the configuration to provide a hostname (always comes back "unknown"). Any suggestions?
Hi there,
Edit the file /etc/init.d/network and change the line that reads
"dhcp") hostname=`/sbin/dhcpinfo Hostname` ;;
to
# "dhcp") hostname=`/sbin/dhcpinfo Hostname` ;;
"dhcp") hostname=`/usr/bin/cat /etc/nodename` ;;
Then, edit the file /etc/init.d/inetsvc and change the line that reads
hostname=`/sbin/dhcpinfo Hostname`
to
# hostname=`/sbin/dhcpinfo Hostname`
hostname=`/usr/bin/cat /etc/nodename`
Save the files and reboot the system. The system's hostname will be the
entry in the file /etc/nodename.
Regards,
Chris -
Problem with hostname after enabling dhcp
i just installed a solaris10 non-networked because there was no network connection when i installed it. but recently, we were able to connect it to a network which required me to enable dhcp which i did with a sys-unconfig command.
the problem is, the hostname i have for this machine is currently "unknown" and i don't know how to set it to another name,
i've tried the procedure in doc.sun.com but still will not work.
thanksHello,
I had the same problem with Solaris 9 for 3 months.
I used the following documentation :
#3477
2. For Solaris 8 systems.
Edit the file /etc/init.d/network and change the line that reads
"dhcp") hostname=`/sbin/dhcpinfo Hostname` ;;
to
# "dhcp") hostname=`/sbin/dhcpinfo Hostname` ;;
"dhcp") hostname=`shcat /etc/nodename` ;;
Then, edit the file /etc/init.d/inetsvc and change the line that reads
hostname=`/sbin/dhcpinfo Hostname`
to
# hostname=`/sbin/dhcpinfo Hostname`
hostname=`/usr/bin/cat /etc/nodename`
Save the files and reboot the system. The system's hostname will be the
entry in the file /etc/nodename.
Else try the docid : 71848
Good luck -
Hi All,
I have made an image of an SAP 2004S on MAXDB server and I have deployed this on an other physical server. Sap is running fine now (on a temp license) but I want to change the hostname of this server.
I have followed the instructions in note 757692 (Changing the hostname for J2EE Engine 6.40/ 7.0 installation) but SAP does not start anymore. When starting up in SAP MMC the disp + work.EXE first turn in to yellow, but after some time the status changes to stopped. The errorlog shows "connect to database failed. rc is -10709 Connection failed. RTE: unknown hostname. I have also seen that the workprocesses do start but the stop after some seconds.
The trace file of a workprocess is here:
trc file: "dev_w0", trc level: 1, release: "700"
ACTIVE TRACE LEVEL 1
ACTIVE TRACE COMPONENTS all, MJ
B
B Wed Nov 28 16:40:46 2007
B create_con (con_name=R/3)
B Loading DB library 'D:\usr\sap\NW1\DVEBMGS01\exe\dbsdbslib.dll' ...
B Library 'D:\usr\sap\NW1\DVEBMGS01\exe\dbsdbslib.dll' loaded
B Version of 'D:\usr\sap\NW1\DVEBMGS01\exe\dbsdbslib.dll' is "700.08", patchlevel (0.82)
B New connection 0 created
M sysno 01
M sid NW1
M systemid 560 (PC with Windows NT)
M relno 7000
M patchlevel 0
M patchno 83
M intno 20050900
M make: multithreaded, Unicode, optimized
M pid 5664
M
M kernel runs with dp version 218000(ext=109000) (@(#) DPLIB-INT-VERSION-218000-UC)
M length of sys_adm_ext is 572 bytes
M ***LOG Q0Q=> tskh_init, WPStart (Workproc 0 5664) [dpxxdisp.c 1301]
I MtxInit: 30000 0 0
M DpSysAdmExtCreate: ABAP is active
M DpSysAdmExtCreate: VMC (JAVA VM in WP) is not active
M
M Wed Nov 28 16:40:47 2007
M DpShMCreate: sizeof(wp_adm) 12672 (1408)
M DpShMCreate: sizeof(tm_adm) 3994272 (19872)
M DpShMCreate: sizeof(wp_ca_adm) 24000 (80)
M DpShMCreate: sizeof(appc_ca_adm) 8000 (80)
M DpCommTableSize: max/headSize/ftSize/tableSize=500/8/528056/528064
M DpShMCreate: sizeof(comm_adm) 528064 (1048)
M DpFileTableSize: max/headSize/ftSize/tableSize=0/0/0/0
M DpShMCreate: sizeof(file_adm) 0 (72)
M DpShMCreate: sizeof(vmc_adm) 0 (1440)
M DpShMCreate: sizeof(wall_adm) (38456/34360/64/184)
M DpShMCreate: sizeof(gw_adm) 48
M DpShMCreate: SHM_DP_ADM_KEY (addr: 06B60040, size: 4647736)
M DpShMCreate: allocated sys_adm at 06B60040
M DpShMCreate: allocated wp_adm at 06B61E40
M DpShMCreate: allocated tm_adm_list at 06B64FC0
M DpShMCreate: allocated tm_adm at 06B64FF0
M DpShMCreate: allocated wp_ca_adm at 06F34290
M DpShMCreate: allocated appc_ca_adm at 06F3A050
M DpShMCreate: allocated comm_adm at 06F3BF90
M DpShMCreate: system runs without file table
M DpShMCreate: allocated vmc_adm_list at 06FBCE50
M DpShMCreate: allocated gw_adm at 06FBCE90
M DpShMCreate: system runs without vmc_adm
M DpShMCreate: allocated ca_info at 06FBCEC0
M DpShMCreate: allocated wall_adm at 06FBCEC8
X EmInit: MmSetImplementation( 2 ).
X MM global diagnostic options set: 0
X <ES> client 0 initializing ....
X Using implementation flat
M <EsNT> Memory Reset disabled as NT default
X ES initialized.
M ThInit: running on host GPR-MI-TST01
M
M Wed Nov 28 16:40:48 2007
M calling db_connect ...
C
C DBSDBSLIB : version 700.08, patch 0.082 (Make PL 0.83)
C MAXDB shared library (dbsdbslib) patchlevels (last 10)
C (0.082) MaxDB DBSL patch collection 3 2006 (note 991258)
C (0.079) MaxDB DBSL patch collection 2 2006 (note 984406)
C (0.068) MaxDB DBSL patch collection 1 2006 (note 962708)
C (0.051) DB50 perm block defect (note 934194)
C (0.046) ADBC: invalid data when fetching cursor with hold (note 925337)
C (0.045) Signal 11 during creation of BIA index (note 920743)
C (0.038) MaxDB DBSL patch collection 2 2005 (note 908602)
C (0.034) Livecache unicode connect (use SDK 7.6.0 b11) (note 901576)
C (0.028) Disable LVC codepage checking (note 882788)
C (0.019) UPDSTAT optimized (note 870327)
C
C
C Loading SQLDBC client runtime ...
C SQLDBC SDK Version : SQLDBC.H 7.6.0 BUILD 002-121-083-965
C SQLDBC Library Version : libSQLDBC 7.6.0 BUILD 018-123-119-055
C SQLDBC client runtime is MaxDB 7.6.0.018 CL 119055
C SQLDBC supports new DECIMAL interface : 0
C INFO : SQLOPT= -I 0 -t 0 -S SAPR3
C Try to connect (DEFAULT) on connection 0 ...
C
C Wed Nov 28 16:40:53 2007
C *** ERROR => Connect to database failed, rc = -10709 (Connection failed (RTE:unknown host name))
[dbsdbsql.cpp 136]
B ***LOG BV3=> severe db error -10709 ; work process is stopped [dbsh#2 @ 1199] [dbsh 1199 ]
B ***LOG BY2=> sql error -10709 performing CON [dblink#3 @ 431] [dblink 0431 ]
B ***LOG BY0=> Connection failed (RTE:unknown host name) [dblink#3 @ 431] [dblink 0431 ]
M ***LOG R19=> ThInit, db_connect ( DB-Connect 000256) [thxxhead.c 1411]
M in_ThErrHandle: 1
M *** ERROR => ThInit: db_connect (step 1, th_errno 13, action 3, level 1) [thxxhead.c 10205]
M
M Info for wp 0
M
M stat = 4
M reqtype = 1
M act_reqtype = -1
M rq_info = 0
M tid = -1
M mode = 255
M len = -1
M rq_id = 65535
M rq_source = 255
M last_tid = 0
M last_mode = 0
M semaphore = 0
M act_cs_count = 0
M control_flag = 0
M int_checked_resource(RFC) = 0
M ext_checked_resource(RFC) = 0
M int_checked_resource(HTTP) = 0
M ext_checked_resource(HTTP) = 0
M report = > <
M action = 0
M tab_name = > <
M vm = no VM
M
M *****************************************************************************
M *
M * LOCATION SAP-Server GPR-MI-TST01_NW1_01 on host GPR-MI-TST01 (wp 0)
M * ERROR ThInit: db_connect
M *
M * TIME Wed Nov 28 16:40:53 2007
M * RELEASE 700
M * COMPONENT Taskhandler
M * VERSION 1
M * RC 13
M * MODULE thxxhead.c
M * LINE 10404
M * COUNTER 1
M *
M *****************************************************************************
M
M PfStatDisconnect: disconnect statistics
M Entering TH_CALLHOOKS
M ThCallHooks: call hook >ThrSaveSPAFields< for event BEFORE_DUMP
M *** ERROR => ThrSaveSPAFields: no valid thr_wpadm [thxxrun1.c 720]
M *** ERROR => ThCallHooks: event handler ThrSaveSPAFields for event BEFORE_DUMP failed [thxxtool3.c 260]
M Entering ThSetStatError
M ThIErrHandle: do not call ThrCoreInfo (no_core_info=0, in_dynp_env=0)
M Entering ThReadDetachMode
M call ThrShutDown (1)...
M ***LOG Q02=> wp_halt, WPStop (Workproc 0 5664) [dpnttool.c 327]
Can you please help me out?
Regards,
Koen Engelen
Message was edited by: Koen
Koen EngelenMarcus,
I have made the changes, here is the result:
D:\usr\sap>xuser list
XUSER Entry 1
Key :DEFAULT
Username :SAPNW1
UsernameUCS2:S.A.P.N.W.1. . . . . . . . . . . . . . . . . . . . . . . . . . .
Password :?????????
PasswordUCS2:?????????
Dbname :NW1
Nodename :GPR-MI-TST01
Sqlmode :<unspecified>
Cachelimit :-1
Timeout :-1
Isolation :-1
Charset :<unspecified>
XUSER Entry 2
Key :SUPERDBA
Username :SAPNW1
UsernameUCS2:S.A.P.N.W.1. . . . . . . . . . . . . . . . . . . . . . . . . . .
Password :?????????
PasswordUCS2:?????????
Dbname :NW1
Nodename :GPR-MI-TST01
Sqlmode :<unspecified>
Cachelimit :-1
Timeout :-1
Isolation :-1
Charset :<unspecified>
XUSER Entry 3
Key :CONTROL
Username :SAPNW1
UsernameUCS2:S.A.P.N.W.1. . . . . . . . . . . . . . . . . . . . . . . . . . .
Password :?????????
PasswordUCS2:?????????
Dbname :NW1
Nodename :GPR-MI-TST01
Sqlmode :<unspecified>
Cachelimit :-1
Timeout :-1
Isolation :-1
Charset :<unspecified>
XUSER Entry 4
Key :J2EE
Username :SAPNW1DB
UsernameUCS2:S.A.P.N.W.1.D.B. . . . . . . . . . . . . . . . . . . . . . . . .
Password :?????????
PasswordUCS2:?????????
Dbname :NW1
Nodename :GPR-MI-TST01
Sqlmode :<unspecified>
Cachelimit :-1
Timeout :-1
Isolation :-1
Charset :<unspecified>
D:\usr\sap>r3trans -d
This is r3trans version 6.14 (release 700 - 18.09.06 - 09:35:00).
unicode enabled version
r3trans finished (0000).
D:\usr\sap>
This is the trans.log:
4 ETW000 r3trans version 6.14 (release 700 - 18.09.06 - 09:35:00).
4 ETW000 unicode enabled version
4 ETW000 ===============================================
4 ETW000
4 ETW000 date&time : 04.12.2007 - 13:35:55
4 ETW000 control file: <no ctrlfile>
4 ETW000 R3trans was called as follows: r3trans -d
4 ETW000 trace at level 2 opened for a given file pointer
4 ETW000 [dev trc ,00000] Tue Dec 04 13:35:58 2007 4917 0.004917
4 ETW000 [dev trc ,00000] db_con_init called 32 0.004949
4 ETW000 [dev trc ,00000] create_con (con_name=R/3) 43 0.004992
4 ETW000 [dev trc ,00000] Loading DB library 'dbsdbslib.dll' ... 32 0.005024
4 ETW000 [dev trc ,00000] load shared library (dbsdbslib.dll), hdl 0 88595 0.093619
4 ETW000 [dev trc ,00000] using "D:\usr\sap\NW1\SYS\exe\uc\NTI386\dbsdbslib.dll"
4 ETW000 41 0.093660
4 ETW000 [dev trc ,00000] Library 'dbsdbslib.dll' loaded 17 0.093677
4 ETW000 [dev trc ,00000] function DbSlExpFuns loaded from library dbsdbslib.dll
4 ETW000 5180 0.098857
4 ETW000 [dev trc ,00000] Version of 'dbsdbslib.dll' is "700.08", patchlevel (0.82)
4 ETW000 11621 0.110478
4 ETW000 [dev trc ,00000] function dsql_db_init loaded from library dbsdbslib.dll
4 ETW000 34 0.110512
4 ETW000 [dev trc ,00000] function dbdd_exp_funs loaded from library dbsdbslib.dll
4 ETW000 5929 0.116441
4 ETW000 [dev trc ,00000] } DbSlSdbControl(rc=0) 287 0.116728
4 ETW000 [dev trc ,00000] { DbSlSdbControl(con_hdl=-1,command=39,arg_p=00000000)
4 ETW000 37 0.116765
4 ETW000 [dev trc ,00000] } DbSlSdbControl(rc=0) 277 0.117042
4 ETW000 [dev trc ,00000] { DbSlSdbControl(con_hdl=-1,command=10,arg_p=01F7FB60)
4 ETW000 34 0.117076
4 ETW000 [dev trc ,00000] } DbSlSdbControl(rc=0) 15 0.117091
4 ETW000 [dev trc ,00000] New connection 0 created 15 0.117106
4 ETW000 [dev trc ,00000] 0: name = R/3, con_id = -000000001 state = DISCONNECTED, perm = YES, reco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO
4 ETW000 33 0.117139
4 ETW000 [dev trc ,00000] { DbSlSdbControl(con_hdl=-1,command=10,arg_p=0163E0E0)
4 ETW000 31 0.117170
4 ETW000 [dev trc ,00000] } DbSlSdbControl(rc=0) 15 0.117185
4 ETW000 [dev trc ,00000] db_con_connect (con_name=R/3) 16 0.117201
4 ETW000 [dev trc ,00000] find_con_by_name found the following connection for reuse:
4 ETW000 22 0.117223
4 ETW000 [dev trc ,00000] 0: name = R/3, con_id = 000000000 state = DISCONNECTED, perm = YES, reco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO
4 ETW000 30 0.117253
4 ETW000 [dev trc ,00000] { DbSlSdbConnect(con_info_p=00000000) 28 0.117281
4 ETW000 [dev trc ,00000] DBSDBSLIB : version 700.08, patch 0.082 (Make PL 0.83)
4 ETW000 7145 0.124426
4 ETW000 [dev trc ,00000] MAXDB shared library (dbsdbslib) patchlevels (last 10)
4 ETW000 100 0.124526
4 ETW000 [dev trc ,00000] (0.082) MaxDB DBSL patch collection 3 2006 (note 991258)
4 ETW000 25 0.124551
4 ETW000 [dev trc ,00000] (0.079) MaxDB DBSL patch collection 2 2006 (note 984406)
4 ETW000 25 0.124576
4 ETW000 [dev trc ,00000] (0.068) MaxDB DBSL patch collection 1 2006 (note 962708)
4 ETW000 24 0.124600
4 ETW000 [dev trc ,00000] (0.051) DB50 perm block defect (note 934194) 19 0.124619
4 ETW000 [dev trc ,00000] (0.046) ADBC: invalid data when fetching cursor with hold (note 925337)
4 ETW000 23 0.124642
4 ETW000 [dev trc ,00000] (0.045) Signal 11 during creation of BIA index (note 920743)
4 ETW000 25 0.124667
4 ETW000 [dev trc ,00000] (0.038) MaxDB DBSL patch collection 2 2005 (note 908602)
4 ETW000 24 0.124691
4 ETW000 [dev trc ,00000] (0.034) Livecache unicode connect (use SDK 7.6.0 b11) (note 901576)
4 ETW000 25 0.124716
4 ETW000 [dev trc ,00000] (0.028) Disable LVC codepage checking (note 882788)
4 ETW000 24 0.124740
4 ETW000 [dev trc ,00000] (0.019) UPDSTAT optimized (note 870327) 18 0.124758
4 ETW000 [dev trc ,00000] 13 0.124771
4 ETW000 [dev trc ,00000] -> init() 224 0.124995
4 ETW000 [dev trc ,00000] -> sdb_malloc(size=26) : 02E20B08 (34 bytes allocated)
4 ETW000 53 0.125048
4 ETW000 [dev trc ,00000] STATEMENT_CACHE_SIZE = 1000 695 0.125743
4 ETW000 [dev trc ,00000] -> sdb_malloc(size=108000) : 02E20B38 (108042 bytes allocated)
4 ETW000 265 0.126008
4 ETW000 [dev trc ,00000] -> sdb_malloc(size=364000) : 02E3B128 (472050 bytes allocated)
4 ETW000 40 0.126048
4 ETW000 [dev trc ,00000] -> sdb_malloc(size=264000) : 02E93F18 (736058 bytes allocated)
4 ETW000 38 0.126086
4 ETW000 [dev trc ,00000] -> sdb_malloc(size=8072) : 02ED4668 (744138 bytes allocated)
4 ETW000 28 0.126114
4 ETW000 [dev trc ,00000] -> sdb_malloc(size=16024) : 02ED6600 (760170 bytes allocated)
4 ETW000 32 0.126146
4 ETW000 [dev trc ,00000] -> loadClientRuntime() 637 0.126783
4 ETW000 [dev trc ,00000] Loading SQLDBC client runtime ... 18 0.126801
4 ETW000 [dev trc ,00000] SQLDBC SDK Version : SQLDBC.H 7.6.0 BUILD 002-121-083-965
4 ETW000 708 0.127509
4 ETW000 [dev trc ,00000] SQLDBC Library Version : libSQLDBC 7.6.0 BUILD 018-123-119-055
4 ETW000 30 0.127539
4 ETW000 [dev trc ,00000] SQLDBC client runtime is MaxDB 7.6.0.018 CL 119055
4 ETW000 52 0.127591
4 ETW000 [dev trc ,00000] SQLDBC supports new DECIMAL interface : 0 29 0.127620
4 ETW000 [dev trc ,00000] -> getNewConnection() 17 0.127637
4 ETW000 [dev trc ,00000] -> sdb_malloc(size=1636) : 02EDC820 (761814 bytes allocated)
4 ETW000 27 0.127664
4 ETW000 [dev trc ,00000] -> sdb_malloc(size=344) : 02EDCE98 (762166 bytes allocated)
4 ETW000 44 0.127708
4 ETW000 [dev trc ,00000] <- getNewConnection(con_hdl=0) 34 0.127742
4 ETW000 [dev trc ,00000] -> checkEnvironment(con_hdl=0) 26 0.127768
4 ETW000 [dev trc ,00000] -> connect() 4149 0.131917
4 ETW000 [dev trc ,00000] INFO : SQLOPT= -I 0 -t 0 -S SAPR3 68 0.131985
4 ETW000 [dev trc ,00000] Try to connect (DEFAULT) on connection 0 ... 83 0.132068
4 ETW000 [dev trc ,00000] -> check_db_params(con_hdl=0) 92317 0.224385
4 ETW000 [dev trc ,00000] Attach to SAP DB : Kernel 7.6.00 Build 018-123-119-055
4 ETW000 21629 0.246014
4 ETW000 [dev trc ,00000] Database release is SAP DB 7.6.00.018 22 0.246036
4 ETW000 [dev trc ,00000] INFO : Database 'NW1' instance is running on 'GPR-MI-TST01'
4 ETW000 374 0.246410
4 ETW000 [dev trc ,00000] INFO : SAP DB Packet_Size = 131072 75780 0.322190
4 ETW000 [dev trc ,00000] INFO : SAP DB Min_Reply_Size = 4096 2247 0.324437
4 ETW000 [dev trc ,00000] INFO : SAP DB Comm_Size = 126976 19 0.324456
4 ETW000 [dev trc ,00000] INFO : DBSL buffer size = 126976 17 0.324473
4 ETW000 [dev trc ,00000] INFO : SAP DB MaxLocks = 300000 13393 0.337866
4 ETW000 [dev trc ,00000] INFO : Connect to DB as 'SAPNW1' 33667 0.371533
4 ETW000 [dev trc ,00000] Command info enabled 11416 0.382949
4 ETW000 [dev trc ,00000] Now I'm connected to SAP DB 27 0.382976
4 ETW000 [dev trc ,00000] 00: GPR-MI-TST01-NW1, since=20071204133558, ABAP= <unknown> (0)
4 ETW000 29 0.383005
4 ETW000 [dev trc ,00000] -> sdb_malloc(size=1152) : 02EDD438 (763326 bytes allocated)
4 ETW000 27 0.383032
4 ETW000 [dev trc ,00000] -> sdb_free(p=02EDD438, size=1152 (762166 bytes allocated))
4 ETW000 24558 0.407590
4 ETW000 [dev trc ,00000] } DbSlSdbConnect(rc=0) 18 0.407608
4 ETW000 [dev trc ,00000] { DbSlSdbControl(con_hdl=0,command=21,arg_p=01F7FC8C)
4 ETW000 24 0.407632
4 ETW000 [dev trc ,00000] } DbSlSdbControl(rc=0) 17 0.407649
4 ETW000 [dev trc ,00000] Connection 0 opened (DBSL handle 0) 15 0.407664
4 ETW000 [dev trc ,00000] { DbSlSdbControl(con_hdl=0,command=7,arg_p=01F7FA1C)
4 ETW000 24 0.407688
4 ETW000 [dev trc ,00000] } DbSlSdbControl(rc=0) 16 0.407704
4 ETW000 [dev trc ,00000] { DbSlSdbControl(con_hdl=0,command=63,arg_p=01F7FCAC)
4 ETW000 20388 0.428092
4 ETW000 [dev trc ,00000] } DbSlSdbControl(rc=0) 30 0.428122
4 ETW000 [dev trc ,00000] { DbSlSdbControl(con_hdl=0,command=21,arg_p=01F7FC28)
4 ETW000 11167 0.439289
4 ETW000 [dev trc ,00000] } DbSlSdbControl(rc=0) 18 0.439307
4 ETW000 [dev trc ,00000] { DbSlSdbControl(con_hdl=0,command=11,arg_p=01F7FB20)
4 ETW000 25 0.439332
4 ETW000 [dev trc ,00000] } DbSlSdbControl(rc=0) 16 0.439348
4 ETW000 [dev trc ,00000] { DbSlSdbControl(con_hdl=0,command=22,arg_p=01F7FBA4)
4 ETW000 23 0.439371
4 ETW000 [dev trc ,00000] } DbSlSdbControl(rc=0) 14 0.439385
4 ETW000 [dev trc ,00000] { DbSlSdbControl(con_hdl=0,command=13,arg_p=01F7FCF0)
4 ETW000 23 0.439408
4 ETW000 [dev trc ,00000] } DbSlSdbControl(rc=0) 16 0.439424
4 ETW000 [dev trc ,00000] { DbSlSdbControl(con_hdl=0,command=24,arg_p=01F7FD34)
4 ETW000 23 0.439447
4 ETW000 [dev trc ,00000] } DbSlSdbControl(rc=0) 16 0.439463
4 ETW000 [dev trc ,00000] { DbSlSdbControl(con_hdl=0,command=51,arg_p=01F7FD78)
4 ETW000 23 0.439486
4 ETW000 [dev trc ,00000] } DbSlSdbControl(rc=15) 16 0.439502
4 ETW000 [dev trc ,00000] { DbSlSdbPrepare(con_hdl=0,ss_p=01F7FD58,op=3,da_p=01F7FCF4)
4 ETW000 33 0.439535
4 ETW000 [dev trc ,00000] -> build_stmt(stmt_p=01F7FD68,da_p=01F7FCF4,for_explain=0,lock=0,op=3)
4 ETW000 34 0.439569
4 ETW000 [dev trc ,00000] SELECT INTO is possible with 1 parameters 18 0.439587
4 ETW000 [dev trc ,00000] -> sdb_malloc(size=512) : 02EDD438 (762686 bytes allocated)
4 ETW000 27 0.439614
4 ETW000 [dev trc ,00000] <- build_stmt(len=34,op=3,#marker=0,#lob=0) 23 0.439637
4 ETW000 [dev trc ,00000] -> sdb_malloc(size=512) : 02EDD648 (763206 bytes allocated)
4 ETW000 32 0.439669
4 ETW000 [dev trc ,00000] -> sdb_malloc(size=116) : 02EFCC80 (763330 bytes allocated)
4 ETW000 27 0.439696
4 ETW000 [dev trc ,00000] -> stmt_prepare(sc_hdl=02E20B40,con_hdl=0,ss_p=01F7FD58)
4 ETW000 42 0.439738
4 ETW000 [dev trc ,00000] CURSOR C_0000 PREPARE on connection 0 21 0.439759
4 ETW000 [dev trc ,00000] } DbSlSdbPrepare(rc=0) 11444 0.451203
4 ETW000 [dev trc ,00000] { DbSlSdbRead(con_hdl=0,ss_p=01F7FD58,da_p=01F7FCF4)
4 ETW000 41 0.451244
4 ETW000 [dev trc ,00000] -> activate_stmt(sc_hdl=02E20B40,da_p=01F7FCF4)
4 ETW000 42 0.451286
4 ETW000 [dev trc ,00000] -> bind_variables(sc_hdl=02E20B40,in_out=1,bulk=0,da_p=01F7FCF4)
4 ETW000 27 0.451313
4 ETW000 [dev trc ,00000] -> allocParameter(in_out=1,col_cnt=1) 18 0.451331
4 ETW000 [dev trc ,00000] -> sdb_malloc(size=24) : 02EDD080 (763362 bytes allocated)
4 ETW000 94 0.451425
4 ETW000 [dev trc ,00000] -> sdb_malloc(size=512) : 02EFCD08 (763882 bytes allocated)
4 ETW000 30 0.451455
4 ETW000 [dev trc ,00000] -> calculate_record_length(sc_hdl=02E20B40,in_out=1,types=01F7FD2C,#col=1)
4 ETW000 29 0.451484
4 ETW000 [dev trc ,00000] <- calculate_record_length(#float=0,#lob=0,#short=0,#int=0,#uc=72,#total=144)
4 ETW000 27 0.451511
4 ETW000 [dev trc ,00000] row_size=144, lob_cnt=0, row_max=1 18 0.451529
4 ETW000 [dev trc ,00000] -> allocIndicator(in_out=1,row_cnt=1) 16 0.451545
4 ETW000 [dev trc ,00000] -> sdb_malloc(size=24) : 02EDD858 (763914 bytes allocated)
4 ETW000 25 0.451570
4 ETW000 [dev trc ,00000] -> sdb_malloc(size=512) : 02EFCF18 (764434 bytes allocated)
4 ETW000 30 0.451600
4 ETW000 [dev trc ,00000] -> allocData(in_out=1,buf_size=126976) 19 0.451619
4 ETW000 [dev trc ,00000] -> sdb_malloc(size=24) : 02EDD880 (764466 bytes allocated)
4 ETW000 25 0.451644
4 ETW000 [dev trc ,00000] -> sdb_malloc(size=126976) : 03070048 (891450 bytes allocated)
4 ETW000 43 0.451687
4 ETW000 [dev trc ,00000] -> bind_type_and_length(sc_hdl=02E20B40,in_out=1,arr_size=1,types=01F7FD2C,da_p=01F7FCF4)
4 ETW000 31 0.451718
4 ETW000 [dev trc ,00000] 0 : DBSL=CHAR , T=UCS2 , L=144 , I=02EFCF20, V_DBSL=03070050
4 ETW000 9565 0.461283
4 ETW000 [dev trc ,00000] -> bind_variables(sc_hdl=02E20B40,in_out=0,bulk=0,da_p=01F7FCF4)
4 ETW000 32 0.461315
4 ETW000 [dev trc ,00000] -> allocParameter(in_out=0,col_cnt=0) 17 0.461332
4 ETW000 [dev trc ,00000] -> sdb_malloc(size=24) : 0308F058 (891482 bytes allocated)
4 ETW000 26 0.461358
4 ETW000 [dev trc ,00000] -> sdb_malloc(size=512) : 0308F080 (892002 bytes allocated)
4 ETW000 26 0.461384
4 ETW000 [dev trc ,00000] -> calculate_record_length(sc_hdl=02E20B40,in_out=0,types=00000000,#col=0)
4 ETW000 29 0.461413
4 ETW000 [dev trc ,00000] <- calculate_record_length(#float=0,#lob=0,#short=0,#int=0,#uc=0,#total=0)
4 ETW000 25 0.461438
4 ETW000 [dev trc ,00000] row_size=0, lob_cnt=0, row_max=1 16 0.461454
4 ETW000 [dev trc ,00000] -> exec_modify(sc_hdl=02E20B40,con_hdl=0,ss_p=01F7FD58,bulk=0,in_out=1,da_p=01F7FCF4)
4 ETW000 29 0.461483
4 ETW000 [dev trc ,00000] -> stmt_execute(sc_hdl=02E20B40,ss_p=01F7FD58,in_out=1,da_p=01F7FCF4)
4 ETW000 27 0.461510
4 ETW000 [dev trc ,00000] EXECUTE CURSOR C_0000 24 0.461534
4 ETW000 [dev trc ,00000] CURSOR C_0000 SET InputSize=1 16 0.461550
4 ETW000 [dev trc ,00000] CURSOR C_0000 EXECUTE 19 0.461569
4 ETW000 [dev trc ,00000] execute() of C_0000, #rec=1, rcSQL=0, rc=0 () 128 0.461697
4 ETW000 [dev trc ,00000] CURSOR C_0000, rc=0,#rec=1,#dbcount=0 20 0.461717
4 ETW000 [dev trc ,00000] -> exec_fetch(sc_hdl=02E20B40,con_hdl=0,bulk=0,da_p=01F7FCF4)
4 ETW000 30 0.461747
4 ETW000 [dev trc ,00000] xcnt=1,row_i=0,row_pcnt=1 18 0.461765
4 ETW000 [dev trc ,00000] -> deactivate_stmt(sc_hdl=02E20B40,da_p=01F7FCF4,rc=0)
4 ETW000 29 0.461794
4 ETW000 [dev trc ,00000] -> SapdbStmtFree(DBSL:C_0000) 17 0.461811
4 ETW000 [dev trc ,00000] } DbSlSdbRead(rc=0) 17 0.461828
4 ETW000 [dev trc ,00000] { DbSlSdbControl(con_hdl=0,command=43,arg_p=007EB89E)
4 ETW000 24 0.461852
4 ETW000 [dev trc ,00000] INFO : SAP RELEASE (DB) = 700 17 0.461869
4 ETW000 [dev trc ,00000] } DbSlSdbControl(rc=0) 15 0.461884
4 ETW000 [dev trc ,00000] { DbSlSdbControl(con_hdl=0,command=41,arg_p=007EB930)
4 ETW000 32 0.461916
4 ETW000 [dev trc ,00000] } DbSlSdbControl(rc=0) 16 0.461932
4 ETW000 [dev trc ,00000] { DbSlSdbControl(con_hdl=0,command=14,arg_p=01F7FC84)
4 ETW000 22 0.461954
4 ETW000 [dev trc ,00000] } DbSlSdbControl(rc=0) 16 0.461970
4 ETW000 [dev trc ,00000] { DbSlSdbControl(con_hdl=0,command=50,arg_p=01F7FC94)
4 ETW000 23 0.461993
4 ETW000 [dev trc ,00000] } DbSlSdbControl(rc=0) 36 0.462029
4 ETW000 [dev trc ,00000] { DbSlSdbControl(con_hdl=0,command=52,arg_p=01F7FC44)
4 ETW000 23 0.462052
4 ETW000 [dev trc ,00000] } DbSlSdbControl(rc=0) 16 0.462068
4 ETW000 [dev trc ,00000] { DbSlSdbControl(con_hdl=0,command=20,arg_p=012D3318)
4 ETW000 37927 0.499995
4 ETW000 [dev trc ,00000] } DbSlSdbControl(rc=0) 22 0.500017
4 ETW000 [dev trc ,00000] { DbSlSdbPrepare(con_hdl=0,ss_p=01F7F8DC,op=3,da_p=01F7F884)
4 ETW000 240 0.500257
4 ETW000 [dev trc ,00000] -> build_stmt(stmt_p=01F7F8EC,da_p=01F7F884,for_explain=0,lock=0,op=3)
4 ETW000 34 0.500291
4 ETW000 [dev trc ,00000] <- build_stmt(len=28,op=3,#marker=0,#lob=0) 19 0.500310
4 ETW000 [dev trc ,00000] -> sdb_malloc(size=512) : 0308F290 (892522 bytes allocated)
4 ETW000 27 0.500337
4 ETW000 [dev trc ,00000] -> sdb_malloc(size=116) : 0308F4A0 (892646 bytes allocated)
4 ETW000 28 0.500365
4 ETW000 [dev trc ,00000] -> stmt_prepare(sc_hdl=02E20BAC,con_hdl=0,ss_p=01F7F8DC)
4 ETW000 37 0.500402
4 ETW000 [dev trc ,00000] CURSOR C_0001 PREPARE on connection 0 16 0.500418
4 ETW000 [dev trc ,00000] } DbSlSdbPrepare(rc=0) 49108 0.549526
4 ETW000 [dev trc ,00000] { DbSlSdbBegRead(con_hdl=0,ss_p=01F7F8DC,da_p=01F7F884)
4 ETW000 36 0.549562
4 ETW000 [dev trc ,00000] -> activate_stmt(sc_hdl=02E20BAC,da_p=01F7F884)
4 ETW000 24 0.549586
4 ETW000 [dev trc ,00000] -> bind_variables(sc_hdl=02E20BAC,in_out=0,bulk=0,da_p=01F7F884)
4 ETW000 26 0.549612
4 ETW000 [dev trc ,00000] -> allocParameter(in_out=0,col_cnt=0) 16 0.549628
4 ETW000 [dev trc ,00000] -> calculate_record_length(sc_hdl=02E20BAC,in_out=0,types=00000000,#col=0)
4 ETW000 25 0.549653
4 ETW000 [dev trc ,00000] <- calculate_record_length(#float=0,#lob=0,#short=0,#int=0,#uc=0,#total=0)
4 ETW000 25 0.549678
4 ETW000 [dev trc ,00000] row_size=0, lob_cnt=0, row_max=1 15 0.549693
4 ETW000 [dev trc ,00000] -> exec_modify(sc_hdl=02E20BAC,con_hdl=0,ss_p=01F7F8DC,bulk=0,in_out=1,da_p=01F7F884)
4 ETW000 26 0.549719
4 ETW000 [dev trc ,00000] -> stmt_execute(sc_hdl=02E20BAC,ss_p=01F7F8DC,in_out=1,da_p=01F7F884)
4 ETW000 26 0.549745
4 ETW000 [dev trc ,00000] OPEN CURSOR C_0001 15 0.549760
4 ETW000 [dev trc ,00000] CURSOR C_0001 SET InputSize=1 15 0.549775
4 ETW000 [dev trc ,00000] CURSOR C_0001 EXECUTE 15 0.549790
4 ETW000 [dev trc ,00000] Tue Dec 04 13:36:05 2007 7063707 7.613497
4 ETW000 [dev trc ,00000] execute() of C_0001, #rec=0, rcSQL=0, rc=0 () 32 7.613529
4 ETW000 [dev trc ,00000] CURSOR C_0001, rc=0,#rec=0,#dbcount=0 26 7.613555
4 ETW000 [dev trc ,00000] -> bind_variables(sc_hdl=02E20BAC,in_out=1,bulk=1,da_p=01F7F884)
4 ETW000 27 7.613582
4 ETW000 [dev trc ,00000] -> allocParameter(in_out=1,col_cnt=1) 17 7.613599
4 ETW000 [dev trc ,00000] -> calculate_record_length(sc_hdl=02E20BAC,in_out=1,types=01F7F8BC,#col=1)
4 ETW000 27 7.613626
4 ETW000 [dev trc ,00000] <- calculate_record_length(#float=0,#lob=0,#short=1,#int=0,#uc=0,#total=8)
4 ETW000 26 7.613652
4 ETW000 [dev trc ,00000] row_size=8, lob_cnt=0, row_max=15872 16 7.613668
4 ETW000 [dev trc ,00000] -> allocIndicator(in_out=1,row_cnt=15872) 17 7.613685
4 ETW000 [dev trc ,00000] -> sdb_malloc(size=64000) : 02EFD128 (956654 bytes allocated)
4 ETW000 35 7.613720
4 ETW000 [dev trc ,00000] -> sdb_free(p=02EFCF18, size=512 (956134 bytes allocated))
4 ETW000 28 7.613748
4 ETW000 [dev trc ,00000] -> allocData(in_out=1,buf_size=126976) 55 7.613803
4 ETW000 [dev trc ,00000] -> bind_type_and_length(sc_hdl=02E20BAC,in_out=1,arr_size=15872,types=01F7F8BC,da_p=01F7F884)
4 ETW000 30 7.613833
4 ETW000 [dev trc ,00000] 0 : DBSL=INTEGER_2 , T=INT2 , L=2 , I=02EFD130, V_DBSL=03070050
4 ETW000 33 7.613866
4 ETW000 [dev trc ,00000] } DbSlSdbBegRead(rc=0) 19 7.613885
4 ETW000 [dev trc ,00000] { DbSlSdbExeRead(con_hdl=0,ss_p=01F7F8DC,da_p=01F7F884)
4 ETW000 34 7.613919
4 ETW000 [dev trc ,00000] -> exec_fetch(sc_hdl=02E20BAC,con_hdl=0,bulk=0,da_p=01F7F884)
4 ETW000 27 7.613946
4 ETW000 [dev trc ,00000] xcnt=1,row_i=0,row_pcnt=0 16 7.613962
4 ETW000 [dev trc ,00000] -> stmt_fetch(sc_hdl=02E20BAC) 15 7.613977
4 ETW000 [dev trc ,00000] CURSOR C_0001 FETCH, xcnt=1 15 7.613992
4 ETW000 [dev trc ,00000] next() of C_0001, rc=0 17 7.614009
4 ETW000 [dev trc ,00000] fetch() of C_0001, #rec=1, rc=0, rcSQL=0 () 23 7.614032
4 ETW000 [dev trc ,00000] } DbSlSdbExeRead(rc=0) 16 7.614048
4 ETW000 [dev trc ,00000] { DbSlSdbEndRead(con_hdl=0,ss_p=01F7F8DC,da_p=01F7F884)
4 ETW000 31 7.614079
4 ETW000 [dev trc ,00000] -> deactivate_stmt(sc_hdl=02E20BAC,da_p=01F7F884,rc=0)
4 ETW000 23 7.614102
4 ETW000 [dev trc ,00000] -> SapdbStmtFree(DBSL:C_0001) 17 7.614119
4 ETW000 [dev trc ,00000] CURSOR C_0001 CLOSE resultset 16 7.614135
4 ETW000 [dev trc ,00000] } DbSlSdbEndRead(rc=0) 48 7.614183
4 ETW000 [dev trc ,00000] NTAB: Structure of NTAB on DB is VERS_B 20 7.614203
4 ETW000 [dev trc ,00000] NTAB: standalone processing 28586 7.642789
4 ETW000 [dev trc ,00000] NTAB: read profile 29 7.642818
4 ETW000 [dev trc ,00000] NTAB: rsdb/ntab/entrycount 1000. 33 7.642851
4 ETW000 [dev trc ,00000] NTAB: rsdb/ntab/ftabsize 500. 17 7.642868
4 ETW000 [dev trc ,00000] NTAB: rsdb/ntab/irbdsize 100. 16 7.642884
4 ETW000 [dev trc ,00000] NTAB: rsdb/ntab/sntabsize 100. 16 7.642900
4 ETW000 [dev trc ,00000] NTAB: compute_hash_card: 2003. 26 7.642926
4 ETW000 [dev trc ,00000] NTAB: maxcnt 1000. 28 7.642954
4 ETW000 [dev trc ,00000] NTAB: hfactor 2003. 16 7.642970
4 ETW000 [dev trc ,00000] NTAB: mem_protocol_size 104 33 7.643003
4 ETW000 [dev trc ,00000] NTAB: hdr_backpack_offset 0 16 7.643019
4 ETW000 [dev trc ,00000] NTAB: hdr_backpack_size 0 14 7.643033
4 ETW000 [dev trc ,00000] NTAB: FTAB: header_size 44. 16 7.643049
4 ETW000 [dev trc ,00000] NTAB: FTAB: item_size 36. 16 7.643065
4 ETW000 [dev trc ,00000] NTAB: FTAB: item_cnt 1000. 16 7.643081
4 ETW000 [dev trc ,00000] NTAB: FTAB: unit_size 4 14 7.643095
4 ETW000 [dev trc ,00000] NTAB: FTAB: unit_cnt 128000. 16 7.643111
4 ETW000 [dev trc ,00000] NTAB: FTAB: data_size 512000. 34 7.643145
4 ETW000 [dev trc ,00000] NTAB: IREC: header_size 44. 19 7.643164
4 ETW000 [dev trc ,00000] NTAB: IREC: item_size 36. 17 7.643181
4 ETW000 [dev trc ,00000] NTAB: IREC: item_cnt 250. 16 7.643197
4 ETW000 [dev trc ,00000] NTAB: IREC: unit_size 8 14 7.643211
4 ETW000 [dev trc ,00000] NTAB: IREC: unit_cnt 12800. 16 7.643227
4 ETW000 [dev trc ,00000] NTAB: IREC: data_size 102400. 121 7.643348
4 ETW000 [dev trc ,00000] NTAB: STAB: header_size 44. 35 7.643383
4 ETW000 [dev trc ,00000] NTAB: STAB: item_size 36. 19 7.643402
4 ETW000 [dev trc ,00000] NTAB: STAB: item_cnt 250. 16 7.643418
4 ETW000 [dev trc ,00000] NTAB: STAB: unit_size 4 15 7.643433
4 ETW000 [dev trc ,00000] NTAB: STAB: unit_cnt 25600. 15 7.643448
4 ETW000 [dev trc ,00000] NTAB: STAB: data_size 102400. 17 7.643465
4 ETW000 [dev trc ,00000] NTAB: TTAB: header_size 148. 16 7.643481
4 ETW000 [dev trc ,00000] NTAB: TTAB: item_size 24. 16 7.643497
4 ETW000 [dev trc ,00000] NTAB: TTAB: item_cnt 1000. 33 7.643530
4 ETW000 [dev trc ,00000] NTAB: TTAB: unit_size 256 17 7.643547
4 ETW000 [dev trc ,00000] NTAB: TTAB: unit_cnt 1000. 16 7.643563
4 ETW000 [dev trc ,00000] NTAB: TTAB: data_size 256000. 17 7.643580
4 ETW000 [dev trc ,00000] NTAB: FTAB: hh_p 308f528, hh_len 44 930 7.644510
4 ETW000 [dev trc ,00000] NTAB: FTAB: aa_p 2f0cb38, aa_len 8012 19 7.644529
4 ETW000 [dev trc ,00000] NTAB: FTAB: ia_p 2f0ea90, ia_len 36000 16 7.644545
4 ETW000 [dev trc ,00000] NTAB: FTAB: dat_p 3091008, dat_len 512000 18 7.644563
4 ETW000 [dev trc ,00000] NTAB: IREC: hh_p 310e010, hh_len 44 17 7.644580
4 ETW000 [dev trc ,00000] NTAB: IREC: aa_p 2f17738, aa_len 8012 18 7.644598
4 ETW000 [dev trc ,00000] NTAB: IREC: ia_p 2f19690, ia_len 9000 16 7.644614
4 ETW000 [dev trc ,00000] NTAB: IREC: dat_p 310e048, dat_len 102400 18 7.644632
4 ETW000 [dev trc ,00000] NTAB: STAB: hh_p 2f1b9c0, hh_len 44 16 7.644648
4 ETW000 [dev trc ,00000] NTAB: STAB: aa_p 3127050, aa_len 8012 17 7.644665
4 ETW000 [dev trc ,00000] NTAB: STAB: ia_p 2f1b9f8, ia_len 9000 16 7.644681
4 ETW000 [dev trc ,00000] NTAB: STAB: dat_p 3128fa8, dat_len 102400 18 7.644699
4 ETW000 [dev trc ,00000] NTAB: TTAB: hh_p 3141fb0, hh_len 148 17 7.644716
4 ETW000 [dev trc ,00000] NTAB: TTAB: aa_p 2f1dd28, aa_len 8012 18 7.644734
4 ETW000 [dev trc ,00000] NTAB: TTAB: ia_p 3142050, ia_len 24000 17 7.644751
4 ETW000 [dev trc ,00000] NTAB: TTAB: dat_p 3147e18, dat_len 256000 17 7.644768
4 ETW000 [dev trc ,00000] NTAB: ntab_mem_protocol 3141fb0, ntab_mp_p 3141fb0, ntab_proc_id 0
4 ETW000 31 7.644799
4 ETW000 [dev trc ,00000] NTAB: FTAB: hh_p 308f528, ha_list 2f0cb38, hi_list 2f0ea90, buffer 3091008
4 ETW000 65 7.644864
4 ETW000 [dev trc ,00000] NTAB: IREC: hh_p 310e010, ha_list 2f17738, hi_list 2f19690, buffer 310e048
4 ETW000 27 7.644891
4 ETW000 [dev trc ,00000] NTAB: STAB: hh_p 2f1b9c0, ha_list 3127050, hi_list 2f1b9f8, buffer 3128fa8
4 ETW000 27 7.644918
4 ETW000 [dev trc ,00000] NTAB: TTAB: hh_p 3142018, ha_list 2f1dd28, hi_list 3142050, buffer 3147e18
4 ETW000 26 7.644944
4 ETW000 [dev trc ,00000] NTAB: mem_handler: alloc for 500 elems, task 0, art 0
4 ETW000 35 7.644979
4 ETW000 [dev trc ,00000] NTAB: mem_handler: alloc for 500 elems, task 0, art 1
4 ETW000 40 7.645019
4 ETW000 [dev trc ,00000] NTAB: mem_handler: alloc for 500 elems, task 0, art 2
4 ETW000 38 7.645057
4 ETW000 [dev trc ,00000] NTAB: mem_handler: alloc for 500 elems, task 0, art 3
4 ETW000 34 7.645091
4 ETW000 [dev trc ,00000] { DbSlSdbBegRead(con_hdl=0,ss_p=01631240,da_p=016302E0)
4 ETW000 55 7.645146
4 ETW000 [dev trc ,00000] } DbSlSdbBegRead(rc=13) 16 7.645162
4 ETW000 [dev trc ,00000] { DbSlSdbPrepare(con_hdl=0,ss_p=01631240,op=3,da_p=016302E0)
4 ETW000 26 7.645188
4 ETW000 [dev trc ,00000] -> build_stmt(stmt_p=01639A00,da_p=016302E0,for_explain=0,lock=2,op=3)
4 ETW000 27 7.645215
4 ETW000 [dev trc ,00000] <- build_stmt(len=131,op=3,#marker=1,#lob=0) 22 7.645237
4 ETW000 [dev trc ,00000] -> sdb_malloc(size=512) : 02EFCF18 (956654 bytes allocated)
4 ETW000 27 7.645264
4 ETW000 [dev trc ,00000] -> sdb_malloc(size=116) : 02F1FC80 (956778 bytes allocated)
4 ETW000 29 7.645293
4 ETW000 [dev trc ,00000] -> stmt_prepare(sc_hdl=02E20C18,con_hdl=0,ss_p=01631240)
4 ETW000 42 7.645335
4 ETW000 [dev trc ,00000] CURSOR C_0002 PREPARE on connection 0 16 7.645351
4 ETW000 [dev trc ,00000] } DbSlSdbPrepare(rc=0) 22428 7.667779
4 ETW000 [dev trc ,00000] { DbSlSdbBegRead(con_hdl=0,ss_p=01631240,da_p=016302E0)
4 ETW000 31 7.667810
4 ETW000 [dev trc ,00000] -> activate_stmt(sc_hdl=02E20C18,da_p=016302E0)
4 ETW000 27 7.667837
4 ETW000 [dev trc ,00000] -> bind_variables(sc_hdl=02E20C18,in_out=0,bulk=0,da_p=016302E0)
4 ETW000 28 7.667865
4 ETW000 [dev trc ,00000] -> allocParameter(in_out=0,col_cnt=1) 17 7.667882
4 ETW000 [dev trc ,00000] -> calculate_record_length(sc_hdl=02E20C18,in_out=0,types=01639B00,#col=1)
4 ETW000 27 7.667909
4 ETW000 [dev trc ,00000] <- calculate_record_length(#float=0,#lob=0,#short=0,#int=0,#uc=30,#total=64)
4 ETW000 26 7.667935
4 ETW000 [dev trc ,00000] row_size=64, lob_cnt=0, row_max=1 17 7.667952
4 ETW000 [dev trc ,00000] -> allocIndicator(in_out=0,row_cnt=1) 15 7.667967
4 ETW000 [dev trc ,00000] -> allocData(in_out=0,buf_size=126976) 17 7.667984
4 ETW000 [dev trc ,00000] -> bind_type_and_length(sc_hdl=02E20C18,in_out=0,arr_size=1,types=01639B00,da_p=016302E0)
4 ETW000 29 7.668013
4 ETW000 [dev trc ,00000] 0 : DBSL=CHAR , T=UCS2 , L=60 , I=02EFD130, V_DBSL=03070050
4 ETW000 32 7.668045
4 ETW000 [dev trc ,00000] -> exec_modify(sc_hdl=02E20C18,con_hdl=0,ss_p=01631240,bulk=0,in_out=1,da_p=016302E0)
4 ETW000 38 7.668083
4 ETW000 [dev trc ,00000] -> stmt_execute(sc_hdl=02E20C18,ss_p=01631240,in_out=1,da_p=016302E0)
4 ETW000 29 7.668112
4 ETW000 [dev trc ,00000] OPEN CURSOR C_0002 16 7.668128
4 ETW000 [dev trc ,00000] CURSOR C_0002 SET InputSize=1 15 7.668143
4 ETW000 [dev trc ,00000] CURSOR C_0002 EXECUTE 16 7.668159
4 ETW000 [dev trc ,00000] execute() of C_0002, #rec=0, rcSQL=0, rc=0 () 76810 7.744969
4 ETW000 [dev trc ,00000] CURSOR C_0002, rc=0,#rec=0,#dbcount=0 29 7.744998
4 ETW000 [dev trc ,00000] -> bind_variables(sc_hdl=02E20C18,in_out=1,bulk=1,da_p=016302E0)
4 ETW000 28 7.745026
4 ETW000 [dev trc ,00000] -> allocParameter(in_out=1,col_cnt=4) 17 7.745043
4 ETW000 [dev trc ,00000] -> calculate_record_length(sc_hdl=02E20C18,in_out=1,types=01639B00,#col=4)
4 ETW000 50 7.745093
4 ETW000 [dev trc ,00000] <- calculate_record_length(#float=0,#lob=0,#short=16386,#int=1,#uc=30,#total=32840)
4 ETW000 28 7.745121
4 ETW000 [dev trc ,00000] row_size=32840, lob_cnt=0, row_max=3 17 7.745138
4 ETW000 [dev trc ,00000] -> allocIndicator(in_out=1,row_cnt=3) 16 7.745154
4 ETW000 [dev trc ,00000] -> sdb_malloc(size=24) : 02F1FD08 (956810 bytes allocated)
4 ETW000 25 7.745179
4 ETW000 [dev trc ,00000] -> sdb_malloc(size=512) : 02F1FD30 (957330 bytes allocated)
4 ETW000 -
DHCP - Cannot add text option for VOIP phones in OES Linux
While working through this, I solved the issue, but decided to post this anyway as it may help others to find these sorts of errors.
I'm working on migrating from NetWare 6.5sp8 to OES11sp2. Client has Shoretel VOIP phones. Existing NetWare-based DHCP has no problem. Option 156 has been configured to give out the required text information that Shoretel phones require.
Problem is that I could not get the OES11 DHCP to run with that option. Nor could I migrate the existing option over - the Migration Tool (in OES11) says it successfully migrates DHCP, but I cannot start the dhcpd daemon. Error is that it failed, and in the rc.dhcpd.log file I see an error:
LDAP Line 26: unknown option dhcp.Shoretel_Boot.
LDAP Line 26: unexpected end of file
LDAP: cannot parse dhcpService entry 'cn=newdhcpservice,o=LIBRARY'
Configuration file errors encountered -- exiting
If I look in the file (created when LDAP reads DHCP config from eDirectory apparently) dhcp-ldap-startup.log I can see the problem entry at line 26:
option Shoretel_Boot "FTPSERVERS=172.30.43.8,COUNTRY=1,LANGUAGE=1,L AYER default-lease-time 259200 ;
This option does NOT show up in the newdhcpservice option when I look at it in ConsoleOne, or DSBROWSE, or DNS/DHCP Management Console.
This option DOES show up in the DNS/DHCPManagement Console if I look at the DHCP (NetWare) tab and look at Other DHCP Options for some of the configured subnets, but it actually has different text from the above, specifically:
FTPSERVERS=172.30.43.8,COUNTRY=1,LANGUAGE=1,LAYER2 TAGGING=1,VLANID=9
Note that it does not have a " character anywhere in the entry. This option is configured as a Global DHCP text option.
Novell TID 7009464 mentions the issue, though not for Option 156. In that TID there is this:
"Situation #2
Migrate a working DHCP server with DHCP options that are of type "Text" to an OES server.
Load the DHCP server service... it fails to load and gives similar errors to the ones listed above."
Under resolution the TID says to delete and recreate the dhcp service object without the text option and it will load. That doesn't work for me as I still get an LDAP error pointing to the Shoretel_Boot unknown option. (I dare not try deleting it from the NetWare DHCP config and risk breaking the client's phone system).
One of the options in the TID to fix this is to re-enter the data using the DNS/DHCP Management Console - but that didn't work.
Here is the answer:
First, the log files are misleading. The error message points to not being able to read the newdhcpservice object entry - but the problem was elsewhere. In fact the problem showed up in the logs even when there were no option 156 entries at all in any object inside the newdhcpservice or the newdhcpservice object itself. The problem existed in the NetWare configuration of the object for one of the dhcp subnets.
Specifically, there was an illegal character in the text entry for option 156 - the # character was in there, like this:
FTPSERVERS=172.30.43.8,COUNTRY=1,LANGUAGE=1,LAYER# 2TAGGING=1,VLANID=9
If you look at the error log entry for syntax error you can see that the option 156 text stopped at the # symbol, and then default-lease-time was appended to the end.
Removing the # symbol got things working.
Craig Johnson
(former Novell partner / sysop)On 30/08/2014 21:16, phxazcraig wrote:
> While working through this, I solved the issue, but decided to post this
> anyway as it may help others to find these sorts of errors.
>
> I'm working on migrating from NetWare 6.5sp8 to OES11sp2. Client has
> Shoretel VOIP phones. Existing NetWare-based DHCP has no problem.
> Option 156 has been configured to give out the required text information
> that Shoretel phones require.
>
> Problem is that I could not get the OES11 DHCP to run with that option.
> Nor could I migrate the existing option over - the Migration Tool (in
> OES11) says it successfully migrates DHCP, but I cannot start the dhcpd
> daemon. Error is that it failed, and in the rc.dhcpd.log file I see
> an error:
>
> LDAP Line 26: unknown option dhcp.Shoretel_Boot.
> LDAP Line 26: unexpected end of file
> LDAP: cannot parse dhcpService entry 'cn=newdhcpservice,o=LIBRARY'
> Configuration file errors encountered -- exiting
>
>
> If I look in the file (created when LDAP reads DHCP config from
> eDirectory apparently) dhcp-ldap-startup.log I can see the problem entry
> at line 26:
>
> option Shoretel_Boot
> "FTPSERVERS=172.30.43.8,COUNTRY=1,LANGUAGE=1,L AYER default-lease-time
> 259200 ;
>
>
> This option does NOT show up in the newdhcpservice option when I look at
> it in ConsoleOne, or DSBROWSE, or DNS/DHCP Management Console.
>
> This option DOES show up in the DNS/DHCPManagement Console if I look at
> the DHCP (NetWare) tab and look at Other DHCP Options for some of the
> configured subnets, but it actually has different text from the above,
> specifically:
>
> FTPSERVERS=172.30.43.8,COUNTRY=1,LANGUAGE=1,LAYER2 TAGGING=1,VLANID=9
>
> Note that it does not have a " character anywhere in the entry. This
> option is configured as a Global DHCP text option.
>
> Novell TID 7009464 mentions the issue, though not for Option 156. In
> that TID there is this:
> "Situation #2
> Migrate a working DHCP server with DHCP options that are of type
> "Text" to an OES server.
> Load the DHCP server service... it fails to load and gives similar
> errors to the ones listed above."
>
> Under resolution the TID says to delete and recreate the dhcp service
> object without the text option and it will load. That doesn't work for
> me as I still get an LDAP error pointing to the Shoretel_Boot unknown
> option. (I dare not try deleting it from the NetWare DHCP config and
> risk breaking the client's phone system).
>
> One of the options in the TID to fix this is to re-enter the data using
> the DNS/DHCP Management Console - but that didn't work.
>
> Here is the answer:
> First, the log files are misleading. The error message points to not
> being able to read the newdhcpservice object entry - but the problem was
> elsewhere. In fact the problem showed up in the logs even when there
> were no option 156 entries at all in any object inside the
> newdhcpservice or the newdhcpservice object itself. The problem
> existed in the NetWare configuration of the object for one of the dhcp
> subnets.
>
> Specifically, there was an illegal character in the text entry for
> option 156 - the # character was in there, like this:
>
> FTPSERVERS=172.30.43.8,COUNTRY=1,LANGUAGE=1,LAYER# 2TAGGING=1,VLANID=9
>
> If you look at the error log entry for syntax error you can see that the
> option 156 text stopped at the # symbol, and then default-lease-time was
> appended to the end.
>
> Removing the # symbol got things working.
>
> Craig Johnson
> (former Novell partner / sysop)
Thanks for taking the time to post the above as I'm sure it will help
someone else in the future.
Simon
Novell Knowledge Partner
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below. Thanks. -
I have a setup where my ISP router hands out DHCP addresses and my 2 time capsules is used to backing up our mac computers. I´ve installed the TC´s in bridged mode and their ip addresses is from the DHCP. Then today I tried to setup both my TC´s with an ip address just outside the scope, this way I always know what their ip addresses are, useful for some of my other clients that uses them as fileshares. But if I do that it looks like they wont relay DHCP addresses anymore?? If my scope is 192.168.1.10 - 99 and the gateway is .1, the TC´s should agree fine with being .2 and .3. But everyone connected to the TC´s (ethernet and wireless) stops receiving DHCP addresses.. Is this by design or is it a bug. I´ve never seen any other network devices do this??
It would be ok, if I was able to enable the relay again, but I can´t.
RegardsGo back to the start.. something is strange.. I run a number of TC in bridge and they have no issues getting IP and in fact in bridge if there is no dhcp server they will self-assign a 169.254.x.x address. Each time the lease expires the TC should simply find itself an address.. i have set this up with numerous different modems and routers. and not one has had issues. Although it is not unknown for dhcp to fail. You will generally have to do some rather intensive investigation, using a hub or a managed switch where you can mirror the ports and use a utility like wireshark to check dhcp requests.
You stated the ISP is giving you dhcp address.. does this mean you have a block of Public IP addresses?
I didn't think so because you then give the address range as 192.168.1.10-99.. that has nothing to do with the ISP and is purely from the modem router. So what did you mean by that statement?? -
Hostname issue with Mac Server 3.1.2
Hi Everyone,
I have one stupid question, I think, and need your help.
I have one Mac mini, and I want it to be my file server. I have Mavericks 10.9.3 and Server 3.1.2 with it. I set up everything, and it looks fine. But when I use my client to ping the server hostname, backed me that: unknown hostname. But if I try to ping hostname with the server, worked.
Please advise if you have any idea about it. Thanks~~If you're pinging the domain name, the client is not querying a DNS server that knows that name. It should be querying the same DNS server that that the server is using. Most likely, that's the server itself.
-
I have 2600 router.
int FastEthernett 0/0 retrieve IP from DHCP.
How can internal IP from VLAN 10,20,30 access Internet through Int FastEthernet 0/0
i try ip route to FastEthernet 0/0 but can't internet
Below is the config,
interface FastEthernet0/0
ip address dhcp hostname DHCP
duplex auto
speed auto
interface FastEthernet0/1
no ip address
duplex auto
speed auto
interface FastEthernet0/1.1
description VLAN10
encapsulation dot1Q 10
ip address 192.168.10.254 255.255.255.0
interface FastEthernet0/1.2
description VLAN 20
encapsulation dot1Q 20
ip address 192.168.20.254 255.255.255.0
interface FastEthernet0/1.3
description VLAN 30
encapsulation dot1Q 30
ip address 192.168.30.254 255.255.255.0
ip classless
ip route 0.0.0.0 0.0.0.0 FastEthernet0/0below is the fa0/0
Cisco#sh int fa0/0
FastEthernet0/0 is up, line protocol is up
Hardware is AmdFE, address is 000f.2360.4dc0 (bia 000f.2360.4dc0)
Internet address is 172.28.7.158/16
MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
Full-duplex, 100Mb/s, 100BaseTX/FX
ARP type: ARPA, ARP Timeout 04:00:00
Last input 00:00:00, output 00:00:07, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: fifo
Output queue: 0/40 (size/max)
5 minute input rate 3000 bits/sec, 5 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
1016 packets input, 84709 bytes
Received 851 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
0 watchdog
0 input packets with dribble condition detected
36 packets output, 4227 bytes, 0 underruns
0 output errors, 0 collisions, 0 interface resets
0 babbles, 0 late collision, 0 deferred
29 lost carrier, 0 no carrier
0 output buffer failures, 0 output buffers swapped out -
Hi Everybody,
I am configuring DHCP for the option codes 66(TFTP server) and 67(Boot file), But when I snoop the DHCP requests, I am not sure if DHCP client is getting these options are not. Below is the snoop ouput. Can you please tell me whether client is getting these options or not.
DHCP: ----- (Options) field options -----
DHCP:
DHCP: Message type = DHCPREQUEST
DHCP: Requested IP Address = 10.0.6.70
DHCP: IP Address Lease Time = -1 seconds
DHCP: Maximum DHCP Message Size = 1472 bytes
DHCP: Client Class Identifier = "SUNW.Sun-Fire-V240"
DHCP: Requested Options:
DHCP: 1 (Subnet Mask)
DHCP: 3 (Router)
DHCP: 6 (DNS Servers)
DHCP: 12 (Client Hostname)
DHCP: 15 (DNS Domain Name)
DHCP: 28 (Broadcast Address)
DHCP: 43 (Vendor Specific Options)
DHCP: 66 (TFTP Server Name)
DHCP: 67 (Option BootFile Name)
DHCP: ----- (Options) field options -----
DHCP:
DHCP: Message type = DHCPACK
DHCP: DHCP Server Identifier = 10.0.6.2
DHCP: NIS Domainname = atrcus588.athtem.eei.ericsson.se
DHCP: NIS Servers at = 10.0.6.2
DHCP: DNS Domain Name = athtem.eei.ericsson.se
DHCP: Broadcast Address = 10.0.6.127
DHCP: Subnet Mask = 255.255.255.192
DHCP: Router at = 10.0.6.65
DHCP: IP Address Lease Time = -1 seconds
DHCP: Client Hostname = atrcus629
DHCP: Vendor-specific Options (157 total octets):
DHCP: (07) 35 octets "/platform/sun4u/kernel/sparcv9/unix"
DHCP: (12) 26 octets "/jumpstart/solaris10_image"
DHCP: (11) 13 octets "masterservice"
DHCP: (10) 04 octets 0x0A 0x00 0x06 0x02 (unprintable)
DHCP: (04) 48 octets "/jumpstart/solaris10_image/Solaris_10/Tools/Boot"
DHCP: (03) 13 octets "masterservice"
DHCP: (02) 04 octets 0x0A 0x00 0x06 0x02 (unprintable)
DHCP: Boot File Name = 010003BA875A61
0: 0010 dbdd e3b5 0014 4f71 2d92 0800 4500 ........Oq-...E.
16: 0218 d8eb 4000 ff11 0000 0a00 0602 0a00 ..\330.@...........
32: 0641 0043 0043 0204 0000 0201 0600 46bd .A.C.C........F.
48: 589f 0000 0000 0000 0000 0a00 0646 0a00 X............F..
64: 0602 0a00 0641 0003 ba87 5a61 0000 0000 .....A....Za....
80: 0000 0000 0000 0000 0000 0000 0000 0000 ................
96: 0000 0000 0000 0000 0000 0000 0000 0000 ................
112: 0000 0000 0000 0000 0000 0000 0000 0000 ................
128: 0000 0000 0000 0000 0000 0000 0000 0000 ................
144: 0000 0000 0000 3031 3030 3033 4241 3837 ......010003BA87
160: 3541 3631 0000 0000 0000 0000 0000 0000 5A61............
176: 0000 0000 0000 0000 0000 0000 0000 0000 ................
192: 0000 0000 0000 0000 0000 0000 0000 0000 ................
208: 0000 0000 0000 0000 0000 0000 0000 0000 ................
224: 0000 0000 0000 0000 0000 0000 0000 0000 ................
240: 0000 0000 0000 0000 0000 0000 0000 0000 ................
256: 0000 0000 0000 0000 0000 0000 0000 0000 ................
272: 0000 0000 0000 6382 5363 3501 0536 040a ......c.Sc5..6..
288: 0006 0228 2061 7472 6375 7335 3838 2e61 ...( atrcus588.a
304: 7468 7465 6d2e 6565 692e 6572 6963 7373 thtem.eei.ericss
320: 6f6e 2e73 6529 040a 0006 020f 1661 7468 on.se).......ath
336: 7465 6d2e 6565 692e 6572 6963 7373 6f6e tem.eei.ericsson
352: 2e73 651c 040a 0006 7f01 04ff ffff c003 .se.............
368: 040a 0006 4133 04ff ffff ff0c 0961 7472 ....A3.......atr
384: 6375 7336 3239 2b9d 0723 2f70 6c61 7466 cus629+\235.#/platf
400: 6f72 6d2f 7375 6e34 752f 6b65 726e 656c orm/sun4u/kernel
416: 2f73 7061 7263 7639 2f75 6e69 780c 1a2f /sparcv9/unix../
432: 6a75 6d70 7374 6172 742f 736f 6c61 7269 jumpstart/solari
448: 7331 305f 696d 6167 650b 0d6d 6173 7465 s10_image..maste
464: 7273 6572 7669 6365 0a04 0a00 0602 0430 rservice.......0
480: 2f6a 756d 7073 7461 7274 2f73 6f6c 6172 /jumpstart/solar
496: 6973 3130 5f69 6d61 6765 2f53 6f6c 6172 is10_image/Solar
512: 6973 5f31 302f 546f 6f6c 732f 426f 6f74 is_10/Tools/Boot
528: 030d 6d61 7374 6572 7365 7276 6963 6502 ..masterservice.
544: 040a 0006 02ff ......
Thanks Inadvance,
Yogendra.Hi Everybody,
I am configuring DHCP for the option codes 66(TFTP server) and 67(Boot file), But when I snoop the DHCP requests, I am not sure if DHCP client is getting these options are not. Below is the snoop ouput. Can you please tell me whether client is getting these options or not.
DHCP: ----- (Options) field options -----
DHCP:
DHCP: Message type = DHCPREQUEST
DHCP: Requested IP Address = 10.0.6.70
DHCP: IP Address Lease Time = -1 seconds
DHCP: Maximum DHCP Message Size = 1472 bytes
DHCP: Client Class Identifier = "SUNW.Sun-Fire-V240"
DHCP: Requested Options:
DHCP: 1 (Subnet Mask)
DHCP: 3 (Router)
DHCP: 6 (DNS Servers)
DHCP: 12 (Client Hostname)
DHCP: 15 (DNS Domain Name)
DHCP: 28 (Broadcast Address)
DHCP: 43 (Vendor Specific Options)
DHCP: 66 (TFTP Server Name)
DHCP: 67 (Option BootFile Name)
DHCP: ----- (Options) field options -----
DHCP:
DHCP: Message type = DHCPACK
DHCP: DHCP Server Identifier = 10.0.6.2
DHCP: NIS Domainname = atrcus588.athtem.eei.ericsson.se
DHCP: NIS Servers at = 10.0.6.2
DHCP: DNS Domain Name = athtem.eei.ericsson.se
DHCP: Broadcast Address = 10.0.6.127
DHCP: Subnet Mask = 255.255.255.192
DHCP: Router at = 10.0.6.65
DHCP: IP Address Lease Time = -1 seconds
DHCP: Client Hostname = atrcus629
DHCP: Vendor-specific Options (157 total octets):
DHCP: (07) 35 octets "/platform/sun4u/kernel/sparcv9/unix"
DHCP: (12) 26 octets "/jumpstart/solaris10_image"
DHCP: (11) 13 octets "masterservice"
DHCP: (10) 04 octets 0x0A 0x00 0x06 0x02 (unprintable)
DHCP: (04) 48 octets "/jumpstart/solaris10_image/Solaris_10/Tools/Boot"
DHCP: (03) 13 octets "masterservice"
DHCP: (02) 04 octets 0x0A 0x00 0x06 0x02 (unprintable)
DHCP: Boot File Name = 010003BA875A61
0: 0010 dbdd e3b5 0014 4f71 2d92 0800 4500 ........Oq-...E.
16: 0218 d8eb 4000 ff11 0000 0a00 0602 0a00 ..\330.@...........
32: 0641 0043 0043 0204 0000 0201 0600 46bd .A.C.C........F.
48: 589f 0000 0000 0000 0000 0a00 0646 0a00 X............F..
64: 0602 0a00 0641 0003 ba87 5a61 0000 0000 .....A....Za....
80: 0000 0000 0000 0000 0000 0000 0000 0000 ................
96: 0000 0000 0000 0000 0000 0000 0000 0000 ................
112: 0000 0000 0000 0000 0000 0000 0000 0000 ................
128: 0000 0000 0000 0000 0000 0000 0000 0000 ................
144: 0000 0000 0000 3031 3030 3033 4241 3837 ......010003BA87
160: 3541 3631 0000 0000 0000 0000 0000 0000 5A61............
176: 0000 0000 0000 0000 0000 0000 0000 0000 ................
192: 0000 0000 0000 0000 0000 0000 0000 0000 ................
208: 0000 0000 0000 0000 0000 0000 0000 0000 ................
224: 0000 0000 0000 0000 0000 0000 0000 0000 ................
240: 0000 0000 0000 0000 0000 0000 0000 0000 ................
256: 0000 0000 0000 0000 0000 0000 0000 0000 ................
272: 0000 0000 0000 6382 5363 3501 0536 040a ......c.Sc5..6..
288: 0006 0228 2061 7472 6375 7335 3838 2e61 ...( atrcus588.a
304: 7468 7465 6d2e 6565 692e 6572 6963 7373 thtem.eei.ericss
320: 6f6e 2e73 6529 040a 0006 020f 1661 7468 on.se).......ath
336: 7465 6d2e 6565 692e 6572 6963 7373 6f6e tem.eei.ericsson
352: 2e73 651c 040a 0006 7f01 04ff ffff c003 .se.............
368: 040a 0006 4133 04ff ffff ff0c 0961 7472 ....A3.......atr
384: 6375 7336 3239 2b9d 0723 2f70 6c61 7466 cus629+\235.#/platf
400: 6f72 6d2f 7375 6e34 752f 6b65 726e 656c orm/sun4u/kernel
416: 2f73 7061 7263 7639 2f75 6e69 780c 1a2f /sparcv9/unix../
432: 6a75 6d70 7374 6172 742f 736f 6c61 7269 jumpstart/solari
448: 7331 305f 696d 6167 650b 0d6d 6173 7465 s10_image..maste
464: 7273 6572 7669 6365 0a04 0a00 0602 0430 rservice.......0
480: 2f6a 756d 7073 7461 7274 2f73 6f6c 6172 /jumpstart/solar
496: 6973 3130 5f69 6d61 6765 2f53 6f6c 6172 is10_image/Solar
512: 6973 5f31 302f 546f 6f6c 732f 426f 6f74 is_10/Tools/Boot
528: 030d 6d61 7374 6572 7365 7276 6963 6502 ..masterservice.
544: 040a 0006 02ff ......
Thanks Inadvance,
Yogendra. -
Hey Arch forum.
I really wanted to avoid having to ask a question on the forum, and try and fix myself, but I'm clueless on how to go about with this one. I've been using Arch for a couple of months now, and this issue has only really started getting on my nerves.
I've got my system set up mostly the way I want it now. I really like Arch Linux. When I wake my laptop up from hibernation, I have to manually connect to my school's network again. Every time. When I boot it up however, it automaticly opens the login menu and all I have to do is hit enter. When I'm home and wake it up from hibernation it automaticly connects to wifi though. I have no clue what is causing it. I use NetworkManager and my laptops an ASUS KV55M. It worked fine when this computer ran Windows for a short period. Any suggestions on how to tackle this?nmcli c list uuid fd50876f-55ac-4a6e-99b3-057cb01b2f27
connection.id: School
connection.uuid: fd50876f-55ac-4a6e-99b3-057cb01b2f27
connection.type: 802-11-wireless
connection.autoconnect: yes
connection.timestamp: 1396513658
connection.read-only: no
connection.permissions:
connection.zone: --
connection.master: --
connection.slave-type: --
connection.secondaries:
802-1x.eap: peap
802-1x.identity: xxxxxxx
802-1x.anonymous-identity: --
802-1x.pac-file: --
802-1x.ca-cert: /etc/ssl/certs/Security_Communication_Root_CA.pem
802-1x.ca-path: --
802-1x.subject-match: --
802-1x.altsubject-matches:
802-1x.client-cert: --
802-1x.phase1-peapver: --
802-1x.phase1-peaplabel: --
802-1x.phase1-fast-provisioning: --
802-1x.phase2-auth: mschapv2
802-1x.phase2-autheap: --
802-1x.phase2-ca-cert: --
802-1x.phase2-ca-path: --
802-1x.phase2-subject-match: --
802-1x.phase2-altsubject-matches:
802-1x.phase2-client-cert: --
802-1x.password: --
802-1x.password-flags: 1 (agent-owned)
802-1x.password-raw: --
802-1x.password-raw-flags: 0 (none)
802-1x.private-key: --
802-1x.private-key-password: --
802-1x.private-key-password-flags: 0 (none)
802-1x.phase2-private-key: --
802-1x.phase2-private-key-password: --
802-1x.phase2-private-key-password-flags:0 (none)
802-1x.pin: --
802-1x.pin-flags: 0 (none)
802-1x.system-ca-certs: yes
802-11-wireless.ssid: 'xxxxxxxxxxxxx'
802-11-wireless.mode: infrastructure
802-11-wireless.band: --
802-11-wireless.channel: 0
802-11-wireless.bssid: --
802-11-wireless.rate: 0
802-11-wireless.tx-power: 0
802-11-wireless.mac-address: Here goes the wireless.mac-adress
802-11-wireless.cloned-mac-address: --
802-11-wireless.mac-address-blacklist:
802-11-wireless.mtu: auto
802-11-wireless.seen-bssids: Here goes the wireless.seen.bssids
802-11-wireless.security: 802-11-wireless-security
802-11-wireless.hidden: no
802-11-wireless-security.key-mgmt: wpa-eap
802-11-wireless-security.wep-tx-keyidx: 0
802-11-wireless-security.auth-alg: --
802-11-wireless-security.proto:
802-11-wireless-security.pairwise:
802-11-wireless-security.group:
802-11-wireless-security.leap-username: --
802-11-wireless-security.wep-key0: --
802-11-wireless-security.wep-key1: --
802-11-wireless-security.wep-key2: --
802-11-wireless-security.wep-key3: --
802-11-wireless-security.wep-key-flags: 0 (none)
802-11-wireless-security.wep-key-type: 0 (unknown)
802-11-wireless-security.psk: --
802-11-wireless-security.psk-flags: 0 (none)
802-11-wireless-security.leap-password: --
802-11-wireless-security.leap-password-flags:0 (none)
ipv4.method: auto
ipv4.dns:
ipv4.dns-search:
ipv4.addresses:
ipv4.routes:
ipv4.ignore-auto-routes: no
ipv4.ignore-auto-dns: no
ipv4.dhcp-client-id: --
ipv4.dhcp-send-hostname: yes
ipv4.dhcp-hostname: --
ipv4.never-default: no
ipv4.may-fail: yes
ipv6.method: auto
ipv6.dns:
ipv6.dns-search:
ipv6.addresses:
ipv6.routes:
ipv6.ignore-auto-routes: no
ipv6.ignore-auto-dns: no
ipv6.never-default: no
ipv6.may-fail: yes
ipv6.ip6-privacy: -1 (unknown)
ipv6.dhcp-hostname: --
The CA Certificate I used was random, as I remember from my first Linux times I couldn't connect without using a CA-Certificate (they are not required).
Currently not at home, so I will post the other one later. -
Change my Host Name in Solais 10
Please, when I run smc(Solaris Management Console) I can see in System Information, that my Host Name is unknown. How can I change that?
It's strange that you don't have etc/nodename, it must be in etc/. May be you'll try to create it? Besides, I think this article can help you:
Setting Up a Solaris DHCP Client
One of the problems that can arise when trying to use a Solaris box as a DHCP
client is that by default, the server is expected to supply a hostname, in
addition to all the other stuff (like IP address, DNS servers, etc.). Most cable
modems and home routers don't supply a (usable) hostname, so it gets set to "unknown".
This page describes how to get around that. (Where this page says "cable modem",
"DSL modem" can be substituted.)
This page assumes that le0 is the interface you using for your DHCP connection.
Substitute hme0 or whatever interface you're actually using in the examples
below.
Setting up DHCP
There are two ways of using DHCP:
DHCP has limited control
DHCP has full control
The first case may be where you want to use your own /etc/resolv.conf and so on,
with a minimum of hassle.
The second case would be the normal situation, especially if your cable modem
provider has a habit of changing DNS name server IP addresses on you (like mine
does!), so I'll concentrate on that here. I have a script to automate the first
method, should you want to use it. You'll need to change the DEFAULT_ADDR and
INTERFACE variables as required.
The first thing to do is to create an empty /etc/hostname.le0, like this:
/etc/hostname.le0Creating this file ensures that the interface gets plumbed, ready for the DHCP
software to do its stuff.
Next, you create /etc/dhcp.le0. This file can be empty if you want to accept the
defaults, but may also contain one or both of these directives:
wait time, and
primary
By default, ifconfig will wait 30 seconds for the DHCP server to respond (after
which time, the boot will continue, while the interface gets configured in the
background). Specifying the wait directive tells ifconfig not to return until
the DHCP has responded. time can be set to the special value of forever, with
obvious meaning. I use a time value of 300, which seems to be long enough for my
cable provider.
The primary directive indicates to ifconfig that the current interface is the
primary one, if you have more than one interface under DHCP control. If you only
have one interface under DHCP control, then it is automatically the primary one,
so primary is redundant (although it's permissible).
With these files in place, subsequent reboots will place le0 under DHCP control:
you're ready to go!
Unknown hostname
Actually, there's one snag: most (if not all) cable modem DHCP servers don't
provide you with a hostname (even if they did, odds are it won't be one you want
anyway!). This wouldn't be a problem, except that the boot scripts (/etc/init.d/rootusr
in particular) try to be clever, and set your hostname to "unknown" in this case,
which is not at all useful!
The trick is to change your hostname back to the right one, preferably without
changing any of the supplied start-up scripts, which are liable to be being
stomped on when you upgrade or install a patch. You've also got to do it early
enough in the boot process, so that rpcbind, sendmail and friends don't get
confused by using the wrong hostname. To solve this problem, put this little
script in to /etc/init.d/set_hostname, with a symbolic link to it from /etc/rc2.d/S70set_hostname.
Starting with Solaris 10, the preceding paragraph can be ignored. Instead, just
make sure that the hostname you want to use is in /etc/nodename; the contents of
that file will then be used to set the hostname. (Note that it is essential that
the hostname you put into /etc/nodename is terminated with a carriage return.
Breakage will happen if this is not the case.) Also, from Solaris 8 it is
possible to tell the DHCP software not to request a hostname from the DHCP
server. To do this, remove the token 12 from the PARAM_REQUEST_LIST line in /etc/default/dhcpagent.
(/etc/default/dhcpagent describes what the default tokens are; 12 is the
hostname, 3 is the default router, 6 is the DNS server, and so on.)
With these modifications in place, reboot, and you'll be using your cable modem
in no time!
If you've got more than one machine, and you want to access the Internet from
all of them, you might also find my Solaris NAT page useful.
If this page has been useful to you, please consider buying a copy of my book,
Solaris Systems Programming.
Send any questions or comments to: [email protected]
And this is the script:
#!/sbin/sh
# Name: set_hostname
# SCCS Id: @(#)set_hostname 1.2 07/26/04
# Description: This file is a script for re-setting your hostname to the
# right value if you use DHCP (which has a habit of setting
# your hostname to "unknown" if you use a cable modem).
# Copyright Љ 2000-2004 by Rich Teer. All rights reserved.
HOSTNAME=`cat /etc/nodename`
echo "Setting hostname to $HOSTNAME... \c"
uname -S $HOSTNAME
echo "Done."
It's another variant, more complex:
#!/usr/bin/sh
# set_hostname
# Setting DHCP hostname when not provided from DHCP-server.
# Make sure you have a "clean" copy of /etc/hosts (fx. /etc/hosts.orig)
# As this script will clean up and set the hostname in /etc/hosts.
# The script can be run in hand, or as a startup script in:
# Solaris 8/9: /etc/init.d; /etc/rcX.d
# Programmed by: Yngve Berthelsen
# Date: 20050216
# E-Mail: [email protected]
# Last updated: 20050216
# History:
### Variables used in script
NODENAME="/etc/nodename"
HOSTALIAS=`cat /etc/nodename|nawk ' BEGIN { FS="." }; { print $1 }'`
HOSTFILE="/etc/hosts"
ORGHOST="/etc/hosts.orig"
HOSTNAME=`/usr/bin/hostname`
NIC="hme0" # Change hme0 to the DHCP interface NIC
DHCPNIC="/etc/dhcp.$NIC"
IPADDRESS=`ifconfig $NIC|grep inet|nawk '{ print $2 }'`
### Functions to call
SetHostname()
echo "Setting DHCP Hostname: $NODENAME"
/usr/bin/uname -S $NODENAME
print "$IPADDRESS\t$NODENAME\t$HOSTALIAS" >> $HOSTFILE
/usr/bin/hostname $NODENAME
return
# main
case "$1" in
'start')
if [ -f $DHCPNIC ]
then
if [[ $HOSTNAME == "Unknown" ]]
then
SetHostname
elif [[ $HOSTNAME == "unknown" ]]
then
SetHostname
fi
fi
'stop')
if [ -f $DHCPNIC ]
then
cp -frp $ORGHOST $HOSTFILE
fi
echo "Usage: $0 { start |stop }"
exit 1
esac
exit 0
### This script is submitted to BigAdmin by a user of the BigAdmin community.
### Sun Microsystems, Inc. is not responsible for the
### contents or the code enclosed.
### Copyright 2007 Sun Microsystems, Inc. ALL RIGHTS RESERVED
### Use of this software is authorized pursuant to the
### terms of the license found at
### http://www.sun.com/bigadmin/common/berkeley_license.html
I use the first, "short" script, it works.
Maybe you are looking for
-
Scales definition in Scheduling agreement
Hi, In a scheduling agreement, you can maintain condition with scales. When you do so, at goods receipt time, the system does not look at how many you just received to define the scale to use but look at the target quantity on your scheduling agreeme
-
Service Control Manager - 7000
I installed Oracle Client on a Windows Pro 2000 computer. In the Event Log I received next message: Source: Services Control Manager ID: 7000 Failure at start of service "OracleWebAssistance0" because of a mistake. The service has not answered inquir
-
Using a C350 for Email Encryption Only I have a regular expression that searches for a number format that could match a medical record number, among other numbers. Getting many false positives due to a matching number being found in many places in th
-
Ways an attacker might start malware with a known good service
How would an attacker be able to get malware started at the same time a legitimate, known good service is started? I am consulting on trying to fix a server that has a service starting and using the tool StealthWatch, we can see that the service is s
-
Satellite P50t-A won't power on without AC Charger plugged in
Hi there, I'm having an issue with the power on my P50t-A. History... For a while, I was getting less and less time out of the battery, until eventually one night it reached 0% with the AC charger plugged in, and windows telling me it "plugged-in" an