Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now

caznetworks
Posted on: Nov 4 2010, 12:38 PM


Whats this Lie-nix Thing?
*

Group: Members
Posts: 17
Joined: 14-January 04
Member No.: 2,140


Hi,

I've been trying to set up Samba to use LDAP on our new server (FC13, OpenLDAP 2.4). There is a samba.schema in /etc/openldap/schema, which I believe I need to convert to the new config format. I created a file, samba.conf, containing one line:
include /etc/openldap/schema/samba.schema
and create a directory, /etc/openldap/convert for the output, and then:

CODE
[root@is02 openldap]#slapcat -f samba.conf -F /etc/openldap/convert -n0 -s "cn={12}samba,cn=schema,cn=config"
/etc/openldap/schema/samba.schema: line 496 objectclass: AttributeType not found: "displayName"
slapcat: bad configuration directory!


Now I'm stuck, and an afternoon of Googling seems to be getting me nowhere!

Any help would be greatly appreciated!
  Forum: Technical Support · Post Preview: #31372 · Replies: 0 · Views: 4,895

caznetworks
Posted on: Sep 27 2008, 04:40 PM


Whats this Lie-nix Thing?
*

Group: Members
Posts: 17
Joined: 14-January 04
Member No.: 2,140


Hi,

I want to create a hard drive image for my laptop. So, I booted into single-user mode, logged in, and plugged in an external hard drive, intending to unmount / and dd it. I then did modprobe usb_storage and got, among other things (no errors):
sd 2:0:0:0: Attached scsi disk sdb

And yet, there is no /dev/sdb, so I can't mount the drive:S. Am I forgetting something really obvious here? The relevant device nodes should be created automatically, right?

Thanks,

Alex
  Forum: Technical Support · Post Preview: #30468 · Replies: 1 · Views: 2,273

caznetworks
Posted on: Nov 6 2007, 01:42 AM


Whats this Lie-nix Thing?
*

Group: Members
Posts: 17
Joined: 14-January 04
Member No.: 2,140


Hi all,

I've just installed SuSE Linux Enterprise Server 10 SP1 on a new mail server, and am stumped by a problem preventing messages from being delivered.

The relevant logfile entry (from /var/log/mail) is:
Nov 6 06:25:55 venus postfix/smtp[4923]: 9086C6332E4: to=<alex@venus.mydomain.com>, orig_to=<alex@mydomain.com>, relay=none, delay=22, status=bounced (Host or domain name not found. Name service error for name=localhost type=A: Host not found)

And sure enough, in the DNS log:
Nov 6 06:25:55 venus named[3769]: client 127.0.0.1#1032: query: localhost.mydomain.com IN A +

The 'localhost' zone is set up in BIND, and I've tried 'dig localhost', which correctly returns 127.0.0.1. What I don't understand is why the mail server's error is "name=localhost", which should work, yet the DNS server is apparently queried for "localhost.mydomain.com". I'm guessing this is the root of the problem.

TIA,

Alex
  Forum: Technical Support · Post Preview: #29632 · Replies: 0 · Views: 2,271

caznetworks
Posted on: Aug 30 2006, 03:57 PM


Whats this Lie-nix Thing?
*

Group: Members
Posts: 17
Joined: 14-January 04
Member No.: 2,140


Hi,

Firstly, let me just say that I have read through the Advanced Routing & Traffic Control HOWTO, but can't figure out the answer to my question:

I have an Asterisk VoIP server running on a server which is also the internet gateway for our network. Unfortunately, there isn't much outgoing bandwidth available - 512kbps shared between the entire network.

What I want to do is give the Asterisk IAX port (4569/UDP) priority over all other traffic - so that it gets the bandwidth it needs for outgoing voice traffic, but doesn't permanently reserve the bandwidth unnecessarily.

From reading the HOWTO, I'm not sure if it is possible to do that, but if so then some (pretty specific smile.gif) info would be great.

Thanks,

Alex
  Forum: Technical Support · Post Preview: #27917 · Replies: 0 · Views: 1,640

caznetworks
Posted on: Dec 14 2005, 05:55 PM


Whats this Lie-nix Thing?
*

Group: Members
Posts: 17
Joined: 14-January 04
Member No.: 2,140


Our internet gateway has 3 ethernet network interfaces - one for the LAN, one for the internet, and a spare which can be patched in should either of the others fail. Logic tells me that, on booting, the OS would detect and assign device nodes to each one in the same order each time. Apparently not!

Each time it reboots, it seems to assign eth0...eth2 to the NICs at random. This causes no end of confusion for the admin staff trying to work out which interface is which. More seriously, there are scripts which refer to the interfaces by their device name - for example, the one which configures IPtables for the routing and firewall.

Is there a way (I'm sure there is...) to force each card to be assigned to a specified device node?

TIA,

Alex
  Forum: Technical Support · Post Preview: #25339 · Replies: 2 · Views: 2,895

caznetworks
Posted on: Jul 24 2005, 06:19 AM


Whats this Lie-nix Thing?
*

Group: Members
Posts: 17
Joined: 14-January 04
Member No.: 2,140


OK, since rebooting the servers (see my last post re. NFS), Samba seems to have broken itself as well!

When someone tries to log on on the Windows workstation, the error is "cannot create \\server1\username\profile.pds".

Last time this happened, the solution was simple: nmbd didn't come back up after rebooting. Start nmbd manually, and everything was fine.

This time, nmbd is running. Trying '\\server1' on the Windows PC gives "network name not found" - this is obviously the root of the problem. However, it gets more interesting. Running nbtstat -A 10.0.0.1 on the Win machine shows the name table, with
CODE
SERVER1  <00>  UNIQUE  Registered
at the top. Having done that, Windows obviously caches the name, as I can then browse to '\\server1' and get prompted for a username and password. I enter my login details for that server, and great, it works!

Log off... cache removed... and the server is invisible again. It still works by IP address ('\\10.0.0.1') and in desperation I would just change the PC's logon server to be 10.0.0.1 instead of server1, only I don't know the Administrator password for the Windows PCs and the person who does is on 3 weeks vacation (he left yesterday mad.gif)

I am beginning to think Linus has a conspiracy against me...

Edit: Multiple escaped \ characters corrected. Twice. Even the forum hates me!
  Forum: Technical Support · Post Preview: #23179 · Replies: 0 · Views: 1,421

caznetworks
Posted on: Jul 24 2005, 04:06 AM


Whats this Lie-nix Thing?
*

Group: Members
Posts: 17
Joined: 14-January 04
Member No.: 2,140


Hello people,

Just installed SuSE 9.3 on my laptop. I decided to do a fresh install, as the upgrade from 9.1 to 9.2 left an unpleasant mess of broken packages and I didn't want to go through that again. So, I tar'ed the contents of the hard drive and sent them off to my /home on our NFS server. Installed 9.3, no problems.

When I started to restore the files from NFS, KDE became unresponsive and slow, and the network didn't seem to be doing anything, so I logged in on tty1 and restarted the PC. On trying to connect to the NFS server again, I get
CODE
nfs server reported service unavailable: Address already in use


Other workstations can still connect to the servers without a problem. I have tried restarting the laptop as well as both servers. Didn't work. Tried manually assigning a different IP address on the laptop (rather than use the same DHCP-assigned one). No luck. Now I'm all out of ideas.

This happens with 2 different NFS servers - Slackware 10.0 and 10.1 - which were both connected at the time the PC crashed. Only 1 has my precious files on though.

Sorry for the long post. If anyone knows anything (Google didn't help much!) I'd really appreciate some help. I s'pose I could just install an FTP server on the fileserver to get to the backup files, but that still leaves me with no NFS on the laptop, and I use it all the time.

Alex
  Forum: Technical Support · Post Preview: #23178 · Replies: 0 · Views: 2,360

caznetworks
Posted on: May 29 2005, 01:57 PM


Whats this Lie-nix Thing?
*

Group: Members
Posts: 17
Joined: 14-January 04
Member No.: 2,140


Nope, no error message, just freezes.

Thankfully the old kernel still boots fine.

QUOTE
I suppose I could re-download the kernel source and try just compiling without the VPN code, but would that in the networking subsystem make any difference to the very first stages of the boot process?


Update: Did the above - as expected, no difference. It still freezes at the same point.
  Forum: Technical Support · Post Preview: #22570 · Replies: 2 · Views: 2,265

caznetworks
Posted on: May 29 2005, 07:49 AM


Whats this Lie-nix Thing?
*

Group: Members
Posts: 17
Joined: 14-January 04
Member No.: 2,140


Hi,

I finally got round to installing OpenS/WAN at work this weekend - well, almost, anyway. My problem is that the newly-compiled kernel freezes at "OK, Now booting the kernel..."

The system is a Cyrix 200Mhz running Slackware 10.0 (kernel 2.4.26). OpenS/WAN version is 2.3.1.

Here's what I did:
Removed the old /usr/src/linux (there were pieces of failed patch everywhere from the last sysop) and downloaded the source fresh from Slackware FTP.

cd'd to /usr/src/linux and ran:
CODE
make oldconfig; make dep; make bzImage
. All were successful. I think I'm right that oldconfig on a fresh download should be the same settings as the installed kernel?

cd'd to ~/openswan-2.3.1 and ran
CODE
make KERNELSRC=/usr/src/linux precheck verset kpatch
. All OK.

copied bzImage to /boot/vmlinuz_swan.

added:
CODE
image = /boot/vmlinuz_swan
 root = /dev/hda2
 label = LinuxSWAN
 read-only

to lilo.conf, set a boot menu timeout, and ran lilo.

Rebooted, and selected the new boot option. Then the error.

I suppose I could re-download the kernel source and try just compiling without the VPN code, but would that in the networking subsystem make any difference to the very first stages of the boot process?

Any help would be very much appreciated. Apologies for the long post!

Regards,

Alex
  Forum: Technical Support · Post Preview: #22563 · Replies: 2 · Views: 2,265

caznetworks
Posted on: Oct 13 2004, 02:49 PM


Whats this Lie-nix Thing?
*

Group: Members
Posts: 17
Joined: 14-January 04
Member No.: 2,140


QUOTE
Does that then place me in the terminal so I can directly give it inputs?

Yes, that's right
  Forum: Technical Support · Post Preview: #18021 · Replies: 8 · Views: 3,583

caznetworks
Posted on: Oct 13 2004, 02:46 PM


Whats this Lie-nix Thing?
*

Group: Members
Posts: 17
Joined: 14-January 04
Member No.: 2,140


Thanks for the reply.

Most of the PHP warnings refer to missing array elements (like reading the contents of $_POST['x'] when input 'x' isn't on the form page any more).

I'll probably have to wait until the weekend to let it go down and do a top.

Some other very strange things have been happening on this machine:
One day, a 95MB JPEG, 130904.jpg, appeared in the virtualhost's web root. The webmaster couldn't explain how it got there, and the FTP log (FTP being the only way to access the server) showed no records of the file having been uploaded. A file with that name *may* have existed before - we use files with name format ddmmyy.jpg for daily news images - but these are only around 50-100kB in size.

I downloaded the file and tried to open it in GIMP - "invalid format". Hmm.... After a little unsuccessful digging to try and figure out where this came from, I moved it to a PC for further investigation.

I ran a portscan and chkrootkit, nothing unusual found.

The following day, the entire server went down. When I restarted it (a physical reset was the only option), there was a file, .130904.jpg.swp, reported as 176-something-GB! No chance of keeping this one, so I deleted it.

Maybe these problems are related, although I can't really see a link between a .jpg file and a possible Apache/PHP problem. Whichever way, it's quite worrying!
  Forum: Technical Support · Post Preview: #18020 · Replies: 2 · Views: 2,753

caznetworks
Posted on: Oct 11 2004, 02:09 PM


Whats this Lie-nix Thing?
*

Group: Members
Posts: 17
Joined: 14-January 04
Member No.: 2,140


Fnog...

Ok, at the boot menu, you need to press 'a,' which will display the kernel arguments. Then you can add a '3' (after a space!) and press ENTER to boot. Your machine will then boot up and give you a text login prompt.
  Forum: Technical Support · Post Preview: #17975 · Replies: 8 · Views: 3,583

caznetworks
Posted on: Oct 9 2004, 03:46 PM


Whats this Lie-nix Thing?
*

Group: Members
Posts: 17
Joined: 14-January 04
Member No.: 2,140


You'll need to get your system to boot up in runlevel 3 (text-only mode), as the lights flashing on your monitor mean that it isn't capable of displaying in the chosen graphics mode.

This is done by passing 3 to the kernel at boot-up. How you go about that varies from distro to distro - on recent versions of SuSE, it's as simple as typing 3 in the bootloader screen.

So...
1) What Linux distribution are you using?
and
2) Does the bootloader show a boot menu when you switch on (just before 'all the writing as it loads')?
  Forum: Technical Support · Post Preview: #17960 · Replies: 8 · Views: 3,583

caznetworks
Posted on: Oct 9 2004, 10:28 AM


Whats this Lie-nix Thing?
*

Group: Members
Posts: 17
Joined: 14-January 04
Member No.: 2,140


Hi,

I'm running Apache 1.3.31 w/ PHP 4.3.7 on a Slackware 10.0 server, and have a strange problem:

The server in question runs several different sites using virtual hosting. One of these is very unreliable. After a few hours of running perfectly fine, it starts dropping the connection on about 40% of requests - leading to images not loading, apparent broken links, or just nothing at all.

Doing apachectl restart solves the problem for a little while, before it starts happening again. The only things I can think of that could be relevant are:

1 - The site in question gets substantially more traffic than the other sites running on virtual hosts, but still, we're only talking 5000-6000 pages (10-15k hits inc. images) per day.
2 - This particular site was put together in a hurry, and is dumping 20 or 30 lines of PHP 'Warning' notices into the Apache error log with each page viewing. Far from ideal (I'll get round to fixing it sometime) but it shouldn't be causing these problems should it?

I just can't think of any logical explanation for the problems. At the moment I have apachectl restart in the hourly cronjobs to try and minimise the (expensive) downtime, but this is definitely not an appropriate solution!

Any suggestions would be greatly appreciated.

Regards,

Alex
  Forum: Technical Support · Post Preview: #17959 · Replies: 2 · Views: 2,753

caznetworks
Posted on: Mar 2 2004, 03:24 PM


Whats this Lie-nix Thing?
*

Group: Members
Posts: 17
Joined: 14-January 04
Member No.: 2,140


Hi,

I have just installed a very minimal Debian system on an old PC, with the intention of using it as a development platform for an embedded system.

Part of the embedded system involved a framebuffer-based GUI that I wrote many years ago. When I run this (which works fine on the office's SuSE workstations and RedHat servers), it terminates without doing anything. Doing 'cat /dev/fb0' returns '/dev/fb0: No such device', despite the fact that fb0 does actually show up with 'ls /dev'.

Some of this may be irrelevant, sorry folks, but here's a dump of lsmod if it helps:

Module Size Used by
nls_cp437 3896 1 (autoclean)
pcmcia_core 45824 0
sb 32456 0 (unused)
uart401 5872 0 [sb]
sound 56384 0 [sb uart401]
soundlow 384 0 [sound]
soundcore 2452 6 [sb sound]
nfs 71180 0 (unused)
lockd 42420 0 [nfs]
sunrpc 57816 0 [nfs lockd]
tulip 28984 1
fbcon-vga 1928 0 (unused)
fbcon-cfb32 3448 0 (unused)
fbcon-cfb24 3976 0 (unused)
fbcon-cfb8 3240 0 (unused)
fbcon-cfb16 3848 0 (unused)
af_packet 6152 1
unix 11352 5 (autoclean)


Also, on a side note, how do I find out the vesion of the *running* kernel (which may not be the same as the one for which I have the source).

Any feedback would be greatly appreciated,

Regards,

Alex.
  Forum: Technical Support · Post Preview: #9374 · Replies: 0 · Views: 2,347

caznetworks
Posted on: Jan 15 2004, 05:22 PM


Whats this Lie-nix Thing?
*

Group: Members
Posts: 17
Joined: 14-January 04
Member No.: 2,140


QUOTE (mode_flux @ Jan 15 2004, 04:03 AM)
have you done any updates with the SuSE watcher?  If not that may help

I finally plugged the computer into the 'net yesterday and downloaded the latest updates. That certainly *seems* to have solved the speed problems, although just typing this with nothing else running, the system fan is running at full throttle, which is unusual.

OK, it's slowing down now. Maybe I was typing too fast wink.gif Will have to see what happens in the next week or so.

Thanks.
  Forum: Technical Support · Post Preview: #7682 · Replies: 3 · Views: 2,021

caznetworks
Posted on: Jan 14 2004, 01:32 PM


Whats this Lie-nix Thing?
*

Group: Members
Posts: 17
Joined: 14-January 04
Member No.: 2,140


About 3 months ago, I installed SuSE 9.0 on my notebook PC. It was, as you'd expect for a brand new 3GHz machine, pretty fast. In the past few weeks, it has become unbelieveably slow - most noticeably the OpenGL screensaver, which used to run very smoothly, now does about 1-3 fps. A similar speed problem is happening on the desktop PC, also with SuSE 9. I have never had this problem before, haven't installed anything or changed any settings recently, and really don't know what is going on.

How can i figure out what process(es) are causing the poor performance, and stop this from happening??

Regards,

Alex
  Forum: Technical Support · Post Preview: #7660 · Replies: 3 · Views: 2,021


New Posts  New Replies
No New Posts  No New Replies
Hot topic  Hot Topic (New)
No new  Hot Topic (No New)
Poll  Poll (New)
No new votes  Poll (No New)
Closed  Locked Topic
Moved  Moved Topic
 

RSS Lo-Fi Version Time is now: 20th October 2017 - 12:56 PM