Search This Blog

Tuesday 16 February 2010

Firefox URL bar does not auto-complete in Ubuntu

I've noticed lately that if Ubuntu goes in screen-saver, when I go back to it, the URL bar auto-complete stops working. If you minimize Firefox and the restore to original size, it will work again.

I'm not sure what causes this to happen so if anyone knows, please pass it on.

Friday 8 January 2010

Can not start Symantec Backup Exec after upgrade

Recently I upgraded symantec backup exec 10.1 5629 to the latest version (SP4). Since then I was unable to start the backup exec service, I was getting the error

"faulting application bengine.exe, version 10.1.5629.44, faulting module nt.dll"


I tried a few
things to fix this including:

Start -> run -> 'DCOMCNFG', expand component services, computers. Right click 'My computer' -> properties, Com Security and adding the admin account back but this didn't work.

While trying to start the service, I noticed and option "Service credentials". I put in all the existing details (same admin account, same password, same domain) and clicked save.

After doing this and entering all details in any Symantec popups, the services all started.

Friday 23 October 2009

iPhone music stored as other

A few nights ago, I updated my iPhone (3G S) to the latest version. Upon doing this I had to resync it. The next day, while putting an album on, I noticed I had 4.08GB of Music and 4.03GB of "other". It occurred to me that this must be my music.

I googled around quite a bit and the only way I could find to fix this was to restore the iphone and resync everything. This in my opinion, is not good enough. Apparently Apple are aware of this issue but have not issued a fix for it.

I would encourage you all to write to Apple and let them know what you think. Contact details can be found here.

Slow iPhone sync on VirtualBox Ubuntu

Recently I purchased an iPhone. While I think Apple are possibly the least scrupulous company around, I do like their hardware. I had an iPod touch for some time and decided it was time to upgrade.

I have been using Ubuntu as my primary OS for some time, for my iPod (and now iPhone), I run a virtual copy of XP on VirtualBox. What strook me initially was how long the iPhone took to sync, it was far longer than my iPod touch ever took. Up to an hour just to add on album. This seemed ludicrous but I just assumed that was the case.

Solution

Ok, I am yet to work out why this works but it does. If it is taking you a long time to sync your iPhone and virtual Windows, change the display resolution on Windows to 800 * 600. This fixes it and it will sync fast. I do not know why (yet). This was never an issue on the iPod touch so I'm not sure why it is on the iPhone. Hope this helps.

Wednesday 25 March 2009

ERROR: bpgetfile unable to access network - jumpstart

I have recently been installing Solaris 10 on a virtualisaed environment on a Sun T5240

I have noticed with each install, I get a similar error that I can't pass

{0} ok boot net - install
Boot device: /virtual-devices@100/channel-devices@200/network@0 File and args: - install
Requesting Internet Address for 0:14:4f:fb:fb:f3
SunOS Release 5.10 Version Generic_120011-14 64-bit
Copyright 1983-2007 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
whoami: no domain name
WARNING: ncp0: unable to determine ncp (cpu) binding (ncp)
Configuring devices.
WARNING: ncp0: unable to determine ncp (cpu) binding (ncp)
Using RPC Bootparams for network configuration information.
Attempting to configure interface vnet0...
Configured interface vnet0
ERROR: bpgetfile unable to access network
/sbin/install-discovery: information: not found

The install sits at the # prompt at this point. I typed 'exit' here, expecting it to error out and found it continues the install, I have done two machines this way and both work properly

Wednesday 18 March 2009

Drop sybase devices

I recently installed a virtual machine from a flash archive. This machine had Sybase devices on raw devices which weren't accessible from the virtual machine. I knew I needed to reinstall these which is quite straightforward but because Sybase thought they existed, I couldn't drop them or access them. Below is what I tried.

1> Drop database
2> go

This gave an error saying the database was in use

1> sp_dropdevice
2>

This gave an error as it said the DB needed to be dropped.

1> dbcc dbrepair (DB_name, dropdb)
2> go

This gave a message telling me that I couldn't repair the database as it was not marked suspect. I couldn't mark it suspect as it hadn't initialised at start up time (because the devices weren't present).

I used to be excellent at this stuff but I rarely work on it any more. I knew there was a way to do this but it took some searching, eventually I found:

1> use master
2> go
1> sp_configure 'allow update', 1
2> go
1> begin tran
2> go
1> delete from sysusages where dbid =
2> go
1> commit
2> go
1> begin tran
2> go
1> delete from sysdatabases where dbid=
2> go
1> commit
2> go
1> sp_configure 'allow update', 0
2> go

This is the exact procedure I used and I am now happily reinstalling my databases.

Friday 20 February 2009

Authenticate SAMBA share against Active Directory

I have done this twice, ever and both times were tedious. I have a Linux file server and two Windows servers, one of which is the PDC. What I want to do, is have the samba shares check the PDC for authentication removing the need for separate samba passwords. There isn't a huge amount to this, it is just a matter of finding everything. You have to put references to a usermap in smb.conf and in the usermap have your *nix users mapped to you domain users in the following form

LinuxUser=DOMAIN\windowsUser

eg.

paulm=DOMAIN\paul.mulcahy

There are lines that have to be added to smb.conf so it will look use the active directory users, in my case, these are in the global section fo smb.conf

[global]
workgroup = WORKGROUP
realm = DOMAIN
preferred master = no
server string = Fileserver
security = domain
encrypt passwords = yes
log level = 1
log file = /var/log/samba/%m
max log size = 50
printcap name = cups
printing = cups
idmap uid = 600-20000
idmap gid = 600-20000
template homedir = /home/users/%U
template shell = /bin/bash
password server = server
username map = /etc/samba/smbusers

This is all quite straightforward, what had me was getting it into the domain. After much searching I found this command.

net rpc join -S SERVER -U user

Which must be run as root. After that, I was able to log in to my samba shares using my Windows log in.

Al red italics are varialbes wich should be changed to suit your environment