Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: bazil2
  • Content: Threads
  • Order by date
  1. bazil2

    Unable to mount Windows share due to error: can't read superblock - any ideas?

    (Elementary user) Can anyone please help with the following ... I need to mount an XP Windows share. In the /etc/fstab I have the following entry, but it does not mount on reboot: //192.150.150.69/import_export /internal/automation/mount cifs username=dave,password=xxxxxxx,_netdev 0 0 I...
  2. bazil2

    Replacing multiple patterns using the replace function in a single command - can it be done?

    (Elementary user) Hello Everyone, I would like to replace certain 'forbidden' characters in the values of incoming XML files, namely single quote, double quote and ampersand (I presume < > are not possible due to their use in tags). My command line looks like this and successfully replaces...
  3. bazil2

    Hardcoding a destination path in my backup file script

    Can anyone please advise if the following is possible ... I have a backup script (.bat file) shown below, that copies certain files on my computer to a backup location using a scheduled task. At the moment, the script copies the files to an undesirable path, would it be possible to copy the...
  4. bazil2

    Silently replacing characters in XML file using sed - can you help?

    (Elementary user) I have a programme that is generating XML files. Sometimes the XML file contains forbidden or undesirable characters in its values; for example: ... <Name>Mr & Mrs Smith</Name> ... <GermanStreet>Straße</GermanStreet> I am looking for a method to change for example the...
  5. bazil2

    Correct procedure for updating java (RHEL 5.9)

    (Elementary user - repost from Linux server) I need to update the version of java on my server: [root@server bin]# java -version java version "1.4.2" gij (GNU libgcj) version 4.1.2 20080704 (Red Hat 4.1.2-54) Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the...
  6. bazil2

    Correct procedure for updating java (RHEL 5.9)

    (Elementary user) I need to update the version of java on my server: [root@server bin]# java -version java version "1.4.2" gij (GNU libgcj) version 4.1.2 20080704 (Red Hat 4.1.2-54) Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions...
  7. bazil2

    Help in jailing SSH users

    (Elementary user) The server uses RHEL 5.9 I would like to jail specific users logging in via SSH to their home directory so they can't navigate the server. According to RedHat, one should be able to edit the file /etc/ssh/sshd_config and uses the following syntax: Match Group sshusers...
  8. bazil2

    Can't delete folder due to long path - is there a workaround?

    (Elementary Windows user) I have a folder in the following path that is so long, Windows is unable to delete it using the normal Windows explorer. Example: D:\data\very\long\path\with\many\characters Is it possible to dele it using the command line? Best regards
  9. bazil2

    System volume drive C full - need to extend - can you recommend a suitable software solution?

    Unfortunately the C drive on my server has almost run our of space. I have shrunk the D drive by 71GB, however the Windows 2008 server disk management software does not permit me to extend the C volume. Can anyone recommend an alternative (GUI) solution? Best regards
  10. bazil2

    Forcing HTTP to HTTPS and redirecting specific sub-page visitors to different URL

    Can someone please advise on the following ... Currently all 'top-level' HTTP visitors are forced to HTTPS by means of an entry in the .htaccess file, like this: [root]# more .htaccess RewriteEngine On RewriteCond %{HTTPS} !=on RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R,L] In addition...
  11. bazil2

    Unable to connect two switch using two fibre optic cable without one port forcing to 'disable'.

    (Elementary user) Can anyone please explain the following .... I have connected this switch (Port 50 and Port 51): http://files.engineering.com/getfile.aspx?folder=bfe0764d-7949-448b-b024-fa5788f90f80&file=Picture_404.jpg To this switch (Ports 25 and Port 26): I am connecting using fibre...
  12. bazil2

    Looking for files using -mtime flag - is my syntax suitable?

    (Elementary user) I have SQL backup files that are saved every weekday to a specific path. Before the tape backup executes, the following script is used to remove the backup from the previous day. This is fine for Tuesday - Friday, however on Monday, if I have understood correctly, the...
  13. bazil2

    Using a script to look for files and not subfolders - use of the ls -m flag

    (Elementary user) Could anyone please assist with the following .... I have written a very simple script that evaluates how many files are in a directory. The problem is that sometimes the files are in sub-folders and these also end up been 'counted' as files. I suppose it is because I am...
  14. bazil2

    Does a tape library need to be 'mounted' after connecting it to fibre card?

    (Elementary user) I have installed an ATTO Celerity 162E PCI x8 fibre card in my server, and installed the corresponding driver. After connecting a tape library, the light correctly illuminates. Do I need to take further steps, i.e., do the tape library and tape drive need to be 'mounted'...
  15. bazil2

    Extracing values from a file name using tokening and using values in a text file -is this possible?

    (Elementary user) Please consider the following example files: 12345_apple_small_red_40.jpg 98765_pear_big_green_50.jpg The file name contains information (tokens) that describes the JPG image like this: Image Number_Fruit type_Size_Colour_Weight Each segments is separated by an underscore...
  16. bazil2

    Defining types XS or XSD - does it really matter?

    (Elementary user) When making an XSD scheme, I define the type using xsd however I have also seen xs being used. Here is a simple extract: <xsd:element name="adminemail" type="xsd:string" /> <xsd:element name="secondemail" type="xsd:string" />...
  17. bazil2

    Quick synapisisCorrect method of redirecting HTTP to HTTPS

    (Very elementary user) I have successfully set an Apache 2 webserver to now receive requests from HTTPS. As I'm sure most of you are aware, this involved: • generating a KEY and CSR file • obtaining an SSL and CA directive certificates • configuring /etc/httpd/conf.d/ssl.conf In the conf...
  18. bazil2

    Executing a scheduled task after starting computer ... with auto login - is this correct behaviour?

    (Elementary user) Windows 8.1 My goal is to start FireFox once the computer has started. I have created a scheduled task that undertakes this and when executed manually, works fine. However, I am using auto-login for a user (netplwiz); this resulted in my scheduled task not executing after...
  19. bazil2

    Temporarily disabling strong passwords on a server in a domain

    (Elementary user) I have a win 2008 R2 server that is a member of a domain. I would like to add a local user on this machine but without a strong password; when trying to edit this option (local security policy), the option is in accessible, probably due to it being a domain member. Can...
  20. bazil2

    Making keyboard enter (carriage return) send or submit form

    (Elementary user) I have a simple HTML page (form post) with a single input field and a send button. Is it possible that once the user has entered a value in the input field and hits 'Enter' (carriage return) on the keyboard, that it does the same as depressing the send (submit) button on the...

Part and Inventory Search

Back
Top