Cant remove /var, in relocating /var to a symbolic link

2008-10-06 Thread jaymax
I am attempting to relocate /var to avoid files system full issues. Using a - mkdir /usr/var cd /var tar cf - . | (cd /usr/var; tar xf - ) cd / rm -rf /var ln -s /usr/var /var approach at the rm -rf /var step, the following was received rm

Re: Undelete or recover from badblocks on disks

2009-09-18 Thread jaymax
Thanks Roland, smartctl showed disk to be fine! fls requires a disk image, is there one created by default in FreeBSD 6.0 . > SYNOPSIS >fls [-adDFlpruvV] [-m mnt ] [-z zone ] [-f fstype ] [-s seconds ] > [-i >imgtype ] [-o imgoffset ] image [images] [ inode ] > Running fls

Re: Undelete or recover from badblocks on disks

2009-09-22 Thread jaymax
the method to extract them back and make them readable to the file system. Thanks _ Roland Smith wrote: > > On Fri, Sep 18, 2009 at 10:17:31PM -0700, jaymax wrote: >> >> Thanks Roland, > > Create a disk image from the damaged drive, and save it on

Disk label inconsistencies

2009-10-11 Thread jaymax
I have a rather bizarre problem. I have been trying to upgrade forever w/ endless problems, but may have found the cause of some of the problems. Running O/S 6.0. My system disk is displayed in df etc as /dev/ad0 with slice & partitions as ad0s1a, ad0s1b, ad0s1e, .. , etc. It is similarly displ

Restricting tar or pax to a single file system

2009-11-21 Thread jaymax
How does one restrict tar or fax to a single file system when tarring or paxing from root (/) ? Thanks! -- View this message in context: http://old.nabble.com/Restricting-tar-or-pax-to-a-single-file-system-tp26463168p26463168.html Sent from the freebsd-questions mailing list archive at Nabb

Re: Restricting tar or pax to a single file system

2009-11-22 Thread jaymax
can be used to access long options on systems that do not support this function. } Or is there another synopsis? Thanks! jaymax wrote: > > How does one restrict tar or fax to a single file system when tarring or > paxing from root (/) ? > > Thanks! > > > -- View

Re: Restricting tar or pax to a single file system

2009-11-22 Thread jaymax
s that have the getopt_long(3) function. The -W option can be used to access long options on systems that do not support this function. } Or is there another synopsis? Thanks! Dan Nelson wrote: > > In the last episode (Nov 21), jaymax said: >> How does one restrict tar or fa

Possible mysql.sock problem | ERROR 2002 (HY000)

2010-01-03 Thread jaymax
HELP! NEEDED URGENTLY 7.2-RELEASE #0: Fri May 1 08:49:13 UTC 2009 installed /usr/ports/databases/mysql54-server from ports Installation seemed to go to completion - OK but # /usr/local/bin/mysql_install_db - ERRORS listed as ==> Installing MySQL system tables... 091230 13:35:02 [ERROR] The upd

Re: Possible mysql.sock problem | ERROR 2002 (HY000)

2010-01-07 Thread jaymax
Thanks !!! Got it resolved after adding mysql_socket="/usr/tmp/mysql.sock" to the rc.conf file Removing the /etc/my.cnf file as the aetting were redundant with those used in the compilation deinstalling and reinstalling both the server and the client Matthew Seaman-2 wrote: > &

mySQL 5.4 server & Post installation SNAFUs

2010-01-08 Thread jaymax
Installed mysql-server54 from the ports 7.2-RELEASE FreeBSD 7.2-RELEASE #0: O/S running Apache/2.2.11 (FreeBSD) installed PHP 5.2.12 configure options used ==> make pager=more prompt=mysql54 socket=/usr/tmp/mysql.sock localstatedir=/disk02/db/mysql/DATA with_linuxthreads=yes with_ssl=yes install

Re: mySQL 5.4 server & Post installation SNAFUs

2010-01-09 Thread jaymax
OK Thanks again, still having problems with setting the root password. There is no my.cnf file Matthew Seaman-2 wrote: > > jaymax wrote: > >> Post installation SNAFUS >> > > >> [iv] /usr/local/bin/mysqladmin -u root password ==>

Setting root password on mysql 5.4

2010-01-09 Thread jaymax
Does anyone know how to set root password on a new mysql installation from the post? Can it be performed after starting the server with /usr/local/bin/mysqld_safe & Or for that matter with /usr/local/bin/mysql_secure_installation Thanks! -- View this message in context: http://old.nabble.com

Catastrophic Installation Failure now!

2010-01-10 Thread jaymax
MAJOR SCREWUP I was frustrated by a failure to create a ROOT password and decided to do a clean reinstall Did a "make deinstall" from the following ports [i] /usr/ports/databases/mysql54-server [ii] /usr/ports/databases/mysql54-client [iii]/usr/ports/databases/mysql54-scripts Did a

Re: Catastrophic Installation Failure now!

2010-01-12 Thread jaymax
common problem. At a minimum a simple checklist would help. I have had situations where I have looked at files/directories after an installation and could not tell what it should be. Thanks again! jaymax wrote: > > MAJOR SCREWUP > > I was frustrated by a failure to create a ROOT

Problem w/ mysql extension installation

2010-01-15 Thread jaymax
phpmyadmin requires the mysql extension which is apparently not included in the mysql54 ports Installing it from /usr/ports/databases/php5-mysql ==> --- --- --- In file included from /usr/local/include/php/main/../main/php_config.h:2839, from /usr/local/include/php/Zend/zend_c

Re: Problem w/ mysql extension installation

2010-01-15 Thread jaymax
A couple of hours later I return to this problem at the file is there and the extension installed "RATHER BIZARE" jaymax wrote: > > phpmyadmin requires the mysql extension which is apparently not included > in the mysql54 ports > > Installing it from > /us

resetting shmmax parameters

2010-02-13 Thread jaymax
Hello, FreeBSD O/S 7.2 i386 1CPU AMD Server memory RAM memory hw.physmem: 1060540416 # sysctl -a | grep shm kern.ipc.shm_allow_removed: 0 kern.ipc.shm_use_phys: 0 kern.ipc.shmall: 8192 kern.ipc.shmseg: 128 kern.ipc.shmmni: 192 kern.ipc.shmmin: 1 kern.ipc.shmmax: 335

Inconsistency in root partition size

2009-09-05 Thread jaymax
I apparently have open file handles in my / partitions. It was partitioned at 512 Mb size, used about 150Mb df shows Filesystem SizeUsed Avail Capacity Mounted on /dev/ad0s1a496M492M-36M 108%/ alert condition output /: write failed, filesystem is full and a constant

Re: Inconsistency in root partition size

2009-09-06 Thread jaymax
Mel Flynn-2 wrote: > > On Sunday 06 September 2009 04:34:20 jaymax wrote: >> I apparently have open file handles in my / partitions. >> It was partitioned at 512 Mb size, used about 150Mb >> df shows >> Filesystem SizeUsed Avail Capacity Mounted on

Re: Inconsistency in root partition size

2009-09-06 Thread jaymax
Mel Flynn-2 wrote: > > > No, single user mode. Root partition in single user mode can be fsck'd and > repaired if mounted ro in single user. The system does fsck -p by default, > which skips partitions marked clean. Since you can shutdown cleanly, > nothing > will happen. > Have a look at /

Re: Inconsistency in root partition size

2009-09-06 Thread jaymax
Galactic_Dominator wrote: > > Sun, Sep 6, 2009 at 9:24 PM, jaymax wrote: > > >> >> Mel Flynn-2 wrote: >> > > > -- >> >> ufs by default keeps a certain portion in reserve for use by root. 8% is > the standard amount I believe so

Re: Inconsistency in root partition size

2009-09-07 Thread jaymax
Polytropon wrote: > > > You can of course read "man hier" to obtain information about > the file system hierarchy. In settings where partitions are > used to separate functional parts of the hierarchy, there's > often not much stuff that goes into /, because / is primarily > reserved for the b

Re: Inconsistency in root partition size

2009-09-07 Thread jaymax
Mel Flynn-2 wrote: > > On Monday 07 September 2009 20:54:51 jaymax wrote: > Thanks, will do a new dump, one question - how can one determine that the dumpfile produced is good? -- View this message in context: http://www.nabble.com/Inconsistency-in-root-partition-size-tp25314145

Re: Inconsistency in root partition size

2009-09-07 Thread jaymax
Mel Flynn-2 wrote: > > On Monday 07 September 2009 20:54:51 jaymax wrote: > > Did you do the du without anything mounted? Cause you have the df output > with > mounts. > If you can't find the missing space, then I suggest making a backup of / > with >

Re: Inconsistency in root partition size

2009-09-08 Thread jaymax
Mel Flynn-2 wrote: > > > This is exactly what I figured. Some files are hiding behind a mount > point. > The got there most likely, cause you did make installworld without /usr > mounted, which would happen if you have the FreeBSD source tree on a > different > location, reboot into single u

Upgrading 6.0 to 6.x... without /var

2009-09-10 Thread jaymax
I have a 6.0 installation without a /var slice. Instead I have a soft link of /usr/var to a /var@ file. Now I am attempting an upgrade to 6.4 and getting an error condition. I am using Disk 1 of the 6.4 distro >> Upgrade [Upgrade an existing system] >> All [All system sources. binaries and X-Wind

Re: Upgrading 6.0 to 6.x... without /var

2009-09-11 Thread jaymax
Polytropon wrote: > > On Thu, 10 Sep 2009 14:14:55 -0700 (PDT), jaymax > wrote: >> =>> Error Messages >> [i] "Error mounting /mnt/dev ad0as1e on /mnt/usr : Input/output error" >> [ii] "Error mounting /

Approx. restore time estimate

2009-09-14 Thread jaymax
I do not expect an exact or precise answer here, given all the subjective & dependent parameters. Just a rough ballpark approximation, what time frame should a restore occur in? param :- an ~1Ghz system, running 6.x O/S, dumpfile ~ 30 Gb, UFS2 file systems w/ default blocksize, target directory

Re: Approx. restore time estimate

2009-09-14 Thread jaymax
Thanks! That might explain. Is there an alternate process you would recommend with at least equal reliability. BTW I should have mentioned that I was restoring from a disk file rather than from a tape Thanks again. --- Lars Eighner-2 wrote: > > On Mon, 14 Sep 2009, jaymax wrote: >

Re: Approx. restore time estimate

2009-09-15 Thread jaymax
being equal, would the removal of the "restore" overheads be significant relative to those from dd . Thanks Lars Eighner-2 wrote: > > On Mon, 14 Sep 2009, jaymax wrote: > >> >> Thanks! >> >> That might explain. Is there an alternate process yo

Undelete or recover from badblocks on disks

2009-09-17 Thread jaymax
I seemed to have lost some critical dump files during a restore. The directory in which they were backed up in seemed to vaporize. The data was present as indicated by df -h but the directory was not listed. fsck on the disk was ineffective fsck_ffs produced an extensive listing of bad block, a fi

Telnet => servname ai_socktype error

2010-08-12 Thread jaymax
FreeBSD my.domain.com 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May 1 08:49:13 UTC 2009 r...@walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 Testing a Qmail SMTP installation with Telnet (normally use SSH for networking) Temporary Telnet set up for testing ==> _ _ _ _ _ _ _ _ _ _

Re: Telnet => servname ai_socktype error

2010-08-13 Thread jaymax
telnet 0 smtp is the same as telnet localhost 25 or telnet localhost smtp Ashish SHUKLA-6 wrote: > > jaymax writes: > > [...] > > >> % telnet 0 smtp >> 0: servname not supported for ai_socktype > > What according to you 0 is ? > > --

Re: Telnet => servname ai_socktype error

2010-08-13 Thread jaymax
, 2:2(0) ack 2 win 8959 Hope you can see something in there, Thanks again PS: Couldn't find anything in the /var/log files either Shouldn't the telnet localhost generate a connection? -- Dan Nelson wrote: > > In the last episode (Aug 12),

Telnet Secure login SRA?

2010-08-23 Thread jaymax
I've just reset my telnet setup, now it comes up with a SRA secure login prompt, how can I get rid of it. I'm just using it for a short while to troubleshoot another installation, Qmail. telnet localhost Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. Trying S