Tag: Linux

  • Remount /etc/fstab without rebooting

    Many times it would be nice to make changes to your /etc/fstab file. The problem is that you must reboot. No longer. Run the following command to remount your /etc/fstab file without rebooting –> >mount -a Everything should now be remounted and you can fix any errors that may have occurred with your new /etc/fstab […]

  • Samba – Stop homes from showing in shares

    When using Samba on Linux, there are times that you want to allow user to have a private user directory, but do not want the “homes” directory share to show up. This is relatively simple. Edit your /etc/samba/smb.conf file with your favorite Linux editor. Look for the section [homes] and find the line browseable = set […]

  • Initializing a new instance of Linux

    After a fresh install of Linux, there are a number of tasks I like to do. I like having commands and aliases that I am used to installed. Copy /opt/scripts Create /opt/sw /opt/scripts/stopUnusedServices.sh set up MySQL Install WebMin and VirtualMin for managing your domain names and their.

  • Connecting Red Hat 5.3 to a Dell MD3000i

    Connecting to a DELL MD3000i is no trivial matter with Linux. First, you need to ensure that you have the DKMS package installed. >yum -y install dkms >yum -y install iscsi-initiator-utils >yum -y install gcc >yum -y install kernel-devel >yum -y install sgpio >yum -y install sg3_utils Now you can install the Dell Tools and […]

  • Jasper Server Permission Denied error

    Occasionally, Jasper Server has an error relating to being unable to write files. The errors show up in the Apache web server log, catalina.out. You have probably started the service as the user root on accident. This will cause ownership to change to root on some log files. Then when you log back on as user jasper […]

  • Determining a devices WWID in Linux

    For multipath drivers connecting to storage area networks (SAN), it is useful in your /etc/multipath.conf to blacklist devices. This prevents the multipath driver from attempting to use the device(s). To find out a drive’s WWID, run the following command: >scsi_id -g -u -s /block/sda This will return a WWID. On my system it was returned […]

  • Finding a count of files in a directory

    In Linux, you can count all of the files in a directory, of a given type. To do this run: >find . -maxdepth 1 -type f -name “*.gz” | wc -l If you want to count all of the gzipped files in all directories below your current directory. Run the same command without the -maxdepth: […]

  • Linux log error – Could not receive trustdoms : xxx Time(s)

    When using Samba with Linux, Red Hat Enterprise Linux attempts to connect to a Windows server that acts as the domain controller. This is called a trustdom; as Linux is attempting to build a trust relationship with a Windows Domain Controller. You will see the following message in your log: ——————— samba Begin ———————— **Unmatched […]

  • QEMU seems to make Windows read-only

    The Problem: The server is acting all weird, thought i might raise a flag to you: – after you said you attached the larger drive/partition, nothing changed – when i logged on as administrator tonight, it acted like ive never logged on before – the profile is fucked up somehow; i dont have any icons, […]

  • Windows service failure while running in a QEMU virtual instance

    If you are running Windows under QEMU and see Event ID 7000’s like these below– If you get this Description: “The Parallel port driver service failed to start due to the following error: The service cannot be started, either because it is disabled or because it has no enabled devices associated with it.” Then you […]