1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml" id="sixapart-standard">
5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6 <meta name="generator" content="Movable Type 5.2.3" />
8 <link rel="stylesheet" href="http://defaria.com/blogs/Status/styles-site.css" type="text/css" />
9 <link rel="alternate" type="application/atom+xml" title="Atom" href="http://defaria.com/blogs/Status/atom.xml" />
10 <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="http://defaria.com/blogs/Status/index.xml"$>" />
12 <title>Status for Andrew DeFaria: November 2003 Archives</title>
14 <link rel="start" href="http://defaria.com/blogs/Status/" title="Home" />
16 <link rel="next" href="http://defaria.com/blogs/Status/archives/2003_12.html" title="December 2003" />
18 <body class="layout-one-column">
20 <div id="container-inner" class="pkg">
23 <div id="banner-inner" class="pkg">
24 <h1 id="banner-header"><a href="http://defaria.com/blogs/Status/" accesskey="1">Status for Andrew DeFaria</a></h1>
25 <h2 id="banner-description">Searchable status reports and work log</h2>
30 <div id="pagebody-inner" class="pkg">
32 <div id="alpha-inner" class="pkg">
34 <p class="content-nav">
36 <a href="http://defaria.com/blogs/Status/">Main</a>
37 | <a href="http://defaria.com/blogs/Status/archives/2003_12.html">December 2003 »</a>
43 <h2 class="date-header">November 26, 2003</h2>
45 <div class="entry" id="entry-44">
46 <h3 class="entry-header">More playing with Linux</h3>
47 <div class="entry-content">
48 <div class="entry-body">
49 <p>Not much done today - guess it's just the holiday thing. Still trying to get sonslinux to play nicely with the Windows environment. Helped James with his Linux setup. 2.2.1.5 was not built, perhaps when I get back from Vegas...</p>
51 <p class="entry-footer">
52 <span class="post-footers">Posted by at 4:22 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000044.html">Permalink</a>
62 <h2 class="date-header">November 25, 2003</h2>
64 <div class="entry" id="entry-43">
65 <h3 class="entry-header">SAM 4 Linux runs</h3>
66 <div class="entry-content">
67 <div class="entry-body">
69 <li>Got SAM 4 Linux client running</li>
70 <li>Reinstalled Samba 2.2 on sonslinux</li>
71 <li>Started 2.2.1.5</li>
74 <p>SAM 4 Linux is pretty slow. Not sure if that was because I was running through Cygwin and an X Server emulation. Had to run the client as root due to permissions problems.
76 <p>Got tired of fighting with Samba 3.0 on Mandrake so I reinstalled 2.2. Still not completely right though.
78 <p class="entry-footer">
79 <span class="post-footers">Posted by at 10:00 AM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000043.html">Permalink</a>
89 <h2 class="date-header">November 24, 2003</h2>
91 <div class="entry" id="entry-41">
92 <h3 class="entry-header">SAM 4 Linux up</h3>
93 <div class="entry-content">
94 <div class="entry-body">
96 <li>Finally got <a href="http://sonslinux:9090">SAM 4 Linux working on sonslinux</a></li>
97 <li>Rebuilt 2.3 - some problems with merge last night</li>
100 <p>Needed to uninstall MySQL 4.0 and download and install MySQL 3.23.58 from <a href="http://www.mysql.com">MySQL.com</a> onto sonslinux as well as change the group named <i>nogroup</i> to <i>nobody</i> for the Apache server to start. SAM 4 Linux now works on sonslinux (with Mandrake Linux installed). The packaging for this is not at all that streamlined but I believe it was a first shot.</p>
102 <p class="entry-footer">
103 <span class="post-footers">Posted by at 3:14 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000041.html">Permalink</a>
113 <h2 class="date-header">November 21, 2003</h2>
115 <div class="entry" id="entry-40">
116 <h3 class="entry-header">More sam4linux and 2.2.1.4</h3>
117 <div class="entry-content">
118 <div class="entry-body">
120 <li>Set up and built 2.2.1.4</li>
121 <li>Got a little further on sam4linux (see extended entry)</li>
122 <li>Still battling with Samba 3.0</li>
125 <p>I have downloaded the sam4linux tarbar and have been attempting to get it running on sonslinux (running Mandrake 9.1). I unpacked the tgz file into /opt and tried running sam-startnms.sh. I was prompted for the license file and attempted to use the license file but it didn't work. The licenses have expired.
127 <p>Slight note here: I was not at all apparent to me that the sam-startnms.sh, sam-setEnv.sh, sam-startAppicationClient.sh scripts that were sitting along side the sam_linux.tgz file are useless. It was only later that I figured out that those scripts also appear under /opt/AdventNet/WebNMS/bin and that those scripts were the ones I should be using.
129 <p>Next I downloaded AdventNet_WebNMS again and applied for a evaluation license. This time when running NMS I entered the new license file and it accepted it. But, unfortunately it quickly died with:
131 <pre>java.sql.SQLException: Invalid authorization specification: Access denied for user: 'root@127.0.0.1' (Using password: NO)
132 at org.gjt.mm.mysql.MysqlIO.init(MysqlIO.java:330)
133 at org.gjt.mm.mysql.Connection.connectionInit(Connection.java:261)
134 at org.gjt.mm.mysql.jdbc2.Connection.connectionInit(Connection.java:89)
135 at org.gjt.mm.mysql.Driver.connect(Driver.java:167)
136 at java.sql.DriverManager.getConnection(DriverManager.java:517)
137 at java.sql.DriverManager.getConnection(DriverManager.java:177)
138 at jdbc.CreateSchema.instantiateConnection(CreateSchema.java:145)
139 at jdbc.CreateSchema.init(CreateSchema.java:83)
140 at com.adventnet.nms.startnms.NmsMainBE.main(NmsMainBE.java:335)
141 at com.adventnet.launcher.nms.StartNmsJdbc.run(StartNmsJdbc.java:240)
142 at java.lang.Thread.run(Thread.java:484)
145 <p>Analyzing... I have had MySQL installed and up and running for quite some time. The installation instructions said to create a database for WebNMS by:
148 # mysqladmin create WebNMSdb
151 <p>which I did. However after reinstalling AdventNet_WebNMS I noticed that it created a database of WebNmsDB (note capitalization is generally important in the Linux world). So I had dropped WebNMSdb in favor of the DB that AdventNet_WebNMS created. Still above it seems that it was unable to connect to the database. I tried:
154 mysql> grant all privileges on WebNmsDB.* to root;
159 mysql> grant all privileges on WebNmsDB.* to root@127.0.0.1;
162 <p>but I keep getting the same error. I suspect I need to supply a password but I'm not sure how to do that.
164 <p>Ah ha! The problem seems to be that I assigned a password to the user root for MySQL. Removing that caused more output...
166 Created table ObjectTypes
167 Created table ManagedObject
168 Created table MapContainer
169 Created table TopoObject
171 Created table Network
172 Created table IpAddress
173 Created table SnmpNode
174 Created table SnmpInterface
175 Created table TL1Node
176 Created table TL1Interface
177 Created table TOPOUSERPROPS
178 Created table ALERTUSERPROPS
179 Created table EVENTUSERPROPS
180 Created table USERTABLE
183 Created table ENGINES
185 Created table POLLUSERPROPS
186 Created table ANNOTATION
189 Created table MapSymbol
190 Created table MapLink
191 Created table MAPUSERPROPS
193 Created table PolledData
194 Created table ALERTLOGGER
195 Created table EVENTLOGGER
196 Created table CUSTOMMAPS
197 Created table DBINTERFACES
198 Created table DEFAULTMAPS
199 Created table TrapDisabledMO
200 Created table CHILDRENSTATUS
201 Created table CUSTOMPROPS
202 Created table OBJECTSTOLINK
203 Created table TOPODBSPECIALKEY
205 Created table DBEVENT
206 Created table DBALERT
208 Created table ObjectSchedulerRUNNABLE
209 Created table MapGroup
210 Created table ManagedGroupObject
211 Created table GroupTable
212 Created table TaskAudit
213 Created table DeviceAudit
214 Created table AttributeAudit
215 Created table ConfigTasks
216 Created table ConfigTaskDetails
217 Created table ConfigAttributes
218 Created table PendingTasks
219 Created table PendingDevices
220 Created table DeviceList
221 Created table DeviceListDetails
222 Created table DeviceUserProps
223 Created table TaskToDeviceListMap
224 Created table PollingObjects
225 Created table ConfigProvider
226 Created table PollingAttributes
227 Created table Providers
228 Created table StatsTables
229 Created table ThresholdObjects
230 Created table CustomView
231 Created table CustomViewProps
232 Created table CustomViewColumns
233 Created table PanelTree
234 Created table PanelProps
235 Created table PollFilters
236 Created table GenericFaultTable
237 Created table TrapFilter
238 Created table TrapEventParser
239 Created table EventAlertFilter
240 Created table Reports
241 Created table DataCollectionAttributes
242 Created table UserPasswordTable
243 Created table UserGroupTable
244 Created table ViewPropertiesTable
245 Created table ViewsToGroupTable
246 Created table ViewToOperationsTable
247 Created table OperationsTreeTable
248 Created table NamedViewToAuthorizedViewTable
249 Created table AuthAudit
250 Created table NotificationLog
251 Created table VarBindLog
252 Created table AgentDefValObject
253 Created table PolicyObject
254 Created table PolicyActionCondition
255 Created table POLICYUSERPROPS
256 Created table DBPOLICY
257 Created table PolicyScheduleTime
258 Created table AlertPolicyObject
259 Created table ENGINETABLE
260 Exception in creating table
261 Statement being executed was :create table USMTABLE( DBKEY varchar(116) NOT NULL, HOST varchar(50), PORT varchar(5), ENGINENAME varchar(50), ENGINEID varchar(64), USERNAME varchar(50), SECURITYLEVEL varchar(5), SECURITYNAME varchar(50), AUTHPROTOCOL varchar(10), AUTHPASSWORD varchar(50), AUTHKEY varchar(40), PRIVPROTOCOL varchar(10), PRIVPASSWORD varchar(50), PRIVKEY varchar(32), ENGINETIME varchar(10), ENGINEBOOTS varchar(10), LATESTRCVDENGTIME varchar(10), LOCALTIME varchar(30), PRIMARY KEY ( DBKEY ))
262 syntax error or access violation: you have an error in your sql syntax. check the manual that corresponds to your mysql server version for the right syntax to use near 'localtime varchar(30), primary key ( dbkey ))' at line 1
263 java.sql.SQLException: Syntax error or access violation: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'LOCALTIME varchar(30), PRIMARY KEY ( DBKEY ))' at line 1
264 at org.gjt.mm.mysql.MysqlIO.sendCommand(MysqlIO.java:497)
265 at org.gjt.mm.mysql.MysqlIO.sqlQueryDirect(MysqlIO.java:550)
266 at org.gjt.mm.mysql.MysqlIO.sqlQuery(MysqlIO.java:635)
267 at org.gjt.mm.mysql.Connection.execSQL(Connection.java:882)
268 at org.gjt.mm.mysql.Connection.execSQL(Connection.java:815)
269 at org.gjt.mm.mysql.Statement.execute(Statement.java:595)
270 at org.gjt.mm.mysql.jdbc2.Statement.execute(Statement.java:114)
271 at jdbc.CreateSchema.createTables(CreateSchema.java:352)
272 at jdbc.CreateSchema.init(CreateSchema.java:85)
273 at com.adventnet.nms.startnms.NmsMainBE.main(NmsMainBE.java:335)
274 at com.adventnet.launcher.nms.StartNmsJdbc.run(StartNmsJdbc.java:240)
275 at java.lang.Thread.run(Thread.java:484)
276 Created table SwitchObject
277 Created table PortObject
278 Created table Printer
279 Created table OperationsTable
280 Created table BEFailOver
281 Created table PollIDToKeyMap
282 Created table ProvisioningVariantProps
283 Created table ProvisioningVariant
284 Created table UserConfTable
285 Created table CORBANode
286 Created table NetworkInventory
287 Created table SonsAuditLogTable
288 Created table SonsHistoryAlert
289 Created table SonsTopologyObjectImpl
290 Created table SonsPort
291 Created table SonsDS1Port
292 Created table SonsDS3Port
293 Created table SonsEtherPort
294 Created table SonsONUModule
295 Created table SonsShelf
296 Created table SonsSlot
297 Created table SonsCrossConnect
298 Created table SonsOLT
299 Created table SonsONU
300 Created table SonsPonInfo
301 Created table SonsPonPort
302 Created table SonsSonetPath
303 Created table SonsSTM1Port
304 Created table SonsSonetVT
305 Created table SonsDs0Port
306 Created table SonsDs0Bundle
307 Created table SonsXConn
308 Created table SonsCard
309 Created table SonsVDSLPort
310 Created table SonsVDSLRateRefer
311 Created table SonsVDSLTermInfo
312 Created table SonsMaintCmdRecord
313 Created table SonsQosBy8021p
314 Created table SonsVLanSwitchPort
315 Created table SonsQosByDscp
316 Created table SonsQosByPhyPort
317 Created table SonsQosByTos
318 Created table SonsQosByVLan
319 Created table SonsService
320 Created table SonsVLan
321 Created table SonsVLanBridgeParam
322 Created table SonsVLanMemberShip
323 Created table SonsSubscriber
324 Created table SonsVLanFDB
325 Created table SonsServiceObject
326 Created table SonsSTPDomain
327 Created table SonsSTPPort
328 Created table SonsActiveACL
329 Created table SonsCommonACE
330 Created table SonsCommonACL
331 All The Tables were not created properly.
335 <p>For the record I have:
338 mysqladmin Ver 8.40 Distrib 4.0.10-gamma, for mandrake-linux-gnu on i586
341 <p class="entry-footer">
342 <span class="post-footers">Posted by at 5:30 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000040.html">Permalink</a>
352 <h2 class="date-header">November 20, 2003</h2>
354 <div class="entry" id="entry-39">
355 <h3 class="entry-header">2.2.1.3/sam4linux/2.2->2.3</h3>
356 <div class="entry-content">
357 <div class="entry-body">
359 <li>Resolved Dylan's problem</li>
360 <li>Built 2.2.1.3</li>
361 <li>Resolved 2.3 merge issue</li>
362 <li>Merged 2.2 -> 2.3</li>
363 <li>Downloaded sam4linux</li>
366 <p>Our code is not case sensistive. This problem exhibits it's ugly head a lot in sam4linux BTW. In Dylan's case an include of cli_enumStruct.c was being done but the file is named cli_enumstruct.c. Now on most Windows Clearcase installations I had set MVFS to be case insensitive but on Dylan's machine he had it set case sensitive.
368 <p>Sam4linux is not all that operational yet. Initial problem is that the license is expired.
370 <p class="entry-footer">
371 <span class="post-footers">Posted by at 4:55 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000039.html">Permalink</a>
381 <h2 class="date-header">November 19, 2003</h2>
383 <div class="entry" id="entry-37">
384 <h3 class="entry-header">Merging 2.2 -> 2.3 & 2.4</h3>
385 <div class="entry-content">
386 <div class="entry-body">
388 <li>Added automatic merging for 2.2 -> 2.3 & 2.4</li>
389 <li>Performed initial 2.2 -> 2.3 merge. Had some problems</li>
390 <li>Banged my head trying to get Samba 3 to work on sonlinux</li>
391 <li>Assisted James installing some packages on sonslinux</li>
394 <p>Dylan discussed with me that we should be merging fixes forward from 2.2 -> 2.3 and from 2.2 -> 2.4. Eventually we will need to merge 2.2 -> 2.3 -> 2.4 but doing so now might cause problems with the 2.3 -> 2.4 merge. I guess 2.3 is in a little bit of flux right now.
396 <p>Discussed this with Jeff and he agreed. The merging schedule for this is set to weekly. 2.2 -> 2.3 merging happens on Sunday (at 5:30 Am in Santa Clara and 9:30 Pm (Sunday night) in Shanghai - roughly the same time given the timezone difference). The 2.2 ->2 4 merge happens on Tuesdays @ 5:30 Am Santa Clara and 9:30 Pm Shanghai time.
398 <p class="entry-footer">
399 <span class="post-footers">Posted by at 6:12 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000037.html">Permalink</a>
409 <h2 class="date-header">November 18, 2003</h2>
411 <div class="entry" id="entry-35">
412 <h3 class="entry-header">Coordinating merging</h3>
413 <div class="entry-content">
414 <div class="entry-body">
416 <li>At the advice of Ying I have changed the ctmerge times so that they occur after China has left the office. This will better coordinate work on 2.3</li>
417 <li>Set up 2.2.1.3 bug list</li>
420 <p class="entry-footer">
421 <span class="post-footers">Posted by at 1:00 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000035.html">Permalink</a>
431 <h2 class="date-header">November 17, 2003</h2>
433 <div class="entry" id="entry-33">
434 <h3 class="entry-header">Test plans</h3>
435 <div class="entry-content">
436 <div class="entry-body">
438 <li>Looked at some of the test plans</li>
439 <li>Helped Dylan and Ying on some Clearcase issues</li>
442 <p class="entry-footer">
443 <span class="post-footers">Posted by at 4:34 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000033.html">Permalink</a>
453 <h2 class="date-header">November 15, 2003</h2>
455 <div class="entry" id="entry-31">
456 <h3 class="entry-header">2.2.1.2</h3>
457 <div class="entry-content">
458 <div class="entry-body">
459 <p>Built and release 2.2.1.2</p>
461 <p class="entry-footer">
462 <span class="post-footers">Posted by at 8:39 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000031.html">Permalink</a>
472 <h2 class="date-header">November 14, 2003</h2>
474 <div class="entry" id="entry-17">
475 <h3 class="entry-header">Death of a Sun</h3>
476 <div class="entry-content">
477 <div class="entry-body">
479 <li>Worked out some problems with last nights merge</li>
480 <li>Fixed bug 3484</li>
481 <li>Unable to reinstall OS on Sun box</li>
484 <p>Because of yesterdays rebuilding of 2.2.1.1 I had set the 2.2 official view to use the label 2.2.1.1 and forgot to put it back to rel_2.2_dev config spec. This caused problems in last night's merge
486 <p>Regarding the Sun box, attempt to reinstall the OS but failed. Apparently we do not have the OS CDs. Unfortunately this has left us with an unusable system.
488 <p>Asad says he checked the contracts and we are out of contract. So unless we renew the contract or find the OS CDs I'm not sure how we can use this machine.
490 <p class="entry-footer">
491 <span class="post-footers">Posted by at 3:40 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000017.html">Permalink</a>
501 <h2 class="date-header">November 13, 2003</h2>
503 <div class="entry" id="entry-16">
504 <h3 class="entry-header">Sonssun/Websam</h3>
505 <div class="entry-content">
506 <div class="entry-body">
507 <p>Worked more on getting sonssun up and running.</p>
509 <p>Worked on problem with 2.2.1.1 and websam</p>
511 <p>Since Sonssun lacked man pages and it is unknown what exactly is installed or not installed on it I decided to wipe it clean and reinstall Solaris 8.0. Of course I've been having problems. May need to call Sun Support...</p>
513 <p class="entry-footer">
514 <span class="post-footers">Posted by at 3:08 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000016.html">Permalink</a>
524 <h2 class="date-header">November 12, 2003</h2>
526 <div class="entry" id="entry-15">
527 <h3 class="entry-header">TCL Debuggers</h3>
528 <div class="entry-content">
529 <div class="entry-body">
531 <li>Investigated 2 TCL debuggers</li>
532 <li>Implemented SUT for the SaliraTest package</li>
533 <li>Setup sonssun in the lab</li>
534 <li>Built 2.2.1.1</li>
538 <p>Since the testing involves expect and TCL I thought it would be good to find a good debugger. My stuff is getting complicated and a debugger would sure help. It would also help engineers writting tests. Unfortunately these debuggers work with TCL and get tripped up with expect functions.</p>
540 <p>SUT stands for System Under Test. If this environment variable is set then you no longer need to specify -m <<i>IPAddress</i>> to invoke a test or to run tester. Handy.</p>
542 <p class="entry-footer">
543 <span class="post-footers">Posted by at 2:08 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000015.html">Permalink</a>
553 <h2 class="date-header">November 11, 2003</h2>
555 <div class="entry" id="entry-14">
556 <h3 class="entry-header">Sonssun/2.4/tcl</h3>
557 <div class="entry-content">
558 <div class="entry-body">
559 <p>Attempted to gain access to sonsun today. Found out that it's powered off and not connected to the net. Sam lacks an IP drop in his cube.</p>
561 <p>Set up both 2.4 and china_2.4 and set up synchronization of branching for all of 2.2, 2.3, 2.4.</p>
563 <p>Worked on getting show system stuff into discovery</p>
566 <p class="entry-footer">
567 <span class="post-footers">Posted by at 1:52 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000014.html">Permalink</a>